1 2014-05-30 Richard Henderson <rth@twiddle.net>
3 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4 (PSEUDO_RET_NOERRNO): Remove.
6 (ret_NOERRNO): Define in terms of ret.
7 (ret_ERRVAL): Likewise.
9 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10 use of PSEUDO_RET; perform the error check directly.
12 2014-05-30 Marko Myllynen <myllynen@redhat.com>
14 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19 * malloc/malloc (malloc_info): Fix formatting.
21 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22 Roland McGrath <roland@hack.frob.com>
24 * malloc/malloc (malloc_info): Also print mmapped statistics.
26 2014-05-30 Roland McGrath <roland@hack.frob.com>
28 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
33 * malloc/malloc.c (malloc_info): Inline mi_arena.
35 2014-05-29 Richard Henderson <rth@twiddle.net>
37 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38 Remove comma before expanding ASM_ARGS_##nr.
39 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40 Make _x0 a strict output; make _x8 a strict input; adjust expansion
42 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45 (ASM_ARGS_1): Add leading comma.
47 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
50 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51 Remove the expected plt for __errno_location.
53 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
54 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
57 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
58 Always allocate 64 bytes of stack frame. Use ldp/stp to create
60 (DOCARGS_0, DOCARGS_1): Do nothing.
61 (DOCARGS_2): Update to store into the new stack frame.
62 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
63 (UNDOCARGS_1): Update to restore from the new stack frame.
64 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
65 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
67 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
68 (SINGLE_THREAD_P): New parameter for result regno.
69 (PSEUDO): Update to match; use cbz instead of beq.
71 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
72 Use ENTRY to define the _nocancel entry point. Share the syscall
73 and syscall error check paths with the cancel path.
76 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
77 whitespace; tabs before and after asm mnemonics.
79 2014-05-29 Eric Wong <normalperson@yhbt.net>
82 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83 Call fstat64 or stat64 internally, depending on arguments passed.
84 Replace stat buffer argument with file descriptor argument.
85 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
86 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
87 Pass fd to __internal_statvfs instead of calling fstat64.
88 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
89 Pass fd to __internal_statvfs64 instead of calling fstat64.
90 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
91 Pass -1 to __internal_statvfs instead of calling stat64.
92 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
93 Pass -1 to __internal_statvfs64 instead of calling stat64.
95 2014-05-28 Roland McGrath <roland@hack.frob.com>
97 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
98 that was previously under [RESET_PID].
99 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
101 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
102 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
104 2014-05-27 Roland McGrath <roland@hack.frob.com>
106 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
108 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
109 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
111 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
113 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
115 2014-05-27 Andreas Schwab <schwab@suse.de>
117 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
119 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
120 * elf/rtld.c (init_tls, dl_main): Likewise.
121 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
122 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
123 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
124 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
125 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
126 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
127 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
128 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
129 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
130 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
131 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
132 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
133 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
134 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
135 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
136 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
137 * sysdeps/generic/tls.h: Update description.
139 2014-05-27 Will Newton <will.newton@linaro.org>
142 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
143 and restore r2 rather than just restoring.
145 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
148 * libio/tst-ftell-append.c: New test case.
149 * libio/Makefile (tests): Add test case.
150 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
152 * libio/wfileops.c (do_ftell_wide): Likewise.
154 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
158 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
162 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
163 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
164 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
165 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
166 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
167 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
174 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
175 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
176 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
177 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
178 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
180 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
181 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
183 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
185 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
187 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
188 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
189 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
191 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
192 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
193 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
194 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
217 conditional [RESET_PID].
218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
226 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
227 (__libc_vfork): New strong alias.
228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
235 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
236 (__libc_vfork): New strong alias.
237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
242 2014-05-26 Carlos O'Donell <carlos@redhat.com>
244 * malloc/malloc.c (mi_arena): New function.
245 (malloc_info): Remove nested function mi_arena. Call non-nosted
248 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
250 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
252 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
253 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
254 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
255 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
256 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
257 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
258 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
260 2014-05-26 Andreas Schwab <schwab@suse.de>
263 * locale/programs/repertoire.c (repertoire_read): Add slash
264 between I18NPATH element and file name.
265 * locale/programs/locfile.c (locfile_read): Likewise.
267 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
269 * nptl/pthread_mutexattr_settype.c
270 (__pthread_mutexattr_settype):
271 Disable lock elision for PTHREAD_MUTEX_NORMAL.
273 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
275 * nptl/tst-mutex5 (do_test):
276 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
278 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
280 * benchtests/README: Document 'init' directive.
281 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
283 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
284 (parse_file): Recognize 'init' directive.
286 2014-05-26 Kyle McMartin <kyle@redhat.com>
289 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
290 alignment of struct pthread.
292 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
295 * nscd/netgroupcache.c (addgetnetgrentX): Look for
296 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
297 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
298 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
300 2014-05-25 Richard Henderson <rth@twiddle.net>
302 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
303 (SINGLE_THREAD_P_PIC): Remove.
304 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
305 (SINGLE_THREAD_P_PIC): Remove.
307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
308 branch to syscall error ...
310 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
311 from __local_syscall_error to .Lsyscall_error.
312 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
313 (SYSCALL_ERROR): Update label name.
315 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
316 Do not use DOARGS/UNDOARGS.
317 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
318 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
319 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
320 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
321 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
326 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
327 define if !NOT_IN_libc.
328 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
329 define with non-default symbol versions.
331 2014-05-23 Richard Henderson <rth@twiddle.net>
333 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
334 (vfork, __vfork): Define via compat_symbol.
336 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
337 [!HAVE_IFUNC] (vfork_compat): Remove.
338 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
340 2014-05-23 Joseph Myers <joseph@codesourcery.com>
343 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
344 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
347 2014-05-23 Richard Henderson <rth@twiddle.net>
349 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
350 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
351 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
352 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
354 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
355 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
356 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
357 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
358 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
359 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
360 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
361 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
362 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
363 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
364 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
365 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
366 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
368 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
370 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
371 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
372 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
373 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
374 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
375 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
376 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
377 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
378 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
379 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
380 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
381 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
382 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
383 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
384 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
385 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
386 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
387 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
388 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
389 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
390 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
391 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
392 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
393 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
394 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
395 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
396 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
397 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
398 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
399 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
400 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
401 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
402 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
403 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
405 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
407 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
409 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
411 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
412 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
413 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
414 before exiting on error.
415 (__libc_vfork): New strong alias.
416 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
417 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
419 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
420 that was previously under [RESET_PID].
421 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
423 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
425 2014-05-23 Joseph Myers <joseph@codesourcery.com>
428 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
429 value when x - 1 is zero.
430 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
431 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
432 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
433 0.0L for an argument of 1.0L.
434 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
436 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
437 value when x - 1 is zero.
438 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
439 * sysdeps/i386/fpu/libm-test-ulps: Update.
440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
442 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
444 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
445 alphasort and versionsort.
447 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
451 [copysignf]: Likewise.
453 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
455 * crypt/md5-crypt.c: Fix formatting.
457 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
459 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
460 (b64_from_24bit): New function.
462 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
464 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
465 libc_hidden_builtin_def to ifunc.
466 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
467 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
469 2014-05-21 Roland McGrath <roland@hack.frob.com>
471 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
472 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
474 2014-05-21 Joseph Myers <joseph@codesourcery.com>
476 * nscd/Depend (linuxthreads): Remove.
478 * resolv/Depend (linuxthreads): Remove.
479 * rt/Depend (linuxthreads): Remove.
481 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
482 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
483 $(common-objpfx)elf/.
484 (link-libc-before-gnulib): Likewise.
485 (elfobjdir): Remove variable.
486 * Makefile (install): Use $(elf-objpfx) instead of
487 $(common-objpfx)elf/.
488 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
490 (link-libc-deps): Likewise.
491 ($(common-objpfx)libc.so): Likewise.
492 ($(common-objpfx)linkobj/libc.so): Likewise.
493 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
494 instead of $(common-objpfx)elf/.
495 (symbolic-link-list): Likewise.
496 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
497 [$(cross-compiling) = no]: Likewise.
498 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
500 (static-gnulib-arch): Likewise.
501 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
502 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
503 $(common-objpfx)elf/.
505 2014-05-21 Richard Henderson <rth@redhat.com>
507 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
508 (SINGLE_THREAD_P): Use the correct width load. Fold
511 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
512 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
514 2014-05-20 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
517 (libgcc_s_resume): Use __attribute_used__.
518 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
521 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
523 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
524 optimization when used with float constants.
526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
528 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
531 * locale/nl_langinfo_l.c: Make direct reference to every
532 _nl_current_CATEGORY symbol.
533 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
534 (tests-static): Add tst-langinfo-static.
535 (tests-special): Add tst-langinfo-static.out.
536 ($(objpfx)tst-langinfo.out): Redirect output.
537 ($(objpfx)tst-langinfo-static.out): New.
538 * localedata/tst-langinfo.sh: Send output to stdout.
539 * localedata/tst-langinfo-static.c: New file.
542 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
543 when the shift amount is modulo the limb size.
545 2014-05-20 Richard Henderson <rth@redhat.com>
548 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
549 Change type of sa_flags from unsigned int to int.
552 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
554 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
556 2014-05-20 Will Newton <will.newton@linaro.org>
558 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
559 Test the return value of the system call in the nocancel case.
561 2014-05-20 Will Newton <will.newton@linaro.org>
562 Yvan Roux <yvan.roux@linaro.org>
564 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
565 #include of asm/ptrace.h.
566 (PTRACE_GET_THREAD_AREA): Remove #undef.
567 (PTRACE_GETHBPREGS): Likewise.
568 (PTRACE_SETHBPREGS): Likewise.
569 (struct user_regs_struct): New structure.
570 (struct user_fpsimd_struct): New structure.
571 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
572 #include of asm/ptrace.h and second #include of sys/user.h.
573 (PTRACE_GET_THREAD_AREA): Remove #undef.
574 (PTRACE_GETHBPREGS): Likewise.
575 (PTRACE_SETHBPREGS): Likewise.
576 (ELF_NGREG): Use new struct user_regs_struct.
577 (elf_fpregset_t): Use new struct user_fpsimd_struct.
579 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
581 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
582 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
584 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
588 membar to avoid block loads/stores to overlap previous stores.
590 2014-05-17 Richard Henderson <rth@redhat.com>
592 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
593 Create the __##syscall_name##_nocancel entry point.
594 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
595 Remove; let the sysdep-cancel.h code create it.
597 2014-05-17 David S. Miller <davem@davemloft.net>
599 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
600 Protect with __USE_GNU.
601 (TIOCSET_TEMPT): Likewise.
602 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
603 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
604 these are already provided in bits/ioctl-types.h
606 2014-05-16 Roland McGrath <roland@hack.frob.com>
608 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
609 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
611 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
612 Use wait4 regardless of [__NR_waitpid].
614 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
617 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
618 (_FP_NANSIGN_Q): Set the quiet bit.
620 2014-05-16 Joseph Myers <joseph@codesourcery.com>
622 * benchtests/Makefile
623 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
624 not $(common-objpfx)math/libm.so.
625 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
626 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
627 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
628 $(common-objpfx)dlfcn/libdl.so.
629 ($(objpfx)tst-audit8): Depend on $(libm), not
630 $(common-objpfx)math/libm.so.
631 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
632 not $(common-objpfx)dlfcn/libdl.so.
634 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
635 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
636 [$(build-shared) = yes].
637 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
638 $(common-objpfx)nptl/libpthread.so.
639 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
640 $(common-objpfx)math/libm.so$(libm.so-version) or
641 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
642 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
643 $(common-objpfx)dlfcn/libdl.so.
644 * setjmp/Makefile (link-libm): Remove variable.
645 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
646 * stdio-common/Makefile (link-libm): Remove variable.
647 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
648 * stdlib/Makefile (link-libm): Remove variable.
649 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
650 ($(objpfx)tst-strtod-round): Likewise.
651 ($(objpfx)tst-tininess): Likewise.
652 ($(objpfx)tst-strtod-underflow): Likewise.
653 ($(objpfx)tst-strtod6): Likewise.
654 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
655 $(libdl), not $(common-objpfx)nptl/libpthread.so and
656 $(common-objpfx)dlfcn/libdl.so.
658 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
661 BSD terminal modes definitions.
663 2014-05-16 Roland McGrath <roland@hack.frob.com>
665 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
666 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
668 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
669 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
670 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
671 Don't do #include_next.
672 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
673 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
674 Don't do #include_next.
675 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
676 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
677 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
678 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
680 2014-05-16 Allan McRae <allan@archlinux.org>
682 * po/sv.po: Update Swedish translation from translation project.
684 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
687 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
690 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
691 errno if the TIOCGPTN ioctl fails with an error different than
693 * login/tst-ptsname.c: New file.
694 * login/Makefile (tests): Add tst-ptsname.
697 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
700 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
704 herrno to return EAI_AGAIN.
706 2014-05-14 Roland McGrath <roland@hack.frob.com>
708 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
709 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
710 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
711 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
712 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
713 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
714 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
715 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
716 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
717 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
718 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
719 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
720 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
721 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
722 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
723 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
724 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
726 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
728 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
730 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
732 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
734 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
736 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
737 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
739 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
744 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
746 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
756 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
768 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
773 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
779 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
781 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
785 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
787 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
789 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
791 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
794 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
798 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
799 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
800 (libpthread-sysdep_routines): Add elision-related stuff here instead.
801 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
802 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
803 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
804 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
805 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
806 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
807 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
808 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
809 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
810 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
811 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
812 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
813 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
814 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
815 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
816 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
817 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
818 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
819 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
820 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
821 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
822 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
823 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
824 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
825 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
826 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
827 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
828 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
830 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
831 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
833 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
834 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
835 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
836 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
837 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
838 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
840 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
841 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
843 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
844 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
846 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
847 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
849 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
850 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
851 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
852 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
854 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
855 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
856 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
858 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
859 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
860 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
863 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
864 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
866 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
868 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
869 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
870 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
871 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
872 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
874 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
876 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
878 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
880 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
882 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
883 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
885 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
886 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
888 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
889 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
891 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
892 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
894 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
896 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
899 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
900 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
901 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
903 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
904 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
905 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
908 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
911 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
913 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
914 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
915 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
916 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
917 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
919 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
921 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
923 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
924 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
925 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
927 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
928 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
929 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
930 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
931 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
932 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
934 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
935 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
937 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
940 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
941 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
944 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
945 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
946 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
947 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
948 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
950 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
951 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
952 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
953 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
954 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
955 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
956 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
959 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
960 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
964 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
965 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
966 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
967 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
968 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
970 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
972 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
974 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
975 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
976 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
977 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
978 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
979 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
980 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
981 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
982 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
983 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
984 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
986 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
987 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
989 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
990 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
992 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
993 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
994 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
995 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
996 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
997 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
998 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
999 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1000 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1001 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1003 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1004 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1005 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1006 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1008 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1011 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1013 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1016 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1018 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1020 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1022 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1028 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1030 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1032 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1034 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1036 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1037 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1038 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1040 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1042 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1044 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1047 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1048 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1049 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1050 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1052 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1053 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1054 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1055 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1056 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1057 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1058 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1059 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1060 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1061 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1063 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1066 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1067 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1069 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1071 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1072 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1073 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1074 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1075 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1076 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1077 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1078 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1079 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1101 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1102 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1105 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1106 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1107 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1108 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1109 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1110 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1112 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1114 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1116 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1117 that was previously under [RESET_PID].
1118 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1119 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1120 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1122 * sysdeps/i386/nptl/Implies: New file.
1123 * sysdeps/x86_64/nptl/Implies: New file.
1124 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1125 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1126 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1127 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1129 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1130 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1131 (__libc_vfork): New strong alias.
1132 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1133 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1135 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1136 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1137 (__libc_vfork): New strong alias.
1138 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1139 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1141 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1142 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1143 (__libc_vfork): New strong alias.
1144 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1145 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1146 * nptl/pt-vfork.c: New file.
1147 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1148 (libpthread: GLIBC_2.20): New version set (empty).
1150 2014-05-14 Will Newton <will.newton@linaro.org>
1152 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1155 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1158 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1159 arguments with exponent 65 or above.
1160 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1161 arguments 0x1p113L or above.
1162 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1163 to arguments 0x1p107L or above.
1164 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1165 positive arguments with exponent 65 or above.
1166 * math/auto-libm-test-in: Add more tests of log1p.
1167 * math/auto-libm-test-out: Regenerated.
1170 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1171 non-finite arguments is +0.
1172 * math/s_cacosf.c (__cacosf): Likewise.
1173 * math/s_cacosl.c (__cacosl): Likewise.
1174 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1175 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1179 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1181 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1182 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1183 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1184 for explicit high bit of mantissa when testing for argument equal
1186 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1191 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1192 (__erf): Scale by 16 instead of 8 in potentially underflowing
1193 case. Ensure exception if result actually underflows.
1194 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1195 (__erff): Scale by 16 instead of 8 in potentially underflowing
1196 case. Ensure exception if result actually underflows.
1197 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1198 (efx8): Remove variable.
1199 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1200 case. Ensure exception if result actually underflows.
1201 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1202 (efx8): Remove variable.
1203 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1204 case. Ensure exception if result actually underflows.
1205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1206 (efx8): Remove variable.
1207 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1208 case. Ensure exception if result actually underflows.
1209 * math/auto-libm-test-in: Add more tests of erf.
1210 * math/auto-libm-test-out: Regenerated.
1212 2014-05-14 Andreas Schwab <schwab@suse.de>
1214 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1215 Remove code conditionalized on USE___THREAD.
1217 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1218 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1221 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1223 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1224 Define unconditionally.
1225 (__ASSUME_O_CLOEXEC): Likewise.
1226 (__ASSUME_SOCK_CLOEXEC): Likewise.
1227 (__ASSUME_IN_NONBLOCK): Likewise.
1228 (__ASSUME_PIPE2): Likewise.
1229 (__ASSUME_EVENTFD2): Likewise.
1230 (__ASSUME_SIGNALFD4): Likewise.
1231 (__ASSUME_DUP3): Likewise.
1232 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1233 (__ASSUME_DUP3): Do not define.
1234 (__ASSUME_EVENTFD2): Likewise.
1235 (__ASSUME_IN_NONBLOCK): Likewise.
1236 (__ASSUME_O_CLOEXEC): Likewise.
1237 (__ASSUME_PIPE2): Likewise.
1238 (__ASSUME_SIGNALFD4): Likewise.
1239 (__ASSUME_SOCK_CLOEXEC): Likewise.
1240 (__ASSUME_UTIMES): Undefine.
1241 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1242 (__ASSUME_UTIMES): Do not define.
1243 (__ASSUME_O_CLOEXEC): Likewise.
1244 (__ASSUME_SOCK_CLOEXEC): Likewise.
1245 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1246 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1248 (__ASSUME_PIPE2): Likewise.
1249 (__ASSUME_EVENTFD2): Likewise.
1250 (__ASSUME_SIGNALFD4): Likewise.
1251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1252 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1254 (__ASSUME_EVENTFD2): Likewise.
1255 (__ASSUME_SIGNALFD4): Likewise.
1256 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1257 (__ASSUME_32BITUIDS): Likewise.
1258 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1259 (__ASSUME_IPC64): Likewise.
1260 (__ASSUME_ST_INO_64_BIT): Likewise.
1261 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1262 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1263 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1264 (__ASSUME_UTIMES): Do not define.
1265 (__ASSUME_PSELECT): Likewise.
1266 (__ASSUME_PPOLL): Likewise.
1267 (__ASSUME_O_CLOEXEC): Likewise.
1268 (__ASSUME_SOCK_CLOEXEC): Likewise.
1269 (__ASSUME_IN_NONBLOCK): Likewise.
1270 (__ASSUME_PIPE2): Likewise.
1271 (__ASSUME_EVENTFD2): Likewise.
1272 (__ASSUME_SIGNALFD4): Likewise.
1273 (__ASSUME_DUP3): Likewise.
1274 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1275 (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
1294 (__ASSUME_UTIMES): Likewise.
1295 (__ASSUME_EVENTFD2): Likewise.
1296 (__ASSUME_SIGNALFD4): Likewise.
1297 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1298 (__ASSUME_O_CLOEXEC): Likewise.
1299 (__ASSUME_SOCK_CLOEXEC): Likewise.
1300 (__ASSUME_IN_NONBLOCK): Likewise.
1301 (__ASSUME_PIPE2): Likewise.
1302 (__ASSUME_EVENTFD2): Likewise.
1303 (__ASSUME_SIGNALFD4): Likewise.
1304 (__ASSUME_DUP3): Likewise.
1305 (__ASSUME_UTIMES): Undefine.
1307 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1308 feclearexcept. Remove symbol versioning code.
1309 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1310 symbol versioning code.
1311 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1312 symbol versioning code.
1313 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1314 feupdateenv. Remove symbol versioning code.
1315 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1316 fegetexceptflag. Remove symbol versioning code.
1317 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1318 fesetexceptflag. Remove symbol versioning code.
1319 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1320 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1321 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1322 (__posix_fadvise64_l32): Remove prototype.
1323 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1326 2014-05-13 Roland McGrath <roland@hack.frob.com>
1328 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1329 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1330 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1331 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1333 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1335 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1336 current working directory
1338 2014-05-13 Roland McGrath <roland@hack.frob.com>
1340 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1341 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1342 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1343 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1344 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1345 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1346 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1347 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1348 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1349 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1351 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1353 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1357 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1359 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1361 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1365 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1373 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1374 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1375 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1376 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1377 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1378 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1379 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1380 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1381 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1383 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1384 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1386 * sysdeps/unix/sysv/linux/arm/Makefile
1387 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1388 Add rt-aeabi_unwind_cpp_pr1.
1389 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1390 Add nptl-aeabi_unwind_cpp_pr1.
1391 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1392 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1393 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1394 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1395 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1396 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1398 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1399 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1400 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1401 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1403 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1404 Deconditionalize the code that was previously under [RESET_PID].
1405 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1407 * sysdeps/generic/exit-thread.h: New file.
1408 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1409 * include/unistd.h (__exit_thread): Remove declaration.
1410 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1411 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1412 * csu/libc-start.c: Include <exit-thread.h>.
1413 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1414 * nptl/pthread_create.c: Include <exit-thread.h>.
1415 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1416 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1417 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1418 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1419 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1420 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1421 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1422 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1423 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1424 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1425 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1426 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1427 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1428 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1429 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1430 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1431 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1433 2014-05-13 Andreas Schwab <schwab@suse.de>
1435 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1437 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1439 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1440 (__ASSUME_UTIMES): Do not condition on kernel version.
1441 (__ASSUME_PSELECT): Define unconditionally.
1442 (__ASSUME_PPOLL): Likewise.
1443 (__ASSUME_ATFCTS): Likewise.
1444 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1445 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1446 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1447 (__ASSUME_UTIMENSAT): Define unconditionally.
1448 (__ASSUME_PRIVATE_FUTEX): Likewise.
1449 (__ASSUME_FALLOCATE): Likewise.
1450 (__ASSUME_O_CLOEXEC): Likewise.
1451 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1452 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1453 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1454 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1455 (__ASSUME_IN_NONBLOCK): Likewise.
1456 (__ASSUME_PIPE2): Likewise.
1457 (__ASSUME_EVENTFD2): Likewise.
1458 (__ASSUME_SIGNALFD4): Likewise.
1459 (__ASSUME_DUP3): Likewise.
1460 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1461 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1462 (__ASSUME_AT_RANDOM): Likewise.
1463 (__ASSUME_PREADV): Likewise.
1464 (__ASSUME_PWRITEV): Likewise.
1465 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1466 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1467 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1468 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1469 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1471 (__ASSUME_O_CLOEXEC): Define unconditionally.
1472 (__ASSUME_PSELECT): Do not undefine conditionally.
1473 (__ASSUME_PPOLL): Likewise.
1474 (__ASSUME_ATFCTS): Likewise.
1475 (__ASSUME_SET_ROBUST_LIST): Likewise.
1476 (__ASSUME_UTIMENSAT): Likewise.
1477 (__ASSUME_FDATASYNC): Define unconditionally.
1478 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1479 (__ASSUME_SIGFRAME_V2): Likewise.
1480 )__ASSUME_EVENTFD2): Likewise.
1481 (__ASSUME_SIGNALFD4): Likewise.
1482 (__ASSUME_PSELECT): Do not undefine conditionally.
1483 (__ASSUME_PPOLL): Likewise.
1484 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1485 (__ASSUME_PSELECT): Define unconditionally.
1486 (__ASSUME_PPOLL): Likewise.
1487 (__ASSUME_O_CLOEXEC): Likewise.
1488 (__ASSUME_SOCK_CLOEXEC): Likewise.
1489 (__ASSUME_IN_NONBLOCK): Likewise.
1490 (__ASSUME_PIPE2): Likewise.
1491 (__ASSUME_EVENTFD2): Likewise.
1492 (__ASSUME_SIGNALFD4): Likewise.
1493 (__ASSUME_DUP3): Likewise.
1494 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1495 (__ASSUME_O_CLOEXEC): Likewise.
1496 (__ASSUME_SOCK_CLOEXEC): Likewise.
1497 (__ASSUME_IN_NONBLOCK): Likewise.
1498 (__ASSUME_PIPE2): Likewise.
1499 (__ASSUME_EVENTFD2): Likewise.
1500 (__ASSUME_SIGNALFD4): Likewise.
1501 (__ASSUME_DUP3): Likewise.
1502 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1503 (__ASSUME_EVENTFD2): Likewise.
1504 (__ASSUME_SIGNALFD4): Likewise.
1505 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1507 2014-05-12 Andreas Schwab <schwab@suse.de>
1510 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1511 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1512 than maximum RPC packet size.
1513 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1514 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1515 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1516 (_nss_nis_getservbyport_r): Likewise.
1518 2014-05-12 Will Newton <will.newton@linaro.org>
1520 * malloc/Makefile (tests): Add tst-mallopt.
1521 * malloc/tst-mallopt.c: New file.
1523 2014-05-09 Roland McGrath <roland@hack.frob.com>
1525 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1526 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1528 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1531 (tst-tlsmod6.so): Likewise.
1533 2014-05-09 Roland McGrath <roland@hack.frob.com>
1535 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1537 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1540 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1541 and <dl-procinfo.h>.
1542 (__fegetenv): Save SSE state in envp->__eip if supported.
1543 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1544 envp->__eip if supported.
1545 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1546 and <dl-procinfo.h>.
1547 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1548 __data_offset and __data_selector in environment to 0. Set SSE
1550 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1552 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1554 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1556 2014-05-09 Will Newton <will.newton@linaro.org>
1558 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1559 and libc_relro_required for ARM.
1560 * sysdeps/arm/preconfigure: Regenerate.
1562 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1563 Stefan Liebler <stli@linux.vnet.ibm.com>
1565 * config.make.in (enable-lock-elision): New Makefile variable.
1566 * configure.ac: Likewise.
1567 * configure: Regenerate.
1568 * sysdeps/s390/configure.ac:
1569 Add check for gcc transactions support.
1570 * sysdeps/s390/configure: Regenerate.
1571 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1572 Build elision files if enabled.
1573 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1574 Add lock elision support for s390.
1575 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1576 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1577 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1578 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1579 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1580 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1581 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1583 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1585 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1589 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1590 (__lll_timedlock_elision, __lll_lock_elision)
1591 (__lll_unlock_elision, __lll_trylock_elision)
1592 (lll_timedlock_elision, lll_lock_elision)
1593 (lll_unlock_elision, lll_trylock_elision): Add.
1594 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1595 (pthread_mutex_t): Add lock elision support for s390.
1597 2014-05-14 Wilco <wdijkstr@arm.com>
1599 * sysdeps/arm/fclrexcpt.c: Cleanup.
1600 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1601 * sysdeps/arm/feenablxcpt.c: Cleanup.
1602 * sysdeps/arm/fegetenv.c: Cleanup.
1603 * sysdeps/arm/fegetexcept.c: Cleanup.
1604 * sysdeps/arm/fegetround.c: Cleanup.
1605 * sysdeps/arm/feholdexcpt.c: Cleanup.
1606 * sysdeps/arm/fesetenv.c: Cleanup.
1607 * sysdeps/arm/fesetround.c: Cleanup.
1608 * sysdeps/arm/feupdateenv.c: Cleanup.
1609 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1610 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1611 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1612 * sysdeps/arm/ftestexcept.c: Cleanup.
1613 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1614 * sysdeps/arm/setfpucw.c: Cleanup.
1616 2014-05-09 Will Newton <will.newton@linaro.org>
1618 * sysdeps/arm/armv7/strcmp.S: New file.
1619 * NEWS: Mention addition of ARMv7 optimized strcmp.
1621 2014-05-08 Roland McGrath <roland@hack.frob.com>
1623 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1624 look for %.ac rather than %.in.
1626 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1627 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1628 * sysdeps/mach/hurd/configure: Regenerated.
1629 * sysdeps/unix/sysv/linux/configure: Regenerated.
1631 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1633 2014-05-07 Steve Ellcey <sellcey@mips.com>
1636 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1640 2014-05-07 Andreas Schwab <schwab@suse.de>
1642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1643 when skipping over non-matching result from nscd.
1645 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1648 * nptl/sockperf.c (client): Check socket return value.
1651 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1652 nscd security class.
1654 2014-05-06 Roland McGrath <roland@hack.frob.com>
1656 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1657 * sysdeps/arm/unwind.h: ... here.
1659 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1662 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1665 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1667 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1668 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1669 multiarch strncpy for PPC64.
1670 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1671 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1673 multiarch optimizations.
1674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1675 (__libc_ifunc_impl_list): Likewise.
1676 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1677 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1678 multiarch stpncpy for PPC64.
1679 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1680 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1682 2014-05-06 Andreas Schwab <schwab@suse.de>
1685 * gmon/mcount.c (_MCOUNT_DECL): Use
1686 atomic_compare_and_exchange_bool_acq instead of
1687 catomic_compare_and_exchange_bool_acq.
1689 2014-05-05 Roland McGrath <roland@hack.frob.com>
1691 * elf/Makefile (others, install-bin): Remove pldd.
1692 (pldd-modules): Variable removed.
1693 ($(objpfx)pldd): Target removed.
1694 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1695 (others, install-bin): Append pldd here.
1696 ($(objpfx)pldd): New target.
1698 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1699 to 0, so the first #if test emitted later doesn't see it undefined.
1700 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1701 * sysdeps/gnu/errlist.c: Regenerated.
1703 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1706 [libc_hidden_builtin_def]: Define to empty value.
1707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1708 [libc_hidden_builtin_def]: Likewise.
1709 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1710 [libc_hidden_builtin_def]: Likewise.
1711 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1712 [libc_hidden_builtin_def]: Likewise.
1713 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1714 __redirect_memcpy and define ifunc as default hidden symbol.
1715 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1716 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1718 2014-05-04 Adam Conrad <adconrad@0c3.net>
1720 * locale/iso-4217.def: Reintroduce XDR currency.
1722 2014-05-04 Allan McRae <allan@archlinux.org>
1724 * po/eo.po: Update Esperanto translation from translation project.
1726 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1728 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1729 and FEATURE_INDEX_MAX to 1.
1730 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1732 2014-05-01 Steve Ellcey <sellcey@mips.com>
1734 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1735 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1736 * iconvdata/big5.c (ONE_DIRECTION): Define.
1737 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1738 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1739 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1740 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1741 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1742 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1743 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1744 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1745 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1746 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1747 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1748 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1749 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1750 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1751 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1752 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1753 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1754 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1755 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1756 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1757 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1758 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1759 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1760 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1761 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1762 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1763 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1764 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1765 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1766 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1767 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1768 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1769 * iconvdata/johab.c (ONE_DIRECTION): Define.
1770 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1771 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1772 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1773 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1774 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1775 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1776 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1777 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1778 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1779 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1781 2014-05-01 Roland McGrath <roland@hack.frob.com>
1783 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1784 (_IO_JUMPS_OFFSET): Define to 0.
1786 * nptl/sysdeps/pthread/bits/libc-lock.h
1787 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1788 (__libc_lock_define_initialized_recursive): Always define using
1789 initializer. Modern compilers treat uninitialized (implicit zero) and
1790 explicit zero initializers the same (i.e. put the datum in bss).
1792 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1794 * nscd/nscd-client.h: Include <string.h>.
1796 2014-05-01 David S. Miller <davem@davemloft.net>
1799 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1800 multiple zero bytes exist at the end of a string.
1801 Reported by Aurelien Jarno <aurelien@aurel32.net>
1803 * string/test-strcmp.c (check): Add explicit test for situations where
1804 there are multiple zero bytes after the first.
1806 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1809 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1810 when compiling wprintf.
1811 * stdio-common/tstdiomisc.c (t3): New function.
1814 2014-05-01 Steve Ellcey <sellcey@mips.com>
1816 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1817 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1818 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1819 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1821 2014-05-01 Steve Ellcey <sellcey@mips.com>
1823 * stdlib/longlong.h: Updated from GCC.
1825 2014-05-01 Will Newton <will.newton@linaro.org>
1826 Bernard Ogden <bernie.ogden@linaro.org>
1828 * NEWS: Update fixed bug list.
1831 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1833 2014-04-30 David S. Miller <davem@davemloft.net>
1835 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1836 (libc_feholdexcept_setround_sparc_ctx): New function.
1837 (libc_fesetenv_sparc_ctx): Likewise.
1838 (libc_feupdateenv_sparc_ctx): Likewise.
1839 (libc_feholdsetround_sparc_ctx): Likewise.
1840 (libc_feholdexcept_setround_ctx): Define.
1841 (libc_feholdexcept_setroundf_ctx): Likewise.
1842 (libc_feholdexcept_setroundl_ctx): Likewise.
1843 (libc_fesetenv_ctx): Likewise.
1844 (libc_fesetenvf_ctx): Likewise.
1845 (libc_fesetenvl_ctx): Likewise.
1846 (libc_feupdateenv_ctx): Likewise.
1847 (libc_feupdateenvf_ctx): Likewise.
1848 (libc_feupdateenvl_ctx): Likewise.
1849 (libc_feresetround_ctx): Likewise.
1850 (libc_feresetroundf_ctx): Likewise.
1851 (libc_feresetroundl_ctx): Likewise.
1852 (libc_feholdsetround_ctx): Likewise.
1853 (libc_feholdsetroundf_ctx): Likewise.
1854 (libc_feholdsetroundl_ctx): Likewise.
1856 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1857 with __USE_GNU instead of XOPEN cpp guards.
1859 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1862 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1863 with XOPEN cpp guards.
1865 2014-04-30 Julian Brown <julian@codesourcery.com>
1868 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1871 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1874 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1876 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1877 * sysdeps/unix/sysv/linux/configure: Regenerated.
1878 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1879 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1880 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1881 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1882 * README: Update reference to required Linux kernel version.
1883 * manual/install.texi (Linux): Update reference to required Linux
1884 kernel headers version.
1885 * INSTALL: Regenerated.
1887 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1889 [POSIX] (limits.h): Likewise.
1890 [POSIX] (math.h): Likewise.
1891 [POSIX] (sys/wait.h): Likewise.
1892 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1894 [POSIX] (stddef.h): Do not allow header inclusion.
1896 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1900 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1902 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1903 Return immediately after lll_futex_wake.
1905 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1908 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1910 (datahead_init_pos): Call datahead_init_common early.
1911 (datahead_init_neg): Likewise.
1913 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1914 datahead_init_neg): New functions.
1915 * nscd/aicache.c (addhstaiX): Use them.
1916 * nscd/grpcache.c (cache_addgr): Likewise.
1917 * nscd/hstcache.c (cache_addhst): Likewise.
1918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1919 * nscd/netgroupcache.c (do_notfound): Likewise.
1920 (addgetnetgrentX): Likewise.
1921 (addinnetgrX): Likewise.
1922 * nscd/pwdcache.c (cache_addpw): Likewise.
1923 * nscd/servicescache.c (cache_addserv): Likewise.
1925 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1926 Atsushi Onoe <atsushi@onoe.org>
1931 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1932 one response is valid.
1933 * resolv/res_send.c (send_dg): Check for validity of other
1934 response if the current response is a referral.
1936 2014-04-29 Steve Ellcey <sellcey@mips.com>
1938 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1940 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1943 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1944 Always divide by positive zero when computing -Inf result.
1945 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1946 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1948 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1951 FPSCR if value do not change.
1952 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1953 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1954 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1955 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1956 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1957 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1960 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1962 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1963 * sysdeps/unix/sysv/linux/hppa: Move directory from
1964 ports/systeps/unix/sysv/linux/hppa.
1965 * README: Update listing for hppa-*-linux-gnu.
1967 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1970 * manual/stdio.texi (Hook functions): Fix types of stream hook
1973 * socket/sys/socket.h: Fix typo in comment.
1975 2014-04-28 Wilco <wdijkstr@arm.com>
1977 * sysdeps/arm/fenv_private.h: New file.
1978 * sysdeps/arm/math_private.h: New file.
1979 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1981 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1983 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1985 (La_x86_64_retval): Likewise.
1987 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1989 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1990 fpsr if value didn't change.
1991 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1992 to fpcr if value didn't change.
1993 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1994 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1995 fpsr or fpcr if value didn't change.
1996 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1997 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1998 fpcr if value didn't change.
1999 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2000 to fpsr if value didn't change.
2002 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2004 * nptl/tst-sem3.c: Use test-skeleton.c
2005 (main): Rename to do_test. Use return instead of
2007 * nptl/tst-sem4.c: Use test-skeleton.c
2008 (main): Rename to do_test.
2010 2014-04-22 David S. Miller <davem@davemloft.net>
2012 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2013 (struct sigaction): New struct member __glibc_reserved0, change
2014 type of sa_flags to int.
2016 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2018 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2019 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2021 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2023 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2024 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2026 2014-04-22 Will Newton <will.newton@linaro.org>
2027 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2029 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2030 (__longjmp): Add longjmp and longjmp_target SystemTap
2032 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2033 (__sigsetjmp): Add setjmp SystemTap probe.
2035 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2037 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2040 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2042 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2044 * sysdeps/powerpc/fpu/fenv_private.h
2045 (libc_feholdexcept_setroundl_ctx): Define to
2046 libc_feholdexcept_setround_ppc_ctx.
2047 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2048 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2049 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2050 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2052 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2054 * sysdeps/aarch64/math-tests.h: New file.
2056 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2058 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2061 Check and set bit_AVX2_Usable.
2062 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2064 (bit_AVX2): Likewise.
2065 (index_AVX2_Usable): Likewise.
2066 (CPUID_AVX2): Likewise.
2067 (HAS_AVX2): Likewise.
2069 2014-04-17 Will Newton <will.newton@linaro.org>
2071 * manual/setjmp.texi (System V contexts): Add note that
2072 calling setcontext on a context created by a call to a
2073 signal handler is undefined. Update text to note that
2074 setcontext from a signal handler is possible but not
2078 * stdlib/tst-setcontext.c: Include signal.h.
2079 (main): Check that the signal stack before and
2080 after swapcontext is the same.
2082 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2083 Re-implement to restore registers in user code and avoid
2084 rt_sigreturn system call.
2086 2014-04-17 Wilco <wdijkstr@arm.com>
2088 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2089 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2090 * math/test-fenv.c: Skip exception trap tests on targets which only
2091 support non-stop mode.
2093 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2094 Wilco Dijkstra <wilco.dijkstra@arm.com>
2096 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2097 (libc_feholdsetround_aarch64_ctx)
2098 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2099 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2100 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2101 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2102 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2103 (libc_feresetround_noexl_ctx): Define.
2105 2014-04-16 Richard Henderson <rth@redhat.com>
2107 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2109 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2112 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2113 const from the non-libc, non-ldso copy.
2115 * sysdeps/alpha/libm-test-ulps: Regenerate.
2117 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2118 Wilco Dijkstra <wilco.dijkstra@arm.com>
2120 * sysdeps/aarch64/fpu/math_private.h: New file.
2122 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2124 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2126 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2128 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2129 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2131 Intel MPX bound registers before _dl_profile_fixup.
2132 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2133 registers after _dl_profile_fixup. Save and restore bound
2134 registers bnd0/bnd1 when calling _dl_call_pltexit.
2135 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2136 (LR_BND_OFFSET): Likewise.
2137 (LRV_BND0_OFFSET): Likewise.
2138 (LRV_BND1_OFFSET): Likewise.
2140 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2142 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2144 * sysdeps/mach/hurd/i386/tls.h: ... here.
2145 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2146 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2149 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2151 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2153 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2155 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2157 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2160 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2161 * sysdeps/s390/configure: Regenerate.
2164 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2165 Set round-to-nearest internally to reduce error accumulation.
2167 2014-04-16 Alan Modra <amodra@gmail.com>
2171 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2172 * math/libm-test.inc (frexp_test_data): Add tests.
2173 * NEWS: Update fixed bug list.
2175 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2177 * benchtests/Makefile: Depend on libraries in build directory.
2178 (bench-math): Separate out math tests.
2179 (bench-pthread): Separate out pthread tests.
2180 (bench): Include math and pthread tests.
2182 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2185 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2186 _dl_debug_initialize.
2188 * configure.ac: Remove SELinux header check.
2189 * configure: Regenerate.
2190 * nscd/selinux.c (perms): Array of const char* to permission names.
2191 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2192 default policy. Call string_to_security_class and string_to_av_perm to
2193 translate strings. Enforce default policy and call avs_has_perm with
2194 results of translated strings.
2196 2014-04-13 David S. Miller <davem@davemloft.net>
2198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2200 2014-04-12 Allan McRae <allan@archlinux.org>
2203 * manual/string.texi (Collation Functions): Fix qsort argument
2205 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2207 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2209 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2210 Make the test a no-op if there are no exceptions defined.
2212 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2214 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2215 enable-hardcoded-path-in-tests
2217 2014-04-11 Will Newton <will.newton@linaro.org>
2219 * benchtests/Makefile (extra-objs): Add json-lib.o.
2220 (bench-func): Tidy up JSON output.
2221 * benchtests/bench-skeleton.c: Include json-lib.h.
2222 (main): Use JSON library functions to do output of
2224 * benchtests/bench-timing-type.c (main): Output the
2225 timing type simply, leaving formatting to the user.
2226 * benchtests/json-lib.c: New file.
2227 * benchtests/json-lib.h: Likewise.
2229 2014-04-11 Torvald Riegel <triegel@redhat.com>
2232 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2233 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2234 memory barriers. Add comments.
2235 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2236 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2237 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2238 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2239 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2240 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2242 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2244 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2245 * sysdeps/s390/s390-64/configure.ac: ... this ...
2246 * sysdeps/s390/configure.ac: ... to here.
2247 * sysdeps/s390/s390-32/configure: Delete file.
2248 * sysdeps/s390/s390-64/configure: Delete file.
2249 * sysdeps/s390/configure: Regenerate.
2251 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2253 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2255 2014-04-11 Will Newton <will.newton@linaro.org>
2257 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2258 to zero if it is not defined elsewhere. (mtrim): Test
2259 the value of MALLOC_DEBUG with #if rather than #ifdef.
2261 2014-04-10 Torvald Riegel <triegel@redhat.com>
2263 * benchtests/pthread_once-inputs: New file.
2264 * benchtests/pthread_once-source.c: New file.
2265 * benchtests/README: Update documentation.
2267 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2268 H.J. Lu <hongjiu.lu@intel.com>
2270 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2271 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2272 * sysdeps/x86_64/configure: Regenerated.
2273 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2275 (REGISTER_SAVE_RAX): Likewise.
2276 (REGISTER_SAVE_RCX): Likewise.
2277 (REGISTER_SAVE_RDX): Likewise.
2278 (REGISTER_SAVE_RSI): Likewise.
2279 (REGISTER_SAVE_RDI): Likewise.
2280 (REGISTER_SAVE_R8): Likewise.
2281 (REGISTER_SAVE_R9): Likewise.
2282 (REGISTER_SAVE_BND0): Likewise.
2283 (REGISTER_SAVE_BND1): Likewise.
2284 (REGISTER_SAVE_BND2): Likewise.
2285 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2286 bound registers when calling _dl_fixup.
2288 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2291 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2293 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2294 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2295 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2296 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2297 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2298 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2299 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2301 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2304 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2305 pathconf(_PC_NAME_MAX).
2307 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2311 (__PTHREAD_SPINS): Move definition to ...
2312 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2313 (__PTHREAD_SPINS): ... here.
2314 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2315 (__PTHREAD_SPIN): Likewise.
2316 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2317 (__PTHREAD_SPIN): Likewise.
2318 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2319 (__PTHREAD_SPIN): Likewise.
2320 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2321 (__PTHREAD_SPIN): Likewise.
2322 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2323 (__PTHREAD_SPIN): Likewise.
2324 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2325 (__PTHREAD_SPIN): Likewise.
2326 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2327 (__PTHREAD_SPIN): Likewise.
2328 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2329 (__PTHREAD_SPIN): Likewise.
2330 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2331 (__PTHREAD_SPIN): Likewise.
2332 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2333 (__PTHREAD_SPIN): Likewise.
2334 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2335 (__PTHREAD_SPIN): Likewise.
2336 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2337 (__PTHREAD_SPIN): Likewise.
2339 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2340 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2341 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2342 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2344 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2345 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2346 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2347 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2349 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2350 strlen symbol for non multi-arch builds.
2351 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2352 missing hidden_def and weak_alias.
2354 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2356 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2358 2014-04-07 Will Newton <will.newton@linaro.org>
2360 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2361 and contents. [!_LIBC] Remove #ifndef and contents.
2362 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2363 * string/memccpy.c (__memccpy): Use ANSI prototype.
2364 * string/memfrob.c (memfrob): Likewise.
2365 * string/strcoll.c (STRCOLL): Likewise.
2366 * string/strlen.c (strlen): Likewise.
2367 * string/strtok.c (STRTOK): Likewise.
2368 * string/strcat.c: Remove unused #include of memcopy.h.
2369 (strcat): Use ANSI prototype.
2370 * string/strchr.c: Remove unused #include of memcopy.h.
2371 (strchr): Use ANSI prototype.
2372 * string/strcmp.c: Remove unused #include of memcopy.h.
2373 (strcmp): Use ANSI prototype.
2374 * string/strcpy.c: Remove unused #include of memcopy.h.
2375 (strcpy): Use ANSI prototype.
2377 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2379 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2380 * config.make.in (config-extra-cppflags): Set it from
2381 libc_extra_cppflags.
2382 * configure.ac (libc_extra_cflags): Make it accumulate over
2383 configure fragments.
2384 (libc_extra_cppflags): New flag.
2385 * configure. Regenerate.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2387 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2388 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2392 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2393 result for FE_DOWNWARD rounding mode.
2394 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2398 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2400 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2401 in function argument name.
2403 2014-04-03 David Svoboda <svoboda@cert.org>
2406 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2409 2014-04-03 Roland McGrath <roland@hack.frob.com>
2411 * elf/dl-unmap-segments.h: New file.
2412 * sysdeps/generic/ldsodefs.h
2413 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2414 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2415 * elf/dl-fptr.c: Likewise.
2416 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2417 * sysdeps/aarch64/tlsdesc.c: Likewise.
2418 * sysdeps/arm/tlsdesc.c: Likewise.
2419 * sysdeps/i386/tlsdesc.c: Likewise.
2420 * sysdeps/tile/dl-runtime.c: Likewise.
2421 * sysdeps/x86_64/tlsdesc.c: Likewise.
2422 * elf/dl-load.h: New file.
2423 * elf/dl-load.c: Include it.
2424 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2425 Macros moved to dl-load.h.
2426 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2427 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2428 Use _dl_unmap_segments in place of __munmap.
2429 Break out segment-mapping loop into ...
2430 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2432 2014-04-03 Will Newton <will.newton@linaro.org>
2434 * elf/dl-lookup.c (do_lookup_x): Remove comment
2435 referring to nested function and move variable
2436 declarations down to before first use.
2438 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2442 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2444 * math/s_catanf.c (__catanf): Likewise.
2445 * math/s_catanh.c (__catanh): Likewise.
2446 * math/s_catanhf.c (__catanhf): Likewise.
2447 * math/s_catanhl.c (__catanhl): Likewise.
2448 * math/s_catanl.c (__catanl): Likewise.
2449 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2450 by positive zero when computing -Inf result.
2451 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2452 (catanh_test): Likewise.
2453 * sysdeps/i386/fpu/libm-test-ulps: Update.
2454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2458 instead of using underflowing value in computing result.
2459 * math/s_clog10.c (__clog10): Likewise.
2460 * math/s_clog10f.c (__clog10f): Likewise.
2461 * math/s_clog10l.c (__clog10l): Likewise.
2462 * math/s_clogf.c (__clogf): Likewise.
2463 * math/s_clogl.c (__clogl): Likewise.
2464 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2465 (clog10_test): Likewise.
2466 * sysdeps/i386/fpu/libm-test-ulps: Update.
2467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2469 2014-04-02 Alan Modra <amodra@gmail.com>
2472 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2473 output when value is near a power of two. Use int64_t for lx and
2474 remove casts. Use decimal rather than hex exponent constants.
2475 Don't use long double multiplication when double will suffice.
2476 * math/libm-test.inc (nextafter_test_data): Add tests.
2477 * NEWS: Add 16739 and 16786 to bug list.
2479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2481 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2483 2014-04-01 Will Newton <will.newton@linaro.org>
2485 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2486 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2488 2014-04-01 Florian Weimer <fweimer@redhat.com>
2491 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2492 * nptl/tst-setuid2.c: New file.
2493 * nptl/Makefile (xtests): Add tst-setuid2.
2495 2014-04-01 Alan Modra <amodra@gmail.com>
2498 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2500 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2504 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2505 set errno as appropriate.
2506 * math/w_scalbf.c (__scalbf): Likewise.
2507 * math/w_scalbl.c (__scalbl): Likewise.
2508 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2509 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2510 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2514 * math/w_atan2.c: Include <errno.h>.
2515 (__atan2): Set errno for result underflowing to zero.
2516 * math/w_atan2f.c: Include <errno.h>.
2517 (__atan2f): Set errno for result underflowing to zero.
2518 * math/w_atan2l.c: Include <errno.h>.
2519 (__atan2l): Set errno for result underflowing to zero.
2520 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2522 * math/auto-libm-test-out: Regenerated.
2524 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2526 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2527 Encode instruction correctly in little endian.
2528 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2532 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2534 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2537 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2540 * sysdeps/unix/sysv/linux/kernel-features.h
2541 [__sparc__ && !__arch64__ && !__sparc_v9__]
2542 (__ASSUME_SET_ROBUST_LIST): Do not define.
2543 [__sparc__ && !__arch64__ && !__sparc_v9__]
2544 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2545 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2547 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2548 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2549 (__ASSUME_REQUEUE_PI): Likewise.
2550 (__ASSUME_SET_ROBUST_LIST): Likewise.
2551 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2552 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2555 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2557 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2559 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2561 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2562 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2564 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2565 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2569 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2570 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2571 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2573 2014-03-31 Will Newton <will.newton@linaro.org>
2575 * benchtests/Makefile (bench): Add ffs and ffsll to list
2577 * benchtests/ffs-inputs: New file.
2578 * benchtests/ffsll-inputs: Likewise.
2580 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2583 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2584 too large before casting to int.
2585 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2586 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2587 * math/libm-test.inc (scalb_test_data): Add more tests.
2589 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2591 * benchtests/Makefile (DETAILED_OPT): New make option.
2592 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2594 * benchtests/bench-skeleton.c: Include stdbool.h.
2595 (main): Store and print timings per input.
2596 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2597 member to each argument value.
2598 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2599 (_print_arg_data): Initialize per-input timing to 0.
2601 * benchtests/Makefile (timing-type): New binary.
2602 (bench-clean): Also remove bench-timing-type.
2603 (bench): New target for timing-type.
2604 (bench-func): Print output in JSON format.
2605 * benchtests/bench-skeleton.c (main): Print output in JSON
2607 * benchtests/bench-timing-type.c: New file.
2608 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2609 (TIMING_PRINT_STATS): Remove.
2610 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2613 * benchtests/bench-modf.c: Remove.
2614 * benchtests/modf-inputs: New inputs file.
2616 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2619 * math/s_clog10.c (M_PI_LOG10E): New macro.
2620 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2621 imaginary parts are 0.
2622 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2623 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2624 imaginary parts are 0.
2625 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2626 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2627 imaginary parts are 0.
2628 * math/libm-test.inc (clog10_test_data): Update expected results
2629 for when real and imaginary parts are 0.
2631 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2633 * elf/dl-load.c: Finish conversion of __builtin_expect into
2636 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2639 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2640 1+x for argument with exponent below -67.
2641 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2643 * math/auto-libm-test-in: Add more tests of exp.
2644 * math/auto-libm-test-out: Regenerated.
2646 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2649 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2650 (nscd_getnetgrent): Use it.
2653 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2656 2014-03-27 Andi Kleen <ak@linux.intel.com>
2658 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2659 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2660 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2661 (lll_robust_unlock): Remove out of line section. Use cfi
2663 (LLL_STUB_UNWIND_INFO*): Remove.
2664 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2665 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2666 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2667 (lll_robust_unlock): Remove out of line section. Use cfi
2669 (LLL_STUB_UNWIND_INFO*): Remove.
2671 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2674 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2677 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2679 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2681 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2684 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2686 * math/test-fenv-preserve.c: New file.
2687 * math/Makefile (tests): Add test-fenv-preserve.
2689 2014-03-26 Will Newton <will.newton@linaro.org>
2691 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2693 2014-03-25 Roland McGrath <roland@hack.frob.com>
2695 * scripts/versionlist.awk: Partition the version sets and emit all
2696 GLIBC_* (sorted) before all others (sorted).
2698 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2700 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2701 GLIBC_2.2.5 version.
2703 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2705 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2708 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2713 2014-03-25 Andreas Schwab <schwab@suse.de>
2715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2716 label to be used after in6ailist is initialized.
2718 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2721 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2723 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2727 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2729 (fp_formats): Update initializers.
2730 (init_fp_formats): Initialize new field.
2731 (output_for_one_input_case): Allow underflow for results up to
2733 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2734 * math/auto-libm-test-in: Don't mark some underflows from asin and
2736 * math/auto-libm-test-out: Regenerated.
2737 * sysdeps/i386/fpu/libm-test-ulps: Update.
2738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2740 2014-03-25 Andreas Schwab <schwab@suse.de>
2742 * libio/Makefile (tst-ftell-partial-wide-ENV)
2743 (tst-ftell-active-handler-ENV): Define.
2745 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2747 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2749 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2751 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2753 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2755 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2756 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2757 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2759 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2762 * elf/dl-load.c (open_verify): Add mode parameter.
2763 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2764 (open_path): Change from boolean 'secure' to complete flag 'mode'
2765 (_dl_map_object): Adjust.
2766 * elf/Makefile (tests): Add tst-dlopen-aout.
2767 * elf/tst-dlopen-aout.c: New test.
2769 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2772 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2773 (struct stat): Rename member pad0 to __glibc_reserved0.
2776 * sysdeps/s390/s390-32/bits/wordsize.h
2777 (__WORDSIZE32_SIZE_ULONG): New define.
2778 * sysdeps/s390/s390-64/bits/wordsize.h
2779 (__WORDSIZE32_SIZE_ULONG): Likewise.
2780 * sysdeps/generic/stdint.h (SIZE_MAX):
2781 Define as UL if __WORDSIZE32_SIZE_ULONG.
2784 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2785 (__glibc_reserved0): New variable.
2786 (sa_flags): Change type to int.
2788 * posix/Makefile (before-compile): Use += before-compile instead
2791 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2792 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2794 2014-03-20 Andreas Schwab <schwab@suse.de>
2797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2798 non-matching result from nscd.
2800 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2802 * scripts/bench.py: Moved to ...
2803 * benchtests/scripts/bench.py: ... here.
2804 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2806 2014-03-24 Andreas Schwab <schwab@suse.de>
2809 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2810 alloca_account and account alloca use for struct in6ailist.
2812 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2815 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2816 rounding mode to recompute results that overflow to infinity or
2818 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2820 * math/auto-libm-test-out: Regenerated.
2821 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2822 (ccosh_test): Likewise.
2823 (csin_test_data): Use plus_oflow.
2824 (csin_test): Use ALL_RM_TEST.
2825 (csinh_test_data): Use plus_oflow.
2826 (csinh_test): Use ALL_RM_TEST.
2827 * sysdeps/i386/fpu/libm-test-ulps: Update.
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2830 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2832 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2833 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2834 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2837 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2839 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2840 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2841 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2844 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2845 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2847 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2848 * sysdeps/i386/fpu/libm-test-ulps: Update.
2849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2851 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2853 * scripts/bench.pl: Remove file.
2854 * scripts/bench.py: New benchmark script.
2855 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2856 * benchtests/README: Mention python dependency.
2857 * scripts/pylintrc: New file.
2858 * scripts/pylint: New file.
2860 * bits/mathdef.h: Use #ifdef instead of #if.
2861 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2862 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2863 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2864 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2865 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2866 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2868 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2871 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2873 and strpbrk-ppc64 objects.
2874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2875 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2876 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2877 multiarch strpbrk for POWER7.
2878 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2879 multiarch strpbrk for PPC64.
2880 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2882 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2885 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2887 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2888 (atan_test): Likewise.
2889 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2890 (atanh_test): Use ALL_RM_TEST.
2891 (atan2_test_data): Likewise.
2892 (cabs_test): Likewise.
2893 (cacosh_test): Likewise.
2894 (carg_test): Likewise.
2895 (casin_test): Likewise.
2896 (casinh_test): Likewise.
2897 (cbrt_test): Likewise.
2898 (csqrt_test): Likewise.
2899 (erf_test): Likewise.
2900 (erfc_test): Likewise.
2901 (pow10_test): Likewise.
2902 (exp2_test): Likewise.
2903 (hypot_test): Likewise.
2904 (j0_test): Likewise.
2905 (j1_test): Likewise.
2906 (lgamma_test): Likewise.
2907 (gamma_test): Likewise.
2908 (sincos_test): Likewise.
2909 (tanh_test): Likewise.
2910 (y0_test): Likewise.
2911 (y1_test): Likewise.
2912 * sysdeps/i386/fpu/libm-test-ulps: Update.
2913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2915 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2919 and strcspn-ppc64 objects.
2920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2921 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2922 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2923 multiarch strcspn for POWER7.
2924 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2925 multiarch strcspn for PPC64.
2926 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2928 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2931 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2933 * math/gen-libm-test.pl (generate_testfile): Expect only function
2934 name as argument to AUTO_TESTS_* and pass results for all rounding
2935 modes to parse_args.
2936 (parse_auto_input): Separate inputs of automatic tests from
2937 outputs before storing in %auto_tests.
2938 * math/libm-test.inc (acos_test_data): Update call to
2940 (acos_test): Use ALL_RM_TEST.
2941 (acos_tonearest_test_data): Remove.
2942 (acos_test_tonearest): Likewise.
2943 (acos_towardzero_test_data): Likewise.
2944 (acos_test_towardzero): Likewise.
2945 (acos_downward_test_data): Likewise.
2946 (acos_test_downward): Likewise.
2947 (acos_upward_test_data): Likewise.
2948 (acos_test_upward): Likewise.
2949 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2950 (asin_test_data): Likewise.
2951 (asin_test): Use ALL_RM_TEST.
2952 (asin_tonearest_test_data): Remove.
2953 (asin_test_tonearest): Likewise.
2954 (asin_towardzero_test_data): Likewise.
2955 (asin_test_towardzero): Likewise.
2956 (asin_downward_test_data): Likewise.
2957 (asin_test_downward): Likewise.
2958 (asin_upward_test_data): Likewise.
2959 (asin_test_upward): Likewise.
2960 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2961 (atan_test_data): Likewise.
2962 (atanh_test_data): Likewise.
2963 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2964 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2965 (carg_test_data): Likewise.
2966 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2967 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2968 (ccosh_test_data): Likewise.
2969 (cexp_test_data): Likewise.
2970 (clog_test_data): Likewise.
2971 (clog10_test_data): Likewise.
2972 (cos_test_data): Update call to AUTO_TESTS_f_f.
2973 (cos_test): Use ALL_RM_TEST.
2974 (cos_tonearest_test_data): Remove.
2975 (cos_test_tonearest): Likewise.
2976 (cos_towardzero_test_data): Likewise.
2977 (cos_test_towardzero): Likewise.
2978 (cos_downward_test_data): Likewise.
2979 (cos_test_downward): Likewise.
2980 (cos_upward_test_data): Likewise.
2981 (cos_test_upward): Likewise.
2982 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2983 (cosh_test): Use ALL_RM_TEST.
2984 (cosh_tonearest_test_data): Remove.
2985 (cosh_test_tonearest): Likewise.
2986 (cosh_towardzero_test_data): Likewise.
2987 (cosh_test_towardzero): Likewise.
2988 (cosh_downward_test_data): Likewise.
2989 (cosh_test_downward): Likewise.
2990 (cosh_upward_test_data): Likewise.
2991 (cosh_test_upward): Likewise.
2992 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2993 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2994 (ctan_test_data): Likewise.
2995 (ctan_test): Use ALL_RM_TEST.
2996 (ctan_tonearest_test_data): Remove.
2997 (ctan_test_tonearest): Likewise.
2998 (ctan_towardzero_test_data): Likewise.
2999 (ctan_test_towardzero): Likewise.
3000 (ctan_downward_test_data): Likewise.
3001 (ctan_test_downward): Likewise.
3002 (ctan_upward_test_data): Likewise.
3003 (ctan_test_upward): Likewise.
3004 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3005 (ctanh_test): Use ALL_RM_TEST.
3006 (ctanh_tonearest_test_data): Remove.
3007 (ctanh_test_tonearest): Likewise.
3008 (ctanh_towardzero_test_data): Likewise.
3009 (ctanh_test_towardzero): Likewise.
3010 (ctanh_downward_test_data): Likewise.
3011 (ctanh_test_downward): Likewise.
3012 (ctanh_upward_test_data): Likewise.
3013 (ctanh_test_upward): Likewise.
3014 (erf_test_data): Update call to AUTO_TESTS_f_f.
3015 (erfc_test_data): Likewise.
3016 (exp_test_data): Likewise.
3017 (exp_test): Use ALL_RM_TEST.
3018 (exp_tonearest_test_data): Remove.
3019 (exp_test_tonearest): Likewise.
3020 (exp_towardzero_test_data): Likewise.
3021 (exp_test_towardzero): Likewise.
3022 (exp_downward_test_data): Likewise.
3023 (exp_test_downward): Likewise.
3024 (exp_upward_test_data): Likewise.
3025 (exp_test_upward): Likewise.
3026 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3027 (exp10_test): Use ALL_RM_TEST.
3028 (exp10_tonearest_test_data): Remove.
3029 (exp10_test_tonearest): Likewise.
3030 (exp10_towardzero_test_data): Likewise.
3031 (exp10_test_towardzero): Likewise.
3032 (exp10_downward_test_data): Likewise.
3033 (exp10_test_downward): Likewise.
3034 (exp10_upward_test_data): Likewise.
3035 (exp10_test_upward): Likewise.
3036 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3037 (expm1_test_data): Likewise.
3038 (expm1_test): Use ALL_RM_TEST.
3039 (expm1_tonearest_test_data): Remove.
3040 (expm1_test_tonearest): Likewise.
3041 (expm1_towardzero_test_data): Likewise.
3042 (expm1_test_towardzero): Likewise.
3043 (expm1_downward_test_data): Likewise.
3044 (expm1_test_downward): Likewise.
3045 (expm1_upward_test_data): Likewise.
3046 (expm1_test_upward): Likewise.
3047 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3048 (fma_test): Use ALL_RM_TEST.
3049 (fma_towardzero_test_data): Remove.
3050 (fma_test_towardzero): Likewise.
3051 (fma_downward_test_data): Likewise.
3052 (fma_test_downward): Likewise.
3053 (fma_upward_test_data): Likewise.
3054 (fma_test_upward): Likewise.
3055 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3056 (j0_test_data): Update call to AUTO_TESTS_f_f.
3057 (j1_test_data): Likewise.
3058 (jn_test_data): Update call to AUTO_TESTS_if_f.
3059 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3060 (log_test_data): Update call to AUTO_TESTS_f_f.
3061 (log10_test_data): Likewise.
3062 (log1p_test_data): Likewise.
3063 (log2_test_data): Likewise.
3064 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3065 (pow_tonearest_test_data): Likewise.
3066 (sin_test_data): Update call to AUTO_TESTS_f_f.
3067 (sin_test): Use ALL_RM_TEST.
3068 (sin_tonearest_test_data): Remove.
3069 (sin_test_tonearest): Likewise.
3070 (sin_towardzero_test_data): Likewise.
3071 (sin_test_towardzero): Likewise.
3072 (sin_downward_test_data): Likewise.
3073 (sin_test_downward): Likewise.
3074 (sin_upward_test_data): Likewise.
3075 (sin_test_upward): Likewise.
3076 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3077 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3078 (sinh_test): Use ALL_RM_TEST.
3079 (sinh_tonearest_test_data): Remove.
3080 (sinh_test_tonearest): Likewise.
3081 (sinh_towardzero_test_data): Likewise.
3082 (sinh_test_towardzero): Likewise.
3083 (sinh_downward_test_data): Likewise.
3084 (sinh_test_downward): Likewise.
3085 (sinh_upward_test_data): Likewise.
3086 (sinh_test_upward): Likewise.
3087 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3088 (sqrt_test): Use ALL_RM_TEST.
3089 (sqrt_tonearest_test_data): Remove.
3090 (sqrt_test_tonearest): Likewise.
3091 (sqrt_towardzero_test_data): Likewise.
3092 (sqrt_test_towardzero): Likewise.
3093 (sqrt_downward_test_data): Likewise.
3094 (sqrt_test_downward): Likewise.
3095 (sqrt_upward_test_data): Likewise.
3096 (sqrt_test_upward): Likewise.
3097 (tan_test_data): Update call to AUTO_TESTS_f_f.
3098 (tan_test): Use ALL_RM_TEST.
3099 (tan_tonearest_test_data): Remove.
3100 (tan_test_tonearest): Likewise.
3101 (tan_towardzero_test_data): Likewise.
3102 (tan_test_towardzero): Likewise.
3103 (tan_downward_test_data): Likewise.
3104 (tan_test_downward): Likewise.
3105 (tan_upward_test_data): Likewise.
3106 (tan_test_upward): Likewise.
3107 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3108 (tgamma_test_data): Likewise.
3109 (y0_test_data): Likewise.
3110 (y1_test_data): Likewise.
3111 (yn_test_data): Update call to AUTO_TESTS_if_f.
3112 (main): Do not call removed functions.
3114 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3116 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3117 (ldexp_test_data): Remove.
3118 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3120 (scalb_test): Use ALL_RM_TEST.
3122 2014-03-19 Andreas Schwab <schwab@suse.de>
3124 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3126 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3129 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3130 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3131 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3132 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3133 (__ASSUME_PREADV): Undefine.
3134 (__ASSUME_PWRITEV): Likewise.
3136 2014-03-18 Roland McGrath <roland@hack.frob.com>
3138 * bits/mman-linux.h: Add comment about non-Linux use.
3139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3140 bits/mman-linux.h resting place.
3142 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3143 * bits/mman-linux.h: ... here.
3145 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147 * conform/conformtest.pl: Add standard definition when calling C
3148 preprocessor on data files.
3149 (checknamespace): Remove unused variable.
3151 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3153 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3154 minus_oflow, plus_uflow and minus_uflow in expected results.
3155 * math/libm-test.inc (scalbn_test_data): Add more tests of
3156 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3158 (scalbn_test): Use ALL_RM_TEST.
3159 (scalbln_test_data): Add more tests of negative arguments. Use
3160 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3161 (scalbln_test): Use ALL_RM_TEST.
3163 2014-03-18 Roland McGrath <roland@hack.frob.com>
3165 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3167 2014-03-18 Will Newton <will.newton@linaro.org>
3169 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3172 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3174 * Makerules [!subdir] (check-abi): Exit with error status if a
3177 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3179 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3180 for rint. Include results for all rounding modes.
3181 (nearbyint_test): Use ALL_RM_TEST.
3182 (rint_test_data): Include all tests used for nearbyint.
3184 2014-03-17 Will Newton <will.newton@linaro.org>
3186 * nptl/sysdeps/pthread/pthread.h: Revert previous
3189 * sysdeps/generic/ldsodefs.h: Revert previous
3192 * libio/genops.c: Revert previous change.
3193 * libio/libioP.h: Likewise.
3194 * stdio-common/vfprintf.c: Likewise.
3196 * sysdeps/generic/math_private.h: Revert previous
3199 * sysdeps/generic/math_private.h: Check whether
3200 HAVE_RM_CTX is defined with #ifdef rather
3203 * argp/argp-fmtstream.h: Check whether
3204 __STRICT_ANSI__ is defined with #ifdef rather
3206 * argp/argp.h: Likewise.
3208 * libio/genops.c: Check whether
3209 _IO_JUMPS_OFFSET is defined with #ifdef rather
3211 * libio/libioP.h: Likewise.
3212 * stdio-common/vfprintf.c: Likewise.
3214 * sysdeps/generic/ldsodefs.h: Check whether
3215 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3218 * nptl/sysdeps/pthread/pthread.h: Check
3219 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3222 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3224 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3226 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3230 * libio/fileops.c (_IO_file_open): Seek to end of file but
3231 don't cache the offset.
3232 (get_file_offset): Remove function.
3233 (do_ftell): Use cached offset when available.
3234 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3235 don't cache the offset.
3236 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3238 (do_one_test): Call it.
3239 (do_ftell_test): Fix up expected old offset for a+ mode.
3240 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3243 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3244 up test status with function return status.
3245 (do_write_test): Likewise.
3246 (do_append_test): Likewise.
3248 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3249 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3252 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3254 * math/gen-libm-test.pl (parse_args): Handle results specified for
3255 each rounding mode separately.
3256 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3257 tests and results from lrint_tonearest_test_data,
3258 lrint_towardzero_test_data, lrint_downward_test_data and
3259 lrint_upward_test_data.
3260 (lrint_test): Use ALL_RM_TEST.
3261 (lrint_tonearest_test_data): Remove.
3262 (lrint_test_tonearest): Likewise.
3263 (lrint_towardzero_test_data): Likewise.
3264 (lrint_test_towardzero): Likewise.
3265 (lrint_downward_test_data): Likewise.
3266 (lrint_test_downward): Likewise.
3267 (lrint_upward_test_data): Likewise.
3268 (lrint_test_upward): Likewise.
3269 (llrint_test_data): Merge in per-rounding-mode tests and results
3270 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3271 llrint_downward_test_data and llrint_upward_test_data.
3272 (llrint_test): Use ALL_RM_TEST.
3273 (llrint_tonearest_test_data): Remove.
3274 (llrint_test_tonearest): Likewise.
3275 (llrint_towardzero_test_data): Likewise.
3276 (llrint_test_towardzero): Likewise.
3277 (llrint_downward_test_data): Likewise.
3278 (llrint_test_downward): Likewise.
3279 (llrint_upward_test_data): Likewise.
3280 (llrint_test_upward): Likewise.
3281 (rint_test_data): Merge in per-rounding-mode tests and results
3282 from rint_tonearest_test_data, rint_towardzero_test_data,
3283 rint_downward_test_data and rint_upward_test_data. Add
3284 per-rounding-mode results for tests not in those arrays.
3285 (rint_test): Use ALL_RM_TEST.
3286 (rint_tonearest_test_data): Remove.
3287 (rint_test_tonearest): Likewise.
3288 (rint_towardzero_test_data): Likewise.
3289 (rint_test_towardzero): Likewise.
3290 (rint_downward_test_data): Likewise.
3291 (rint_test_downward): Likewise.
3292 (rint_upward_test_data): Likewise.
3293 (rint_test_upward): Likewise.
3294 (main): Don't call removed functions.
3296 2014-03-14 Roland McGrath <roland@hack.frob.com>
3298 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3299 "Compiled on ..." crapola. It is anti-useful.
3301 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3303 * scripts/evaluate-test.sh: Handle fourth argument to determine
3304 whether test run should stop on failure.
3305 * Makeconfig (stop-on-test-failure): New variable.
3306 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3307 $(stop-on-test-failure).
3308 * Makefile (tests): Give a summary of results from testing and
3309 exit with failure status if they include an ERROR or FAIL.
3311 * manual/install.texi (Configuring and compiling): Mention
3312 stop-on-test-failure=y.
3313 * INSTALL: Regenerated.
3315 2014-03-14 Roland McGrath <roland@hack.frob.com>
3317 * scripts/versionlist.awk: New file.
3318 * Makerules [$(build-shared) = yes]
3319 (postclean-generated): Add Versions.def, not Versions.def.v and
3321 ($(common-objpfx)Versions.def.v.i): Target removed.
3322 ($(common-objpfx)Versions.def): New target.
3323 ($(common-objpfx)Versions.all): Depend on that rather that
3324 $(common-objpfx)Versions.def.v.
3325 * Versions.def: File removed.
3327 * Makeconfig (+gccwarn): Add -Wundef.
3328 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3329 a dl-sysdep.h breaking its contract.
3330 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3331 * include/stackinfo.h: New file.
3332 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3333 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3334 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3335 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3336 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3337 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3338 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3339 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3340 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3341 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3342 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3343 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3344 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3345 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3346 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3348 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3351 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3353 * math/libm-test.inc (round_test_data): Add more tests.
3356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3358 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3361 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3363 * math/libm-test.inc (ceil_test_data): Add more tests.
3365 * math/libm-test.inc (trunc_test_data): Add more tests related to
3368 2014-03-14 Roland McGrath <roland@hack.frob.com>
3370 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3371 with #if rather than #ifdef.
3372 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3374 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3376 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3377 first. Disable AVX-512 GCC support if assembler doesn't support
3379 * sysdeps/x86_64/configure: Regenerated.
3381 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3383 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3384 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3385 (__old_pthread_attr_setstack): Likewise.
3386 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3387 [!_STACK_GROWS_DOWN]: Likewise.
3389 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3391 * config.make.in (have-bash2): Delete.
3392 * configure.ac (libc_cv_have_bash2): Delete.
3393 * configure: Regenerate.
3394 * elf/Makefile (common-ldd-rewrite): Rename to ...
3395 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3396 (sh-ldd-rewrite): Delete.
3397 (bash-ldd-rewrite): Delete.
3398 (have-bash2): Delete checks.
3399 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3402 * config.make.in (have-ksh): Delete.
3404 * configure.ac (libc_cv_have_ksh): Delete.
3405 * configure: Regenerate.
3407 * elf/Makefile: Delete $(have-ksh) check.
3408 ($(objpfx)sotruss): Change KSH to BASH.
3409 * elf/sotruss.ksh: Rename to ...
3410 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3411 function style to match POSIX. Drop ksh vim mode setting.
3413 * manual/time.texi (Specifying the Time Zone with TZ): Change
3414 Tuesday to Thursday.
3416 * debug/tst-longjmp_chk2.c: Update header comment.
3417 (stackoverflow_handler): Add comment. Call assert on pass value.
3419 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3421 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3422 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3423 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3424 (La_x86_64_vector): Add zmm.
3425 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3426 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3427 ($(objpfx)tst-audit10): New target.
3428 ($(objpfx)tst-audit10.out): Likewise.
3429 (tst-audit10-ENV): New.
3430 (AVX512-CFLAGS): Likewise.
3431 (CFLAGS-tst-audit10.c): Likewise.
3432 (CFLAGS-tst-auditmod10a.c): Likewise.
3433 (CFLAGS-tst-auditmod10b.c): Likewise.
3434 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3435 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3436 * sysdeps/x86_64/configure: Regenerated.
3437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3438 AVX-512 zmm register support.
3439 (_dl_x86_64_save_sse): Likewise.
3440 (_dl_x86_64_restore_sse): Likewise.
3441 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3442 size vector registers.
3443 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3444 (ZMM_SIZE): Likewise.
3445 * sysdeps/x86_64/tst-audit10.c: New file.
3446 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3447 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3449 2014-03-13 Roland McGrath <roland@hack.frob.com>
3451 * configure.ac (HAVE_EHDR_START): New check.
3452 * configure: Regenerated.
3453 * config.h.in (HAVE_EHDR_START): New #undef.
3454 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3455 assuming the lowest-addressed segment maps the start of the file.
3457 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3459 * INSTALL: Regenerated.
3461 2014-03-13 Will Newton <will.newton@linaro.org>
3463 * manual/setjmp.texi (System V contexts): Improve
3464 clarity and grammar of documentation.
3466 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3469 * elf/Makefile (tests): Add tst-pie2.
3470 (tests-pie): Add tst-pie2.
3471 * elf/tst-pie2.c: New file.
3472 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3474 * elf/rtld.c (map_doit): Load executable as lt_executable.
3475 (dl_main): Likewise.
3477 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3480 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3481 (__ASSUME_PSELECT): Undefine.
3483 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3486 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3487 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3490 selector for static builds.
3492 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3495 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3498 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3501 IFUNC selector for static builds.
3503 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3505 * sysdeps/mips/math_private.h [__mips_hard_float]
3506 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3507 libc_feresetround_mips_ctx.
3508 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3509 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3510 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3513 * math/s_nextafter.c (__nextafter): Do not return value from
3514 overflowing computation.
3515 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3516 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3517 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3521 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3522 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3524 2014-03-11 Roland McGrath <roland@hack.frob.com>
3526 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3527 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3528 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3529 the new mov targetting sp.
3531 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3535 Define it for static builds as well.
3536 (NO_BZERO_IMPL): Likewise.
3538 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3540 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3541 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3542 multiarch strspn for PPC64.
3543 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3544 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3546 (__libc_ifunc_impl_list): Likewise.
3547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3548 multiarch optimizations
3549 * string/strspn.c (strspn): Using macro to redefine symbol name.
3551 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3552 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3555 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3556 multiarch strncat for PPC64.
3557 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3558 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3560 (__libc_ifunc_impl_list): Likewise.
3561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3562 multiarch optimizations
3564 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3567 * nscd/nscd.service: Make service type forking.
3569 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3571 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3572 sign in non default rounding modes.
3573 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3575 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3577 * math/libm-test.inc (ALL_RM_TEST): New macro.
3578 (ceil_test): Use ALL_RM_TEST.
3579 (cimag_test): Likewise.
3580 (conj_test): Likewise.
3581 (copysign_test): Likewise.
3582 (cproj_test): Likewise.
3583 (creal_test): Likewise.
3584 (fabs_test): Likewise.
3585 (floor_test): Likewise.
3586 (fmax_test): Likewise.
3587 (fmin_test): Likewise.
3588 (fmod_test): Likewise.
3589 (fpclassify_test): Likewise.
3590 (frexp_test): Likewise.
3591 (ilogb_test): Likewise.
3592 (isfinite_test): Likewise.
3593 (finite_test): Likewise.
3594 (isgreater_test): Likewise.
3595 (isgreaterequal_test): Likewise.
3596 (isinf_test): Likewise.
3597 (isless_test): Likewise.
3598 (islessequal_test): Likewise.
3599 (islessgreater_test): Likewise.
3600 (isnan_test): Likewise.
3601 (isnormal_test): Likewise.
3602 (issignaling_test): Likewise.
3603 (isunordered_test): Likewise.
3604 (logb_test): Likewise.
3605 (logb_downward_test_data): Remove.
3606 (logb_test_downward): Likewise.
3607 (lround_test): Use ALL_RM_TEST.
3608 (llround_test): Likewise.
3609 (modf_test): Likewise.
3610 (nexttoward_test): Likewise.
3611 (remainder_test): Likewise.
3612 (drem_test): Likewise.
3613 (remainder_tonearest_test_data): Likewise.
3614 (remainder_test_tonearest): Likewise.
3615 (drem_test_tonearest): Likewise.
3616 (remainder_towardzero_test_data): Likewise.
3617 (remainder_test_towardzero): Likewise.
3618 (drem_test_towardzero): Likewise.
3619 (remainder_downward_test_data): Likewise.
3620 (remainder_test_downward): Likewise.
3621 (drem_test_downward): Likewise.
3622 (remainder_upward_test_data): Likewise.
3623 (remainder_test_upward): Likewise.
3624 (drem_test_upward): Likewise.
3625 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3626 (round_test): Use ALL_RM_TEST.
3627 (signbit_test): Likewise.
3628 (trunc_test): Likewise.
3629 (significand_test): Likewise.
3630 (main): Don't call removed functions.
3632 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3635 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3637 (ILL_ILLOPN): Likewise.
3638 (ILL_ILLADR): Likewise.
3639 (ILL_ILLTRP): Likewise.
3640 (ILL_PRVOPC): Likewise.
3641 (ILL_PRVREG): Likewise.
3642 (ILL_COPROC): Likewise.
3643 (ILL_BADSTK): Likewise.
3644 (FPE_INTDIV): Likewise.
3645 (FPE_INTOVF): Likewise.
3646 (FPE_FLTDIV): Likewise.
3647 (FPE_FLTOVF): Likewise.
3648 (FPE_FLTUND): Likewise.
3649 (FPE_FLTRES): Likewise.
3650 (FPE_FLTINV): Likewise.
3651 (FPE_FLTSUB): Likewise.
3652 (SEGV_MAPERR): Likewise.
3653 (SEGV_ACCERR): Likewise.
3654 (BUS_ADRALN): Likewise.
3655 (BUS_ADRERR): Likewise.
3656 (BUS_OBJERR): Likewise.
3657 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3658 (TRAP_TRACE): Likewise.
3659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3661 (CLD_KILLED): Likewise.
3662 (CLD_DUMPED): Likewise.
3663 (CLD_TRAPPED): Likewise.
3664 (CLD_STOPPED): Likewise.
3665 (CLD_CONTINUED): Likewise.
3666 (POLL_IN): Likewise.
3667 (POLL_OUT): Likewise.
3668 (POLL_MSG): Likewise.
3669 (POLL_ERR): Likewise.
3670 (POLL_PRI): Likewise.
3671 (POLL_HUP): Likewise.
3672 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3674 (ILL_ILLOPN): Likewise.
3675 (ILL_ILLADR): Likewise.
3676 (ILL_ILLTRP): Likewise.
3677 (ILL_PRVOPC): Likewise.
3678 (ILL_PRVREG): Likewise.
3679 (ILL_COPROC): Likewise.
3680 (ILL_BADSTK): Likewise.
3681 (FPE_INTDIV): Likewise.
3682 (FPE_INTOVF): Likewise.
3683 (FPE_FLTDIV): Likewise.
3684 (FPE_FLTOVF): Likewise.
3685 (FPE_FLTUND): Likewise.
3686 (FPE_FLTRES): Likewise.
3687 (FPE_FLTINV): Likewise.
3688 (FPE_FLTSUB): Likewise.
3689 (SEGV_MAPERR): Likewise.
3690 (SEGV_ACCERR): Likewise.
3691 (BUS_ADRALN): Likewise.
3692 (BUS_ADRERR): Likewise.
3693 (BUS_OBJERR): Likewise.
3694 (BUS_MCEERR_AR): Likewise.
3695 (BUS_MCEERR_AO): Likewise.
3696 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3697 (TRAP_TRACE): Likewise.
3698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3700 (CLD_KILLED): Likewise.
3701 (CLD_DUMPED): Likewise.
3702 (CLD_TRAPPED): Likewise.
3703 (CLD_STOPPED): Likewise.
3704 (CLD_CONTINUED): Likewise.
3705 (POLL_IN): Likewise.
3706 (POLL_OUT): Likewise.
3707 (POLL_MSG): Likewise.
3708 (POLL_ERR): Likewise.
3709 (POLL_PRI): Likewise.
3710 (POLL_HUP): Likewise.
3711 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3712 (ILL_ILLOPN): Likewise.
3713 (ILL_ILLADR): Likewise.
3714 (ILL_ILLTRP): Likewise.
3715 (ILL_PRVOPC): Likewise.
3716 (ILL_PRVREG): Likewise.
3717 (ILL_COPROC): Likewise.
3718 (ILL_BADSTK): Likewise.
3719 (FPE_INTDIV): Likewise.
3720 (FPE_INTOVF): Likewise.
3721 (FPE_FLTDIV): Likewise.
3722 (FPE_FLTOVF): Likewise.
3723 (FPE_FLTUND): Likewise.
3724 (FPE_FLTRES): Likewise.
3725 (FPE_FLTINV): Likewise.
3726 (FPE_FLTSUB): Likewise.
3727 (SEGV_MAPERR): Likewise.
3728 (SEGV_ACCERR): Likewise.
3729 (BUS_ADRALN): Likewise.
3730 (BUS_ADRERR): Likewise.
3731 (BUS_OBJERR): Likewise.
3732 (BUS_MCEERR_AR): Likewise.
3733 (BUS_MCEERR_AO): Likewise.
3734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3735 (TRAP_TRACE): Likewise.
3736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3738 (CLD_KILLED): Likewise.
3739 (CLD_DUMPED): Likewise.
3740 (CLD_TRAPPED): Likewise.
3741 (CLD_STOPPED): Likewise.
3742 (CLD_CONTINUED): Likewise.
3743 (POLL_IN): Likewise.
3744 (POLL_OUT): Likewise.
3745 (POLL_MSG): Likewise.
3746 (POLL_ERR): Likewise.
3747 (POLL_PRI): Likewise.
3748 (POLL_HUP): Likewise.
3749 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3751 (ILL_ILLOPN): Likewise.
3752 (ILL_ILLADR): Likewise.
3753 (ILL_ILLTRP): Likewise.
3754 (ILL_PRVOPC): Likewise.
3755 (ILL_PRVREG): Likewise.
3756 (ILL_COPROC): Likewise.
3757 (ILL_BADSTK): Likewise.
3758 (ILL_BADIADDR): Likewise.
3759 (ILL_BREAK): Likewise.
3760 (FPE_INTDIV): Likewise.
3761 (FPE_INTOVF): Likewise.
3762 (FPE_FLTDIV): Likewise.
3763 (FPE_FLTOVF): Likewise.
3764 (FPE_FLTUND): Likewise.
3765 (FPE_FLTRES): Likewise.
3766 (FPE_FLTINV): Likewise.
3767 (FPE_FLTSUB): Likewise.
3768 (FPE_DECOVF): Likewise.
3769 (FPE_DECDIV): Likewise.
3770 (FPE_DECERR): Likewise.
3771 (FPE_INVASC): Likewise.
3772 (FPE_INVDEC): Likewise.
3773 (SEGV_MAPERR): Likewise.
3774 (SEGV_ACCERR): Likewise.
3775 (SEGV_PSTKOVF): Likewise.
3776 (BUS_ADRALN): Likewise.
3777 (BUS_ADRERR): Likewise.
3778 (BUS_OBJERR): Likewise.
3779 (BUS_MCEERR_AR): Likewise.
3780 (BUS_MCEERR_AO): Likewise.
3781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3782 (TRAP_TRACE): Likewise.
3783 (TRAP_BRANCH): Likewise.
3784 (TRAP_HWBKPT): Likewise.
3785 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3787 (CLD_KILLED): Likewise.
3788 (CLD_DUMPED): Likewise.
3789 (CLD_TRAPPED): Likewise.
3790 (CLD_STOPPED): Likewise.
3791 (CLD_CONTINUED): Likewise.
3792 (POLL_IN): Likewise.
3793 (POLL_OUT): Likewise.
3794 (POLL_MSG): Likewise.
3795 (POLL_ERR): Likewise.
3796 (POLL_PRI): Likewise.
3797 (POLL_HUP): Likewise.
3798 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3799 (ILL_ILLOPN): Likewise.
3800 (ILL_ILLADR): Likewise.
3801 (ILL_ILLTRP): Likewise.
3802 (ILL_PRVOPC): Likewise.
3803 (ILL_PRVREG): Likewise.
3804 (ILL_COPROC): Likewise.
3805 (ILL_BADSTK): Likewise.
3806 (FPE_INTDIV): Likewise.
3807 (FPE_INTOVF): Likewise.
3808 (FPE_FLTDIV): Likewise.
3809 (FPE_FLTOVF): Likewise.
3810 (FPE_FLTUND): Likewise.
3811 (FPE_FLTRES): Likewise.
3812 (FPE_FLTINV): Likewise.
3813 (FPE_FLTSUB): Likewise.
3814 (SEGV_MAPERR): Likewise.
3815 (SEGV_ACCERR): Likewise.
3816 (BUS_ADRALN): Likewise.
3817 (BUS_ADRERR): Likewise.
3818 (BUS_OBJERR): Likewise.
3819 (BUS_MCEERR_AR): Likewise.
3820 (BUS_MCEERR_AO): Likewise.
3821 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3822 (TRAP_TRACE): Likewise.
3823 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3825 (CLD_KILLED): Likewise.
3826 (CLD_DUMPED): Likewise.
3827 (CLD_TRAPPED): Likewise.
3828 (CLD_STOPPED): Likewise.
3829 (CLD_CONTINUED): Likewise.
3830 (POLL_IN): Likewise.
3831 (POLL_OUT): Likewise.
3832 (POLL_MSG): Likewise.
3833 (POLL_ERR): Likewise.
3834 (POLL_PRI): Likewise.
3835 (POLL_HUP): Likewise.
3836 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3837 (ILL_ILLOPN): Likewise.
3838 (ILL_ILLADR): Likewise.
3839 (ILL_ILLTRP): Likewise.
3840 (ILL_PRVOPC): Likewise.
3841 (ILL_PRVREG): Likewise.
3842 (ILL_COPROC): Likewise.
3843 (ILL_BADSTK): Likewise.
3844 (FPE_INTDIV): Likewise.
3845 (FPE_INTOVF): Likewise.
3846 (FPE_FLTDIV): Likewise.
3847 (FPE_FLTOVF): Likewise.
3848 (FPE_FLTUND): Likewise.
3849 (FPE_FLTRES): Likewise.
3850 (FPE_FLTINV): Likewise.
3851 (FPE_FLTSUB): Likewise.
3852 (SEGV_MAPERR): Likewise.
3853 (SEGV_ACCERR): Likewise.
3854 (BUS_ADRALN): Likewise.
3855 (BUS_ADRERR): Likewise.
3856 (BUS_OBJERR): Likewise.
3857 (BUS_MCEERR_AR): Likewise.
3858 (BUS_MCEERR_AO): Likewise.
3859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3860 (TRAP_TRACE): Likewise.
3861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3863 (CLD_KILLED): Likewise.
3864 (CLD_DUMPED): Likewise.
3865 (CLD_TRAPPED): Likewise.
3866 (CLD_STOPPED): Likewise.
3867 (CLD_CONTINUED): Likewise.
3868 (POLL_IN): Likewise.
3869 (POLL_OUT): Likewise.
3870 (POLL_MSG): Likewise.
3871 (POLL_ERR): Likewise.
3872 (POLL_PRI): Likewise.
3873 (POLL_HUP): Likewise.
3874 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3875 (ILL_ILLOPN): Likewise.
3876 (ILL_ILLADR): Likewise.
3877 (ILL_ILLTRP): Likewise.
3878 (ILL_PRVOPC): Likewise.
3879 (ILL_PRVREG): Likewise.
3880 (ILL_COPROC): Likewise.
3881 (ILL_BADSTK): Likewise.
3882 (FPE_INTDIV): Likewise.
3883 (FPE_INTOVF): Likewise.
3884 (FPE_FLTDIV): Likewise.
3885 (FPE_FLTOVF): Likewise.
3886 (FPE_FLTUND): Likewise.
3887 (FPE_FLTRES): Likewise.
3888 (FPE_FLTINV): Likewise.
3889 (FPE_FLTSUB): Likewise.
3890 (SEGV_MAPERR): Likewise.
3891 (SEGV_ACCERR): Likewise.
3892 (BUS_ADRALN): Likewise.
3893 (BUS_ADRERR): Likewise.
3894 (BUS_OBJERR): Likewise.
3895 (BUS_MCEERR_AR): Likewise.
3896 (BUS_MCEERR_AO): Likewise.
3897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3898 (TRAP_TRACE): Likewise.
3899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3901 (CLD_KILLED): Likewise.
3902 (CLD_DUMPED): Likewise.
3903 (CLD_TRAPPED): Likewise.
3904 (CLD_STOPPED): Likewise.
3905 (CLD_CONTINUED): Likewise.
3906 (POLL_IN): Likewise.
3907 (POLL_OUT): Likewise.
3908 (POLL_MSG): Likewise.
3909 (POLL_ERR): Likewise.
3910 (POLL_PRI): Likewise.
3911 (POLL_HUP): Likewise.
3912 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3913 (ILL_ILLOPN): Likewise.
3914 (ILL_ILLADR): Likewise.
3915 (ILL_ILLTRP): Likewise.
3916 (ILL_PRVOPC): Likewise.
3917 (ILL_PRVREG): Likewise.
3918 (ILL_COPROC): Likewise.
3919 (ILL_BADSTK): Likewise.
3920 (ILL_DBLFLT): Likewise.
3921 (ILL_HARDWALL): Likewise.
3922 (FPE_INTDIV): Likewise.
3923 (FPE_INTOVF): Likewise.
3924 (FPE_FLTDIV): Likewise.
3925 (FPE_FLTOVF): Likewise.
3926 (FPE_FLTUND): Likewise.
3927 (FPE_FLTRES): Likewise.
3928 (FPE_FLTINV): Likewise.
3929 (FPE_FLTSUB): Likewise.
3930 (SEGV_MAPERR): Likewise.
3931 (SEGV_ACCERR): Likewise.
3932 (BUS_ADRALN): Likewise.
3933 (BUS_ADRERR): Likewise.
3934 (BUS_OBJERR): Likewise.
3935 (BUS_MCEERR_AR): Likewise.
3936 (BUS_MCEERR_AO): Likewise.
3937 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3938 (TRAP_TRACE): Likewise.
3939 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3941 (CLD_KILLED): Likewise.
3942 (CLD_DUMPED): Likewise.
3943 (CLD_TRAPPED): Likewise.
3944 (CLD_STOPPED): Likewise.
3945 (CLD_CONTINUED): Likewise.
3946 (POLL_IN): Likewise.
3947 (POLL_OUT): Likewise.
3948 (POLL_MSG): Likewise.
3949 (POLL_ERR): Likewise.
3950 (POLL_PRI): Likewise.
3951 (POLL_HUP): Likewise.
3952 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3953 (ILL_ILLOPN): Likewise.
3954 (ILL_ILLADR): Likewise.
3955 (ILL_ILLTRP): Likewise.
3956 (ILL_PRVOPC): Likewise.
3957 (ILL_PRVREG): Likewise.
3958 (ILL_COPROC): Likewise.
3959 (ILL_BADSTK): Likewise.
3960 (FPE_INTDIV): Likewise.
3961 (FPE_INTOVF): Likewise.
3962 (FPE_FLTDIV): Likewise.
3963 (FPE_FLTOVF): Likewise.
3964 (FPE_FLTUND): Likewise.
3965 (FPE_FLTRES): Likewise.
3966 (FPE_FLTINV): Likewise.
3967 (FPE_FLTSUB): Likewise.
3968 (SEGV_MAPERR): Likewise.
3969 (SEGV_ACCERR): Likewise.
3970 (BUS_ADRALN): Likewise.
3971 (BUS_ADRERR): Likewise.
3972 (BUS_OBJERR): Likewise.
3973 (BUS_MCEERR_AR): Likewise.
3974 (BUS_MCEERR_AO): Likewise.
3975 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3976 (TRAP_TRACE): Likewise.
3977 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3979 (CLD_KILLED): Likewise.
3980 (CLD_DUMPED): Likewise.
3981 (CLD_TRAPPED): Likewise.
3982 (CLD_STOPPED): Likewise.
3983 (CLD_CONTINUED): Likewise.
3984 (POLL_IN): Likewise.
3985 (POLL_OUT): Likewise.
3986 (POLL_MSG): Likewise.
3987 (POLL_ERR): Likewise.
3988 (POLL_PRI): Likewise.
3989 (POLL_HUP): Likewise.
3990 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3991 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3994 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3995 before #include of <time.h>.
3996 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3997 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3998 (test-xfail-UNIX98/sched.h/conform): Likewise.
4000 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4002 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4003 error absence of trapping exception support.
4004 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4006 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4008 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4009 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4010 * timezone/Makefile (testdata): Move definition above include of
4012 (test-zones): New variable.
4013 (tests-special): Add zone files.
4014 (build-testdata): Use $(evaluate-test).
4016 * elf/Makefile (tests-special): Rename tests to end with .out.
4017 ($(objpfx)noload-mem): Likewise.
4018 ($(objpfx)tst-leaks1-mem): Likewise.
4019 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4020 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4021 $(objpfx)test-iconvconfig.out.
4022 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4023 set -e inside subshell and redirect output to file.
4024 * iconvdata/Makefile (generated): Rename tests to end with .out.
4026 (tests-special): Rename tests to end with .out.
4027 ($(objpfx)mtrace-tst-loading): Likewise.
4028 * intl/Makefile (generated): Likewise.
4029 (tests-special): Likewise.
4030 ($(objpfx)mtrace-tst-gettext): Likewise.
4031 * misc/Makefile (generated): Likewise.
4032 (tests-special): Likewise.
4033 ($(objpfx)tst-error1-mem): Likewise.
4034 * nptl/Makefile (tests-special): Likewise.
4035 ($(objpfx)tst-stack3-mem): Likewise.
4036 (generated): Likewise.
4037 * posix/Makefile (generated): Likewise.
4038 (tests-special): Likewise.
4039 (xtests-special): Likewise.
4040 ($(objpfx)tst-fnmatch-mem): Likewise.
4041 ($(objpfx)bug-regex2-mem): Likewise.
4042 ($(objpfx)bug-regex14-mem): Likewise.
4043 ($(objpfx)bug-regex21-mem): Likewise.
4044 ($(objpfx)bug-regex31-mem): Likewise.
4045 ($(objpfx)tst-vfork3-mem): Likewise.
4046 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4047 ($(objpfx)tst-pcre-mem): Likewise.
4048 ($(objpfx)tst-boost-mem): Likewise.
4049 ($(objpfx)bug-ga2-mem): Likewise.
4050 ($(objpfx)bug-glob2-mem): Likewise.
4051 * resolv/Makefile (generate): Likewise.
4052 (tests-special): Likewise.
4053 (xtests-special): Likewise.
4054 (generated): Likewise.
4055 ($(objpfx)mtrace-tst-leaks): Likewise.
4056 ($(objpfx)mtrace-tst-leaks2): Likewise.
4058 * scripts/merge-test-results.sh: New file.
4059 * Makefile (tests-special-notdir): New variable.
4060 (tests): Run merge-test-results.sh.
4062 * Rules (tests-special-notdir): New variable.
4063 (xtests-special-notdir): Likewise.
4064 (tests): Run merge-test-results.sh
4067 * Makeconfig (test-xfail-name): New variable.
4068 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4069 compute variable name for expected failures.
4070 * conform/Makefile (conformtest-headers-data): New variable.
4071 (conformtest-standards): Likewise.
4072 (conformtest-headers-ISO): Likewise.
4073 (conformtest-headers-ISO99): Likewise.
4074 (conformtest-headers-ISO11): Likewise.
4075 (conformtest-headers-POSIX): Likewise.
4076 (conformtest-headers-XPG3): Likewise.
4077 (conformtest-headers-XPG4): Likewise.
4078 (conformtest-headers-UNIX98): Likewise.
4079 (conformtest-headers-XOPEN2K): Likewise.
4080 (conformtest-headers-POSIX2008): Likewise.
4081 (conformtest-headers-XOPEN2K8): Likewise.
4082 (conformtest-header-list-base): Likewise.
4083 (conformtest-header-list-tests): Likewise.
4084 (conformtest-header-base): Likewise.
4085 (conformtest-header-tests): Likewise.
4086 (tests-special): Add $(conformtest-header-list-tests). If
4087 [$(fast-check) && !$(cross-compiling)], add
4088 $(conformtest-header-tests) instead of
4089 $(objpfx)run-conformtest.out.
4090 (generated): Add $(conformtest-header-list-base). If
4091 [$(fast-check) && !$(cross-compiling)], add
4092 $(conformtest-header-base). Remove previous setting.
4093 ($(conformtest-header-list-tests)): New target.
4094 (test-xfail-run-conformtest): Remove variable.
4095 ($(objpfx)run-conformtest.out): Remove target.
4096 (test-xfail-ISO11/complex.h/conform): New variable.
4097 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4098 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4099 (test-xfail-XPG3/varargs.h/conform): Likewise.
4100 (test-xfail-XPG4/varargs.h/conform): Likewise.
4101 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4102 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4103 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4104 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4105 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4106 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4107 (test-xfail-XPG3/ftw.h/conform): Likewise.
4108 (test-xfail-XPG3/grp.h/conform): Likewise.
4109 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4110 (test-xfail-XPG3/limits.h/conform): Likewise.
4111 (test-xfail-XPG3/pwd.h/conform): Likewise.
4112 (test-xfail-XPG3/search.h/conform): Likewise.
4113 (test-xfail-XPG3/signal.h/conform): Likewise.
4114 (test-xfail-XPG3/stdio.h/conform): Likewise.
4115 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4116 (test-xfail-XPG3/string.h/conform): Likewise.
4117 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4118 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4119 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4120 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4121 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4122 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4123 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4124 (test-xfail-XPG3/termios.h/conform): Likewise.
4125 (test-xfail-XPG3/time.h/conform): Likewise.
4126 (test-xfail-XPG3/unistd.h/conform): Likewise.
4127 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4128 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4129 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4130 (test-xfail-XPG4/netdb.h/conform): Likewise.
4131 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4132 (test-xfail-XPG4/signal.h/conform): Likewise.
4133 (test-xfail-XPG4/stdio.h/conform): Likewise.
4134 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4135 (test-xfail-XPG4/stropts.h/conform): Likewise.
4136 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4137 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4138 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4139 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4140 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4141 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4142 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4143 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4144 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4145 (test-xfail-XPG4/termios.h/conform): Likewise.
4146 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4147 (test-xfail-XPG4/unistd.h/conform): Likewise.
4148 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4149 (test-xfail-POSIX/sched.h/conform): Likewise.
4150 (test-xfail-POSIX/signal.h/conform): Likewise.
4151 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4152 (test-xfail-POSIX/tar.h/conform): Likewise.
4153 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4154 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4155 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4156 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4157 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4158 (test-xfail-UNIX98/sched.h/conform): Likewise.
4159 (test-xfail-UNIX98/signal.h/conform): Likewise.
4160 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4161 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4162 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4163 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4164 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4165 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4166 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4167 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4168 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4169 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4170 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4171 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4172 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4173 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4174 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4175 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4176 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4177 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4178 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4179 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4180 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4181 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4182 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4183 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4184 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4185 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4186 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4187 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4188 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4189 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4190 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4191 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4192 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4193 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4194 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4195 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4196 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4197 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4198 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4199 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4200 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4201 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4202 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4203 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4204 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4205 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4206 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4207 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4208 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4209 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4210 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4211 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4212 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4213 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4214 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4215 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4216 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4217 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4218 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4219 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4220 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4221 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4222 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4223 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4224 (conformtest-cc-flags): Likewise.
4225 ($(conformtest-header-tests): New target.
4226 * conform/check-header-lists.sh: New file.
4227 * conform/run-conformtest.sh: Remove.
4229 * conform/conformtest.pl: Allow ' and \ in values given for
4231 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4233 [POSIX] (sys/types.h): Likewise.
4234 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4236 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4238 * conform/data/signal.h-data (SIGIO): Remove expectation.
4239 [XPG3] (SIGBUS): Do not expect.
4240 [POSIX || XPG3] (SIGPOLL): Likewise.
4241 [POSIX || XPG3] (SIGPROF): Likewise.
4242 [POSIX || XPG3] (SIGSYS): Likewise.
4243 [XPG3] (SIGTRAP): Likewise.
4244 [POSIX || XPG3] (SIGURG): Likewise.
4245 [POSIX || XPG3] (SIGVTALRM): Likewise.
4246 [POSIX || XPG3] (SIGXCPU): Likewise.
4247 [POSIX || XPG3] (SIGXFSZ): Likewise.
4248 [POSIX] (SA_SIGINFO): Expect.
4249 [XPG3] (siginfo_t): Do not expect type or contents.
4250 [POSIX] (si_pid): Do not expect element.
4251 [POSIX] (si_uid): Likewise.
4252 [POSIX] (si_addr): Likewise.
4253 [POSIX] (si_status): Likewise.
4254 [POSIX] (si_band): Likewise.
4255 [XPG4] (si_value): Likewise.
4256 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4257 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4258 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4259 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4260 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4261 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4262 [POSIX || XPG3] (ILL_COPROC): Likewise.
4263 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4264 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4265 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4266 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4267 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4268 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4269 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4270 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4271 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4272 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4273 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4274 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4275 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4276 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4277 [POSIX || XPG3] (CLD_EXITED): Likewise.
4278 [POSIX || XPG3] (CLD_KILLED): Likewise.
4279 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4280 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4281 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4282 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4283 [POSIX || XPG3] (POLL_IN): Likewise.
4284 [POSIX || XPG3] (POLL_OUT): Likewise.
4285 [POSIX || XPG3] (POLL_MSG): Likewise.
4286 [POSIX || XPG3] (POLL_ERR): Likewise.
4287 [POSIX || XPG3] (POLL_PRI): Likewise.
4288 [POSIX || XPG3] (POLL_HUP): Likewise.
4289 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4290 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4291 (SIG*): Do not allow.
4292 [XPG3] (si_*): Likewise.
4293 [XPG3] (SI_*): Likewise.
4294 [XPG3 || XPG4] (sigev_*): Likewise.
4295 [XPG3 || XPG4] (SIGEV_*): Likewise.
4296 [XPG3 || XPG4] (sival_*): Likewise.
4297 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4298 [POSIX || XPG3] (BUS_*): Likewise.
4299 [POSIX || XPG3] (CLD_*): Likewise.
4300 [POSIX || XPG3] (FPE_*): Likewise.
4301 [POSIX || XPG3] (ILL_*): Likewise.
4302 [POSIX || XPG3] (POLL_*): Likewise.
4303 [POSIX || XPG3] (SEGV_*): Likewise.
4304 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4305 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4306 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4307 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4308 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4309 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4310 Specify type and value.
4311 (TVERSLEN): Likewise.
4312 (REGTYPE): Likewise.
4313 (AREGTYPE): Likewise.
4314 (LNKTYPE): Likewise.
4315 (SYMTYPE): Likewise.
4316 (CHRTYPE): Likewise.
4317 (BLKTYPE): Likewise.
4318 (DIRTYPE): Likewise.
4319 (FIFOTYPE): Likewise.
4320 (CONTTYPE): Likewise.
4325 (TUWRITE): Likewise.
4328 (TGWRITE): Likewise.
4331 (TOWRITE): Likewise.
4333 [POSIX] (TSVTX): Expect constant.
4335 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4337 * Makefile (tests): Change dependencies to ....
4338 (tests-special): ... additions to this variable.
4339 (tests): Depend on $(tests-special).
4340 * Makerules (check-abi-list): New variable.
4341 (check-abi): Depend on $(check-abi-list).
4342 [$(subdir) = elf] (tests-special): Add
4343 $(objpfx)check-abi-libc.out.
4344 [$(build-shared) = yes && subdir] (tests-special): Add
4346 [$(build-shared) = yes && subdir] (tests): Do not depend on
4348 * Rules (tests): Depend on $(tests-special).
4349 (xtests): Depend on $(xtests-special).
4350 * catgets/Makefile (tests): Change dependencies to ....
4351 (tests-special): ... additions to this variable.
4352 * conform/Makefile (tests): Change dependencies to ....
4353 (tests-special): ... additions to this variable.
4354 * elf/Makefile (tests): Change dependencies to ....
4355 (tests-special): ... additions to this variable.
4356 * grp/Makefile (tests): Change dependencies to ....
4357 (tests-special): ... additions to this variable.
4358 * iconv/Makefile (xtests): Change dependencies to ....
4359 (xtests-special): ... additions to this variable.
4360 * iconvdata/Makefile (tests): Change dependencies to ....
4361 (tests-special): ... additions to this variable.
4362 * intl/Makefile (tests): Change dependencies to ....
4363 (tests-special): ... additions to this variable. Also add
4364 $(objpfx)tst-gettext.out.
4365 * io/Makefile (tests): Change dependencies to ....
4366 (tests-special): ... additions to this variable.
4367 * libio/Makefile (tests): Change dependencies to ....
4368 (tests-special): ... additions to this variable.
4369 * malloc/Makefile (tests): Change dependencies to ....
4370 (tests-special): ... additions to this variable.
4371 * misc/Makefile (tests): Change dependencies to ....
4372 (tests-special): ... additions to this variable.
4373 * nptl/Makefile (tests): Change dependencies to ....
4374 (tests-special): ... additions to this variable.
4375 * nptl_db/Makefile (tests): Change dependencies to ....
4376 (tests-special): ... additions to this variable.
4377 * posix/Makefile (tests): Change dependencies to ....
4378 (tests-special): ... additions to this variable.
4379 (xtests): Change dependencies to ....
4380 (xtests-special): ... additions to this variable.
4381 * resolv/Makefile (tests): Change dependencies to ....
4382 (tests-special): ... additions to this variable.
4383 (xtests): Change dependencies to ....
4384 (xtests-special): ... additions to this variable.
4385 * stdio-common/Makefile (tests): Change dependencies to ....
4386 (tests-special): ... additions to this variable.
4387 (do-tst-unbputc): Remove target.
4388 (do-tst-printf): Likewise.
4389 * stdlib/Makefile (tests): Change dependencies to ....
4390 (tests-special): ... additions to this variable.
4391 * string/Makefile (tests): Change dependencies to ....
4392 (tests-special): ... additions to this variable.
4393 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4394 (tests-special): ... additions to this variable.
4396 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4398 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4400 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4401 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4403 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4404 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4405 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4406 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4407 * conform/data/libgen.h-data [XPG3]: Likewise.
4408 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4409 * conform/data/ndbm.h-data [XPG3]: Likewise.
4410 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4411 * conform/data/netdb.h-data [XPG3]: Likewise.
4412 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4413 * conform/data/poll.h-data [XPG3]: Likewise.
4414 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4415 * conform/data/strings.h-data [XPG3]: Likewise.
4416 * conform/data/stropts.h-data [XPG3]: Likewise.
4417 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4418 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4419 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4421 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4422 * conform/data/sys/time.h-data [XPG3]: Likewise.
4423 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4424 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4425 * conform/data/sys/un.h-data [XPG3]: Likewise.
4426 * conform/data/syslog.h-data [XPG3]: Likewise.
4427 * conform/data/ucontext.h-data [XPG3]: Likewise.
4428 * conform/data/utmpx.h-data [XPG3]: Likewise.
4429 * conform/data/varargs.h-data [UNIX98]: Enable file.
4431 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4433 * math/libm-test.inc (struct test_f_f_data): Move expected results
4434 into structure for each rounding mode.
4435 (struct test_ff_f_data): Likewise.
4436 (struct test_ff_f_data_nexttoward): Likewise.
4437 (struct test_fi_f_data): Likewise.
4438 (struct test_fl_f_data): Likewise.
4439 (struct test_if_f_data): Likewise.
4440 (struct test_fff_f_data): Likewise.
4441 (struct test_c_f_data): Likewise.
4442 (struct test_f_f1_data): Likewise.
4443 (struct test_fF_f1_data): Likewise.
4444 (struct test_ffI_f1_data): Likewise.
4445 (struct test_c_c_data): Likewise.
4446 (struct test_cc_c_data): Likewise.
4447 (struct test_f_i_data): Likewise.
4448 (struct test_ff_i_data): Likewise.
4449 (struct test_f_l_data): Likewise.
4450 (struct test_f_L_data): Likewise.
4451 (struct test_fFF_11_data): Likewise.
4453 (RM_FE_DOWNWARD): Likewise.
4454 (RM_FE_TONEAREST): Likewise.
4455 (RM_FE_TOWARDZERO): Likewise.
4456 (RM_FE_UPWARD): Likewise.
4457 (RUN_TEST_LOOP_f_f): Update references to expected results.
4458 (RUN_TEST_LOOP_2_f): Likewise.
4459 (RUN_TEST_LOOP_fff_f): Likewise.
4460 (RUN_TEST_LOOP_c_f): Likewise.
4461 (RUN_TEST_LOOP_f_f1): Likewise.
4462 (RUN_TEST_LOOP_fF_f1): Likewise.
4463 (RUN_TEST_LOOP_fI_f1): Likewise.
4464 (RUN_TEST_LOOP_ffI_f1): Likewise.
4465 (RUN_TEST_LOOP_c_c): Likewise.
4466 (RUN_TEST_LOOP_cc_c): Likewise.
4467 (RUN_TEST_LOOP_f_i): Likewise.
4468 (RUN_TEST_LOOP_f_i_tg): Likewise.
4469 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4470 (RUN_TEST_LOOP_f_b): Likewise.
4471 (RUN_TEST_LOOP_f_b_tg): Likewise.
4472 (RUN_TEST_LOOP_f_l): Likewise.
4473 (RUN_TEST_LOOP_f_L): Likewise.
4474 (RUN_TEST_LOOP_fFF_11): Likewise.
4475 * math/gen-libm-test.pl (parse_args): Output four copies of
4476 expected results for each test.
4478 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4479 (__ASSUME_UTIMES): Remove.
4480 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4481 (__ASSUME_UTIMES): Likewise.
4483 * math/gen-auto-libm-tests.c: Update comment on output format.
4484 (output_for_one_input_case): Generate before-rounding and
4485 after-rounding information as conditions on output flags not
4486 floating-point format.
4487 * math/auto-libm-test-out: Regenerated.
4488 * math/gen-libm-test.pl (cond_value): New function.
4489 (or_cond_value): Use cond_value.
4490 (generate_testfile): Handle conditional exceptions.
4492 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4494 * math/libm-test.inc (max_valid_error): New variable.
4495 (init_max_error): Take new argument specifying whether function
4496 results are exactly determined. Set max_valid_error and bound
4497 other variables for errors based on this argument.
4498 (set_max_error): Do not record results above max_valid_error.
4499 (check_float_internal): Only accept errors of up to 0.5ulps if
4500 also at most max_valid_error.
4501 (START): Take new argument EXACT and pass it to init_max_error.
4502 (acos_test): Update call to START.
4503 (acos_test_tonearest): Likewise.
4504 (acos_test_towardzero): Likewise.
4505 (acos_test_downward): Likewise.
4506 (acos_test_upward): Likewise.
4507 (acosh_test): Likewise.
4508 (asin_test): Likewise.
4509 (asin_test_tonearest): Likewise.
4510 (asin_test_towardzero): Likewise.
4511 (asin_test_downward): Likewise.
4512 (asin_test_upward): Likewise.
4513 (asinh_test): Likewise.
4514 (atan_test): Likewise.
4515 (atanh_test): Likewise.
4516 (atan2_test): Likewise.
4517 (cabs_test): Likewise.
4518 (cacos_test): Likewise.
4519 (cacosh_test): Likewise.
4520 (carg_test): Likewise.
4521 (casin_test): Likewise.
4522 (casinh_test): Likewise.
4523 (catan_test): Likewise.
4524 (catanh_test): Likewise.
4525 (cbrt_test): Likewise.
4526 (ccos_test): Likewise.
4527 (ccosh_test): Likewise.
4528 (ceil_test): Likewise.
4529 (cexp_test): Likewise.
4530 (cimag_test): Likewise.
4531 (clog_test): Likewise.
4532 (clog10_test): Likewise.
4533 (conj_test): Likewise.
4534 (copysign_test): Likewise.
4535 (cos_test): Likewise.
4536 (cos_test_tonearest): Likewise.
4537 (cos_test_towardzero): Likewise.
4538 (cos_test_downward): Likewise.
4539 (cos_test_upward): Likewise.
4540 (cosh_test): Likewise.
4541 (cosh_test_tonearest): Likewise.
4542 (cosh_test_towardzero): Likewise.
4543 (cosh_test_downward): Likewise.
4544 (cosh_test_upward): Likewise.
4545 (cpow_test): Likewise.
4546 (cproj_test): Likewise.
4547 (creal_test): Likewise.
4548 (csin_test): Likewise.
4549 (csinh_test): Likewise.
4550 (csqrt_test): Likewise.
4551 (ctan_test): Likewise.
4552 (ctan_test_tonearest): Likewise.
4553 (ctan_test_towardzero): Likewise.
4554 (ctan_test_downward): Likewise.
4555 (ctan_test_upward): Likewise.
4556 (ctanh_test): Likewise.
4557 (ctanh_test_tonearest): Likewise.
4558 (ctanh_test_towardzero): Likewise.
4559 (ctanh_test_downward): Likewise.
4560 (ctanh_test_upward): Likewise.
4561 (erf_test): Likewise.
4562 (erfc_test): Likewise.
4563 (exp_test): Likewise.
4564 (exp_test_tonearest): Likewise.
4565 (exp_test_towardzero): Likewise.
4566 (exp_test_downward): Likewise.
4567 (exp_test_upward): Likewise.
4568 (exp10_test): Likewise.
4569 (exp10_test_tonearest): Likewise.
4570 (exp10_test_towardzero): Likewise.
4571 (exp10_test_downward): Likewise.
4572 (exp10_test_upward): Likewise.
4573 (pow10_test): Likewise.
4574 (exp2_test): Likewise.
4575 (expm1_test): Likewise.
4576 (expm1_test_tonearest): Likewise.
4577 (expm1_test_towardzero): Likewise.
4578 (expm1_test_downward): Likewise.
4579 (expm1_test_upward): Likewise.
4580 (fabs_test): Likewise.
4581 (fdim_test): Likewise.
4582 (floor_test): Likewise.
4583 (fma_test): Likewise.
4584 (fma_test_towardzero): Likewise.
4585 (fma_test_downward): Likewise.
4586 (fma_test_upward): Likewise.
4587 (fmax_test): Likewise.
4588 (fmin_test): Likewise.
4589 (fmod_test): Likewise.
4590 (fpclassify_test): Likewise.
4591 (frexp_test): Likewise.
4592 (hypot_test): Likewise.
4593 (ilogb_test): Likewise.
4594 (isfinite_test): Likewise.
4595 (finite_test): Likewise.
4596 (isgreater_test): Likewise.
4597 (isgreaterequal_test): Likewise.
4598 (isinf_test): Likewise.
4599 (isless_test): Likewise.
4600 (islessequal_test): Likewise.
4601 (islessgreater_test): Likewise.
4602 (isnan_test): Likewise.
4603 (isnormal_test): Likewise.
4604 (issignaling_test): Likewise.
4605 (isunordered_test): Likewise.
4606 (j0_test): Likewise.
4607 (j1_test): Likewise.
4608 (jn_test): Likewise.
4609 (ldexp_test): Likewise.
4610 (lgamma_test): Likewise.
4611 (gamma_test): Likewise.
4612 (lrint_test): Likewise.
4613 (lrint_test_tonearest): Likewise.
4614 (lrint_test_towardzero): Likewise.
4615 (lrint_test_downward): Likewise.
4616 (lrint_test_upward): Likewise.
4617 (llrint_test): Likewise.
4618 (llrint_test_tonearest): Likewise.
4619 (llrint_test_towardzero): Likewise.
4620 (llrint_test_downward): Likewise.
4621 (llrint_test_upward): Likewise.
4622 (log_test): Likewise.
4623 (log10_test): Likewise.
4624 (log1p_test): Likewise.
4625 (log2_test): Likewise.
4626 (logb_test): Likewise.
4627 (logb_test_downward): Likewise.
4628 (lround_test): Likewise.
4629 (llround_test): Likewise.
4630 (modf_test): Likewise.
4631 (nearbyint_test): Likewise.
4632 (nextafter_test): Likewise.
4633 (nexttoward_test): Likewise.
4634 (pow_test): Likewise.
4635 (pow_test_tonearest): Likewise.
4636 (pow_test_towardzero): Likewise.
4637 (pow_test_downward): Likewise.
4638 (pow_test_upward): Likewise.
4639 (remainder_test): Likewise.
4640 (drem_test): Likewise.
4641 (remainder_test_tonearest): Likewise.
4642 (drem_test_tonearest): Likewise.
4643 (remainder_test_towardzero): Likewise.
4644 (drem_test_towardzero): Likewise.
4645 (remainder_test_downward): Likewise.
4646 (drem_test_downward): Likewise.
4647 (remainder_test_upward): Likewise.
4648 (drem_test_upward): Likewise.
4649 (remquo_test): Likewise.
4650 (rint_test): Likewise.
4651 (rint_test_tonearest): Likewise.
4652 (rint_test_towardzero): Likewise.
4653 (rint_test_downward): Likewise.
4654 (rint_test_upward): Likewise.
4655 (round_test): Likewise.
4656 (scalb_test): Likewise.
4657 (scalbn_test): Likewise.
4658 (scalbln_test): Likewise.
4659 (signbit_test): Likewise.
4660 (sin_test): Likewise.
4661 (sin_test_tonearest): Likewise.
4662 (sin_test_towardzero): Likewise.
4663 (sin_test_downward): Likewise.
4664 (sin_test_upward): Likewise.
4665 (sincos_test): Likewise.
4666 (sinh_test): Likewise.
4667 (sinh_test_tonearest): Likewise.
4668 (sinh_test_towardzero): Likewise.
4669 (sinh_test_downward): Likewise.
4670 (sinh_test_upward): Likewise.
4671 (sqrt_test): Likewise.
4672 (sqrt_test_tonearest): Likewise.
4673 (sqrt_test_towardzero): Likewise.
4674 (sqrt_test_downward): Likewise.
4675 (sqrt_test_upward): Likewise.
4676 (tan_test): Likewise.
4677 (tan_test_tonearest): Likewise.
4678 (tan_test_towardzero): Likewise.
4679 (tan_test_downward): Likewise.
4680 (tan_test_upward): Likewise.
4681 (tanh_test): Likewise.
4682 (tgamma_test): Likewise.
4683 (trunc_test): Likewise.
4684 (y0_test): Likewise.
4685 (y1_test): Likewise.
4686 (yn_test): Likewise.
4687 (significand_test): Likewise.
4689 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4690 individual tests in comment.
4691 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4692 (prev_max_error): New variable.
4693 (prev_real_max_error): Likewise.
4694 (prev_imag_max_error): Likewise.
4695 (compare_ulp_data): Don't refer to test names in comment.
4696 (find_test_ulps): Remove function.
4697 (find_function_ulps): Likewise.
4698 (find_complex_function_ulps): Likewise.
4699 (init_max_error): Take function name as argument. Look up ulps
4701 (print_ulps): Remove function.
4702 (print_max_error): Use prev_max_error instead of calling
4704 (print_complex_max_error): Use prev_real_max_error and
4705 prev_imag_max_error instead of calling find_complex_function_ulps.
4706 (check_float_internal): Take max_ulp parameter instead of calling
4707 find_test_ulps. Don't call print_ulps.
4708 (check_float): Update call to check_float_internal.
4709 (check_complex): Update calls to check_float_internal.
4710 (START): Pass argument to init_max_error.
4711 * math/gen-libm-test.pl (%results): Don't include "kind"
4713 (parse_ulps): Don't handle ulps of individual tests.
4714 (print_ulps_file): Likewise.
4715 (output_ulps): Likewise.
4716 * math/README.libm-test: Update.
4717 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4719 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4720 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4721 * sysdeps/arm/libm-test-ulps: Likewise.
4722 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4723 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4724 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4725 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4726 * sysdeps/microblaze/libm-test-ulps: Likewise.
4727 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4728 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4729 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4730 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4731 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4732 * sysdeps/sh/libm-test-ulps: Likewise.
4733 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4734 * sysdeps/tile/libm-test-ulps: Likewise.
4735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4737 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4739 * math/libm-test.inc (print_complex_max_error): Check separately
4740 whether real and imaginary errors are within allowed range and
4741 pass 0 to print_complex_function_ulps instead of value within
4744 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4746 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4748 (get_handles_fopen): Likewise.
4749 (do_write_test): Likewise.
4751 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4753 * libio/fileops.c (do_ftell): Use cached offset when
4755 * libio/iofwide.c (do_ftell_wide): Likewise.
4756 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4758 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4761 * libio/libioP.h (get_file_offset): New function.
4762 * libio/fileops.c (get_file_offset): Likewise.
4763 (do_ftell): Likewise.
4764 (_IO_new_file_seekoff): Split out ftell logic.
4765 * libio/wfileops.c (do_ftell_wide): Likewise.
4766 (_IO_wfile_seekoff): Split out ftell logic.
4767 * libio/tst-ftell-active-handler.c: New test case.
4768 * libio/Makefile (tests): Add it.
4770 2014-03-03 Roland McGrath <roland@hack.frob.com>
4772 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4773 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4775 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4778 * nscd/connections.c (nscd_init): Call do_exit.
4779 (start_threads): Call do_exit and notify_parent.
4780 (begin_drop_privileges): Call do_exit.
4781 (finish_drop_privileges): Likewise.
4782 * nscd/selinux.c (preserve_capabilities): Likewise.
4783 (install_real_capabilities): Likewise.
4784 (nscd_selinux_enabled): Likewise.
4785 (avc_create_thread): Likewise.
4786 (avc_alloc_lock): Likewise.
4787 (nscd_avc_init): Likewise.
4788 * nscd/nscd.c (parent_fd): New static variable.
4789 (main): Create a pipe between parent and child processes.
4790 Skip closing parent_fd.
4791 (monitor_child): New function.
4792 (do_exit): Likewise.
4793 (notify_parent): Likewise.
4794 * nscd/nscd.h (notify_parent): Likewise.
4795 (do_exit): Likewise.
4797 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4799 * malloc/malloc.c (__libc_calloc): Revert last change.
4801 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4805 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4807 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4811 (__libc_ifunc_impl_list): Likewise.
4812 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4813 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4814 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4815 * string/strrchr.c: Define STRRCHR.
4817 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4819 * benchtest/bench-strtok.c (simple_strtok): Delete.
4820 (strtok_string): Use as benchmark.
4821 * string/strtok (STRTOK): New macro.
4823 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4825 * manual/threads.texi: Add header and standard comments to all
4828 * elf/dl-lookup.c (check_match): New function.
4829 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4830 (do_lookup_x): Remove nested function check_match. Use non-nested
4831 function check_match.
4833 2014-02-28 Roland McGrath <roland@hack.frob.com>
4835 * csu/Makefile (generated, before-compile): Use += rather than =.
4836 * catgets/Makefile (generated, generated-dirs): Likewise.
4837 * debug/Makefile (generated): Likewise.
4838 * dlfcn/Makefile (generated): Likewise.
4839 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4840 * iconvdata/Makefile (before-compile, generated): Likewise.
4841 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4842 * libio/Makefile (generated): Likewise.
4843 * malloc/Makefile (generated): Likewise.
4844 * manual/Makefile (generated, generated-dirs): Likewise.
4845 * misc/Makefile (generated): Likewise.
4846 * posix/Makefile (generated): Likewise.
4847 * resolv/Makefile (generated): Likewise.
4848 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4849 * timezone/Makefile (generated, generated-dirs): Likewise.
4851 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4853 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4856 power8 implementation.
4857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4858 file: POWER8 llround ifunc implementation.
4859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4860 (__lllround): Add POWER8 implementation.
4861 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4862 POWER8 llround implementation.
4864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4865 power8 implementation.
4866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4867 file: POWER8 llrint ifunc implementation.
4868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4869 Add POWER8 implementation.
4870 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4871 POWER8 llrint implementation.
4873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4874 power8 implementation.
4875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4876 file: POWER8 finite ifunc implementation.
4877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4878 Add POWER8 implementation.
4879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4881 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4882 POWER8 finite implementation.
4883 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4886 power8 implementation.
4887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4888 file: POWER8 isinf ifunc implementation.
4889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4890 POWER8 implementation.
4891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4893 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4894 isinf implementation.
4895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4897 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4898 (INIT_ARCH): Add hwcap2 initialization.
4899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4900 power8 implementation.
4901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4902 file: POWER8 isnan ifunc implementation.
4903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4904 POWER8 implementation.
4905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4907 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4908 isnan implementation.
4909 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4911 2014-02-27 Joey Ye <joey.ye@arm.com>
4913 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4914 (_FP_NANFRAC_Q): Set to zero.
4916 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4919 * math/auto-libm-test-in: New test inputs.
4920 * math/auto-libm-test-out: Regenerate.
4921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4924 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4926 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4928 * scripts/evaluate-test.sh: Take new argument indicating whether
4929 failure is expected.
4930 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4931 indicating whether failure is expected.
4932 * conform/Makefile (test-xfail-run-conformtest): New variable.
4933 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4935 * posix/Makefile (test-xfail-annexc): New variable.
4936 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4938 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4940 * argp/Makefile: Include Makeconfig immediately after defining
4942 * assert/Makefile: Likewise.
4943 * benchtests/Makefile: Likewise.
4944 * catgets/Makefile: Likewise.
4945 * conform/Makefile: Likewise.
4946 * crypt/Makefile: Likewise.
4947 * csu/Makefile: Likewise.
4948 (all): Remove target.
4949 * ctype/Makefile: Include Makeconfig immediately after defining
4951 * debug/Makefile: Likewise.
4952 * dirent/Makefile: Likewise.
4953 * dlfcn/Makefile: Likewise.
4954 * gmon/Makefile: Likewise.
4955 * gnulib/Makefile: Likewise.
4956 * grp/Makefile: Likewise.
4957 * gshadow/Makefile: Likewise.
4958 * hesiod/Makefile: Likewise.
4959 * hurd/Makefile: Likewise.
4960 (all): Remove target.
4961 * iconvdata/Makefile: Include Makeconfig immediately after
4963 * inet/Makefile: Likewise.
4964 * intl/Makefile: Likewise.
4965 * io/Makefile: Likewise.
4966 * libio/Makefile: Likewise.
4967 (all): Remove target.
4968 * locale/Makefile: Include Makeconfig immediately after defining
4970 * login/Makefile: Likewise.
4971 * mach/Makefile: Likewise.
4972 (all): Remove target.
4973 * malloc/Makefile: Include Makeconfig immediately after defining
4975 (all): Remove target.
4976 * manual/Makefile: Include Makeconfig immediately after defining
4978 * math/Makefile: Likewise.
4979 * misc/Makefile: Likewise.
4980 * nis/Makefile: Likewise.
4981 * nss/Makefile: Likewise.
4982 * po/Makefile: Likewise.
4983 (all): Remove target.
4984 * posix/Makefile: Include Makeconfig immediately after defining
4986 * pwd/Makefile: Likewise.
4987 * resolv/Makefile: Likewise.
4988 * resource/Makefile: Likewise.
4989 * rt/Makefile: Likewise.
4990 * setjmp/Makefile: Likewise.
4991 * shadow/Makefile: Likewise.
4992 * signal/Makefile: Likewise.
4993 * socket/Makefile: Likewise.
4994 * soft-fp/Makefile: Likewise.
4995 * stdio-common/Makefile: Likewise.
4996 * stdlib/Makefile: Likewise.
4997 * streams/Makefile: Likewise.
4998 * string/Makefile: Likewise.
4999 * sunrpc/Makefile: Likewise.
5000 (all): Remove target.
5001 * sysvipc/Makefile: Include Makeconfig immediately after defining
5003 * termios/Makefile: Likewise.
5004 * time/Makefile: Likewise.
5005 * timezone/Makefile: Likewise.
5006 (all): Remove target.
5007 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5009 * wctype/Makefile: Likewise.
5011 2014-02-26 Steve Ellcey <sellcey@mips.com>
5013 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5014 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5015 (libc_feholdexcept_setround_mips): Ditto.
5016 (libc_feholdsetround): New.
5017 (libc_feholdsetroundf): New.
5018 (libc_feholdsetroundl): New.
5019 (libc_feupdateenv_test_mips): New.
5020 (libc_feupdateenv_test): New.
5021 (libc_feupdateenv_testf): New.
5022 (libc_feupdateenv_testl): New.
5023 (libc_feresetround): New.
5024 (libc_feresetroundf): New.
5025 (libc_feresetroundl): New.
5026 (libc_fetestexcept_mips): New.
5027 (libc_fetestexcept): New.
5028 (libc_fetestexceptf): New.
5029 (libc_fetestexceptl): New.
5031 (libc_feholdexcept_setround_mips_ctx): New.
5032 (libc_feholdexcept_setround_ctx): New.
5033 (libc_feholdexcept_setroundf_ctx): New.
5034 (libc_feholdexcept_setroundl_ctx): New.
5035 (libc_fesetenv_mips_ctx): New.
5036 (libc_fesetenv_ctx): New.
5037 (libc_fesetenv_ctxf): New.
5038 (libc_fesetenv_ctxl): New.
5039 (libc_feupdateenv_mips_ctx): New.
5040 (libc_feupdateenv_ctx): New.
5041 (libc_feupdateenvf_ctx): New.
5042 (libc_feupdateenvl_ctx): New.
5043 (libc_feholdsetround_mips_ctx): New.
5044 (libc_feholdsetround_ctx): New.
5045 (libc_feholdsetroundf_ctx): New.
5046 (libc_feholdsetroundl_ctx): New.
5047 (libc_feresetround_mips_ctx): New.
5048 (libc_feresetround_ctx): New.
5049 (libc_feresetroundf_ctx): New.
5050 (libc_feresetroundl_ctx): New.
5052 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5054 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5056 * manual/ipc.texi: New file.
5057 * manual/Makefile (chapters): Add ipc.
5058 * manual/job.texi: Add "Inter-Process Communication" to next.
5059 * manual/process.texi: Add "Inter-Process Communication" to prev.
5061 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5065 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5067 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5069 * manual/arith.texi: Fix spaces after sentences.
5070 * manual/charset.texi: Likewise.
5071 * manual/errno.texi: Likewise.
5072 * manual/install.texi: Likewise.
5073 * manual/llio.texi: Likewise.
5074 * manual/locale.texi: Likewise.
5075 * manual/maint.texi: Likewise.
5076 * manual/math.texi: Likewise.
5077 * manual/memory.texi: Likewise.
5078 * manual/message.texi: Likewise.
5079 * manual/probes.texi: Likewise.
5080 * manual/resource.texi: Likewise.
5081 * manual/signal.texi: Likewise.
5082 * manual/socket.texi: Likewise.
5083 * manual/stdio.texi: Likewise.
5084 * manual/string.texi: Likewise.
5085 * manual/time.texi: Likewise.
5086 * manual/users.texi: Likewise.
5088 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5091 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5092 _DEFAULT_SOURCE is defined.
5094 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5095 Carlos O'Donell <carlos@redhat.com>
5098 * elf/dl-tls.c (_dl_count_modids): New function.
5099 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5100 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5101 audit library and increment generation counter.
5102 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5103 * elf/tst-audit9.c: New file.
5104 * elf/tst-auditmod9a.c: New file.
5105 * elf/tst-auditmod9b.c: New file.
5106 * elf/Makefile: Add rules to build and run tst-audit9.
5108 2014-02-25 Florian Weimer <fweimer@redhat.com>
5111 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5113 2014-02-25 Will Newton <will.newton@linaro.org>
5115 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5116 (__longjmp): Restore sp and lr before restoring callee
5117 saved registers. Add longjmp and longjmp_target
5118 SystemTap probe point.
5119 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5120 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5121 Define to zero to match jmpbuf layout.
5122 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5123 (__sigsetjmp): Save sp and lr before saving callee
5124 saved registers. Add setjmp SystemTap probe point.
5126 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5128 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5130 2014-02-24 Andreas Schwab <schwab@suse.de>
5133 * elf/pldd.c (wait_for_ptrace_stop): New function.
5134 (main): Call it after attaching.
5136 2014-02-22 Roland McGrath <roland@hack.frob.com>
5138 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5139 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5140 Versions files is now verboten.
5141 * hurd/Versions (libc: GLIBC_2.0):
5142 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5143 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5144 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5145 * mach/Versions: Likewise.
5147 * csu/Versions: Remove unused %include.
5148 * resolv/Versions: Likewise.
5150 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5152 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5153 ($(objpfx)check-local-headers.out): Likewise.
5154 ($(objpfx)begin-end-check.out): Likewise.
5155 * Makerules (check-abi-%.out): Likewise.
5156 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5157 ($(objpfx)test2.cat): Likewise.
5158 ($(objpfx)de/libc.cat): Likewise.
5159 ($(objpfx)test-gencat.out): Likewise.
5160 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5161 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5162 ($(objpfx)noload-mem): Likewise.
5163 ($(objpfx)tst-pathopt.out): Likewise.
5164 ($(objpfx)tst-rtld-load-self.out): Likewise.
5165 ($(objpfx)tst-array1-cmp.out): Likewise.
5166 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5167 ($(objpfx)tst-array2-cmp.out): Likewise.
5168 ($(objpfx)tst-array3-cmp.out): Likewise.
5169 ($(objpfx)tst-array4-cmp.out): Likewise.
5170 ($(objpfx)tst-array5-cmp.out): Likewise.
5171 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5172 ($(objpfx)check-textrel.out): Likewise.
5173 ($(objpfx)check-execstack.out): Likewise.
5174 ($(objpfx)check-localplt.out): Likewise.
5175 ($(objpfx)order2-cmp.out): Likewise.
5176 ($(objpfx)tst-leaks1-mem): Likewise.
5177 ($(objpfx)tst-leaks1-static-mem): Likewise.
5178 ($(objpfx)tst-initorder-cmp.out): Likewise.
5179 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5180 ($(objpfx)tst-unused-dep.out): Likewise.
5181 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5182 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5183 * iconv/Makefile (test-iconvconfig): Likewise.
5184 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5185 ($(objpfx)iconv-test.out): Likewise.
5186 ($(objpfx)tst-tables.out): Likewise.
5187 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5188 ($(objpfx)tst-gettext.out): Likewise.
5189 ($(objpfx)tst-translit.out): Likewise.
5190 ($(objpfx)tst-gettext2.out): Likewise.
5191 ($(objpfx)tst-gettext4.out): Likewise.
5192 ($(objpfx)tst-gettext6.out): Likewise.
5193 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5194 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5195 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5196 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5197 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5198 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5199 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5200 ($(objpfx)wordexp-tst.out): Likewise.
5201 ($(objpfx)annexc.out): Likewise.
5202 ($(objpfx)tst-fnmatch-mem): Likewise.
5203 ($(objpfx)bug-regex2-mem): Likewise.
5204 ($(objpfx)bug-regex14-mem): Likewise.
5205 ($(objpfx)bug-regex21-mem): Likewise.
5206 ($(objpfx)bug-regex31-mem): Likewise.
5207 ($(objpfx)tst-vfork3-mem): Likewise.
5208 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5209 ($(objpfx)tst-pcre-mem): Likewise.
5210 ($(objpfx)tst-boost-mem): Likewise.
5211 ($(objpfx)tst-getconf.out): Likewise.
5212 ($(objpfx)bug-ga2-mem): Likewise.
5213 ($(objpfx)bug-glob2-mem): Likewise.
5214 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5215 ($(objpfx)mtrace-tst-leaks2): Likewise.
5216 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5217 ($(objpfx)tst-printf.out): Likewise.
5218 ($(objpfx)tst-setvbuf1.out): Likewise.
5219 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5220 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5221 ($(objpfx)tst-fmtmsg.out): Likewise.
5222 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5223 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5225 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5226 * bits/sigaction.h [__USE_MISC]: Likewise.
5227 * bits/waitstatus.h: Update #endif comments.
5228 * ctype/ctype.h: Likewise.
5229 * dirent/dirent.h: Likewise.
5230 [__USE_MISC]: Remove redundant conditionals.
5231 * grp/grp.h: Update #endif comments.
5232 [__USE_GNU]: Remove redundant conditionals.
5233 [__USE_MISC]: Likewise.
5234 * inet/netinet/in.h [__USE_GNU]: Likewise.
5235 * io/sys/stat.h [__USE_MISC]: Likewise.
5236 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5237 * libio/bits/stdio.h: Update #endif comments.
5238 [__USE_MISC]: Remove redundant conditionals.
5239 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5240 * libio/stdio.h: Update #endif comments.
5241 [__USE_MISC]: Remove redundant conditionals.
5242 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5243 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5244 * math/math.h: Update #else and #endif comments.
5245 [__USE_MISC]: Remove redundant conditionals.
5246 * misc/sys/uio.h: Update #endif comments.
5247 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5248 * posix/glob.h [__USE_MISC]: Likewise.
5249 * posix/sys/types.h: Update #endif comments.
5250 [__USE_MISC]: Remove redundant conditionals.
5251 * posix/sys/wait.h: Update #endif comments.
5252 [__USE_MISC]: Remove redundant conditionals.
5253 * posix/unistd.h: Update #endif comments.
5254 [__USE_MISC]: Remove redundant conditionals.
5255 * pwd/pwd.h [__USE_GNU]: Likewise.
5256 [__USE_MISC]: Likewise.
5257 * resolv/netdb.h [__USE_GNU]: Likewise.
5258 * signal/signal.h: Update #endif comments.
5259 [__USE_MISC]: Remove redundant conditionals.
5260 * stdlib/stdlib.h: Update #else and #endif comments.
5261 [__USE_MISC]: Remove redundant conditionals.
5262 [__USE_GNU]: Likewise.
5263 * string/bits/string2.h [__USE_MISC]: Likewise.
5264 * string/string.h: Update #endif comments.
5265 [__USE_MISC]: Remove redundant conditionals.
5266 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5268 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5269 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5270 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5272 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5276 [__USE_MISC]: Remove redundant conditionals.
5277 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5278 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5279 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5280 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5281 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5283 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5284 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5286 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5287 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5289 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5291 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5292 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5294 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5296 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5297 * sysdeps/x86/bits/string.h: Update #endif comments.
5298 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5300 * time/sys/time.h: Update #endif comments.
5301 * time/time.h: Likewise.
5302 [__USE_MISC]: Remove redundant conditionals.
5304 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5307 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5309 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5311 * Versions.def (librt): Add GLIBC_2.17.
5313 2014-02-21 Adam Conrad <adconrad@0c3.net>
5315 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5316 synonym for _SYS_AUXV_H to allow direct inclusion.
5317 * sysdeps/sparc/bits/hwcap.h: Likewise.
5318 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5319 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5320 * sysdeps/sparc/sysdep.h: Likewise.
5322 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5324 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5326 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5328 * benchtests/bench-strrchr.c: Print length instead of position.
5330 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5333 * sysdeps/unix/sysv/linux/kernel-features.h
5334 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5335 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5336 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5337 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5339 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5340 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5341 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5342 (__ASSUME_SENDMMSG): Define instead of using previous
5343 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5344 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5345 (__ASSUME_SENDMMSG_SYSCALL): Define.
5346 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5347 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5350 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5352 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5353 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5355 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5356 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5357 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5358 [__ASSUME_SENDMMSG]: Change conditionals to
5359 [__ASSUME_SENDMMSG_SOCKETCALL].
5360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5361 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5363 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5364 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5366 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5367 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5368 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5369 [!__ASSUME_SENDMMSG]: Change conditional to
5370 [!__ASSUME_SENDMMSG_SOCKETCALL].
5371 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5372 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5376 * sysdeps/unix/sysv/linux/kernel-features.h
5377 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5378 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5379 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5380 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5381 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5382 [__i386__ || __sparc__]
5383 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5384 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5385 (__ASSUME_RECVMMSG): Define instead of using previous
5386 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5387 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5388 (__ASSUME_RECVMMSG_SYSCALL): Define.
5389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5390 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5393 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5395 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5398 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5399 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5400 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5401 [__ASSUME_RECVMMSG]: Change condition to
5402 [__ASSUME_RECVMMSG_SOCKETCALL].
5403 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5404 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5406 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5407 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5408 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5410 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5411 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5412 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5413 [!__ASSUME_RECVMMSG]: Change condition to
5414 [!__ASSUME_RECVMMSG_SOCKETCALL].
5415 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5416 (__ASSUME_RECVMMSG_SYSCALL): Define.
5419 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5420 __powerpc__ || __s390__ || __sh__ || __sparc__]
5421 (__ASSUME_SOCKETCALL): Define.
5422 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5423 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5424 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5425 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5426 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5427 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5428 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5429 (__ASSUME_ACCEPT4): Define instead of using previous
5430 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5431 __powerpc__ || __sparc__ || __s390__)] condition.
5432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5433 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5434 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5435 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5436 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5437 [!__ASSUME_ACCEPT4]: Change condition to
5438 [!__ASSUME_ACCEPT4_SOCKETCALL].
5439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5440 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5441 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5442 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5443 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5444 __ASSUME_ACCEPT4_SYSCALL.
5445 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5446 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5447 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5448 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5449 __ASSUME_ACCEPT4_SYSCALL.
5450 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5451 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5452 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5453 [__ASSUME_ACCEPT4]: Change condition to
5454 [__ASSUME_ACCEPT4_SOCKETCALL].
5455 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5456 (__ASSUME_SOCKETCALL): Define.
5457 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5458 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5459 (__ASSUME_SOCKETCALL): Define.
5460 (__ASSUME_ACCEPT4): Remove.
5461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5463 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5464 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5466 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5467 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5469 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5471 (HWCAP_ARM_LPAE): Likewise.
5472 (HWCAP_ARM_EVTSTRM): Likewise.
5473 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5474 Add vpfd32, lpae and evtstrm.
5475 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5478 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5480 * math/auto-libm-test-in: Add tests of clog10.
5481 * math/auto-libm-test-out: Regenerated.
5482 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5483 * sysdeps/i386/fpu/libm-test-ulps: Update.
5484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5486 2014-02-18 Andreas Schwab <schwab@suse.de>
5489 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5490 Store non-zero if the second buffer was newly allocated.
5491 (send_dg): Likewise.
5492 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5493 to send_vc and send_dg.
5494 (res_nsend): Pass NULL for ansp2_malloced.
5495 * resolv/res_query.c (__libc_res_nquery): Add parameter
5496 answerp2_malloced and pass it down to __libc_res_nsend.
5497 (res_nquery): Pass additional NULL to __libc_res_nquery.
5498 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5499 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5500 second answer buffer if answerp2_malloced was set.
5501 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5502 (__libc_res_nquerydomain): Add parameter
5503 answerp2_malloced and pass it down to __libc_res_nquery.
5504 (res_nquerydomain): Pass additional NULL to
5505 __libc_res_nquerydomain.
5506 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5507 additional NULL to __libc_res_nsend and __libc_res_nquery.
5508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5509 additional NULL to __libc_res_nsearch.
5510 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5511 parameter of __libc_res_nsearch to check for separately allocated
5513 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5515 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5516 additional NULL to __libc_res_nquery.
5517 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5519 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5520 * include/resolv.h: Update prototypes of __libc_res_nquery,
5521 __libc_res_nsearch, __libc_res_nsend.
5523 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5525 * math/auto-libm-test-in: Add tests of fma.
5526 * math/auto-libm-test-out: Regenerated.
5527 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5528 (fma_towardzero_test_data): Likewise.
5529 (fma_downward_test_data): Likewise.
5530 (fma_upward_test_data): Likewise.
5531 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5533 (rounding_modes): Add values for new field.
5534 (func_calc_method): Add value mpfr_fff_f.
5535 (func_calc_desc): Add mpfr_fff_f union field.
5536 (test_function): Add field exact_args.
5537 (FUNC): Add macro argument EXACT_ARGS.
5538 (FUNC_mpfr_f_f): Update call to FUNC.
5539 (FUNC_mpfr_f_f): Likewise.
5540 (FUNC_mpfr_ff_f): Likewise.
5541 (FUNC_mpfr_if_f): Likewise.
5542 (FUNC_mpc_c_f): Likewise.
5543 (FUNC_mpc_c_c): Likewise.
5544 (test_functions): Add fma. Update calls to FUNC.
5545 (handle_input_arg): Add argument exact_args.
5546 (add_test): Update call to handle_input_arg.
5547 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5548 (output_for_one_input_case): Update call to calc_generic_results.
5549 Recalculate exact zero results in each rounding mode.
5551 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5552 non-negative before setting low bit.
5553 * math/auto-libm-test-in: Mark one asin test possibly having
5555 * math/auto-libm-test-out: Regenerated.
5556 * sysdeps/i386/fpu/libm-test-ulps: Update.
5557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5559 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5561 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5562 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5563 ports/sysdeps/unix/sysv/linux/microblaze.
5564 * README: Add missing listing for microblaze*-*-linux-gnu.
5566 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5568 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5569 * sysdeps/unix/sysv/linux/ia64: Move directory from
5570 ports/sysdeps/unix/sysv/linux/ia64.
5571 * README: Update listing for ia64-*-linux-gnu.
5573 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5574 Joseph Myers <joseph@codesourcery.com>
5576 * Makeconfig (test-name): New variable.
5577 (evaluate-test): Likewise.
5578 * Makerules (do-test-clean): Remove .test-result files.
5579 (common-mostlyclean): Likewise.
5580 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5581 * scripts/evaluate-test.sh: New file.
5583 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5585 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5586 separate $(objpfx)tst-fopenloc-cmp.out and
5587 $(objpfx)tst-fopenloc-mem.out targets.
5588 (tests): Update dependencies.
5589 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5590 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5591 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5592 (tst-rxspencer-no-utf8-ARGS): New variable.
5593 (tst-rxspencer-no-utf8-ENV): Likewise.
5594 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5595 instead of $(objpfx)tst-rxspencer-mem.
5596 ($(objpfx)tst-rxspencer-mem): Change target to
5597 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5598 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5599 * posix/tst-rxspencer-no-utf8.c: New file.
5601 * elf/Makefile ($(objpfx)order.out): Remove rule.
5602 [$(run-built-tests) = yes] (tests): Depend on
5603 $(objpfx)order-cmp.out.
5604 ($(objpfx)order-cmp.out): New rule.
5605 [$(run-built-tests) = yes] (tests): Depend on
5606 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5607 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5608 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5609 $(objpfx)tst-array5-static-cmp.out.
5610 ($(objpfx)tst-array1.out): Remove rule.
5611 ($(objpfx)tst-array1-cmp.out): New rule.
5612 ($(objpfx)tst-array1-static.out): Remove rule.
5613 ($(objpfx)tst-array1-static-cmp.out): New rule.
5614 ($(objpfx)tst-array2.out): Remove rule.
5615 ($(objpfx)tst-array2-cmp.out): New rule.
5616 ($(objpfx)tst-array3.out): Remove rule.
5617 ($(objpfx)tst-array3-cmp.out): New rule.
5618 ($(objpfx)tst-array4.out): Remove rule.
5619 ($(objpfx)tst-array4-cmp.out): New rule.
5620 ($(objpfx)tst-array5.out): Remove rule.
5621 ($(objpfx)tst-array5-cmp.out): New rule.
5622 ($(objpfx)tst-array5-static.out): Remove rule.
5623 ($(objpfx)tst-array5-static-cmp.out): New rule.
5624 [$(run-built-tests) = yes] (tests): Depend on
5625 $(objpfx)order2-cmp.out.
5626 ($(objpfx)order2.out): Remove rule.
5627 ($(objpfx)order2-cmp.out): New rule.
5628 ($(objpfx)tst-initorder.out): Remove rule.
5629 [$(run-built-tests) = yes] (tests): Depend on
5630 $(objpfx)tst-initorder-cmp.out.
5631 ($(objpfx)tst-initorder-cmp.out): New rule.
5632 ($(objpfx)tst-initorder2.out): Remove rule.
5633 [$(run-built-tests) = yes] (tests): Depend on
5634 $(objpfx)tst-initorder2-cmp.out.
5635 ($(objpfx)tst-initorder2-cmp.out): New rule.
5636 [$(run-built-tests) = yes] (tests): Depend on
5637 $(objpfx)tst-unused-dep-cmp.out.
5638 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5639 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5640 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5641 on $(objpfx)tst-setvbuf1-cmp.out.
5642 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5643 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5644 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5645 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5646 ($(objpfx)tst-svc.out): Remove rule.
5647 ($(objpfx)tst-svc-cmp.out): New rule.
5649 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5651 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5652 * ctype/ctype.h [__USE_MISC]: Likewise.
5653 * dirent/dirent.h [__USE_MISC]: Likewise.
5654 * grp/grp.h [__USE_MISC]: Likewise.
5655 * io/fcntl.h [__USE_MISC]: Likewise.
5656 * io/sys/stat.h [__USE_MISC]: Likewise.
5657 * libio/stdio.h [__USE_MISC]: Likewise.
5658 * posix/unistd.h [__USE_MISC]: Likewise.
5659 * pwd/pwd.h [__USE_MISC]: Likewise.
5660 * stdlib.h [__USE_MISC]: Likewise.
5661 * string/bits/string2.h [__USE_MISC]: Likewise.
5662 * string/string.h [__USE_MISC]: Likewise.
5663 * time/time.h [__USE_MISC]: Likewise.
5665 2014-02-13 Andreas Schwab <schwab@suse.de>
5668 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5669 second answer buffer if it was separately allocated.
5671 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5673 * sysdeps/mips/math-tests.h: Include <features.h>.
5674 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5675 (ROUNDING_TESTS_long_double): Do not define.
5676 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5677 (EXCEPTION_TESTS_long_double): Likewise.
5678 * sysdeps/mips/mips64/libm-test-ulps: Update.
5680 * include/features.h (__USE_BSD): Remove macro definitions.
5681 (__USE_SVID): Likewise.
5682 (_BSD_SOURCE): Likewise.
5683 (_SVID_SOURCE): Likewise.
5684 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5685 from definition of _DEFAULT_SOURCE.
5686 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5688 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5689 * bits/mman.h [__USE_BSD]: Likewise.
5690 * bits/termios.h [__USE_BSD]: Likewise.
5691 * bits/waitstatus.h [__USE_BSD]: Likewise.
5692 * ctype/ctype.h [__USE_SVID]: Likewise.
5693 * dirent/dirent.h [__USE_BSD]: Likewise.
5694 * grp/grp.h [__USE_SVID]: Likewise.
5695 [__USE_BSD]: Likewise.
5696 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5697 * io/fcntl.h [__USE_BSD]: Likewise.
5698 * io/ftw.h [__USE_BSD]: Likewise.
5699 * io/sys/stat.h [__USE_BSD]: Likewise.
5700 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5701 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5702 * libio/stdio.h [__USE_SVID]: Likewise.
5703 [__USE_BSD]: Likewise.
5704 * math/math.h [__USE_SVID]: Likewise.
5705 [__USE_BSD]: Likewise.
5706 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5707 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5708 * misc/search.h [__USE_SVID]: Likewise.
5709 * misc/sys/mman.h [__USE_BSD]: Likewise.
5710 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5711 * misc/sys/uio.h [__USE_BSD]: Likewise.
5712 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5713 * posix/glob.h [__USE_BSD]: Likewise.
5714 * posix/regex.h [__USE_BSD]: Likewise.
5715 * posix/sys/types.h [__USE_BSD]: Likewise.
5716 [__USE_SVID]: Likewise.
5717 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5718 * posix/sys/wait.h [__USE_BSD]: Likewise.
5719 [__USE_SVID]: Likewise.
5720 * posix/unistd.h [__USE_BSD]: Likewise.
5721 [__USE_SVID]: Likewise.
5722 * pwd/pwd.h [__USE_SVID]: Likewise.
5723 * resolv/netdb.h [__USE_BSD]: Likewise.
5724 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5725 * signal/signal.h [__USE_BSD]: Likewise.
5726 [__USE_SVID]: Likewise.
5727 * socket/sys/socket.h [__USE_BSD]: Likewise.
5728 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5729 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5730 [__USE_SVID]: Likewise.
5731 * string/bits/string2.h [__USE_BSD]: Likewise.
5732 [__USE_SVID]: Likewise.
5733 * string/bits/string3.h [__USE_BSD]: Likewise.
5734 * string/endian.h [__USE_BSD]: Likewise.
5735 * string/string.h [__USE_SVID]: Likewise.
5736 [__USE_BSD]: Likewise.
5737 * string/strings.h [__USE_BSD]: Likewise.
5738 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5739 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5740 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5741 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5742 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5743 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5747 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5748 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5750 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5751 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5753 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5755 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5756 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5757 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5759 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5761 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5762 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5763 * termios/termios.h [__USE_BSD]: Likewise.
5764 * time/sys/time.h [__USE_BSD]: Likewise.
5765 * time/time.h [__USE_BSD]: Likewise.
5766 [__USE_SVID]: Likewise.
5768 * Makefile (subdir_targets): Remove subdir_lint.out.
5770 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5771 (do-tst-printf): Likewise.
5772 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5773 $(objpfx)tst-printf.out.
5775 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5777 * Makerules (check-abi-%): Change target to
5778 $(objpfx)check-abi-%.out.
5779 (check-abi target): Update dependencies.
5780 (check-abi-pattern variable): Redirect output of diff to $@.
5781 (check-abi variable): Likewise.
5782 * elf/Makefile (check-abi): Update dependencies.
5784 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5786 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5787 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5789 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5790 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5791 value has largest subnormal exponent.
5792 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5793 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5794 * sysdeps/aarch64/soft-fp/sfp-machine.h
5795 (_FP_TININESS_AFTER_ROUNDING): New macro.
5796 * sysdeps/alpha/soft-fp/sfp-machine.h
5797 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5798 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5800 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5801 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5802 * sysdeps/mips/soft-fp/sfp-machine.h
5803 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5804 * sysdeps/powerpc/soft-fp/sfp-machine.h
5805 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5806 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5808 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5809 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5811 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5812 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5815 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5818 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5821 2014-02-12 Richard Henderson <rth@redhat.com>
5823 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5824 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5825 * sysdeps/unix/sysv/linux/alpha: Move directory from
5826 ports/sysdeps/unix/sysv/linux/alpha.
5827 * README: Update listing for alpha-*-linux-gnu.
5829 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5831 * include/features.h: Update comment documenting feature test
5833 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5835 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5836 (_SVID_SOURCE): Likewise.
5837 (_DEFAULT_SOURCE): Update description of default features.
5838 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5840 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5841 (S_ISVTX): Likewise.
5842 * manual/math.texi (Mathematical Constants): Likewise.
5843 * manual/signal.texi (Interrupted Primitives): Likewise.
5844 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5845 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5846 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5847 Don't refer to _SVID_SOURCE in warning text.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5851 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5853 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5854 * sysdeps/mips/dl-lookup.c: Remove.
5855 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5857 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5860 * math/auto-libm-test-in: Add testcase for expl.
5861 * math/auto-libm-test-out: Regenerate.
5862 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5863 calculation of unsafe.
5864 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5866 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5868 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5869 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5870 ports/sysdeps/unix/sysv/linux/aarch64.
5871 * README: Update listing for aarch64*-*-linux-gnu.
5873 2014-02-11 Will Newton <will.newton@linaro.org>
5875 * manual/probes.texi (Mathematical Function Probes): Use
5876 "triggered" instead of "hit".
5878 * manual/probes.texi (Internal Probes): Add documentation
5879 of setjmp, longjmp and longjmp_target probes.
5881 * include/stap-probe.h: Add comment about probe argument
5884 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5885 definition. (tr_where, tr_freehook, tr_mallochook,
5886 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5888 2014-02-11 David S. Miller <davem@davemloft.net>
5890 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5891 processing int_tests.
5893 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5895 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5896 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5897 * sysdeps/unix/sysv/linux/mips: Move directory from
5898 ports/sysdeps/unix/sysv/linux/mips.
5899 * README: Update listing for mips-*-linux-gnu and
5902 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5904 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5905 * sysdeps/unix/sysv/linux/m68k: Move directory from
5906 ports/sysdeps/unix/sysv/linux/m68k.
5907 * README: Update listing for m68k-*-linux-gnu.
5909 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5911 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5912 * sysdeps/unix/sysv/linux/generic: Move directory from
5913 ports/sysdeps/unix/sysv/linux/generic.
5914 * sysdeps/unix/sysv/linux/tile: Move directory from
5915 ports/sysdeps/unix/sysv/linux/tile.
5916 * README: Update listing for tile*-*-linux-gnu.
5918 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5920 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5922 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5923 * catgets/open_catalog.c (__open_catalog): Likewise.
5924 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5925 * debug/confstr_chk.c: Likewise.
5926 * debug/fread_chk.c (__fread_chk): Likewise.
5927 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5928 * debug/getgroups_chk.c: Likewise.
5929 * debug/mbsnrtowcs_chk.c: Likewise.
5930 * debug/mbsrtowcs_chk.c: Likewise.
5931 * debug/mbstowcs_chk.c: Likewise.
5932 * debug/memcpy_chk.c: Likewise.
5933 * debug/memmove_chk.c: Likewise.
5934 * debug/mempcpy_chk.c: Likewise.
5935 * debug/memset_chk.c: Likewise.
5936 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5937 * debug/strcat_chk.c (__strcat_chk): Likewise.
5938 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5939 * debug/strncat_chk.c (__strncat_chk): Likewise.
5940 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5941 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5942 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5943 * debug/wcpncpy_chk.c: Likewise.
5944 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5945 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5946 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5947 * debug/wcsncpy_chk.c: Likewise.
5948 * debug/wcsnrtombs_chk.c: Likewise.
5949 * debug/wcsrtombs_chk.c: Likewise.
5950 * debug/wcstombs_chk.c: Likewise.
5951 * debug/wmemcpy_chk.c: Likewise.
5952 * debug/wmemmove_chk.c: Likewise.
5953 * debug/wmempcpy_chk.c: Likewise.
5954 * debug/wmemset_chk.c: Likewise.
5955 * dirent/scandirat.c (SCANDIRAT): Likewise.
5956 * dlfcn/dladdr1.c (dladdr1): Likewise.
5957 * dlfcn/dladdr.c (dladdr): Likewise.
5958 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5959 * dlfcn/dlerror.c (__dlerror): Likewise.
5960 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5961 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5962 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5963 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5964 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5965 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5966 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5967 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5969 * elf/dl-conflict.c: Likewise.
5970 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5971 * elf/dl-dst.h: Likewise.
5972 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5973 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5974 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5975 * elf/dl-init.c (call_init, _dl_init): Likewise.
5976 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5977 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5978 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5980 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5982 * elf/dl-minimal.c (__libc_memalign): Likewise.
5983 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5984 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5985 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5986 * elf/dl-sym.c (do_sym): Likewise.
5987 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5988 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5989 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5990 * elf/dl-writev.h (_dl_writev): Likewise.
5991 * elf/ldconfig.c (search_dir): Likewise.
5992 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5993 (dl_main): Likewise.
5994 * elf/setup-vdso.h (setup_vdso): Likewise.
5995 * grp/compat-initgroups.c (compat_call): Likewise.
5996 * grp/fgetgrent.c (fgetgrent): Likewise.
5997 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5998 * grp/putgrent.c (putgrent): Likewise.
5999 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6001 * hurd/hurdinit.c: Likewise.
6002 * iconvdata/8bit-gap.c (struct): Likewise.
6003 * iconvdata/ansi_x3.110.c : Likewise.
6004 * iconvdata/big5.c : Likewise.
6005 * iconvdata/big5hkscs.c : Likewise.
6006 * iconvdata/cp1255.c: Likewise.
6007 * iconvdata/cp1258.c : Likewise.
6008 * iconvdata/cp932.c : Likewise.
6009 * iconvdata/euc-cn.c: Likewise.
6010 * iconvdata/euc-jisx0213.c : Likewise.
6011 * iconvdata/euc-jp.c: Likewise.
6012 * iconvdata/euc-jp-ms.c : Likewise.
6013 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6014 * iconvdata/gb18030.c : Likewise.
6015 * iconvdata/gbbig5.c (const): Likewise.
6016 * iconvdata/gbgbk.c: Likewise.
6017 * iconvdata/gbk.c : Likewise.
6018 * iconvdata/ibm1364.c : Likewise.
6019 * iconvdata/ibm930.c : Likewise.
6020 * iconvdata/ibm932.c: Likewise.
6021 * iconvdata/ibm933.c : Likewise.
6022 * iconvdata/ibm935.c : Likewise.
6023 * iconvdata/ibm937.c : Likewise.
6024 * iconvdata/ibm939.c : Likewise.
6025 * iconvdata/ibm943.c: Likewise.
6026 * iconvdata/iso_11548-1.c: Likewise.
6027 * iconvdata/iso-2022-cn.c : Likewise.
6028 * iconvdata/iso-2022-cn-ext.c : Likewise.
6029 * iconvdata/iso-2022-jp-3.c: Likewise.
6030 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6031 * iconvdata/iso-2022-kr.c : Likewise.
6032 * iconvdata/iso646.c (gconv_end): Likewise.
6033 * iconvdata/iso_6937-2.c : Likewise.
6034 * iconvdata/iso_6937.c : Likewise.
6035 * iconvdata/iso8859-1.c: Likewise.
6036 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6037 * iconvdata/shift_jisx0213.c : Likewise.
6038 * iconvdata/sjis.c : Likewise.
6039 * iconvdata/t.61.c : Likewise.
6040 * iconvdata/tcvn5712-1.c : Likewise.
6041 * iconvdata/tscii.c: Likewise.
6042 * iconvdata/uhc.c : Likewise.
6043 * iconvdata/unicode.c (gconv_end): Likewise.
6044 * iconvdata/utf-16.c (gconv_end): Likewise.
6045 * iconvdata/utf-32.c (gconv_end): Likewise.
6046 * iconvdata/utf-7.c (base64): Likewise.
6047 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6048 * iconv/gconv_close.c (__gconv_close): Likewise.
6049 * iconv/gconv_open.c (__gconv_open): Likewise.
6050 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6051 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6052 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6053 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6054 (ucs4le_internal_loop_single): Likewise.
6055 * iconv/iconv.c (iconv): Likewise.
6056 * iconv/iconv_close.c: Likewise.
6057 * iconv/loop.c (SINGLE): Likewise.
6058 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6059 * include/atomic.h: Likewise.
6060 * inet/inet6_option.c (option_alloc): Likewise.
6061 * intl/bindtextdom.c (set_binding_values): Likewise.
6062 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6063 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6064 * intl/localealias.c (read_alias_file): Likewise.
6065 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6066 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6067 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6068 * libio/fmemopen.c (fmemopen): Likewise.
6069 * libio/iofgets.c (_IO_fgets): Likewise.
6070 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6071 * libio/iofgetws.c (fgetws): Likewise.
6072 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6073 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6074 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6075 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6076 * locale/findlocale.c (_nl_find_locale): Likewise.
6077 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6078 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6080 * locale/setlocale.c (setlocale): Likewise.
6081 * login/programs/pt_chown.c (main): Likewise.
6082 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6083 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6084 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6085 (mmap, mmap64, mremap, munmap): Likewise.
6086 * math/e_exp2l.c: Likewise.
6087 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6088 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6089 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6090 * math/s_catan.c (__catan): Likewise.
6091 * math/s_catanf.c (__catanf): Likewise.
6092 * math/s_catanh.c (__catanh): Likewise.
6093 * math/s_catanhf.c (__catanhf): Likewise.
6094 * math/s_catanhl.c (__catanhl): Likewise.
6095 * math/s_catanl.c (__catanl): Likewise.
6096 * math/s_ccosh.c (__ccosh): Likewise.
6097 * math/s_ccoshf.c (__ccoshf): Likewise.
6098 * math/s_ccoshl.c (__ccoshl): Likewise.
6099 * math/s_cexp.c (__cexp): Likewise.
6100 * math/s_cexpf.c (__cexpf): Likewise.
6101 * math/s_cexpl.c (__cexpl): Likewise.
6102 * math/s_clog10.c (__clog10): Likewise.
6103 * math/s_clog10f.c (__clog10f): Likewise.
6104 * math/s_clog10l.c (__clog10l): Likewise.
6105 * math/s_clog.c (__clog): Likewise.
6106 * math/s_clogf.c (__clogf): Likewise.
6107 * math/s_clogl.c (__clogl): Likewise.
6108 * math/s_csin.c (__csin): Likewise.
6109 * math/s_csinf.c (__csinf): Likewise.
6110 * math/s_csinh.c (__csinh): Likewise.
6111 * math/s_csinhf.c (__csinhf): Likewise.
6112 * math/s_csinhl.c (__csinhl): Likewise.
6113 * math/s_csinl.c (__csinl): Likewise.
6114 * math/s_csqrt.c (__csqrt): Likewise.
6115 * math/s_csqrtf.c (__csqrtf): Likewise.
6116 * math/s_csqrtl.c (__csqrtl): Likewise.
6117 * math/s_ctan.c (__ctan): Likewise.
6118 * math/s_ctanf.c (__ctanf): Likewise.
6119 * math/s_ctanh.c (__ctanh): Likewise.
6120 * math/s_ctanhf.c (__ctanhf): Likewise.
6121 * math/s_ctanhl.c (__ctanhl): Likewise.
6122 * math/s_ctanl.c (__ctanl): Likewise.
6123 * math/w_pow.c: Likewise.
6124 * math/w_powf.c: Likewise.
6125 * math/w_powl.c: Likewise.
6126 * math/w_scalb.c (sysv_scalb): Likewise.
6127 * math/w_scalbf.c (sysv_scalbf): Likewise.
6128 * math/w_scalbl.c (sysv_scalbl): Likewise.
6129 * misc/error.c (error_tail): Likewise.
6130 * misc/pselect.c (__pselect): Likewise.
6131 * nis/nis_callback.c (__nis_create_callback): Likewise.
6132 * nis/nis_call.c (__nisfind_server): Likewise.
6133 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6134 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6135 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6136 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6137 * nis/nis_lookup.c (nis_lookup): Likewise.
6138 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6139 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6140 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6141 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6142 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6143 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6144 * nis/nss_compat/compat-initgroups.c (add_group)
6145 (internal_getgrent_r): Likewise.
6146 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6147 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6148 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6149 (internal_getspnam_r): Likewise.
6150 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6151 (_nss_nis_getaliasbyname_r): Likewise.
6152 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6153 (_nss_nis_getntohost_r): Likewise.
6154 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6155 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6156 (_nss_nis_getgrgid_r): Likewise.
6157 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6158 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6159 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6160 (_nss_nis_gethostbyname4_r): Likewise.
6161 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6162 (initgroups_netid): Likewise.
6163 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6164 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6165 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6166 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6167 (_nss_nis_getprotobynumber_r): Likewise.
6168 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6169 (_nss_nis_getsecretkey): Likewise.
6170 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6171 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6172 (_nss_nis_getpwuid_r): Likewise.
6173 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6174 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6175 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6176 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6177 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6178 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6179 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6181 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6182 (_nss_nisplus_getntohost_r): Likewise.
6183 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6184 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6185 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6186 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6188 * nis/nss_nisplus/nisplus-initgroups.c
6189 (_nss_nisplus_initgroups_dyn): Likewise.
6190 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6191 (_nss_nisplus_getnetbyaddr_r): Likewise.
6192 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6193 (_nss_nisplus_getprotobynumber_r): Likewise.
6194 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6195 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6196 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6198 * nis/nss_nisplus/nisplus-service.c
6199 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6200 (_nss_nisplus_getservbyport_r): Likewise.
6201 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6202 (_nss_nisplus_getspnam_r): Likewise.
6203 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6205 * nscd/aicache.c (addhstaiX): Likewise.
6206 * nscd/cache.c (cache_search, prune_cache): Likewise.
6207 * nscd/connections.c (register_traced_file, send_ro_fd)
6208 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6209 (main_loop_epoll): Likewise.
6210 * nscd/grpcache.c (addgrbyX): Likewise.
6211 * nscd/hstcache.c (addhstbyX): Likewise.
6212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6213 * nscd/mem.c (gc, mempool_alloc): Likewise.
6214 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6215 (addinnetgrX): Likewise.
6216 * nscd/nscd-client.h (__nscd_acquire_maplock)
6217 (__nscd_drop_map_ref): Likewise.
6218 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6219 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6220 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6222 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6224 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6225 (__nscd_get_map_ref): Likewise.
6226 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6227 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6229 * nscd/pwdcache.c (addpwbyX): Likewise.
6230 * nscd/selinux.c (preserve_capabilities): Likewise.
6231 * nscd/servicescache.c (addservbyX): Likewise.
6232 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6233 * posix/fnmatch.c (fnmatch): Likewise.
6234 * posix/getopt.c (_getopt_internal_r): Likewise.
6235 * posix/glob.c (glob, glob_in_dir): Likewise.
6236 * posix/wordexp.c (exec_comm_child): Likewise.
6237 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6238 (getanswer_r, gaih_getanswer_slice): Likewise.
6239 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6240 * resolv/res_init.c: Likewise.
6241 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6242 * resolv/res_query.c (__libc_res_nquery): Likewise.
6243 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6245 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6246 * stdio-common/perror.c (perror): Likewise.
6247 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6248 * stdio-common/tmpnam.c (tmpnam): Likewise.
6249 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6250 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6251 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6253 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6254 * stdlib/putenv.c (putenv): Likewise.
6255 * stdlib/setenv.c (__add_to_environ): Likewise.
6256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6257 * stdlib/strtol_l.c (INTERNAL): Likewise.
6258 * string/memmem.c (memmem): Likewise.
6259 * string/strerror.c (strerror): Likewise.
6260 * string/strnlen.c (__strnlen): Likewise.
6261 * string/test-memmem.c (simple_memmem): Likewise.
6262 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6263 * sunrpc/pm_getport.c (__get_socket): Likewise.
6264 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6265 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6266 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6267 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6269 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6271 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6272 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6273 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6274 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6276 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6278 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6279 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6280 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6281 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6282 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6284 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6285 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6286 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6287 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6288 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6289 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6291 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6293 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6295 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6296 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6298 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6299 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6300 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6301 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6310 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6312 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6314 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6316 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6320 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6322 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6323 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6324 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6325 * sysdeps/posix/sleep.c: Likewise.
6326 * sysdeps/posix/tempname.c: Likewise.
6327 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6328 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6330 * sysdeps/powerpc/powerpc32/dl-machine.h
6331 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6332 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6334 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6335 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6337 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6338 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6339 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6340 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6341 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6342 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6343 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6344 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6345 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6346 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6348 (elf_machine_lazy_rel): Likewise.
6349 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6350 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6351 (elf_machine_lazy_rel): Likewise.
6352 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6353 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6354 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6355 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6356 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6357 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6358 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6361 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6362 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6363 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6364 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6365 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6366 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6367 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6368 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6369 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6370 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6371 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6373 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6374 (__posix_fallocate64_l64): Likewise.
6375 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6376 (posix_fallocate): Likewise.
6377 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6380 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6381 (getifaddrs_internal): Likewise.
6382 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6383 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6384 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6385 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6386 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6387 (__posix_fallocate64_l64): Likewise.
6388 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6390 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6391 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6392 (__get_clockfreq): Likewise.
6393 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6394 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6395 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6396 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6398 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6399 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6400 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6402 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6403 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6404 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6405 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6406 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6407 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6408 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6410 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6411 (posix_fallocate): Likewise.
6412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6413 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6414 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6415 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6416 (elf_machine_rela, elf_machine_rela_relative)
6417 (elf_machine_lazy_rel): Likewise.
6418 * time/asctime.c (asctime_internal): Likewise.
6419 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6420 * time/tzset.c (__tzset_parse_tz): Likewise.
6421 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6422 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6423 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6424 * wcsmbs/wcsmbsload.h: Likewise.
6427 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6429 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6430 (arena_get2): Remove THREAD_STATS conditionals.
6431 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6432 (__malloc_stats, int): Likewise.
6434 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6436 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6437 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6439 * manual/setjmp.texi: Fix typos/grammar errors.
6441 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6442 Only return early when n is <= 0. Delete unused return statement.
6444 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6445 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6446 * debug/tst-longjmp_chk3.c: New file.
6448 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6449 (test_main): Replace code with set_fortify_handler call.
6450 * debug/test-strcpy_chk.c: Likewise.
6451 * debug/tst-chk1.c: Likewise.
6452 * debug/tst-longjmp_chk.c: Likewise.
6453 * test-skeleton.c: Include fcntl.h & paths.h
6454 (set_fortify_handler): Define.
6456 * debug/tst-longjmp_chk.c: Add header comment and include
6458 (do_test): Mark static.
6459 (TEST_FUNCTION): Define.
6461 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6462 (IP_PMTUDISC_INTERFACE): Likewise.
6463 (IP_MULTICAST_IF): Likewise.
6464 (IP_MULTICAST_TTL): Likewise.
6465 (IP_MULTICAST_LOOP): Likewise.
6466 (IP_ADD_MEMBERSHIP): Likewise.
6467 (IP_DROP_MEMBERSHIP): Likewise.
6468 (IP_UNBLOCK_SOURCE): Likewise.
6469 (IP_BLOCK_SOURCE): Likewise.
6470 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6471 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6472 (IP_MSFILTER): Likewise.
6473 (MCAST_JOIN_GROUP): Likewise.
6474 (MCAST_BLOCK_SOURCE): Likewise.
6475 (MCAST_UNBLOCK_SOURCE): Likewise.
6476 (MCAST_LEAVE_GROUP): Likewise.
6477 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6478 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6479 (MCAST_MSFILTER): Likewise.
6480 (IP_MULTICAST_ALL): Likewise.
6481 (IP_UNICAST_IF): Likewise.
6483 * timezone/Makefile: Delete $(have-ksh) check.
6484 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6485 * timezone/tzselect.ksh: Add +x mode bits.
6487 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6488 (ANON_INODE_FS_MAGIC): Likewise.
6489 (BDEVFS_MAGIC): Likewise.
6490 (BINFMTFS_MAGIC): Likewise.
6491 (BTRFS_TEST_MAGIC): Likewise.
6492 (CRAMFS_MAGIC_WEND): Likewise.
6493 (DEBUGFS_MAGIC): Likewise.
6494 (ECRYPTFS_SUPER_MAGIC): Likewise.
6495 (EXT3_SUPER_MAGIC): Likewise.
6496 (EXT4_SUPER_MAGIC): Likewise.
6497 (FUTEXFS_SUPER_MAGIC): Likewise.
6498 (HOSTFS_SUPER_MAGIC): Likewise.
6499 (HUGETLBFS_MAGIC): Likewise.
6500 (MINIX3_SUPER_MAGIC): Likewise.
6501 (MTD_INODE_FS_MAGIC): Likewise.
6502 (NILFS_SUPER_MAGIC): Likewise.
6503 (OPENPROM_SUPER_MAGIC): Likewise.
6504 (PIPEFS_MAGIC): Likewise.
6505 (PSTOREFS_MAGIC): Likewise.
6506 (QNX6_SUPER_MAGIC): Likewise.
6507 (RAMFS_MAGIC): Likewise.
6508 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6509 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6510 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6511 (SECURITYFS_MAGIC): Likewise.
6512 (SELINUX_MAGIC): Likewise.
6513 (SMACK_MAGIC): Likewise.
6514 (SOCKFS_MAGIC): Likewise.
6515 (SQUASHFS_MAGIC): Likewise.
6516 (STACK_END_MAGIC): Likewise.
6517 (TMPFS_MAGIC): Likewise.
6518 (USBDEVICE_SUPER_MAGIC): Likewise.
6519 (V9FS_MAGIC): Likewise.
6520 (XENFS_SUPER_MAGIC): Likewise.
6521 (CRAMFS_MAGIC): Fix typo in comment.
6522 (EXT2_SUPER_MAGIC): Update comment.
6523 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6525 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6527 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6528 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6529 * sysdeps/unix/sysv/linux/arm: Move directory from
6530 ports/sysdeps/unix/sysv/linux/arm.
6531 * README: Update listing for arm-*-linux-gnueabi.
6533 * README: Remove mention of am33.
6535 2014-02-07 Roland McGrath <roland@hack.frob.com>
6537 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6538 than the comma operator, to avoid "rhs of comma has no effect"
6540 (__sigfillset, __sigandset, __sigorset): Likewise.
6541 * include/signal.h (__sigemptyset): Likewise.
6542 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6544 2014-02-07 Allan McRae <allan@archlinux.org>
6546 * version.h (RELEASE): Set to "development".
6547 (VERSION): Set to "2.19.90"
6548 * NEWS: Add 2.20 section.
6550 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6553 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6555 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6557 * manual/contrib.texi: Update entry for Carlos O'Donell,
6558 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6560 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6562 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6564 * sysdeps/unix/sysv/linux/kernel-features.h
6565 [__LINUX_KERNEL_VERSION >= 0x020621]
6566 (__ASSUME_PROC_PID_TASK_COMM): Define.
6568 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6571 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6572 conversion when destination buffer does not have enough space.
6573 * libio/tst-ftell-partial-wide.c: New test case.
6574 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6576 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6577 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6578 Leonard and Allan McRae.
6580 2014-02-04 David S. Miller <davem@davemloft.net>
6582 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6585 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6614 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6617 * shlib-versions: Likewise.
6619 2014-02-04 Roland McGrath <roland@hack.frob.com>
6620 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6622 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6623 (abilist-pattern): New variable, set to %-le.abilist.
6625 * Makerules (abilist-pattern): New variable.
6626 (vpath): Use $(abilist-pattern) in place of %.abilist.
6627 (check-abi-% pattern rule): Likewise.
6628 (check-abi, update-abi): Likewise.
6630 2014-02-04 Eric Wong <normalperson@yhbt.net>
6632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6634 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6636 * manual/startup.texi: Add next, previous, and top entries for
6637 the `Program Arguments' and `Environment Variables' nodes.
6639 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6641 * manual/macros.texi: Add comments before MTASC-safety macros.
6643 * manual/users.texi: Document MTASC-safety properties.
6645 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6646 (pthread_getspecific, pthread_setspecific): Format with
6647 @deftypefun, and add @safety note.
6648 * manual/signal.texi: Move comments that analyze the above
6649 functions to their home place.
6651 2014-02-03 Allan McRae <allan@archlinux.org>
6653 * po/sl.po: Update Slovenian translation from translation project.
6655 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6657 * manual/time.texi (timegm): Add missing blank after @c.
6658 Reported by Joseph Myers <joseph@codesourcery.com>.
6660 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6662 * manual/check-safety.sh: New.
6663 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6665 * manual/terminal.texi: Document MTASC-safety properties.
6667 * manual/filesys.texi: Document MTASC-safety properties.
6669 * manual/errno.texi: Document MTASC-safety properties.
6671 * manual/intro.texi: Document safety identifiers and
6674 * manual/string.texi (wcstok): Fix prototype.
6675 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6677 * manual/time.texi: Document MTASC-safety properties.
6679 * manual/string.texi: Document MTASC-safety properties.
6681 * manual/threads.texi: Document MTASC-safety properties.
6683 * manual/stdio.texi: Document MTASC-safety properties.
6685 * manual/syslog.texi: Document MTASC-safety properties.
6687 * manual/sysinfo.texi: Document MTASC-safety properties.
6689 * manual/startup.texi: Document MTASC-safety properties.
6691 * manual/socket.texi: Document MTASC-safety properties.
6693 * manual/signal.texi: Document MTASC-safety properties.
6695 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6697 * manual/setjmp.texi: Document MTASC-safety properties.
6699 * manual/search.texi: Document MTASC-safety properties.
6701 * manual/resource.texi: Document MTASC-safety properties.
6703 * manual/process.texi: Document MTASC-safety properties.
6705 * manual/platform.texi: Document MTASC-safety properties.
6707 * manual/pipe.texi: Document MTASC-safety properties.
6709 * manual/pattern.texi: Document MTASC-safety properties.
6711 * manual/message.texi: Document MTASC-safety properties.
6714 * manual/memory.texi: Document MTASC-safety properties.
6716 * manual/math.texi: Document MTASC-safety properties.
6718 * manual/locale.texi: Document MTASC-safety properties.
6720 * manual/llio.texi: Document MTASC-safety properties.
6722 * manual/libdl.texi: New.
6724 * manual/lang.texi: Document MTASC-safety properties.
6726 * manual/job.texi: Document MTASC-safety properties.
6728 * manual/getopt.texi: Document MTASC-safety properties.
6730 * manual/ctype.texi: Document MTASC-safety properties.
6732 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6735 * csu/libc-tls.c (static_map): Remove variable.
6736 (__libc_setup_tls): Use main executable's link map for TLS data.
6737 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6738 casing for LM_ID_BASE and GL(dl_nns).
6739 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6740 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6741 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6742 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6743 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6745 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6748 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6750 * manual/debug.texi: Document MTASC-safety properties.
6752 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6755 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6756 of __x86_64__ when disabling x87 inline functions.
6758 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6760 * manual/charset.texi: Document MTASC-safety properties.
6762 * manual/crypt.texi: Document MTASC-safety properties.
6764 * manual/conf.texi: Document MTASC-safety properties.
6766 * manual/arith.texi: Document MTASC-safety properties.
6768 * manual/argp.texi: Document MTASC-safety properties.
6770 * manual/macros.texi: Introduce macros to document multi
6771 thread, asynchronous signal and asynchronous cancellation
6773 * manual/intro.texi: Introduce the properties themselves.
6775 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6777 * sysdeps/sh/sh4/Makefile: New file.
6779 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6781 * math/gen-libm-test.pl ($srcdir): New variable.
6782 ($auto_input): Use it.
6784 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6787 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6788 access beyond array bounds when parsing netgroups file.
6790 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6791 the old buffer before realloc.
6793 2014-01-27 Allan McRae <allan@archlinux.org>
6795 * po/fr.po: Update French translation from translation project.
6797 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6799 * sysdeps/sh/libm-test-ulps: Regenerate.
6801 2014-01-24 David S. Miller <davem@davemloft.net>
6803 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6805 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6807 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6808 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6810 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6813 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6814 string pointers after reallocation.
6816 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6818 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6819 __SH4A__ instead of __SH_FPU_ANY__.
6821 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6823 * sysdeps/sh/fpu_control.h: New file.
6824 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6825 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6826 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6827 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6828 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6829 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6830 * sysdeps/sh/sys/ucontext.h: Remove.
6831 * sysdeps/sh/sys: Remove directory.
6833 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6835 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6836 s390/sys/ucontext.h.
6837 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6838 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6840 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6843 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6845 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6849 Adjust the vDSO correctly for internal calls.
6850 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6852 2014-01-20 Allan McRae <allan@archlinux.org>
6854 * po/ca.po: Update Catalan translation from translation project.
6856 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6858 * sysdeps/s390/sotruss-lib.c: New file.
6860 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6863 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6864 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6865 local calls issues by not having a PLT stub required for IFUNC calls.
6866 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6868 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6870 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6871 * math/test-fpucw-static.c: Likewise.
6873 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6876 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6878 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6880 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6881 implementation for powerpc.
6883 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6886 * sysdeps/posix/system.c (__libc_system): Do not enable
6887 asynchronous cancellation.
6889 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6892 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6893 handling only for numbers special also in the IEEE case.
6895 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6897 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6899 2014-01-11 Allan McRae <allan@archlinux.org>
6901 * po/bg.po: Update Bulgarian translation from translation project.
6903 * po/de.po: Update German translation from translation project.
6905 2014-01-10 Roland McGrath <roland@hack.frob.com>
6907 * sysdeps/generic/gcc-compat.h: New file.
6909 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6911 * benchtests/asin-inputs: Correct slow inputs.
6912 * benchtests/acos-inputs: Likewise.
6914 2014-01-10 Allan McRae <allan@archlinux.org>
6916 * po:sv.po: Update Swedish translation from translation project.
6918 * po/vi.po: Update Vietnamese translation from translation project.
6920 * po/eo.po: Update Esperanto translation from translation project.
6922 * po/cs.po: Update Czech translation from translation project.
6924 * po/nl.po: Update Dutch translation from translation project.
6926 * po/pl.po: Update Polish translation from translation project.
6928 * po/ru.po: Update Russian translation from translation project.
6930 * po/uk.po: Update Ukrainian translation from translation project.
6932 2014-01-08 Brooks Moses <bmoses@google.com>
6934 * elf/dl-load.c: Fix comment typo.
6936 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6938 * po/header.pot: Rename to...
6939 * po/pot.header: ... this.
6940 * po/Makefile: Use pot.header.
6942 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6943 Maxim Kuvyrkov <maxim@kugelworks.com>
6946 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6947 SRC and DEST against LEN.
6949 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6952 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6954 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6956 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6960 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6963 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6964 for large positive arguments.
6966 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6968 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6970 * math/auto-libm-test-in: Mark various tests with
6971 xfail-rounding:ldbl-128ibm.
6972 * math/auto-libm-test-out: Regenerated.
6975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6976 Increase overflow threshold.
6978 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6981 * stdio-common/vfprintf.c: Check for integer overflow.
6983 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6985 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6986 the first argument and return value of __tls_get_addr_internal.
6988 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6990 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6991 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6993 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6995 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6996 * sysdeps/s390/rtld-global-offsets.sym: New file.
6997 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6999 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7000 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7001 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7003 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7004 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7011 halfs of GPRs for high_gprs contexts.
7012 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7013 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7015 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7017 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7019 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7020 for high GPRs (uc_high_gprs) and for future extensions
7022 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7023 for future extensions (__reserved).
7024 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7026 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7027 SC_HIGHGPRS offset definition.
7028 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7029 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7031 * Versions.def: Add GLIBC_2.19 for libpthread.
7032 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7033 siglongjmp for libpthread with GLIBC_2.19 symver.
7034 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7035 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7036 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7037 * sysdeps/s390/__longjmp.c: New file.
7038 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7039 * sysdeps/s390/longjmp.c: New file.
7040 * sysdeps/s390/setjmp.S: New file.
7041 * sysdeps/s390/sigjmp.S: New file.
7042 * sysdeps/s390/v1-longjmp.c: New file.
7043 * sysdeps/s390/v1-setjmp.h: New file.
7044 * sysdeps/s390/v1-sigjmp.c: New file.
7045 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7046 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7048 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7049 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7050 versioned symbols for ____longjmp_chk.
7051 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7061 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7062 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7063 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7064 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7065 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7066 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7067 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7068 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7069 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7070 * sysdeps/s390/rtld-__longjmp.c: New file.
7071 * sysdeps/s390/rtld-setjmp.S: New file.
7073 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7076 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7077 Return -__logl (x) for small positive arguments without evaluating
7080 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7082 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7084 (__ptrace_peeksiginfo_args): ... this.
7085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7087 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7089 2014-01-06 Allan McRae <allan@archlinux.org>
7091 * inet/netinet/in.h: Fix typo in comment.
7093 2014-01-05 Andreas Jaeger <aj@suse.de>
7095 * sysdeps/i386/fpu/libm-test-ulps: Update.
7097 2014-01-05 Allan McRae <allan@archlinux.org>
7099 * po/libc.pot: Regenerated.
7101 * malloc/memusagestat.c: Fix gettext call formatting.
7103 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7105 * nscd/nscd.c: Improve usage() output.
7107 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7109 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7110 * sysdeps/unix/sysv/linux/configure: Regenerated.
7111 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7112 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7114 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7117 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7118 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7120 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7122 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7123 extra tokens at end of #undef directive.
7124 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7125 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7126 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7128 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7130 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7132 * math/auto-libm-test-in: Mark various tests with
7133 xfail-rounding:ldbl-128ibm.
7134 * math/auto-libm-test-out: Regenerated.
7136 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7140 numbers with subnormal high part when calculating exponent.
7143 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7149 (__ieee754_acoshl): Use __log1pl not __log1p.
7151 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7153 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7154 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7155 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7156 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7157 (reused_arena, arena_get2): Convert to GNU style.
7158 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7159 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7160 (memalign_check, __malloc_set_state): Likewise.
7161 * malloc/mallocbug.c (main): Likewise.
7162 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7163 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7164 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7165 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7166 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7167 (__posix_memalign, malloc_info): Likewise.
7168 * malloc/malloc.h: Likewise.
7169 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7170 (mallochook, memalignhook, reallochook, mabort): Likewise.
7171 * malloc/mcheck.h: Likewise.
7172 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7173 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7174 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7175 * malloc/morecore.c (__default_morecore): Likewise.
7176 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7177 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7178 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7179 (print_and_abort): Likewise.
7180 * malloc/obstack.h: Likewise.
7181 * malloc/set-freeres.c (__libc_freeres): Likewise.
7182 * malloc/tst-mallocstate.c (main): Likewise.
7183 * malloc/tst-mtrace.c (main): Likewise.
7184 * malloc/tst-realloc.c (do_test): Likewise.
7186 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7189 * nscd/netgroupcache.c (do_notfound): New function.
7190 (addgetnetgrentX): Use it.
7193 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7194 NSS_STATUS_NOTFOUND.
7196 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7198 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7201 2014-01-01 Allan McRae <allan@archlinux.org>
7203 * scripts/update-copyrights: Update configure input file suffix.
7205 * NEWS: Update copyright year.
7206 * catgets/gencat.c: Likewise.
7207 * csu/version.c: Likewise.
7208 * debug/catchsegv.sh: Likewise.
7209 * debug/pcprofiledump.c: Likewise.
7210 * debug/xtrace.sh: Likewise.
7211 * elf/ldconfig.c: Likewise.
7212 * elf/ldd.bash.in: Likewise.
7213 * elf/pldd.c: Likewise.
7214 * elf/sotruss.ksh: Likewise.
7215 * elf/sprof.c: Likewise.
7216 * iconv/iconv_prog.c: Likewise.
7217 * iconv/iconvconfig.c: Likewise.
7218 * locale/programs/locale.c: Likewise.
7219 * locale/programs/localedef.c: Likewise.
7220 * login/programs/pt_chown.c: Likewise.
7221 * malloc/memusage.sh: Likewise.
7222 * malloc/memusagestat.c: Likewise.
7223 * malloc/mtrace.pl: Likewise.
7224 * manual/libc.texinfo: Likewise.
7225 * nscd/nscd.c: Likewise.
7226 * nss/getent.c: Likewise.
7227 * nss/makedb.c: Likewise.
7228 * posix/getconf.c: Likewise.
7229 * scripts/test-installation.pl: Likewise.
7231 * All files with FSF copyright notices: Update copyright dates
7232 using scripts/update-copyrights.
7233 * intl/plural.c: Regenerated.
7234 * locale/programs/charmap-kw.h: Likewise.
7235 * locale/programs/locfile-kw.h: Likewise.
7237 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7239 * sysdeps/unix/sysv/linux/configure: Regenerated.
7240 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7241 the linux/fanotify.h header.
7242 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7243 HAVE_LINUX_FANOTIFY_H is defined.
7245 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7247 * benchtests/cos-inputs: New inputs.
7248 * benchtests/sin-inputs: Likewise.
7250 * benchtests/atan-inputs: New inputs. Fix name of multiple
7251 precision fallback inputs.
7253 * benchtests/atanh-inputs: New inputs.
7254 * benchtests/tanh-inputs: Likewise.
7256 * benchtests/acosh-inputs: New inputs.
7257 * benchtests/asinh-inputs: Likewise.
7259 * benchtests/cosh-inputs: New inputs.
7260 * benchtests/sinh-inputs: Likewise.
7262 * benchtests/acos-inputs: Add more inputs.
7263 * benchtests/asin-inputs: Likewise.
7265 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7268 * manual/arith.texi: Fix spelling.
7269 * manual/charset.texi: Likewise.
7270 * manual/errno.texi: Likewise.
7271 * manual/filesys.texi: Likewise.
7272 * manual/lang.texi: Likewise.
7273 * manual/llio.texi: Likewise.
7274 * manual/locale.texi: Likewise.
7275 * manual/message.texi: Likewise.
7276 * manual/resource.texi: Likewise.
7277 * manual/search.texi: Likewise.
7278 * manual/setjmp.texi: Likewise.
7279 * manual/stdio.texi: Likewise.
7280 * manual/string.texi: Likewise.
7281 * manual/sysinfo.texi: Likewise.
7282 * manual/time.texi: Likewise.
7284 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7286 * po/sl.po: New file.
7288 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7290 * .gitignore: Add core/.gdbinit/.gdb_history.
7292 2013-12-27 Allan McRae <allan@archlinux.org>
7295 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7296 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7298 2013-12-24 Brooks Moses <bmoses@google.com>
7300 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7301 all compilers that claim C++98 compliance, not just GCC.
7302 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7305 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7307 * NEWS: Restore accidentally deleted bug-fix entries.
7309 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7310 Ondřej Bílka <neleai@seznam.cz>
7313 * malloc/malloc.c (_int_free): Perform sanity check only if we
7316 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7319 * manual/stdio.texi (String Input Conversions): Clarify that character
7320 classes are not supported.
7322 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7326 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7329 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7330 Calculate results for small negative arguments directly rather
7331 than using reflection formula with special underflow handling.
7333 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7334 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7335 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7336 (fchflags): Likewise.
7338 (setlogin): Likewise.
7339 (sigaltstack): Likewise.
7342 (sigsetmask): Likewise.
7344 (waitpid): Likewise.
7345 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7346 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7348 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7349 * sysdeps/unix/bsd/Makefile: ... here.
7350 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7351 * sysdeps/unix/bsd/Versions: ... here.
7352 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7353 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7354 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7355 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7356 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7357 * sysdeps/unix/bsd/sigblock.c: ... here.
7358 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7359 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7360 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7361 * sysdeps/unix/bsd/sigvec.c: ... here.
7362 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7363 * sysdeps/unix/bsd/tcdrain.c: ... here.
7364 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7365 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7366 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7367 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7368 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7369 * sysdeps/unix/bsd/wait.c: ... here.
7370 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7371 * sysdeps/unix/bsd/wait3.c: ... here.
7372 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7373 * sysdeps/unix/bsd/waitpid.c: ... here.
7375 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7378 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7379 round-to-nearest for [!USE_AS_EXPM1L].
7380 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7381 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7382 more tests of exp and exp10. Expect some exp10 tests to miss
7383 exceptions or fail in directed rounding modes.
7384 * math/auto-libm-test-out: Regenerated.
7385 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7386 (exp10_test_tonearest): New function.
7387 (exp10_towardzero_test_data): New array.
7388 (exp10_test_towardzero): New function.
7389 (exp10_downward_test_data): New array.
7390 (exp10_test_downward): New function.
7391 (exp10_upward_test_data): New array.
7392 (exp10_test_upward): New function.
7393 (main): Call the new functions.
7394 * sysdeps/i386/fpu/libm-test-ulps: Update.
7395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7397 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7399 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7400 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7401 * math/auto-libm-test-out: Regenerated.
7402 * math/libm-test.inc (acosh_test_data): Add more tests.
7403 (atanh_test_data): Likewise.
7404 (ceil_test_data): Likewise.
7405 (copysign_test_data): Likewise.
7406 * sysdeps/i386/fpu/libm-test-ulps: Update.
7407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7409 * timezone/checktab.awk: Update from tzcode 2013i.
7410 * timezone/private.h: Likewise.
7411 * timezone/scheck.c: Likewise.
7412 * timezone/tzfile.h: Likewise.
7413 * timezone/tzselect.ksh: Likewise.
7414 * timezone/zdump.c: Likewise.
7415 * timezone/zic.c: Likewise.
7417 * math/auto-libm-test-in: Add tests of cpow.
7418 * math/auto-libm-test-out: Regenerated.
7419 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7420 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7422 (func_calc_desc): Add mpc_cc_c union field.
7423 (test_functions): Add cpow.
7424 (special_fill_2pi): New function.
7425 (special_real_inputs): Add 2pi.
7426 (calc_generic_results): Handle mpc_cc_c.
7427 * sysdeps/i386/fpu/libm-test-ulps: Update.
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7430 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7431 csqrt, ctan and ctanh.
7432 * math/auto-libm-test-out: Regenerated.
7433 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7434 (TEST_COND_x86): Likewise.
7435 (ccos_test_data): Use AUTO_TESTS_c_c.
7436 (ccosh_test_data): Likewise.
7437 (cexp_test_data): Likewise.
7438 (clog_test_data): Likewise.
7439 (csqrt_test_data): Likewise.
7440 (ctan_test_data): Likewise.
7441 (ctan_tonearest_test_data): Likewise.
7442 (ctan_towardzero_test_data): Likewise.
7443 (ctan_downward_test_data): Likewise.
7444 (ctan_upward_test_data): Likewise.
7445 (ctanh_test_data): Likewise.
7446 (ctanh_tonearest_test_data): Likewise.
7447 (ctanh_towardzero_test_data): Likewise.
7448 (ctanh_downward_test_data): Likewise.
7449 (ctanh_upward_test_data): Likewise.
7450 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7452 (func_calc_desc): Add mpc_c_c union field.
7453 (FUNC_mpc_c_c): New macro.
7454 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7455 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7457 (special_fill_min_subnorm_p120): New function.
7458 (special_real_inputs): Add min_subnorm_p120.
7459 (calc_generic_results): Handle mpc_c_c.
7460 * sysdeps/i386/fpu/libm-test-ulps: Update.
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7463 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7465 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7466 (do_sin_slow): New functions.
7467 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7468 (cslow2, csloww1, csloww2): Use the new functions.
7470 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7471 Use M to change sign of result instead of X. Assume X is
7473 (csloww1): Likewise.
7477 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7484 (sloww1): Don't adjust sign of DX.
7485 (csloww1): Likewise.
7486 (sloww2): Use X directly and don't adjust sign of DX.
7487 (csloww2): Likewise.
7489 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7491 * math/auto-libm-test-in: Add tests of cabs and carg.
7492 * math/auto-libm-test-out: Regenerated.
7493 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7494 (carg_test_data): Likewise.
7495 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7497 (func_calc_desc): Add mpc_c_f union field.
7498 (test_functions): Add cabs and carg.
7499 (calc_generic_results): Handle mpc_c_f.
7501 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7502 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7503 as a macro and a compat symbol.
7504 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7505 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7506 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7507 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7508 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7509 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7511 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7513 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7515 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7517 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7519 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7521 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7522 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7525 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7529 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7531 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7532 trailing whitespace removed.
7533 * scripts/config.guess: Update to version 2013-11-29.
7534 * scripts/config.sub: Update to version 2013-10-01.
7536 * math/auto-libm-test-in: Add tests of sincos.
7537 * math/auto-libm-test-out: Regenerated.
7538 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7539 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7541 (func_calc_desc): Add mpfr_f_11 union field.
7542 (test_functions): Add sincos.
7543 (calc_generic_results): Handle mpfr_f_11.
7544 * sysdeps/i386/fpu/libm-test-ulps: Update.
7545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7547 2013-12-19 Andreas Schwab <schwab@suse.de>
7549 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7552 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7553 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7555 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7557 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7558 * sysdeps/i386/fpu/libm-test-ulps: Update.
7559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7562 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7563 round-to-nearest mode when using frndint.
7564 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7565 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7566 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7568 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7570 * math/auto-libm-test-out: Regenerated.
7571 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7572 (TEST_COND_x86): Likewise.
7573 (expm1_tonearest_test_data): New array.
7574 (expm1_test_tonearest): New function.
7575 (expm1_towardzero_test_data): New array.
7576 (expm1_test_towardzero): New function.
7577 (expm1_downward_test_data): New array.
7578 (expm1_test_downward): New function.
7579 (expm1_upward_test_data): New array.
7580 (expm1_test_upward): New function.
7581 (main): Run the new test functions.
7582 * sysdeps/i386/fpu/libm-test-ulps: Update.
7583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585 * include/features.h: Update comment documenting feature test
7586 macros. Mention _DEFAULT_SOURCE in comment.
7587 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7588 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7589 _BSD_SOURCE and _SVID_SOURCE.
7590 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7591 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7592 !_SVID_SOURCE]: Likewise.
7593 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7594 (__USE_POSIX_IMPLICITLY): Define.
7595 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7596 (_POSIX_SOURCE): Undefine and redefine.
7597 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7598 (_POSIX_C_SOURCE): Likewise.
7599 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7600 (Feature Test Macros): Update documentation of default features.
7602 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7604 * benchtests/Makefile: Add bench-strtok.
7605 * benchtests/bench-strtok.c: New file: strtok benchtest.
7607 2013-12-19 Allan McRae <allan@archlinux.org>
7609 * manual/install.texi: Suppress menu for plain text output.
7610 * INSTALL: Regenerated.
7612 2013-12-18 Brooks Moses <bmoses@google.com>
7615 * misc/getauxval.c: Include errno.h.
7616 (__getauxval): Set errno to ENOENT if the requested type is not
7618 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7619 don't declare with __attribute_const__.
7620 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7621 * manual/startup.texi: Document that getauxval sets errno.
7623 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7625 * math/auto-libm-test-in: Add tests of jn and yn.
7626 * math/auto-libm-test-out: Regenerated.
7627 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7628 (yn_test_data): Likewise.
7629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7631 (func_calc_desc): Add mpfr_if_f union field.
7632 (FUNC_mpfr_if_f): New macro.
7633 (test_functions): Add jn and yn.
7634 (calc_generic_results): Assert type of second input for
7635 mpfr_ff_f. Handle mpfr_if_f.
7636 (output_for_one_input_case): Disable all checking for arguments
7637 fitting floating-point types in case of an integer argument.
7638 * sysdeps/i386/fpu/libm-test-ulps: Update.
7639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7642 Don't expect fegetround reference in libm.so.
7644 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7646 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7647 $(config-cflags-nofma).
7649 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7651 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7652 * math/auto-libm-test-out: Regenerated.
7655 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7656 to determine exponent and adjust argument to have exponent of -1.
7657 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7659 * math/auto-libm-test-out: Regenerated.
7660 * sysdeps/i386/fpu/libm-test-ulps: Update.
7661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7663 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7665 * manual/probes.texi: Remove cases when per-thread arenas are
7668 2013-12-18 Andreas Schwab <schwab@suse.de>
7670 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7671 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7672 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7673 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7674 * sysdeps/i386/i686/multiarch/Makefile: Update.
7675 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7677 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7679 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7680 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7682 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7685 Support TZ transition times < 00:00:00.
7686 This is needed for version-3 tz-format files; it supports time
7687 stamps past 2037 for America/Godthab (the only entry in the tz
7688 database for which this change is relevant).
7689 * manual/time.texi (TZ Variable): Document transition times
7690 from -167:59:59 through -00:00:01.
7691 * time/tzset.c (tz_rule): Time of day is now signed.
7692 (__tzset_parse_tz): Parse negative time of day.
7694 Document TZ transition times >= 25:00:00.
7695 * manual/time.texi (TZ Variable): Document transition times from
7696 25:00:00 through 167:59:59. These are already supported, and this
7697 support will help with version-3 tz-format files.
7699 * manual/time.texi (TZ Variable): Modernize North America example
7700 to reflect current (i.e., 2007-and-later) daylight saving rules.
7702 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7704 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7706 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7707 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7710 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7711 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7712 * sysdeps/unix/bsd/clock.c: Likewise.
7713 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7714 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7715 * sysdeps/unix/bsd/init-posix.c: Likewise.
7716 * sysdeps/unix/bsd/poll.c: Likewise.
7717 * sysdeps/unix/bsd/ptsname.c: Likewise.
7718 * sysdeps/unix/bsd/seekdir.c: Likewise.
7719 * sysdeps/unix/bsd/setegid.c: Likewise.
7720 * sysdeps/unix/bsd/seteuid.c: Likewise.
7721 * sysdeps/unix/bsd/setgid.c: Likewise.
7722 * sysdeps/unix/bsd/setrgid.c: Likewise.
7723 * sysdeps/unix/bsd/setruid.c: Likewise.
7724 * sysdeps/unix/bsd/setsid.c: Likewise.
7725 * sysdeps/unix/bsd/setuid.c: Likewise.
7726 * sysdeps/unix/bsd/sigaction.c: Likewise.
7727 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7728 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7729 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7730 * sysdeps/unix/bsd/telldir.c: Likewise.
7731 * sysdeps/unix/bsd/times.c: Likewise.
7732 * sysdeps/unix/bsd/usleep.c: Likewise.
7734 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7735 ($(objpfx)libbsd-compat.a): Remove rule.
7737 * include/features.h (__FAVOR_BSD): Do not define.
7738 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7739 features conflicting with POSIX.
7740 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7741 (_BSD_SOURCE): Remove description of not being a subset of other
7742 feature test macros.
7743 * manual/job.texi (getpgrp): Do not document BSD version.
7744 (getpgid): Do not document by reference to BSD getpgrp.
7745 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7746 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7747 * signal/signal.h [__FAVOR_BSD]: Likewise.
7748 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7749 instead of making contents conditional on [__FAVOR_BSD].
7750 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7752 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7756 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7759 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7760 values below 2**-450, not 2**-500.
7761 * math/auto-libm-test-in: Don't allow spurious underflow from
7763 * math/auto-libm-test-out: Regenerated.
7767 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7768 values of ha and hb and sort them after adjusting subnormal
7770 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7772 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7773 values of ea and eb and sort them after adjusting subnormal
7775 * math/auto-libm-test-in: Do not expect some hypot tests of
7776 subnormals to fail. Add more hypot tests.
7777 * math/auto-libm-test-out: Regenerated.
7779 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7782 * sysdeps/sh/s_fma.c: New file.
7783 * sysdeps/sh/s_fmaf.c: New file.
7784 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7786 * sysdeps/sh/Implies: Add sh/soft-fp.
7788 2013-12-16 Roland McGrath <roland@hack.frob.com>
7790 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7791 level of indirection to members `objname', `errstring', `malloced'.
7792 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7793 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7794 it as the __longjmp argument (just pass 1 instead).
7795 (_dl_catch_error): Initialize C with argument pointers and address of
7796 volatile local ERRCODE rather than copying values out of C at return.
7798 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7800 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7801 * math/auto-libm-test-out: Regenerated.
7802 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7803 (hypot_test_data): Likewise.
7804 (pow_test_data): Likewise.
7805 (pow_tonearest_test_data): Likewise.
7806 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7808 (func_calc_desc): Add mpfr_ff_f union field.
7809 (FUNC_mpfr_ff_f): New macro.
7810 (test_functions): Add atan2, hypot and pow.
7811 (special_fill_min): New function.
7812 (special_fill_minus_min): Likewise.
7813 (special_fill_min_subnorm): Likewise.
7814 (special_fill_minus_min_subnorm): Likewise.
7815 (special_real_inputs): Add min, -min, min_subnorm and
7817 (calc_generic_results): Handle mpfr_ff_f.
7818 * sysdeps/i386/fpu/libm-test-ulps: Update.
7819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7821 2013-12-16 Will Newton <will.newton@linaro.org>
7823 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7824 (Aligned Memory Blocks): Add documentation for aligned_alloc
7825 and suggest it as an alternative to posix_memalign.
7826 (Hooks for Malloc): Document __memalign_hook is also called
7827 for aligned_alloc. (Summary of Malloc): Add summary for
7828 aligned alloc. Document __memalign_hook is also called
7831 2013-12-16 Will Newton <will.newton@linaro.org>
7833 * manual/memory.texi (Malloc Examples): Clarify default
7834 alignment documentation. Suggest posix_memalign rather
7835 than memalign or valloc.
7836 (Aligned Memory Blocks): Remove suggestion to use memalign
7837 or valloc. Remove obsolete comment about BSD.
7838 Document memalign errno values and mark the function obsolete.
7839 Document posix_memalign returned error codes. Mark valloc
7840 as obsolete. (Hooks for Malloc): __memalign_hook is also
7841 called for posix_memalign and valloc.
7842 (Summary of Malloc): Add posix_memalign to function summary.
7843 __memalign_hook is also called for posix_memalign and valloc.
7845 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7847 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7851 (sloww): Use mynumber union. Expand ternary operator into
7853 (cslow): use mynumber union.
7855 2013-12-16 Allan McRae <allan@archlinux.org>
7857 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7858 * configure: Regenerated.
7860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7863 * configure.ac: Added --enable-maintainer-mode. Check for
7864 autoconf when enabled.
7865 * configure: Regenerated.
7867 * nscd/nscd.service: New file.
7868 * nscd/nscd.tmpfiles: New file.
7870 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7873 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7874 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7875 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7876 (strstr): Add __strstr_sse2_unaligned ifunc.
7877 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7878 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7879 (strcasestr): Remove __strcasestr_sse42 ifunc.
7880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7884 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7886 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7887 * sysdeps/sh/bits/fenv.h: ... here.
7888 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7890 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7895 hypotf multiarch implementations.
7896 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7898 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7899 multiarch hypot for PPC64.
7900 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7902 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7903 multiarch hypotf for PPC64.
7905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7906 modff multiarch implementations.
7907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7910 multiarch modf for PPC64.
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7914 multiarch modff for PPC64.
7916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7917 and logl multiarch implementations.
7918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7921 multiarch logb for PPC64.
7922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7925 multiarch logb for PPC64.
7926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7929 multiarch logb for PPC64.
7931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7932 isinff multiarch implementation.
7933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7937 multiarch isinf for PPC64.
7938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7941 multiarch isinff for PPC64.
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7944 finitef multiarch implementation.
7945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7949 multiarch finite for PPC64.
7950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7953 multiarch finitef for PPC64.
7955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7956 lrint multiarch implementation.
7957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7961 multiarch llrint for PPC64.
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7963 multiarch lrint for PPC64.
7965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7966 copysignf multiarch implementation.
7967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7972 multiarch copysign for PPC64.
7973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7974 multiarch copysignf for PPC64.
7976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7977 multiarch implementation.
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7986 multiarch llround for PPC64.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7988 multiarch trunc for PPC64.
7989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7990 multiarch truncf for PPC64.
7992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7993 multiarch implementation.
7994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8002 multiarch llround for PPC64.
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8004 multiarch round for PPC64.
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8006 multiarch roundf for PPC64.
8008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8009 multiarch implementation.
8010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8018 multiarch llround for PPC64.
8019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8020 multiarch floor for PPC64.
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8022 multiarch floorf for PPC64.
8024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8025 multiarch implementation.
8026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8034 multiarch llround for PPC64.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8036 multiarch ceil for PPC64.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8038 multiarch ceilf for PPC64.
8040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8041 multiarch implementation.
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8049 multiarch llround for PPC64.
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8051 multiarch lround for PPC64.
8053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8054 multiarch implementation.
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8062 multiarch isnan for PPC64.
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8064 multiarch isnanf for PPC64.
8066 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8067 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8068 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8069 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8070 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8073 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8074 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8079 multiarch implementations.
8080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8081 (__libc_ifunc_impl_list): Likewise.
8082 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8083 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8084 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8085 multiarch stpcpy for PPC64.
8087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8088 multiarch implementations.
8089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8090 (__libc_ifunc_impl_list): Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8093 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8094 multiarch strcpy for PPC64.
8096 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8097 redefine function name.
8098 (_wordcopy_fwd_dest_aligned): Likewise.
8099 (_wordcopy_bwd_aligned): Likewise.
8100 (_wordcopy_bwd_dest_aligned): Likewise.
8101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8102 multiarch implementations.
8103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8104 (__libc_ifunc_impl_list): Likewise.
8105 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8106 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8107 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8108 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8109 multiarch wcscpy for PPC64.
8111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8112 multiarch implementations.
8113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8114 (__libc_ifunc_impl_list): Likewise.
8115 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8116 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8117 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8118 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8119 multiarch wcscpy for PPC64.
8121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8122 multiarch implementations.
8123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8124 (__libc_ifunc_impl_list): Likewise.
8125 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8126 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8127 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8128 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8129 multiarch wcsrchr for PPC64.
8131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8132 multiarch implementations.
8133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8134 (__libc_ifunc_impl_list): Likewise.
8135 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8136 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8137 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8138 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8139 multiarch wcschr for PPC64.
8141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8142 multiarch implementations.
8143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8144 (__libc_ifunc_impl_list): Likewise.
8145 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8146 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8147 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8148 multiarch strchrnul for PPC64.
8150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8153 (__libc_ifunc_impl_list): Likewise.
8154 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8155 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8156 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8157 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8163 (__libc_ifunc_impl_list): Likewise.
8164 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8165 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8166 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8167 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8171 multiarch implementations.
8172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8173 (__libc_ifunc_impl_list): Likewise.
8174 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8175 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8176 strncasecmp for PPC64.
8177 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8178 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8179 multiarch strncasecmp_l for PPC64.
8181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8182 multiarch implementations.
8183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8184 (__libc_ifunc_impl_list): Likewise.
8185 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8186 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8187 multiarch strcasecmp for PPC64.
8188 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8190 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8191 multiarch strcasecmp_l for PPC64.
8193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8196 (__libc_ifunc_impl_list): Likewise.
8197 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8198 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8199 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8205 (__libc_ifunc_impl_list): Likewise.
8206 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8207 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8208 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8214 (__libc_ifunc_impl_list): Likewise.
8215 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8216 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8217 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8218 rawmemrchr for PPC64.
8220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8223 (__libc_ifunc_impl_list): Likewise.
8224 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8225 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8226 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8232 (__libc_ifunc_impl_list): Likewise.
8233 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8234 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8235 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8241 (__libc_ifunc_impl_list): Likewise.
8242 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8243 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8244 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8247 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8248 avoid cretion of __bzero symbol.
8249 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8251 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8253 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8256 multiarch implementations.
8257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8258 (__libc_ifunc_impl_list): Likewise.
8259 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8260 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8261 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8262 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8264 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8265 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8266 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8267 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8268 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8270 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8272 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8276 (__libc_ifunc_impl_list): Likewise.
8277 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8278 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8279 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8280 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8284 multiarch for POWER/PPC64.
8285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8286 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8287 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8288 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8289 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8290 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8291 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8293 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8296 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8297 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8298 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8299 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8300 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8301 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8302 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8303 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8304 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8305 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8306 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8307 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8308 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8309 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8310 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8319 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8321 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8323 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8325 * benchtests/Makefile (bench): Add exp2 and log2.
8326 (LDLIBS-bench-exp2): Add -lm.
8327 (LDLIBS-bench-log2): Likewise.
8328 * benchtests/exp2-inputs: New inputs file.
8329 * benchtests/log2-inputs: New inputs file.
8330 * benchtests/log-inputs: Add new inputs.
8331 * benchtests/tan-inputs: Likewise.
8333 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8335 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8337 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8338 (csloww2): ... from here.
8340 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8341 instead of structures.
8342 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8343 (POLYNOMIAL): Likewise.
8344 (TAYLOR_SLOW): Likewise.
8352 (bsloww1): Likewise.
8353 (bsloww2): Likewise.
8356 (csloww1): Likewise.
8357 (csloww2): Likewise.
8359 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8361 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8362 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8363 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8364 * malloc/hooks.c (realloc_check): Likewise.
8366 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8367 * malloc/arena.c: Remove PER_THREAD conditional.
8368 [!PER_THREAD]: Remove code.
8369 (ptmalloc_unlock_all2): Likewise.
8370 (ptmalloc_init): Likewise.
8371 (_int_new_arena): Likewise.
8372 (arena_get2): Likewise.
8373 * malloc/hooks.c (__malloc_get_state): Likewise.
8374 (__malloc_set_state): Likewise.
8375 * malloc/malloc.c: Likewise.
8376 (struct malloc_state): Likewise.
8377 (struct malloc_par): Likewise.
8378 (__libc_realloc): Likewise.
8379 (__libc_mallopt): Likewise.
8381 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8383 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8385 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8387 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8388 macro to a function. Check for zero perturb_byte.
8389 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8391 * malloc/malloc.c: (force_reg): Remove.
8392 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8393 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8394 force_reg by atomic_forced_read.
8395 * malloc/arena.c (ptmalloc_init): Likewise.
8396 * malloc/hooks.c (top_check): Likewise.
8398 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8402 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8406 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8408 * math/auto-libm-test-in: Add tests of lgamma.
8409 * math/auto-libm-test-out: Regenerated.
8410 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8411 (M_LOG_2_SQRT_PIl): Likewise.
8412 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8413 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8415 (func_calc_desc): Add mpfr_f_f1 union field.
8424 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8425 (test_functions): Add lgamma.
8426 (calc_generic_results): Handle mpfr_f_f1.
8427 * sysdeps/i386/fpu/libm-test-ulps: Update.
8428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8430 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8432 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8433 __mpn_add_n for PowerPC64/POWER7.
8434 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8435 __mpn_sub_n for PowerPC64/POWER7.
8437 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8438 __mpn_addmul_1 for PowerPC64.
8439 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8440 __mpn_submul_1 for PowerPC64.
8441 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8443 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8446 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8449 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8451 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8453 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8455 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8456 add multiarch folders.
8457 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8458 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8459 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8460 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8461 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8462 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8463 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8464 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8465 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8466 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8467 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8476 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8482 multiarch __ieee754_hypot for PowerPC32.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8488 multiarch __ieee754_hypotf for PowerPC32.
8490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8491 long_double_symbol only if __logbl is defined.
8492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8493 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8495 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8497 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8499 path for implementation.
8500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8503 logb, and logbl multiarch implementations for PowerPC32.
8504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8509 multiarch logb for PowerPC32.
8510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8515 multiarch logbf for PowerPC32.
8516 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8520 multiarch logbl implementation for PowerPC32.
8522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8523 and modff multiarch implementations.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8529 multiarch modf for PowerPC32.
8530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8535 multiarch modff for PowerPC32.
8537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8538 and lrintf multiarch implementations.
8539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8544 multiarch lrint for PowerPC32.
8545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8546 file: multiarch lrintf for PowerPC32.
8548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8549 and lroundf multiarch implementations.
8550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8557 multiarch lround for PowerPC32.
8558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8559 file: multiarch lroundf for PowerPC32.
8561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8562 copysign and copysignf multiarch implementations.
8563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8568 file: multiarch copysign for PowerPC32.
8569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8570 file: multiarch copysignf for PowerPC32.
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8573 and truncf multiarch implementations.
8574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8579 multiarch trunc for PowerPC32.
8580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8585 multiarch truncf for PowerPC32.
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8588 and roundf multiarch implementations.
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8594 multiarch round for PowerPC32.
8595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8600 multiarch roundf for PowerPC32.
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8603 and floorf multiarch implementations.
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8609 multiarch floor for PowerPC32.
8610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8615 multiarch floorf for PowerPC32.
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8618 and ceilf multiarch implementations.
8619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8624 multiarch ceil for PowerPC32.
8625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8630 multiarch ceilf for PowerPC32.
8632 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8634 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8637 and finitef multiarch implementations.
8638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8643 multiarch finite for PowerPC32.
8644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8647 file: multiarch finitef for PowerPC32.
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8650 and isinff multiarch implementations.
8651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8656 multiarch isinf for PowerPC32.
8657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8660 multiarch isinff for PowerPC32.
8662 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8663 alias when __isnan is defined.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8665 and isnanf multiarch implementations.
8666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8675 multiarch isnan for PowerPC32.
8676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8681 multiarch isnanf for PowerPC32.
8683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8684 and sqrtf multiarch implementations.
8685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8690 multiarch sqrt for PowerPC32.
8691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8696 multiarch sqrtf for PowerPC32.
8698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8699 and llroundf multiarch implementations.
8700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8707 file: multiarch llround for PowerPC32.
8708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8709 file: multiarch llroundf for PowerPC32.
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8712 multiarch PowerPC32 fpu implementations.
8713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8718 multiarch llrint for PowerPC32.
8719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8728 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8730 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8732 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8734 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8735 multiarch wordcopy for PPC32.
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8739 (__libc_ifunc_impl_list): Likewise.
8740 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8741 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8742 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8743 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8744 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8745 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8747 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8755 multiarch wcscpy for PPC32.
8756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8759 (__libc_ifunc_impl_list): Likewise.
8760 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8761 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8762 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8763 sysdeps/powerpc/power6/wcscpy.c.
8765 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8773 multiarch wcsrchr for PPC32.
8774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8777 (__libc_ifunc_impl_list): Likewise.
8778 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8779 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8780 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8781 sysdeps/powerpc/power6/wcsrchr.c.
8783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8789 multiarch wcschr for PPc32.
8790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8793 (__libc_ifunc_impl_list): Likewise.
8794 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8795 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8796 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8797 sysdeps/powerpc/power6/wcschr.c.
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8800 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8803 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8804 file: multiarch strchr for PPC32.
8805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8808 (__libc_ifunc_impl_list): Likewise.
8810 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8812 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8814 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8817 multiarch strchrnul for PPC32.
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8821 (__libc_ifunc_impl_list): Likewise.
8823 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8825 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8826 multiarch strncasecmp for PPC32.
8827 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8829 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8830 multiarch strncasecmp_l for PPC32.
8831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8832 strncasecmp multiarch objects.
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8834 (__libc_ifunc_impl_list): Likewise.
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8839 multiarch strncasecmp for PPC32.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8843 multiarch strcasecmp_l for PPC32.
8844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8847 (__libc_ifunc_impl_list): Likewise.
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8854 multiarch strncmp for PPC32.
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8858 (__libc_ifunc_impl_list): Likewise.
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8861 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8863 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8868 (__libc_ifunc_impl_list): Likewise.
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8878 (__libc_ifunc_impl_list): Likewise.
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8885 multiarch rawmemchr for PPC32.
8886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8889 (__libc_ifunc_impl_list): Likewise.
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8896 file: memrchr multiarch for PPC32.
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8900 (__libc_ifunc_impl_list): Likewise.
8902 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8903 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8905 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8907 multiarch memchr for PPC32.
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8911 (__libc_ifunc_impl_list): Likewise.
8913 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8914 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8916 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8918 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8919 file: multiarch mempcpy for PPC32.
8920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8923 (__libc_ifunc_impl_list): Likewise.
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8926 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8928 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8929 multiarch bzero for PPC32.
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8932 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8935 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8936 file: multiarch memset for PPC32.
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8939 memset multiarch objects.
8940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8941 (__libc_ifunc_impl_list): Likewise.
8943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8948 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8952 (__libc_ifunc_impl_list): Likewise.
8954 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8962 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8963 multiarch memcpy for PPC32.
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8967 (__libc_ifunc_impl_list): Likewise.
8969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8970 support multiarch for POWER/PPC32.
8971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8973 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8975 Implies file to make multiarch folder appers before the fpu and
8976 default folder for power4 configuration.
8978 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8980 * scripts/bench.pl: Append volatile keyword to type.
8982 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8984 * sysdeps/sh/sotruss-lib.c: New file.
8985 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8987 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8991 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8994 * math/w_tgamma.c: Include <errno.h>.
8995 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8996 * math/w_tgammaf.c: Include <errno.h>.
8997 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8998 * math/w_tgammal.c: Include <errno.h>.
8999 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9000 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9001 underflow. Add more tgamma tests.
9002 * math/auto-libm-test-out: Regenerated.
9003 * sysdeps/i386/fpu/libm-test-ulps: Update.
9004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9006 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9007 sin, sinh, tan, tanh, tgamma, y0 and y1.
9008 * math/auto-libm-test-out: Regenerated.
9009 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9010 (TEST_COND_x86): Likewise.
9011 (M_E2l): Remove macro.
9013 (M_2_SQRT_PIl): Likewise.
9014 (M_SQRT_PIl): Likewise.
9015 (M_1_DIV_El): Likewise.
9016 (log_test_data): Use AUTO_TESTS_f_f.
9017 (log10_test_data): Likewise.
9018 (log1p_test_data): Likewise.
9019 (log2_test_data): Likewise.
9020 (sin_test_data): Likewise.
9021 (sin_tonearest_test_data): Likewise.
9022 (sin_towardzero_test_data): Likewise.
9023 (sin_downward_test_data): Likewise.
9024 (sin_upward_test_data): Likewise.
9025 (sinh_test_data): Likewise.
9026 (sinh_tonearest_test_data): Likewise.
9027 (sinh_towardzero_test_data): Likewise.
9028 (sinh_downward_test_data): Likewise.
9029 (sinh_upward_test_data): Likewise.
9030 (tan_test_data): Likewise.
9031 (tan_tonearest_test_data): Likewise.
9032 (tan_towardzero_test_data): Likewise.
9033 (tan_downward_test_data): Likewise.
9034 (tan_upward_test_data): Likewise.
9035 (tanh_test_data): Likewise.
9036 (tgamma_test_data): Likewise.
9037 (y0_test_data): Likewise.
9038 (y1_test_data): Likewise.
9039 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9040 (special_real_inputs): Add pi/4.
9041 * sysdeps/i386/fpu/libm-test-ulps: Update.
9042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9044 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9046 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9047 "longjmp_target" static probes.
9048 (__longjmp): Rename to __longjmp_symbol.
9049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9050 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9051 on which longjmp to generate.
9052 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9053 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9055 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9056 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9057 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9058 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9059 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9062 __longjmp_symbol based on which __longjmp to generate.
9063 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9065 (setjmp): Rename to setjmp_symbol.
9066 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9067 (_setjmp): Rename to _setjmp_symbol.
9068 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9069 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9070 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9071 which setjmp to generate.
9072 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9073 "longjmp_target" static probes.
9075 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9077 * benchtests/README: Add note about output arguments.
9078 * benchtests/bench-sincos.c: Remove file.
9079 * benchtests/sincos-inputs: New file.
9080 * scripts/bench.pl: Identify output arguments and define
9081 static variables for them.
9083 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9086 * Makefile (INSTALL): Add install-plain.texi as the primary
9088 * manual/install-plain.texi: New file.
9089 * manual/install.texi: Include node directive only for
9090 non-plaintext output.
9092 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9094 * stdlib/longlong.h: Update from GCC.
9098 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9099 * math/w_j0f.c (y0f): Likewise.
9100 * math/w_j0l.c (__y0l): Likewise.
9101 * math/w_j1.c (y1): Likewise.
9102 * math/w_j1f.c (y1f): Likewise.
9103 * math/w_j1l.c (__y1l): Likewise
9104 * math/w_jn.c (yn): Likewise.
9105 * math/w_jnf.c (ynf): Likewise.
9106 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9107 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9108 value for Bessel function domain errors outside _SVID_ mode.
9109 Adjust sign of return value for yn (negative integer, 0).
9110 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9111 by zero in return for negative x and set sign appropriately for
9113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9114 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9115 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9116 expectations in error cases.
9117 (y1_test_data): Likewise.
9118 (yn_test_data): Likewise.
9119 * sysdeps/i386/fpu/libm-test-ulps: Update.
9120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9122 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9124 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9125 "64" to "64-v1". Add "64-v2".
9126 (abi-64-options): Rename to ...
9127 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9128 (abi-64-condition): Rename to ...
9129 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9130 (abi-64-ld-soname): Rename to ...
9131 (abi-64-v1-ld-soname): ... this.
9132 (abi-64-v2-options): Define.
9133 (abi-64-v2-condition): Likewise.
9134 (abi-64-v2-ld-soname): Likewise.
9135 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9136 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9141 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9142 Alan Modra <amodra@gmail.com>
9144 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9145 New versions for use with the ELFv2 ABI.
9146 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9147 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9149 (struct La_ppc64v2_retval): Likewise.
9150 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9151 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9152 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9153 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9154 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9155 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9156 Do not save or restore CR.
9157 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9158 (_dl_profile_resolve): Do no save or restore CR. Support extended
9159 return values for ELFv2 ABI. Fix location of FPR return registers.
9160 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9161 updated values for _CALL_ELF == 2.
9162 (La_regs, La_retval, int_retval): Likewise.
9164 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9166 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9167 (FRAME_MIN_SIZE_PARM): Likewise.
9168 (FRAME_BACKCHAIN): Likewise.
9169 (FRAME_CR_SAVE): Likewise.
9170 (FRAME_LR_SAVE): Likewise.
9171 (FRAME_TOC_SAVE): Likewise.
9172 (FRAME_PARM_SAVE): Likewise.
9173 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9174 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9175 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9176 (call_mcount_parm_offset): New macro.
9177 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9178 (PROF): Use symbolic stack frame offsets.
9179 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9180 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9181 Redefine in terms of FRAME_MIN_SIZE.
9182 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9183 (_dl_profile_resolve): Likewise. Update comment.
9184 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9185 symbols stack frame offsets.
9186 (__sigsetjmp): Likewise.
9187 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9188 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9189 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9190 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9193 (FRAME_BACKCHAIN): Remove.
9194 (FRAME_CR_SAVE): Likewise.
9195 (FRAME_LR_SAVE): Likewise.
9196 (FRAME_COMPILER_DW): Likewise.
9197 (FRAME_LINKER_DW): Likewise.
9198 (FRAME_TOC_SAVE): Likewise.
9199 (FRAME_PARM_SAVE): Likewise.
9200 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9201 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9202 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9204 (CHECK_SP): Use symbolic stack frame offsets.
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9206 zone" instead of caller's parameter save area for temp storage.
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9208 Likewise. Also, use symbolic stack frame offsets.
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9210 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9211 our own stack frame instead of the caller's.
9212 (__socket): Use symbolic stack frame offsets.
9214 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9215 Alan Modra <amodra@gmail.com>
9217 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9219 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9220 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9221 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9223 (elf_machine_fixup_plt): Call it.
9224 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9226 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9227 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9228 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9229 r2 before calling target.
9231 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9232 Alan Modra <amodra@gmail.com>
9234 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9235 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9236 versions of macros to support ELFv2 ABI.
9237 (LOCALENTRY): New macro.
9238 (ENTRY, EALIGN): Use it.
9239 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9240 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9241 fall through into ENTRY entry point.
9242 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9243 Only define if _CALL_ELF != 2.
9245 (elf_machine_matches_host): Verify ABI version matches.
9246 (RTLD_START): Use LOCALENTRY.
9247 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9248 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9249 (PLT_ENTRY_WORDS): New macro.
9250 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9251 (elf_machine_runtime_setup): Support ELFv2 ABI.
9252 (elf_machine_fixup_plt): Likewise.
9253 (elf_machine_plt_conflict): Likewise.
9254 (resolve_ifunc): Likewise.
9255 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9259 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9261 (makecontext): Support ELFv2 ABI.
9262 * elf/elf.h (EF_PPC64_ABI): Define.
9264 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9266 * sysdeps/powerpc/powerpc64/sysdep.h
9267 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9268 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9269 (ENTRY) [ASSEMBLER]: ... but instead here ...
9270 (EALIGN) [ASSEMBLER]: ... and here.
9271 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9272 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9273 (ENTRY_2) [!ASSEMBLER]: Use it.
9274 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9275 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9276 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9277 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9278 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9280 Use PPC64_LOAD_FUNCPTR.
9282 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9284 2013-12-04 Alan Modra <amodra@gmail.com>
9286 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9287 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9288 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9289 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9291 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9292 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9293 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9294 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9295 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9296 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9298 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9301 (__makecontext): Fix incorrect CFI when backtracing out of
9302 context created via makecontext.
9303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9304 (__setcontext): Fix incorrect CFI during switch to new context.
9305 (__novec_setcontext): Likewise.
9307 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9310 * time/strptime_l.c (__strptime_internal): Allow modifiers
9312 * time/tst-strptime.c (day_tests): Add testcase.
9314 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9316 * scripts/bench.pl: Skip over blank lines.
9318 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9321 * manual/time.texi (Calendar Time): Clarify what timezone functions
9324 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9328 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9330 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9332 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9333 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9334 * debug/memset_chk.c (__memset_chk): Likewise.
9335 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9336 * debug/strncpy_chk.c: Likewise.
9338 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9342 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9343 (__ieee754_exp): For possibly underflowing results, check size of
9344 result and force underflow exception if required.
9345 * math/auto-libm-test-in: Add more tests of exp.
9346 * math/auto-libm-test-out: Regenerated.
9347 * sysdeps/i386/fpu/libm-test-ulps: Update.
9348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9351 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9352 * math/w_exp2f.c (__exp2f): Likewise.
9353 * math/w_exp2l.c (__exp2l): Likewise.
9354 * math/auto-libm-test-in: Do not allow missing errno on exp2
9356 * math/auto-libm-test-out: Regenerated.
9358 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9361 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9362 handle filename validation.
9363 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9366 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9369 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9370 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9371 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9373 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9374 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9375 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9377 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9379 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9380 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9381 Add more erfc tests.
9382 * math/auto-libm-test-out: Regenerated.
9383 * sysdeps/i386/fpu/libm-test-ulps: Update.
9384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9386 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9387 exp2, expm1, j0 and j1.
9388 * math/auto-libm-test-out: Regenerated.
9389 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9390 (erfc_test_data): Likewise.
9391 (exp_test_data): Likewise.
9392 (exp_tonearest_test_data): Likewise.
9393 (exp_towardzero_test_data): Likewise.
9394 (exp_downward_test_data): Likewise.
9395 (exp_upward_test_data): Likewise.
9396 (exp10_test_data): Likewise.
9397 (exp2_test_data): Likewise.
9398 (expm1_test_data): Likewise.
9399 (j0_test_data): Likewise.
9400 (j1_test_data): Likewise.
9401 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9402 (input_flag_type): Add flag_xfail_rounding.
9403 (input_flags): Add xfail-rounding.
9404 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9405 (output_for_one_input_case): Handle flag_xfail_rounding.
9406 * sysdeps/i386/fpu/libm-test-ulps: Update.
9407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9409 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9412 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9415 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9418 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9419 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9420 (STAP_PROBE0): New macro.
9421 (STAP_PROBE1): Likewise.
9422 (STAP_PROBE2): Likewise.
9423 (STAP_PROBE3): Likewise.
9424 (STAP_PROBE4): Likewise.
9426 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9428 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9430 2013-12-02 Steve Ellcey <sellcey@mips.com>
9432 * benchtests/Makefile (bench): Add sqrt.
9433 (LDLIBS-bench-sqrt): New.
9434 * benchtests/sqrt-input: New.
9436 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9438 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9439 (GAIH_EAI): Likewise.
9440 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9441 (gaih_inet): Likewise.
9442 (getaddrinfo): Don't use GAIH_EAI.
9444 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9445 (struct gaih): Remove definition.
9447 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9449 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9450 Use HERRNOP directly.
9452 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9456 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9458 * math/gen-auto-libm-tests.c (test_functions): Add more
9459 single-argument functions.
9460 (special_fill_pi_2): New function.
9461 (special_fill_minus_pi_2): Likewise.
9462 (special_fill_pi_6): Likewise.
9463 (special_fill_minus_pi_6): Likewise.
9464 (special_fill_pi_3): Likewise.
9465 (special_fill_2pi_3): Likewise.
9466 (special_fill_e): Likewise.
9467 (special_fill_1_e): Likewise.
9468 (special_fill_e_minus_1): Likewise.
9469 (special_real_inputs): Add more special inputs.
9470 (output_for_one_input_case): Do not require ERANGE on underflow to
9471 zero if round-to-nearest result does not underflow to zero, unless
9472 exact results required.
9473 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9474 atan, atanh, cbrt, cos and cosh.
9475 * math/auto-libm-test-out: Regenerated.
9476 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9477 (acos_tonearest_test_data): Likewise.
9478 (acos_towardzero_test_data): Likewise.
9479 (acos_downward_test_data): Likewise.
9480 (acos_upward_test_data): Likewise.
9481 (acosh_test_data): Likewise.
9482 (asin_test_data): Likewise.
9483 (asin_tonearest_test_data): Likewise.
9484 (asin_towardzero_test_data): Likewise.
9485 (asin_upward_test_data): Likewise.
9486 (asinh_test_data): Likewise.
9487 (atan_test_data): Likewise.
9488 (atanh_test_data): Likewise.
9489 (cbrt_test_data): Likewise.
9490 (cos_test_data): Likewise.
9491 (cos_tonearest_test_data): Likewise.
9492 (cos_towardzero_test_data): Likewise.
9493 (cos_downward_test_data): Likewise.
9494 (cos_upward_test_data): Likewise.
9495 (cosh_test_data): Likewise.
9496 (cosh_tonearest_test_data): Likewise.
9497 (cosh_towardzero_test_data): Likewise.
9498 (cosh_downward_test_data): Likewise.
9499 (cosh_upward_test_data): Likewise.
9500 * sysdeps/i386/fpu/libm-test-ulps: Update.
9501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9503 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9506 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9507 * math/w_exp10f.c (__exp10f): Likewise.
9508 * math/w_exp10l.c (__exp10l): Likewise.
9509 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9510 errno settings in existing tests.
9513 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9514 precision control set to double precision.
9515 * sysdeps/i386/fpu/w_sqrt.c: New file.
9516 * math/auto-libm-test-in: Add more tests.
9517 * math/auto-libm-test-out: Update.
9519 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9520 (sqrt_test_tonearest): New function.
9521 (sqrt_towardzero_test_data): New variable.
9522 (sqrt_test_towardzero): New function.
9523 (sqrt_downward_test_data): New variable.
9524 (sqrt_test_downward): New function.
9525 (sqrt_upward_test_data): New variable.
9526 (sqrt_test_upward): New function.
9527 (main): Call the new functions.
9529 * math/gen-auto-libm-tests.c: New file.
9530 * math/auto-libm-test-in: Likewise.
9531 * math/auto-libm-test-out: New generated file.
9532 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9534 (%beautify): Add generated representations of zero.
9535 (top level): Set $auto_input and call parse_auto_input.
9536 (beautify): Remove trailing "f" from hex float constants.
9537 (parse_args): Handle XFAIL_TEST.
9538 (convert_condition): New function.
9539 (or_value): Likewise.
9540 (or_cond_value): Likewise.
9541 (generate_testfile): Handle AUTO_TESTS_* lines.
9542 (parse_auto_input): New function.
9543 * math/libm-test.inc (XFAIL_TEST): New macro.
9544 (ERRNO_UNCHANGED): Update value.
9545 (ERRNO_EDOM): Likewise.
9546 (ERRNO_ERANGE): Likewise.
9547 (IGNORE_RESULT): Likewise.
9548 (TEST_COND_flt_32): New macro.
9549 (TEST_COND_dbl_64): Likewise.
9550 (TEST_COND_ldbl_96_intel): Likewise.
9551 (TEST_COND_ldbl_96_m68k): Likewise.
9552 (TEST_COND_ldbl_128): Likewise.
9553 (TEST_COND_ldbl_128ibm): Likewise.
9554 (TEST_COND_long32): Likewise.
9555 (TEST_COND_long64): Likewise.
9556 (TEST_COND_before_rounding): Likewise.
9557 (TEST_COND_after_rounding): Likewise.
9558 (enable_test): Handle XFAIL_TEST flag.
9559 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9560 with finite results.
9561 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9564 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9565 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9568 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9569 __tls_get_addr_internal instead of __tls_get_offset in order to
9570 avoid GOT pointer dependency. Make rtld export
9571 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9572 __tls_get_addr since we are a __tls_get_offset platform.
9573 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9574 GOT pointer being set up before.
9575 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9577 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9579 * manual/math.texi (Errors in Math Functions): Document accuracy
9583 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9584 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9587 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9589 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9600 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9601 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9602 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9603 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9604 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9606 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9608 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9610 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9611 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9612 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9613 atomic-feupdateenv and flt-rounds.
9614 * sysdeps/powerpc/nofpu/Versions (libc): Add
9615 __atomic_feholdexcept, __atomic_feclearexcept,
9616 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9618 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9619 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9620 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9625 * manual/arith.texi (FP Exceptions): Document that exceptions may
9626 not be raised when matherr is used.
9627 (Math Error Reporting): Document overflow in directed rounding
9628 modes. Document that errno may not be set when finite values are
9629 returned on overflow. Document intent to set errno on underflow
9630 only for underflow to zero.
9633 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9634 round-to-nearest then adjust result for other rounding modes.
9635 * include/fenv.h (fegetround): Use libm_hidden_proto.
9636 * math/fegetround.c (fegetround): Use libm_hidden_def.
9637 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9638 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9639 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9640 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9642 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9643 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9644 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9645 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9647 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9650 * nss/Versions (libnss_files): Add
9651 _nss_files_gethostbyname3_r.
9652 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9654 (HOST_DB_LOOKUP): Remove macro.
9655 (_nss_files_gethostbyname_r): Implement function without the
9656 HOST_DB_LOOKUP macro.
9657 (_nss_files_gethostbyname2_r): Likewise.
9659 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9661 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9663 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9665 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9666 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9669 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9671 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9672 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9673 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9674 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9675 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9676 __fe_nomask_env_priv and attribute_hidden.
9677 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9678 (libc_feupdateenv_test_ppc): Likewise.
9679 (libc_feresetround_ppc): Likewise.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9681 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9682 compat_symbol macro.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9684 (__fe_nomask_env): Likewise.
9685 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9687 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9689 * string/Makefile: Remove ifunc tests.
9690 * string/test-string.h: Define TEST_IFUNC.
9691 * string/test-bcopy-ifunc.c: Remove.
9692 * string/test-bzero-ifunc.c: Likewise.
9693 * string/test-memccpy-ifunc.c: Likewise.
9694 * string/test-memchr-ifunc.c: Likewise.
9695 * string/test-memcmp-ifunc.c: Likewise.
9696 * string/test-memcpy-ifunc.c: Likewise.
9697 * string/test-memmem-ifunc.c: Likewise.
9698 * string/test-memmove-ifunc.c: Likewise.
9699 * string/test-mempcpy-ifunc.c: Likewise.
9700 * string/test-memrchr-ifunc.c: Likewise.
9701 * string/test-memset-ifunc.c: Likewise.
9702 * string/test-rawmemchr-ifunc.c: Likewise.
9703 * string/test-stpcpy-ifunc.c: Likewise.
9704 * string/test-stpncpy-ifunc.c: Likewise.
9705 * string/test-strcasecmp-ifunc.c: Likewise.
9706 * string/test-strcasestr-ifunc.c: Likewise.
9707 * string/test-strcat-ifunc.c: Likewise.
9708 * string/test-strchr-ifunc.c: Likewise.
9709 * string/test-strchrnul-ifunc.c: Likewise.
9710 * string/test-strcmp-ifunc.c: Likewise.
9711 * string/test-strcpy-ifunc.c: Likewise.
9712 * string/test-strcspn-ifunc.c: Likewise.
9713 * string/test-strlen-ifunc.c: Likewise.
9714 * string/test-strncasecmp-ifunc.c: Likewise.
9715 * string/test-strncat-ifunc.c: Likewise.
9716 * string/test-strncmp-ifunc.c: Likewise.
9717 * string/test-strncpy-ifunc.c: Likewise.
9718 * string/test-strnlen-ifunc.c: Likewise.
9719 * string/test-strpbrk-ifunc.c: Likewise.
9720 * string/test-strrchr-ifunc.c: Likewise.
9721 * string/test-strspn-ifunc.c: Likewise.
9722 * string/test-strstr-ifunc.c: Likewise.
9724 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9726 * benchtests/Makefile: Remove ifunc tests.
9727 * benchtests/bench-string.h: Define TEST_IFUNC.
9728 * benchtests/bench-bcopy-ifunc.c: Remove.
9729 * benchtests/bench-bzero-ifunc.c: Likewise.
9730 * benchtests/bench-memccpy-ifunc.c: Likewise.
9731 * benchtests/bench-memchr-ifunc.c: Likewise.
9732 * benchtests/bench-memcmp-ifunc.c: Likewise.
9733 * benchtests/bench-memcpy-ifunc.c: Likewise.
9734 * benchtests/bench-memmem-ifunc.c: Likewise.
9735 * benchtests/bench-memmove-ifunc.c: Likewise.
9736 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9737 * benchtests/bench-memrchr-ifunc.c: Likewise.
9738 * benchtests/bench-memset-ifunc.c: Likewise.
9739 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9740 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9741 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9742 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9743 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9744 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9745 * benchtests/bench-strcat-ifunc.c: Likewise.
9746 * benchtests/bench-strchr-ifunc.c: Likewise.
9747 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9748 * benchtests/bench-strcmp-ifunc.c: Likewise.
9749 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9750 * benchtests/bench-strcpy-ifunc.c: Likewise.
9751 * benchtests/bench-strcspn-ifunc.c: Likewise.
9752 * benchtests/bench-strlen-ifunc.c: Likewise.
9753 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9754 * benchtests/bench-strncat-ifunc.c: Likewise.
9755 * benchtests/bench-strncmp-ifunc.c: Likewise.
9756 * benchtests/bench-strncpy-ifunc.c: Likewise.
9757 * benchtests/bench-strnlen-ifunc.c: Likewise.
9758 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9759 * benchtests/bench-strrchr-ifunc.c: Likewise.
9760 * benchtests/bench-strsep-ifunc.c: Likewise.
9761 * benchtests/bench-strspn-ifunc.c: Likewise.
9762 * benchtests/bench-strstr-ifunc.c: Likewise.
9764 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9766 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9768 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9770 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9771 * rt/aio.h: Likewise.
9772 * sysdeps/gnu/bits/utmp.h: Likewise.
9773 * sysdeps/gnu/bits/utmpx.h: Likewise.
9774 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9775 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9776 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9777 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9778 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9779 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9780 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9781 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9782 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9783 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9784 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9785 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9788 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9789 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9790 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9791 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9792 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9793 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9794 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9795 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9796 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9797 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9798 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9800 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9801 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9802 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9803 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9804 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9805 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9806 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9810 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9811 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9812 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9813 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9814 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9815 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9817 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9820 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9821 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9823 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9825 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9826 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9829 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9832 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9833 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9834 (__fesetround): Remove define.
9835 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9836 rounding and exceptions handling.
9837 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9838 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9839 (__fe_nomask_env): Likewise.
9840 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9841 __fegetround instead of fegetround.
9842 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9845 2013-11-21 Roland McGrath <roland@hack.frob.com>
9847 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9850 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9852 2013-11-21 Meador Inge <meadori@codesourcery.com>
9855 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9856 (encrypt_r): Likewise.
9857 * malloc/obstack.h (obstack_free): Likewise.
9858 * posix/unistd.h (encrypt): Likewise.
9860 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9862 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9863 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9864 DL_CALL_DT_FINI() that call the functions directly.
9865 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9866 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9867 * elf/dl-fini.c: Likewise.
9869 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9871 * malloc/hooks.c (memalign_check): Add alignment rounding.
9872 * malloc/malloc.c (_mid_memalign): New function.
9873 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9874 Implement by calling _mid_memalign.
9875 * manual/probes.texi (Memory Allocation Probes): Remove
9876 memory_valloc_retry and memory_pvalloc_retry.
9878 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9880 * locale/programs/locarchive.c (open_archive): Add const
9881 qualifier to ARCHIVEFNAME and copy default fname to
9885 * libio/tst-widetext.input: Rename Oriya to Odia.
9886 * locale/iso-639.def: Likewise.
9888 * manual/probes.texi (Mathematical Function Probes): Add
9889 documentation for sin, cos, asin and acos probes.
9890 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9891 (__sin32): Add slowasin probe.
9892 (__cos32): Add slowacos probe.
9893 (__mpsin): Add slowsin probe.
9894 (__mpcos): Add slowcos probe.
9896 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9899 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9900 thread-local __sim_exceptions_thread and global
9901 __sim_exceptions_global.
9902 (__sim_disabled_exceptions): Change to thread-local
9903 __sim_disabled_exceptions_thread and global
9904 __sim_disabled_exceptions_global.
9905 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9906 and global __sim_round_mode_global.
9907 (__simulate_exceptions): Use thread-local floating-point state and
9908 set global state from it as needed.
9909 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9910 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9911 __sim_round_mode_thread.
9912 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9913 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9914 and global __sim_exceptions_global.
9915 (__sim_disabled_exceptions): Change to thread-local
9916 __sim_disabled_exceptions_thread and global
9917 __sim_disabled_exceptions_global.
9918 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9919 and global __sim_round_mode_global.
9920 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9921 (SIM_SET_GLOBAL): Likewise.
9922 * sysdeps/powerpc/soft-fp/sfp-machine.h
9923 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9924 __sim_round_mode_thread.
9925 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9926 __sim_disabled_exceptions_thread.
9927 (__sim_exceptions): Change to __sim_exceptions_thread.
9928 (__sim_disabled_exceptions): Change to
9929 __sim_disabled_exceptions_thread.
9930 (__sim_round_mode): Change to __sim_round_mode_thread.
9931 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9932 thread-local floating-point state and set global state from it as
9934 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9935 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9936 (__sim_disabled_exceptions): Remove extern declaration.
9937 (feenableexcept): Use thread-local floating-point state and set
9938 global state from it as needed.
9939 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9941 (__sim_disabled_exceptions): Likewise.
9942 (__sim_round_mode): Likewise.
9943 (__fegetenv): Use thread-local floating-point state.
9944 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9945 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9946 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9947 floating-point state and set global state from it as needed.
9948 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9949 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9950 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9952 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9953 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9955 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9956 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9957 Use __sim_round_mode_thread.
9958 * math/test-fenv-tls.c: New file.
9959 * math/Makefile (tests): Add test-fenv-tls.
9960 ($(objpfx)test-fenv-tls): Depend on
9961 $(common-objpfx)nptl/libpthread.so.
9963 2013-11-19 Andreas Schwab <schwab@suse.de>
9965 * locale/programs/locale.c (show_info): Decode wordarray elements.
9966 * locale/categories.def (LC_MONETARY): Add element for
9967 _NL_MONETARY_CRNCYSTR.
9968 * locale/C-monetary.c (conversion_rate): New variable.
9969 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9972 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9974 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9975 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9977 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9979 * elf/Makefile (tst-auxv): New test.
9980 * elf/tst-auxv.c: New
9981 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9983 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9985 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9986 (hidden_proto): Caller changed.
9987 (hidden_tls_proto): New macro.
9988 (libc_hidden_tls_proto): Likewise.
9989 (rtld_hidden_tls_proto): Likewise.
9990 (libm_hidden_tls_proto): Likewise.
9991 (libresolv_hidden_tls_proto): Likewise.
9992 (librt_hidden_tls_proto): Likewise.
9993 (libdl_hidden_tls_proto): Likewise.
9994 (libnss_files_hidden_tls_proto): Likewise.
9995 (libnsl_hidden_tls_proto): Likewise.
9996 (libnss_nisplus_hidden_tls_proto): Likewise.
9997 (libutil_hidden_tls_proto): Likewise.
9999 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10002 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10003 (decompose_rpath): Defer expansion to fillin_rpath.
10004 (_dl_init_paths): Pass linkmap to fillin_rpath.
10006 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10008 * benchtests/Makefile: Add strsep.
10009 * benchtests/bench-strsep.c: New file: strsep benchtest.
10010 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10012 2013-11-18 Andreas Schwab <schwab@suse.de>
10014 * locale/programs/locale.c (show_info) [case byte]: Check for
10015 '\377' instead of '\177'.
10016 * locale/C-monetary.c (not_available): Always use "\377".
10017 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10018 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10019 detect unavailable sign_posn locale elements.
10020 * locale/localeconv.c (__localeconv): For grouping and
10021 mon_grouping handle "\177" and "\377" like no grouping.
10022 (INT_ELEM): New macro. Use it to set all numeric members.
10023 * locale/programs/ld-monetary.c (monetary_read)
10024 <tok_mon_grouping>: Normalize single -1 to the empty string.
10025 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10028 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10031 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10032 when we match (nil).
10033 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10035 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10037 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10038 (NO_TEST_INLINE): Update value.
10039 (ERRNO_UNCHANGED): Likewise.
10040 (ERRNO_EDOM): Likewise.
10041 (ERRNO_ERANGE): Likewise.
10042 (IGNORE_RESULT): Likewise.
10043 (check_float_internal): Check signs of NaN results if
10044 TEST_NAN_SIGN used.
10045 (check_complex): Pass TEST_NAN_SIGN flag through to second
10046 check_float_internal call.
10047 (copysign_test_data): Add tests with quiet NaNs as second
10048 argument. Use TEST_NAN_SIGN.
10049 (fabs_test_data): Add test of negative quiet NaN argument. Use
10051 (signbit_test_data): Add tests of quiet NaN argument.
10052 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10054 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10056 (parse_args): Handle function results specified as IGNORE.
10057 * math/libm-test.inc (IGNORE_RESULT): New macro.
10058 (check_float_internal): Do not check numerical result if flag
10060 (check_complex): Pass through IGNORE_RESULT to second
10061 check_float_internal call.
10062 (check_int): Do not check numerical result if flag IGNORE_RESULT
10064 (check_long): Likewise.
10065 (check_bool): Likewise.
10066 (check_longlong): Likewise.
10067 (lrint_test_data): Add tests of infinite and NaN arguments.
10068 (lrint_tonearest_test_data): Likewise.
10069 (lrint_towardzero_test_data): Likewise.
10070 (lrint_downward_test_data): Likewise.
10071 (lrint_upward_test_data): Likewise.
10072 (llrint_test_data): Likewise.
10073 (llrint_tonearest_test_data): Likewise.
10074 (llrint_towardzero_test_data): Likewise.
10075 (llrint_downward_test_data): Likewise.
10076 (llrint_upward_test_data): Likewise.
10077 (lround_test_data): Likewise.
10078 (llround_test_data): Likewise.
10080 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10081 (ERRNO_UNCHANGED): Update value.
10082 (ERRNO_EDOM): Likewise.
10083 (ERRNO_ERANGE): Likewise.
10084 (NO_TEST_INLINE_FLOAT): New macro.
10085 (NO_TEST_INLINE_DOUBLE): Likewise.
10086 (enable_test): New function.
10087 (RUN_TEST_f_f): Check enable_test before running test.
10088 (RUN_TEST_2_f): Likewise.
10089 (RUN_TEST_fff_f): Likewise.
10090 (RUN_TEST_c_f): Likewise.
10091 (RUN_TEST_f_f1): Likewise.
10092 (RUN_TEST_fF_f1): Likewise.
10093 (RUN_TEST_fI_f1): Likewise.
10094 (RUN_TEST_ffI_f1): Likewise.
10095 (RUN_TEST_c_c): Likewise.
10096 (RUN_TEST_cc_c): Likewise.
10097 (RUN_TEST_f_i): Likewise.
10098 (RUN_TEST_f_i_tg): Likewise.
10099 (RUN_TEST_ff_i_tg): Likewise.
10100 (RUN_TEST_f_b): Likewise.
10101 (RUN_TEST_f_b_tg): Likewise.
10102 (RUN_TEST_f_l): Likewise.
10103 (RUN_TEST_f_L): Likewise.
10104 (RUN_TEST_fFF_11): Likewise.
10105 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10107 (cosh_test_data): Likewise.
10108 (exp_test_data): Likewise.
10109 (expm1_test_data): Likewise.
10110 (hypot_test_data): Likewise.
10111 (pow_test_data): Likewise.
10112 (sinh_test_data): Likewise.
10113 (tanh_test_data): Likewise.
10114 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10117 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10118 tests with quiet NaN input and output.
10119 (acosh_test_data): Likewise.
10120 (asin_test_data): Likewise.
10121 (asinh_test_data): Likewise.
10122 (atan_test_data): Likewise.
10123 (atanh_test_data): Likewise.
10124 (atan2_test_data): Likewise.
10125 (cbrt_test_data): Likewise.
10126 (cos_test_data): Likewise.
10127 (cosh_test_data): Likewise.
10128 (erf_test_data): Likewise.
10129 (erfc_test_data): Likewise.
10130 (exp_test_data): Likewise.
10131 (exp10_test_data): Likewise.
10132 (exp2_test_data): Likewise.
10133 (expm1_test_data): Likewise.
10134 (hypot_test_data): Likewise.
10135 (j0_test_data): Likewise.
10136 (j1_test_data): Likewise.
10137 (jn_test_data): Likewise.
10138 (lgamma_test_data): Likewise.
10139 (log_test_data): Likewise.
10140 (log10_test_data): Likewise.
10141 (log1p_test_data): Likewise.
10142 (log2_test_data): Likewise.
10143 (pow_test_data): Likewise.
10144 (scalb_test_data): Likewise.
10145 (sin_test_data): Likewise.
10146 (sincos_test_data): Likewise.
10147 (sinh_test_data): Likewise.
10148 (tan_test_data): Likewise.
10149 (tanh_test_data): Likewise.
10150 (tgamma_test_data): Likewise.
10151 (y0_test_data): Likewise.
10152 (y1_test_data): Likewise.
10153 (yn_test_data): Likewise.
10156 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10157 argument being NaN and avoid computations with second argument in
10159 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10160 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10161 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10163 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10165 * locale/iso-639.def: Add Chitwani Tharu (the).
10167 2013-11-14 Andreas Schwab <schwab@suse.de>
10169 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10170 word instead of empty string.
10172 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10175 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10177 (__fe_nomask_env): Likewise.
10179 2013-11-13 Steve Ellcey <sellcey@mips.com>
10181 * benchtests/bench-timing.h: Include time.h.
10183 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10186 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10188 * sysdeps/unix/sysv/linux/configure: Regenerated.
10190 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10193 * stdlib/strtod_l.c (round_and_return): Do not consider
10194 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10195 exponent one less than half the least subnormal exponent.
10196 * stdlib/test-strtod-round-data: Add more tests.
10197 * stdlib/tst-strtod-round.c (tests): Regenerated.
10199 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10202 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10203 (__fe_mask_env): Likewise.
10204 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10205 libm_hidden_proto and add function prototype.
10206 (__fe_mask_env): Add function prototype.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10208 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10210 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10212 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10214 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10216 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10217 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10219 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10221 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10222 of htab_find_slot().
10224 2013-11-11 David S. Miller <davem@davemloft.net>
10227 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10228 symbol in the non-vis3 case in static builds.
10229 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10230 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10231 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10232 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10234 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10237 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10240 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10242 * benchtests/Makefile: Add bench-strtod.
10243 * benchtests/bench-strtod.c: New file: strtod benchtest
10245 2013-11-11 Andreas Schwab <schwab@suse.de>
10248 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10249 terminating NUL in key length.
10251 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10253 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10254 Add artificial ODP entry for vDSO symbol for PPC64.
10255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10256 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10258 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10261 * nss/getent.c (services_keys): Recognize services starting with digit.
10263 2013-11-06 David S. Miller <davem@davemloft.net>
10266 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10267 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10269 2013-11-06 Will Newton <will.newton@linaro.org>
10271 * manual/memory.texi (Malloc Examples): Remove register
10272 keyword from examples.
10274 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10276 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10278 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10281 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10282 depending on [__GCC_IEC_559 > 0].
10283 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10284 depending on [__GCC_IEC_559_COMPLEX > 0].
10286 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10288 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10291 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10293 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10295 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10298 * malloc/malloc (malloc_info): Do not handle first bin as
10301 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10303 * locale/iso-639.def: Add Central Nahuatl (nhn).
10305 2013-11-01 Bruno Haible <bruno@clisp.org>
10308 * manual/math.texi (BSD Random): Specify range upper bound as
10311 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10313 * locale/iso-639.def: Add Meadow Mari (mhr).
10315 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10317 [BZ #14752], [BZ #15763]
10318 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10320 * rt/tst_shm.c: Add test for escaping directory.
10322 2013-10-31 Andreas Schwab <schwab@suse.de>
10325 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10326 followed by 'x' as part of digit sequence.
10327 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10329 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10332 * configure.ac: allow GNU Make 4.0 and greater.
10333 * configure: Regenerated.
10335 2013-10-30 Will Newton <will.newton@linaro.org>
10338 * malloc/hooks.c (memalign_check): Limit alignment to the
10339 maximum representable power of two.
10340 * malloc/malloc.c (__libc_memalign): Likewise.
10341 * malloc/tst-memalign.c (do_test): Add test for very
10342 large alignment values.
10343 * malloc/tst-posix_memalign.c (do_test): Likewise.
10345 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10348 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10349 (munmap_chunk): Likewise.
10350 (mremap_chunk): Likewise.
10352 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10355 * stdlib/div.c (div): Remove obsolete code.
10356 * stdlib/ldiv.c (ldiv): Likewise.
10357 * stdlib/lldiv.c (lldiv): Likewise.
10359 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10362 * nss/nss_files/files-XXX.c (get_contents_ret): New
10364 (get_contents): New function.
10365 (internal_getent): Use it. Expand size of LINEBUFLEN.
10367 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10369 * configure.in: Moved to ...
10370 * configure.ac: ... here. Change reference to configure.in
10372 * sysdeps/arm/preconfigure.ac: ... here.
10373 configure.in to configure.ac.
10374 * sysdeps/gnu/configure.in: Moved to ...
10375 * sysdeps/gnu/configure.ac: ... here.
10376 * sysdeps/i386/configure.in: Moved to ...
10377 * sysdeps/i386/configure.ac: ... here.
10378 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10379 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10380 * sysdeps/mach/configure.in: Moved to ...
10381 * sysdeps/mach/configure.ac: ... here.
10382 * sysdeps/mach/hurd/configure.in: Moved to ...
10383 * sysdeps/mach/hurd/configure.ac: ... here.
10384 * sysdeps/powerpc/configure.in: Moved to ...
10385 * sysdeps/powerpc/configure.ac: ... here.
10386 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10387 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10388 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10389 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10390 * sysdeps/s390/s390-32/configure.in: Moved to ...
10391 * sysdeps/s390/s390-32/configure.ac: ... here.
10392 * sysdeps/s390/s390-64/configure.in: Moved to ...
10393 * sysdeps/s390/s390-64/configure.ac: ... here.
10394 * sysdeps/sh/configure.in: Moved to ...
10395 * sysdeps/sh/configure.ac: ... here.
10396 * sysdeps/sparc/configure.in: Moved to ...
10397 * sysdeps/sparc/configure.ac: ... here.
10398 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10399 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10400 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10401 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10402 * sysdeps/x86_64/configure.in: Moved to ...
10403 * sysdeps/x86_64/configure.ac: ... here.
10404 * sysdeps/x86_64/preconfigure.in: Moved to ...
10405 * sysdeps/x86_64/preconfigure.ac: ... here.
10406 * aclocal.m4: Change reference to configure.in to configure.ac.
10407 * config.h.in: Likewise.
10408 * manual/install.texi: Likewise.
10409 * manual/maint.texi: Likewise.
10410 * Makefile: Likewise.
10411 * malloc/Makefile: Likewise.
10412 * nscd/Makefile: Likewise.
10413 * Makeconfig: Change reference to configure.in and
10414 preconfigure.in to configure.ac and preconfigure.ac
10416 * INSTALL: Regenerated.
10417 * configure: Likewise.
10418 * sysdeps/gnu/configure: Likewise.
10419 * sysdeps/i386/configure: Likewise.
10420 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10421 * sysdeps/mach/configure: Likewise.
10422 * sysdeps/mach/hurd/configure: Likewise.
10423 * sysdeps/powerpc/configure: Likewise.
10424 * sysdeps/powerpc/powerpc32/configure: Likewise.
10425 * sysdeps/powerpc/powerpc64/configure: Likewise.
10426 * sysdeps/s390/s390-32/configure: Likewise.
10427 * sysdeps/s390/s390-64/configure: Likewise.
10428 * sysdeps/sh/configure: Likewise.
10429 * sysdeps/sparc/configure: Likewise.
10430 * sysdeps/unix/sysv/linux/configure: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10432 * sysdeps/x86_64/configure: Likewise.
10433 * sysdeps/x86_64/preconfigure: Likewise.
10435 2013-10-29 Andreas Schwab <schwab@suse.de>
10437 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10439 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10441 * benchtests/pow-inputs: Add new inputs.
10443 * benchtests/exp-inputs: Add new inputs.
10445 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10446 conditional check for return value.
10447 (__cos32): Likewise.
10449 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10452 to provide a boost for large inputs with word alignment.
10453 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10454 implementation based on optimized PPC64 strcpy.
10455 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10456 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10457 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10458 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10460 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10463 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10465 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10468 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10469 * time/tst-strptime.c (day_tests): Add testcase.
10471 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10474 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10476 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10479 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10480 MAP_FAILED on error.
10482 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10485 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10486 heap for large requests.
10488 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10491 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10492 result if the result has no associated interface.
10493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10494 interface for all 127.X.Y.Z addresses.
10496 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10498 * locale/iso-639.def: Add Ligurian (lij)
10500 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10503 * sunrpc/rpc_main.c: Document rpcgen -5.
10505 2013-10-19 Michael Stahl <mstahl@redhat.com>
10507 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10509 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10512 * posix/glob.c: Match only directories when trailing slash is present.
10513 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10514 (main): Add testcase.
10516 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10519 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10521 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10523 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10524 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10525 AUTH_DES and cindex for FIPS 140-2.
10526 (DES Encryption): Add cindex FIPS 46-3.
10528 * locale/locarchive.h (struct locarhandle): Add fname.
10529 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10530 if an optional argument was specified to --list-archive,
10532 * locale/programs/locarchive.c (show_archive_content): Take new
10533 argument fname and pass it via ah.fname to open_archive.
10534 * locale/programs/localedef.h: Update decl.
10535 (open_archive): If AH->fname is non-null, open that file
10536 rather than the default file name, and don't ignore ENOENT.
10537 (create_archive): Set AH.fname to NULL.
10538 (delete_locales_from_archive): Likewise.
10539 (add_locales_to_archive): Likewise.
10540 * locale/programs/locfile.c (write_all_categories): Likewise.
10542 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10543 Aldy Hernandez <aldyh@redhat.com>
10545 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10546 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10547 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10548 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10549 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10550 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10551 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10552 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10553 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10554 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10555 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10556 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10557 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10558 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10559 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10561 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10563 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10565 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10567 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10568 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10570 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10571 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10572 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10573 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10575 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10576 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10577 * sysdeps/powerpc/preconfigure: Likewise.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10580 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10581 Replace contents of file by #include of <fenv_libc.h>.
10582 * sysdeps/powerpc/soft-fp/sfp-machine.h
10583 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10585 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10598 Allow copysignl PLT reference to be missing.
10600 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10601 Joseph Myers <joseph@codesourcery.com
10604 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10606 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10608 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10610 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10611 * elf/tst-tls1.c: Likewise.
10612 * elf/tst-tls10.h: Likewise.
10613 * elf/tst-tls14.c: Likewise.
10614 * elf/tst-tls2.c: Likewise.
10615 * elf/tst-tls3.c: Likewise.
10616 * elf/tst-tls4.c: Likewise.
10617 * elf/tst-tls5.c: Likewise.
10618 * elf/tst-tls6.c: Likewise.
10619 * elf/tst-tls7.c: Likewise.
10620 * elf/tst-tls8.c: Likewise.
10621 * elf/tst-tls9.c: Likewise.
10622 * elf/tst-tlsmod1.c: Likewise.
10623 * elf/tst-tlsmod13.c: Likewise.
10624 * elf/tst-tlsmod13a.c: Likewise.
10625 * elf/tst-tlsmod14a.c: Likewise.
10626 * elf/tst-tlsmod16a.c: Likewise.
10627 * elf/tst-tlsmod16b.c: Likewise.
10628 * elf/tst-tlsmod2.c: Likewise.
10629 * elf/tst-tlsmod3.c: Likewise.
10630 * elf/tst-tlsmod4.c: Likewise.
10631 * elf/tst-tlsmod5.c: Likewise.
10632 * elf/tst-tlsmod6.c: Likewise.
10634 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10637 * malloc/malloc.c: remove checks for statistics.
10639 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10642 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10643 * inet/tst-network.c: Add testcase.
10645 2013-10-17 Andreas Schwab <schwab@suse.de>
10648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10649 to determine canonical name.
10651 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10653 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10654 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10677 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10678 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10683 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10712 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10715 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10716 make result into a quiet NaN.
10718 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10720 * soft-fp/adddf3.c: Fix horizontal whitespace.
10721 * soft-fp/addsf3.c: Likewise.
10722 * soft-fp/addtf3.c: Likewise.
10723 * soft-fp/divdf3.c: Likewise.
10724 * soft-fp/divsf3.c: Likewise.
10725 * soft-fp/divtf3.c: Likewise.
10726 * soft-fp/double.h: Likewise.
10727 * soft-fp/eqdf2.c: Likewise.
10728 * soft-fp/eqsf2.c: Likewise.
10729 * soft-fp/eqtf2.c: Likewise.
10730 * soft-fp/extenddftf2.c: Likewise.
10731 * soft-fp/extended.h: Likewise.
10732 * soft-fp/extendsfdf2.c: Likewise.
10733 * soft-fp/extendsftf2.c: Likewise.
10734 * soft-fp/extendxftf2.c: Likewise.
10735 * soft-fp/fixdfdi.c: Likewise.
10736 * soft-fp/fixdfsi.c: Likewise.
10737 * soft-fp/fixdfti.c: Likewise.
10738 * soft-fp/fixsfdi.c: Likewise.
10739 * soft-fp/fixsfsi.c: Likewise.
10740 * soft-fp/fixsfti.c: Likewise.
10741 * soft-fp/fixtfdi.c: Likewise.
10742 * soft-fp/fixtfsi.c: Likewise.
10743 * soft-fp/fixtfti.c: Likewise.
10744 * soft-fp/fixunsdfdi.c: Likewise.
10745 * soft-fp/fixunsdfsi.c: Likewise.
10746 * soft-fp/fixunsdfti.c: Likewise.
10747 * soft-fp/fixunssfdi.c: Likewise.
10748 * soft-fp/fixunssfsi.c: Likewise.
10749 * soft-fp/fixunssfti.c: Likewise.
10750 * soft-fp/fixunstfdi.c: Likewise.
10751 * soft-fp/fixunstfsi.c: Likewise.
10752 * soft-fp/fixunstfti.c: Likewise.
10753 * soft-fp/floatdidf.c: Likewise.
10754 * soft-fp/floatdisf.c: Likewise.
10755 * soft-fp/floatditf.c: Likewise.
10756 * soft-fp/floatsidf.c: Likewise.
10757 * soft-fp/floatsisf.c: Likewise.
10758 * soft-fp/floatsitf.c: Likewise.
10759 * soft-fp/floattidf.c: Likewise.
10760 * soft-fp/floattisf.c: Likewise.
10761 * soft-fp/floattitf.c: Likewise.
10762 * soft-fp/floatundidf.c: Likewise.
10763 * soft-fp/floatundisf.c: Likewise.
10764 * soft-fp/floatunditf.c: Likewise.
10765 * soft-fp/floatunsidf.c: Likewise.
10766 * soft-fp/floatunsisf.c: Likewise.
10767 * soft-fp/floatunsitf.c: Likewise.
10768 * soft-fp/floatuntidf.c: Likewise.
10769 * soft-fp/floatuntisf.c: Likewise.
10770 * soft-fp/floatuntitf.c: Likewise.
10771 * soft-fp/fmadf4.c: Likewise.
10772 * soft-fp/fmasf4.c: Likewise.
10773 * soft-fp/fmatf4.c: Likewise.
10774 * soft-fp/gedf2.c: Likewise.
10775 * soft-fp/gesf2.c: Likewise.
10776 * soft-fp/getf2.c: Likewise.
10777 * soft-fp/ledf2.c: Likewise.
10778 * soft-fp/lesf2.c: Likewise.
10779 * soft-fp/letf2.c: Likewise.
10780 * soft-fp/muldf3.c: Likewise.
10781 * soft-fp/mulsf3.c: Likewise.
10782 * soft-fp/multf3.c: Likewise.
10783 * soft-fp/negdf2.c: Likewise.
10784 * soft-fp/negsf2.c: Likewise.
10785 * soft-fp/negtf2.c: Likewise.
10786 * soft-fp/op-1.h: Likewise.
10787 * soft-fp/op-2.h: Likewise.
10788 * soft-fp/op-4.h: Likewise.
10789 * soft-fp/op-8.h: Likewise.
10790 * soft-fp/op-common.h: Likewise.
10791 * soft-fp/quad.h: Likewise.
10792 * soft-fp/single.h: Likewise.
10793 * soft-fp/soft-fp.h: Likewise.
10794 * soft-fp/sqrtdf2.c: Likewise.
10795 * soft-fp/sqrtsf2.c: Likewise.
10796 * soft-fp/sqrttf2.c: Likewise.
10797 * soft-fp/subdf3.c: Likewise.
10798 * soft-fp/subsf3.c: Likewise.
10799 * soft-fp/subtf3.c: Likewise.
10800 * soft-fp/truncdfsf2.c: Likewise.
10801 * soft-fp/trunctfdf2.c: Likewise.
10802 * soft-fp/trunctfsf2.c: Likewise.
10803 * soft-fp/trunctfxf2.c: Likewise.
10804 * soft-fp/unorddf2.c: Likewise.
10805 * soft-fp/unordsf2.c: Likewise.
10806 * soft-fp/unordtf2.c: Likewise.
10808 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10810 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10811 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10813 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10815 * elf/dl-libc.c: Clear initfini list after freeing.
10817 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10819 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10820 * soft-fp/addsf3.c: Likewise.
10821 * soft-fp/addtf3.c: Likewise.
10822 * soft-fp/divdf3.c: Likewise.
10823 * soft-fp/divsf3.c: Likewise.
10824 * soft-fp/divtf3.c: Likewise.
10825 * soft-fp/double.h: Likewise.
10826 * soft-fp/eqdf2.c: Likewise.
10827 * soft-fp/eqsf2.c: Likewise.
10828 * soft-fp/eqtf2.c: Likewise.
10829 * soft-fp/extenddftf2.c: Likewise.
10830 * soft-fp/extended.h: Likewise.
10831 * soft-fp/extendsfdf2.c: Likewise.
10832 * soft-fp/extendsftf2.c: Likewise.
10833 * soft-fp/extendxftf2.c: Likewise.
10834 * soft-fp/fixdfdi.c: Likewise.
10835 * soft-fp/fixdfsi.c: Likewise.
10836 * soft-fp/fixdfti.c: Likewise.
10837 * soft-fp/fixsfdi.c: Likewise.
10838 * soft-fp/fixsfsi.c: Likewise.
10839 * soft-fp/fixsfti.c: Likewise.
10840 * soft-fp/fixtfdi.c: Likewise.
10841 * soft-fp/fixtfsi.c: Likewise.
10842 * soft-fp/fixtfti.c: Likewise.
10843 * soft-fp/fixunsdfdi.c: Likewise.
10844 * soft-fp/fixunsdfsi.c: Likewise.
10845 * soft-fp/fixunsdfti.c: Likewise.
10846 * soft-fp/fixunssfdi.c: Likewise.
10847 * soft-fp/fixunssfsi.c: Likewise.
10848 * soft-fp/fixunssfti.c: Likewise.
10849 * soft-fp/fixunstfdi.c: Likewise.
10850 * soft-fp/fixunstfsi.c: Likewise.
10851 * soft-fp/fixunstfti.c: Likewise.
10852 * soft-fp/floatdidf.c: Likewise.
10853 * soft-fp/floatdisf.c: Likewise.
10854 * soft-fp/floatditf.c: Likewise.
10855 * soft-fp/floatsidf.c: Likewise.
10856 * soft-fp/floatsisf.c: Likewise.
10857 * soft-fp/floatsitf.c: Likewise.
10858 * soft-fp/floattidf.c: Likewise.
10859 * soft-fp/floattisf.c: Likewise.
10860 * soft-fp/floattitf.c: Likewise.
10861 * soft-fp/floatundidf.c: Likewise.
10862 * soft-fp/floatundisf.c: Likewise.
10863 * soft-fp/floatunsidf.c: Likewise.
10864 * soft-fp/floatunsisf.c: Likewise.
10865 * soft-fp/floatuntidf.c: Likewise.
10866 * soft-fp/floatuntisf.c: Likewise.
10867 * soft-fp/floatuntitf.c: Likewise.
10868 * soft-fp/fmadf4.c: Likewise.
10869 * soft-fp/fmasf4.c: Likewise.
10870 * soft-fp/fmatf4.c: Likewise.
10871 * soft-fp/gedf2.c: Likewise.
10872 * soft-fp/gesf2.c: Likewise.
10873 * soft-fp/getf2.c: Likewise.
10874 * soft-fp/ledf2.c: Likewise.
10875 * soft-fp/lesf2.c: Likewise.
10876 * soft-fp/letf2.c: Likewise.
10877 * soft-fp/muldf3.c: Likewise.
10878 * soft-fp/mulsf3.c: Likewise.
10879 * soft-fp/multf3.c: Likewise.
10880 * soft-fp/negdf2.c: Likewise.
10881 * soft-fp/negsf2.c: Likewise.
10882 * soft-fp/negtf2.c: Likewise.
10883 * soft-fp/op-1.h: Likewise.
10884 * soft-fp/op-2.h: Likewise.
10885 * soft-fp/op-4.h: Likewise.
10886 * soft-fp/op-8.h: Likewise.
10887 * soft-fp/op-common.h: Likewise.
10888 * soft-fp/quad.h: Likewise.
10889 * soft-fp/single.h: Likewise.
10890 * soft-fp/soft-fp.h: Likewise.
10891 * soft-fp/sqrtdf2.c: Likewise.
10892 * soft-fp/sqrtsf2.c: Likewise.
10893 * soft-fp/sqrttf2.c: Likewise.
10894 * soft-fp/subdf3.c: Likewise.
10895 * soft-fp/subsf3.c: Likewise.
10896 * soft-fp/subtf3.c: Likewise.
10897 * soft-fp/truncdfsf2.c: Likewise.
10898 * soft-fp/trunctfdf2.c: Likewise.
10899 * soft-fp/trunctfsf2.c: Likewise.
10900 * soft-fp/trunctfxf2.c: Likewise.
10901 * soft-fp/unorddf2.c: Likewise.
10902 * soft-fp/unordsf2.c: Likewise.
10903 * soft-fp/unordtf2.c: Likewise.
10905 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10908 * misc/error.c (error_tail): Fix possible buffer overflow.
10910 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10913 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10916 2013-10-14 P. J. McDermott <pj@pehjota.net>
10919 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10920 testing pipefail option.
10922 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10924 * soft-fp/double.h: Indent preprocessor directives inside #if.
10925 * soft-fp/extended.h: Likewise.
10926 * soft-fp/op-2.h: Likewise.
10927 * soft-fp/op-4.h: Likewise.
10928 * soft-fp/op-common.h: Likewise.
10929 * soft-fp/quad.h: Likewise.
10930 * soft-fp/single.h: Likewise.
10931 * soft-fp/soft-fp.h: Likewise.
10933 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10935 * iconv/iconv_prog.c: Fix typos.
10936 * stdio-common/psiginfo-data.h: Likewise.
10938 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10941 * locale/setlocale.c: Fix typo.
10943 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10946 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10947 signaling NaN arguments.
10948 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10949 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10952 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10953 unordered operands.
10954 * soft-fp/gesf2.c (__gesf2): Likewise.
10955 * soft-fp/getf2.c (__getf2): Likewise.
10956 * soft-fp/ledf2.c (__ledf2): Likewise.
10957 * soft-fp/lesf2.c (__lesf2): Likewise.
10958 * soft-fp/letf2.c (__letf2): Likewise.
10960 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10961 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10962 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10963 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10964 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10965 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10966 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10967 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10968 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10969 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10970 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10971 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10972 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10973 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10974 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10975 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10976 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10977 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10978 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10979 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10980 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10981 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10982 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10983 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10984 * soft-fp/floattidf.c (__floattidf): Likewise.
10985 * soft-fp/floattisf.c (__floattisf): Likewise.
10986 * soft-fp/floattitf.c (__floattitf): Likewise.
10987 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10988 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10989 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10990 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10991 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10992 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10993 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10994 * soft-fp/gesf2.c (__gesf2): Likewise.
10995 * soft-fp/getf2.c (__getf2): Likewise.
10996 * soft-fp/ledf2.c (__ledf2): Likewise.
10997 * soft-fp/lesf2.c (__lesf2): Likewise.
10998 * soft-fp/letf2.c (__letf2): Likewise.
11000 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11001 Undefine and redefine.
11002 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11003 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11004 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11005 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11006 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11007 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11008 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11009 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11010 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11011 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11012 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11013 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11014 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11015 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11016 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11019 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11020 without decrementing exponent if mantissa >= that for the
11021 denominator, not >.
11022 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11023 denominator, not >. Decrement exponent in < case instead of
11024 incrementing in >= case.
11025 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11026 without decrementing exponent if mantissa >= that for the
11027 denominator, not >.
11029 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11030 computing saturated result for unsigned overflow.
11032 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11033 Jeff Law <law@redhat.com>
11035 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11036 (atan2Mp): Add systemtap probe marker.
11037 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11038 (__ieee754_log): Add systemtap probe marker.
11039 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11040 (atanMp): Add systemtap probe marker.
11041 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11042 (tanMp): Add systemtap probe marker.
11043 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11044 (__slowexp): Add systemtap probe marker.
11045 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11046 (__slowpow): Add systemtap probe marker.
11047 * manual/probes.texi: Document probes.
11049 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11052 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11054 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11056 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11057 written to buffer but not flushed.
11058 * libio/iofwrite_u.c: Likewise.
11059 * libio/iopadn.c: Return bytes returned even if EOF was
11061 * libio/iowpadn.c: Likewise.
11062 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11063 if _IO_padn does not write the whole buffer.
11064 [!COMPILE_WPRINTF] (PAD): Likewise.
11066 2013-10-10 David S. Miller <davem@davemloft.net>
11068 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11071 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11073 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11074 instead of FSF address.
11075 * soft-fp/fixdfti.c: Likewise.
11076 * soft-fp/fixsfti.c: Likewise.
11077 * soft-fp/fixtfti.c: Likewise.
11078 * soft-fp/fixunsdfti.c: Likewise.
11079 * soft-fp/fixunssfti.c: Likewise.
11080 * soft-fp/fixunstfti.c: Likewise.
11081 * soft-fp/floattidf.c: Likewise.
11082 * soft-fp/floattisf.c: Likewise.
11083 * soft-fp/floattitf.c: Likewise.
11084 * soft-fp/floatuntidf.c: Likewise.
11085 * soft-fp/floatuntisf.c: Likewise.
11086 * soft-fp/floatuntitf.c: Likewise.
11087 * soft-fp/trunctfxf2.c: Likewise.
11089 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11090 * soft-fp/fixdfti.c: Likewise.
11091 * soft-fp/fixsfti.c: Likewise.
11092 * soft-fp/fixtfti.c: Likewise.
11093 * soft-fp/fixunsdfti.c: Likewise.
11094 * soft-fp/fixunssfti.c: Likewise.
11095 * soft-fp/fixunstfti.c: Likewise.
11096 * soft-fp/floattidf.c: Likewise.
11097 * soft-fp/floattisf.c: Likewise.
11098 * soft-fp/floattitf.c: Likewise.
11099 * soft-fp/floatuntidf.c: Likewise.
11100 * soft-fp/floatuntisf.c: Likewise.
11101 * soft-fp/floatuntitf.c: Likewise.
11102 * soft-fp/trunctfxf2.c: Likewise.
11104 2013-10-10 David S. Miller <davem@davemloft.net>
11106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11108 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11110 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11111 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11112 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11113 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11114 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11115 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11116 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11119 for NaNs before doing comparisons on argument.
11120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11123 2013-10-10 Will Newton <will.newton@linaro.org>
11125 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11126 passed to _int_memalign does not overflow.
11128 2013-10-10 Torvald Riegel <triegel@redhat.com>
11130 * scripts/bench.pl: Add include-sources directive.
11131 * benchtests/README: Update documentation.
11133 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11135 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11136 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11137 instead of FP_INIT_ROUNDMODE.
11138 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11139 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11142 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11143 copy class of input value.
11144 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11145 not handle exceptions.
11146 * soft-fp/negsf2.c (__negsf2): Likewise.
11147 * soft-fp/negtf2.c (__negtf2): Likewise.
11148 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11150 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11152 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11153 semicolon. From Linux kernel.
11155 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11157 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11159 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11162 * manual/socket.texi: Added statement about buffer
11163 for gethostbyname2_r.
11165 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11167 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11168 Use .p2align directive instead, throughout.
11169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11170 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11171 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11174 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11175 * sysdeps/x86_64/strchr.S: Likewise.
11176 * sysdeps/x86_64/strrchr.S: Likewise.
11178 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11180 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11182 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11184 * sysdeps/generic/math_private.h (__mpsin1): Remove
11186 (__mpcos1): Likewise.
11187 (__mpsin): New argument __range_reduce.
11188 (__mpcos): Likewise.
11189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11190 (slow): Use __mpsin and __mpcos.
11194 (sloww1): Likewise.
11195 (sloww2): Likewise.
11196 (bsloww): Likewise.
11197 (bsloww1): Likewise.
11198 (bsloww2): Likewise.
11199 (cslow2): Likewise.
11200 (csloww): Likewise.
11201 (csloww1): Likewise.
11202 (csloww2): Likewise.
11203 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11204 range_reduce. Merge in __mpsin1.
11205 (__mpcos): Likewise.
11206 (__mpsin1): Remove.
11207 (__mpcos1): Likewise.
11209 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11211 * locale/loadlocale.c (_nl_intern_locale_data): Use
11213 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11214 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11215 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11216 obstack data is appropriately aligned.
11217 (obstack_int32_grow_fast): Likewise.
11218 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11219 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11220 (add_locale_uint32_array): Likewise.
11222 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11224 * benchtests/Makefile: Remove ARGLIST and RET variables.
11225 ($(objpfx)bench-%.c): Pass only function name to the script.
11226 * benchtests/README: Update documentation.
11227 * benchtests/acos-inputs: Add new directives.
11228 * benchtests/acosh-inputs: Likewise.
11229 * benchtests/asin-inputs: Likewise.
11230 * benchtests/asinh-inputs: Likewise.
11231 * benchtests/atan-inputs: Likewise.
11232 * benchtests/atanh-inputs: Likewise.
11233 * benchtests/cos-inputs: Likewise.
11234 * benchtests/cosh-inputs: Likewise.
11235 * benchtests/exp-inputs: Likewise.
11236 * benchtests/log-inputs: Likewise.
11237 * benchtests/pow-inputs: Likewise.
11238 * benchtests/rint-inputs: Likewise.
11239 * benchtests/sin-inputs: Likewise.
11240 * benchtests/sinh-inputs: Likewise.
11241 * benchtests/tan-inputs: Likewise.
11242 * benchtests/tanh-inputs: Likewise.
11243 * scripts/bench.pl: Add support for new directives.
11245 2013-10-07 Alan Modra <amodra@gmail.com>
11247 * README: Fix careless merge.
11249 2013-10-05 Alan Modra <amodra@gmail.com>
11251 * NEWS: Mention powerpc64le support and bugs fixed.
11252 * README: Both big-endian and little-endian powerpc64 supported.
11254 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11256 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11257 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11258 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11259 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11261 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11263 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11266 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11268 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11269 Move -mhard-float appending from
11270 ports/sysdeps/powerpc/powerpc32/Makefile.
11271 [$(with-fp) = yes] (ASFLAGS): Likewise.
11272 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11273 * sysdeps/powerpc/nofpu: Move directory from
11274 ports/sysdeps/powerpc/nofpu.
11275 * sysdeps/powerpc/soft-fp: Move directory from
11276 ports/sysdeps/powerpc/soft-fp.
11277 * sysdeps/powerpc/powerpc32/405: Move directory from
11278 ports/sysdeps/powerpc/powerpc32/405.
11279 * sysdeps/powerpc/powerpc32/440: Move directory from
11280 ports/sysdeps/powerpc/powerpc32/440.
11281 * sysdeps/powerpc/powerpc32/464: Move directory from
11282 ports/sysdeps/powerpc/powerpc32/464.
11283 * sysdeps/powerpc/powerpc32/476: Move directory from
11284 ports/sysdeps/powerpc/powerpc32/476.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11286 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11288 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11290 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11292 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11294 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11295 * README: Update for powerpc-*-linux-gnu software floating point
11298 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11299 case to powerpc/powerpc32*.
11300 * sysdeps/unix/sysv/linux/configure: Regenerated.
11302 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11303 (_FPU_MASK_OM): Define as 0x04.
11304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11312 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11315 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11318 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11319 and setcontext_e500.
11321 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11323 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11325 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11327 * manual/threads.texi (Default Thread Attributes): Fix typo.
11329 2013-10-04 Will Newton <will.newton@linaro.org>
11331 * malloc/Makefile: Add tst-memalign.
11332 * malloc/tst-memalign.c: New file.
11334 * malloc/tst-posix_memalign.c: Add comments.
11335 (do_test): Add comments and call free on all potentially
11336 allocated pointers. Add space after cast.
11338 * malloc/tst-pvalloc.c: Add comments.
11339 (do_test): Add comments and call free on all potentially
11340 allocated pointers. Remove duplicate check for NULL pointer.
11341 Add space after cast.
11343 * malloc/tst-valloc.c: Add comments.
11344 (do_test): Add comments and call free on all potentially
11345 allocated pointers. Remove duplicate check for NULL pointer.
11346 Add space after cast.
11348 2013-10-04 Alan Modra <amodra@gmail.com>
11350 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11351 Use stdint types in rather than __attribute__((mode())).
11352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11354 2013-10-04 Alan Modra <amodra@gmail.com>
11356 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11357 Correct handling of unaligned relocs for little-endian.
11358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11360 2013-10-04 Alan Modra <amodra@gmail.com>
11362 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11363 * configure: Regenerate.
11364 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11365 * shlib-versions: Likewise.
11367 2013-10-04 Alan Modra <amodra@gmail.com>
11369 * string/tester.c (test_memrchr): Increment reported test cycle.
11371 2013-10-04 Alan Modra <amodra@gmail.com>
11373 * string/test-memcpy.c (do_one_test): When reporting errors, print
11374 string address and don't overrun end of string.
11376 2013-10-04 Alan Modra <amodra@gmail.com>
11378 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11379 insrdi. Make better use of reg selection to speed exit slightly.
11380 Schedule entry path a little better. Remove useless "are we done"
11381 checks on entry to main loop. Handle wrapping around zero address.
11382 Correct main loop count. Handle single left-over word from main
11383 loop inline rather than by using loop_small. Remove extra word
11384 case in loop_small caused by wrong loop count. Add little-endian
11386 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11387 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11389 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11390 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11391 support. Avoid rlwimi.
11392 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11394 2013-10-04 Alan Modra <amodra@gmail.com>
11396 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11397 insrdi. Formatting.
11398 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11399 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11400 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11401 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11402 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11403 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11405 2013-10-04 Alan Modra <amodra@gmail.com>
11407 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11409 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11410 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11411 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11412 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11413 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11414 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11415 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11416 use of regs. Use power7 mtocrf. Tidy function tails.
11418 2013-10-04 Alan Modra <amodra@gmail.com>
11420 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11421 Formatting. Consistently use rXXX register defines or rN defines.
11422 Use early exit labels that avoid restoring unused non-volatile regs.
11423 Make cr field use more consistent with rWORDn compares. Rename
11424 regs used as shift registers for unaligned loop, using rN defines
11425 for short lifetime/multiple use regs.
11426 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11427 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11428 addi 1,1,64 to pop stack frame. Simplify return value code.
11429 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11431 2013-10-04 Alan Modra <amodra@gmail.com>
11433 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11434 support. Correct typos, formatting. Optimize tail. Use insrdi
11435 rather than rlwimi.
11436 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11438 little-endian support. Correct typos.
11439 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11440 rather than rlwimi.
11441 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11442 in loop and entry code to keep "and." results.
11443 (strchr): Add little-endian support. Comment. Move cntlzd
11445 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11447 2013-10-04 Alan Modra <amodra@gmail.com>
11449 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11450 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11451 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11452 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11454 2013-10-04 Alan Modra <amodra@gmail.com>
11456 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11457 (rTMP): Define as r11.
11458 (strcmp): Add little-endian support. Optimise tail.
11459 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11460 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11461 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11462 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11463 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11465 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11467 2013-10-04 Alan Modra <amodra@gmail.com>
11469 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11470 little-endian support. Remove unnecessary "are we done" tests.
11471 Handle "s" wrapping around zero and extremely large "size".
11472 Correct main loop count. Handle single left-over word from main
11473 loop inline rather than by using small_loop. Correct comments.
11474 Delete "zero" tail, use "end_max" instead.
11475 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11477 2013-10-04 Alan Modra <amodra@gmail.com>
11479 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11480 support. Don't branch over align.
11481 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11482 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11483 support. Rearrange tmp reg use to suit. Comment.
11484 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11486 2013-10-04 Alan Modra <amodra@gmail.com>
11488 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11490 2013-10-04 Alan Modra <amodra@gmail.com>
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11493 conditional form of branch and link when obtaining pc.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11496 2013-10-04 Alan Modra <amodra@gmail.com>
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11503 2013-10-04 Alan Modra <amodra@gmail.com>
11505 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11506 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11507 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11508 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11509 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11510 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11511 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11512 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11513 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11514 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11516 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11517 Alistair Popple <alistair@ozlabs.au.ibm.com>
11518 Alan Modra <amodra@gmail.com>
11521 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11522 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11523 _dl_hwcap access for little-endian.
11524 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11525 destroy vmx regs when saving unaligned.
11526 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11527 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11528 destroy vmx regs when saving unaligned.
11530 2013-10-04 Alan Modra <amodra@gmail.com>
11532 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11533 Don't use a union to pack hi/low value.
11535 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11537 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11539 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11541 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11542 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11543 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11545 2013-10-04 Alan Modra <amodra@gmail.com>
11547 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11548 constants to usual value for .cst8 section, and remove redundant
11550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11551 constant for 0x1p52. Load little-endian words of double from
11552 correct stack offsets.
11554 2013-10-04 Alan Modra <amodra@gmail.com>
11556 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11557 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11558 words of double from correct stack offsets.
11559 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11560 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11561 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11562 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11563 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11564 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11565 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11566 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11567 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11568 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11569 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11570 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11571 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11572 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11573 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11574 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11575 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11577 2013-10-04 Alan Modra <amodra@gmail.com>
11579 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11580 64-bit int/double union.
11581 (_FPU_SETCW): Likewise.
11582 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11583 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11585 2013-10-04 Alan Modra <amodra@gmail.com>
11587 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11588 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11590 2013-10-04 Alan Modra <amodra@gmail.com>
11592 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11593 use vector int constants.
11594 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11596 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11598 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11599 array with long long.
11600 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11601 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11602 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11603 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11604 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11605 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11606 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11607 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11608 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11609 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11610 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11611 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11612 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11614 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11616 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11617 (__signbit): Likewise. Correct for little-endian.
11618 (__signbitl): Call __signbit.
11619 (lrint): Correct for little-endian.
11620 (lrintf): Call lrint.
11622 2013-10-04 Alan Modra <amodra@gmail.com>
11624 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11625 union 32-bit int array member with 64-bit int array.
11626 (t515, tm256): Double rather than long double.
11627 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11629 2013-10-04 Alan Modra <amodra@gmail.com>
11631 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11633 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11634 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11635 version of math_ldbl.h.
11637 2013-10-04 Alan Modra <amodra@gmail.com>
11639 [BZ #15734], [BZ #15735]
11640 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11641 all uses of ieee875 long double macros and unions. Simplify test
11642 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11643 ldbl_extract_mantissa value for ix,iy exponents. Properly
11644 normalize after ldbl_extract_mantissa, and don't add hidden bit
11645 already handled. Don't treat low word of ieee854 mantissa like
11646 low word of IBM long double and mask off bit when testing for
11648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11649 all uses of ieee875 long double macros and unions. Simplify tests
11650 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11651 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11652 two1022, instead use their values. Recognise that tests for large
11653 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11654 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11655 Rewrite all uses of ieee875 long double macros and unions. Simplify
11656 test for 0.0L and nan. Correct negation.
11657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11658 ieee875 long double macros and unions. Correct output for large
11659 magnitude x. Correct absolute value calculation.
11660 (__erfcl): Likewise.
11661 * math/libm-test.inc: Add tests for errors discovered in IBM long
11662 double versions of fmodl, remainderl, erfl and erfcl.
11664 2013-10-04 Alan Modra <amodra@gmail.com>
11666 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11667 all uses of ieee854 long double macros and unions. Simplify tests
11668 for long doubles that are fully specified by the high double.
11669 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11671 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11672 Remove dead code too.
11673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11674 (__ieee754_ynl): Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11678 Remove dead code too.
11679 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11689 Comment on variable precision.
11690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11693 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11697 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11699 2013-10-04 Alan Modra <amodra@gmail.com>
11701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11703 all uses of ieee854 long double macros and unions.
11704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11709 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11711 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11712 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11713 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11715 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11717 Simplify sign and nan test too.
11718 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11719 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11724 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11731 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11733 2013-10-04 Alan Modra <amodra@gmail.com>
11735 * stdio-common/printf_size.c (__printf_size): Don't use
11736 union ieee854_long_double in fpnum union.
11737 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11738 signbit macro to retrieve sign from long double.
11739 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11740 retrieve sign from long double.
11741 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11742 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11743 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11744 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11745 * math/test-misc.c (main): Don't use union ieee854_long_double.
11747 2013-10-04 Alan Modra <amodra@gmail.com>
11750 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11751 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11752 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11753 calculation. Remove unnecessary test for denormal exponent.
11754 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11755 Correct handling of denormals. Avoid undefined shift behaviour.
11756 Correct normalisation of low mantissa when low double is denormal.
11757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11758 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11759 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11760 Correct normalisation of low mantissa. Test for overflow of high
11761 mantissa and normalise.
11762 (ldbl_nearbyint): Use more readable constant for two52.
11763 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11764 (__mpn_construct_long_double): Fix test for overflow of high
11765 mantissa and correct normalisation. Avoid undefined shift.
11767 2013-10-04 Alan Modra <amodra@gmail.com>
11769 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11770 (union ibm_extended_long_double): Define as an array of ieee754_double.
11771 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11772 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11773 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11774 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11783 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11785 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11786 page size instead of calling getpagesize.
11788 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11789 (LOCFILE_ALIGN_MASK): Likewise.
11790 (LOCFILE_ALIGN_UP): Likewise.
11791 (LOCFILE_ALIGNED_P): Likewise.
11792 * locale/programs/ld-collate.c (collate_output): Use the new
11793 macros instead of __alignof__ (int32_t).
11794 * locale/weight.h (findidx): Likewise.
11796 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11799 * manual/string.texi: Fix strncat and wcsncat.
11801 2013-10-03 Brooks Moses <bmoses@google.com>
11804 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11805 * Makerules: ...here, and adjust associated comments.
11807 2013-10-02 Will Newton <will.newton@linaro.org>
11809 * malloc/Makefile: Add tst-pvalloc.
11810 * malloc/tst-pvalloc.c: New file.
11812 2013-10-02 Will Newton <will.newton@linaro.org>
11814 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11815 improve test coverage.
11817 2013-10-02 Will Newton <will.newton@linaro.org>
11819 * malloc/Makefile: Add tst-posix_memalign.
11820 * malloc/tst-posix_memalign.c: New file.
11822 2013-10-01 Eric Blake <eblake@redhat.com>
11824 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11825 Use __THROWNL rather than __THROW on static functions.
11827 2013-09-30 Petr Machata <pmachata@redhat.com>
11829 * elf/elf.h (R_AARCH64_ABS16): New macro.
11830 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11831 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11832 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11833 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11834 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11835 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11836 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11837 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11838 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11839 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11840 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11841 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11842 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11843 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11844 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11845 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11846 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11847 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11848 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11849 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11850 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11851 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11852 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11853 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11854 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11855 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11856 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11857 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11858 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11859 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11860 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11861 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11862 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11863 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11864 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11865 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11866 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11867 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11868 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11869 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11870 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11871 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11872 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11873 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11874 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11875 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11876 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11877 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11878 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11879 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11880 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11881 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11882 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11883 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11884 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11885 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11886 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11887 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11888 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11889 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11890 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11891 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11892 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11893 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11894 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11895 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11896 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11897 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11898 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11899 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11900 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11901 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11902 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11903 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11904 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11905 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11906 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11907 (R_AARCH64_TLSDESC_LDR): Likewise.
11908 (R_AARCH64_TLSDESC_ADD): Likewise.
11909 (R_AARCH64_TLSDESC_CALL): Likewise.
11911 2013-09-30 Andreas Schwab <schwab@suse.de>
11914 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11915 the nss database lookup.
11916 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11919 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11921 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11923 2013-09-28 P. J. McDermott <pj@pehjota.net>
11925 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11926 ${Bash-specific parameter/pattern/string} parameter expansion.
11927 * sysdeps/unix/make-syscalls.sh: Likewise.
11929 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11931 * sysdeps/sh/stackguard-macros.h: New file.
11933 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11937 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11938 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11939 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11940 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11942 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11944 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11945 Fix thread ID register.
11947 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11949 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11950 [POSIX || UNIX98]: Require rather than permitting all symbols from
11952 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11953 element of struct sched_param.
11954 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11955 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11956 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11957 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11960 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11962 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11963 argument calculation.
11965 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11967 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11969 [POSIX] (pthread_attr_t): Do not require type.
11970 [POSIX] (pthread_cond_t): Likewise.
11971 [POSIX] (pthread_condattr_t): Likewise.
11972 [POSIX] (pthread_key_t): Likewise.
11973 [POSIX] (pthread_mutex_t): Likewise.
11974 [POSIX] (pthread_mutexattr_t): Likewise.
11975 [POSIX] (pthread_once_t): Likewise.
11976 [POSIX] (pthread_t): Likewise.
11977 [POSIX-based standards] (pthread_atfork): Expect function.
11979 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11980 Richard Sandiford <richard@codesourcery.com>
11982 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11983 (swap_endianness_p): New extern variable.
11984 (set_big_endian): New inline function.
11985 (maybe_swap_uint32): Likewise.
11986 (maybe_swap_uint32_array): Likewise.
11987 (maybe_swap_uint32_obstack): Likewise.
11988 * locale/programs/locfile.c: Include <stdbool.h>.
11989 (swap_endianness_p): New variable.
11990 (add_locale_uint32): Call maybe_swap_uint32.
11991 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11992 (write_locale_data): Call maybe_swap_uint32_array.
11993 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11995 (obstack_int32_grow_fast): Likewise.
11996 (output_weightwc): Call maybe_swap_uint32_obstack.
11997 (collate_output): Likewise.
11998 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11999 (OPT_LITTLE_ENDIAN): Likewise.
12000 (options): Add --little-endian and --big-endian options.
12001 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12002 * locale/programs/locarchive.c: Include "locfile.h".
12006 (create_archive): Use the new macros to access fields of
12007 structures directly mapped from or written to locale archives.
12008 (oldlocrecentcmp): Likewise.
12009 (enlarge_archive): Likewise.
12010 (insert_name): Likewise.
12011 (add_alias): Likewise.
12012 (add_locale): Likewise.
12013 (delete_locales_from_archive): Likewise.
12014 (show_archive_content): Likewise.
12015 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12018 2013-09-24 Roland McGrath <roland@hack.frob.com>
12020 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12021 http://www.gnu.org/doc/freemanuals.texi.
12022 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12024 2013-09-24 Will Newton <will.newton@linaro.org>
12026 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12029 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12031 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12034 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12036 * manual/threads.texi (POSIX Threads): Fix a typo.
12038 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12041 * string/tst-strcoll-overflow.c: New test case.
12042 * string/Makefile (xtests): Add tst-strcoll-overflow.
12043 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12044 cache if string sizes may cause integer overflow.
12047 * string/strcoll_l.c (coll_seq): New members rule, idx,
12048 save_idx and back_us.
12049 (get_next_seq_nocache): New function.
12050 (do_compare_nocache): New function.
12051 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12054 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12057 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12058 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12059 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12062 * elf/Makefile (tests): Add tst-ptrguard1.
12063 (tests-static): Add tst-ptrguard1-static.
12064 (tst-ptrguard1-ARGS): Define.
12065 (tst-ptrguard1-static-ARGS): Define.
12066 * elf/tst-ptrguard1.c: New file.
12067 * elf/tst-ptrguard1-static.c: New file.
12068 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12069 * sysdeps/i386/stackguard-macros.h: Likewise.
12070 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12071 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12072 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12073 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12074 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12075 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12077 2013-09-23 Hector Marco <hecmargi@upv.es>
12078 Ismael Ripoll <iripoll@disca.upv.es>
12079 Carlos O'Donell <carlos@redhat.com>
12082 * sysdeps/generic/stackguard-macros.h: Define
12083 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12084 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12085 Define __pointer_chk_guard_local.
12086 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12087 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12089 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12092 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12094 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12096 * include/string.h (__ffs): Declare as hidden.
12097 * string/ffs.c (__ffs): Define as hidden.
12098 * sysdeps/i386/ffs.c (__ffs): Likewise.
12099 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12100 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12101 * sysdeps/s390/ffs.c (__ffs): Likewise.
12102 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12104 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12106 * NEWS: Mention malloc probes.
12108 * malloc/arena.c (new_heap): New memory_heap_new probe.
12109 (grow_heap): New memory_heap_more probe.
12110 (shrink_heap): New memory_heap_less probe.
12111 (heap_trim): New memory_heap_free probe.
12112 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12113 (systrim): New memory_sbrk_less probe.
12114 * manual/probes.texi: Document them.
12116 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12117 * manual/probes.texi: Document it.
12119 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12120 (__libc_realloc): Add memory_realloc_retry probe.
12121 (__libc_memalign): Add memory_memalign_retry probe.
12122 (__libc_valloc): Add memory_valloc_retry probe.
12123 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12124 (__libc_calloc): Add memory_calloc_retry probe.
12125 * manual/probes.texi: Document them.
12127 * malloc/arena.c (get_free_list): Add probe
12128 memory_arena_reuse_free_list.
12129 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12130 and memory_arena_reuse.
12131 (arena_get2) [!PER_THREAD]: Likewise.
12132 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12133 memory_arena_reuse_realloc.
12134 * manual/probes.texi: Document them.
12136 * malloc/malloc.c (__libc_free): Add
12137 memory_mallopt_free_dyn_thresholds probe.
12138 (__libc_mallopt): Add multiple memory_mallopt probes.
12139 * manual/probes.texi: Document them.
12141 * malloc/malloc.c: Include stap-probe.h.
12142 (__libc_mallopt): Add memory_mallopt probe.
12143 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12144 * manual/probes.texi: New.
12145 * manual/Makefile (chapters): Add probes.
12146 * manual/threads.texi: Set next node.
12148 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12150 [BZ #15963, #13985]
12151 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12152 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12153 Add `Chinese' to `nan' entry name.
12155 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12157 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12158 (POLYNOMIAL): Likewise.
12159 (TAYLOR_SINCOS): Likewise.
12160 (TAYLOR_SLOW): Likewise.
12161 (__sin): Use TAYLOR_SINCOS.
12163 (slow): Use TAYLOR_SLOW.
12165 (bsloww): Likewise.
12166 (csloww): Likewise.
12168 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12170 * stdlib/strtod_l.c: Fix buffer overrun.
12172 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12174 * benchtests/Makefile (bench): Add sincos.
12175 * benchtests/bench-sincos.c: New file.
12177 * math/libm-test.inc (cos_test_data): New test inputs.
12178 (sin_test_data): Likewise.
12180 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12186 (sloww1): Likewise.
12187 (sloww2): Likewise.
12188 (bsloww1): Likewise.
12189 (bsloww2): Likewise.
12190 (cslow2): Likewise.
12191 (csloww1): Likewise.
12192 (csloww2): Likewise.
12194 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12199 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12203 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12205 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12206 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12207 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12208 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12209 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12210 * elf/cache.c (print_entry): Handle the new cache flags.
12212 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12213 Aldy Hernandez <aldyh@redhat.com>
12215 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12216 Change condition to [_SOFT_FLOAT].
12217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12229 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12232 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12235 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12237 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12238 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12239 (__longjmp): Use LOAD_GP to load saved GPRs.
12240 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12241 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12242 (__sigsetjmp): Use SAVE_GP to save GPRs.
12244 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12245 Do not append -msoft-float.
12246 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12248 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12250 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12252 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12255 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12256 (_FPU_GETCW): Use initial "__" on variable and field names but not
12257 on macro parameter name.
12258 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12259 parentheses around reference to macro parameter.
12261 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12263 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12265 (ctype_startup): Use uint32_t in cast and sizeof for
12268 2013-09-11 Jia Liu <proljc@gmail.com>
12270 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12272 [__FreeBSD__]: Likewise.
12274 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12277 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12278 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12279 (strchr): Remove __strchr_sse42 ifunc selection.
12280 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12281 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12283 2013-09-11 Will Newton <will.newton@linaro.org>
12285 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12286 parameter to RES. Remove hardcoded 1000 value.
12287 * benchtests/bench-skeleton.c (main): Pass RES parameter
12288 to TIMING_INIT and multiply result by 1000.
12290 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12294 2013-09-11 Andreas Schwab <schwab@suse.de>
12296 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12298 (O_TMPFILE) [__USE_GNU]: Define.
12299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12302 2013-09-11 Will Newton <will.newton@linaro.org>
12305 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12308 2013-09-11 Will Newton <will.newton@linaro.org>
12311 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12314 2013-09-11 Will Newton <will.newton@linaro.org>
12317 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12320 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12322 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12323 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12328 2013-09-10 Allan McRae <allan@archlinux.org>
12331 * manual/arith.texi (Parsing of Floats): Clarify
12335 * manual/install.texi (Running make install): Mention
12337 * INSTALL: Regenerated.
12339 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12341 * csu/init-first.c (_init): Remove the !SHARED condition around
12342 FPU control word initialization.
12343 * elf/dl-support.c (_dl_fpu_control): New variable.
12344 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12345 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12346 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12347 * math/test-fpucw-static.c: New file.
12348 * math/test-fpucw-ieee.c: New file.
12349 * math/test-fpucw-ieee-static.c: New file.
12350 * math/Makefile (tests): Add `test-fpucw-ieee' and
12352 (tests-static): New variable.
12353 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12355 [($(build-shared),yes)]
12356 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12358 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12361 2013-09-09 Allan McRae <allan@archlinux.org>
12364 * manual/string.texi (Collation Functions): Fix typo in
12366 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12369 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12372 * libio/memstream.c (open_memstream): Fix memory leak.
12373 * libio/wmemstream.c (open_wmemstream): Likewise.
12376 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12378 2013-09-09 Will Newton <will.newton@linaro.org>
12380 * malloc/Makefile: Add tst-realloc to tests.
12381 * malloc/tst-realloc.c: New file.
12383 2013-09-09 Allan McRae <allan@archlinux.org>
12386 * COPYING: Update from GNU website to fix FSF address.
12387 * COPYING.LIB: Likewise.
12389 2013-09-06 David S. Miller <davem@davemloft.net>
12391 * po/zh_TW.po: Update Chinese (traditional) translation from
12392 translation project.
12394 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12395 Joseph Myers <joseph@codesourcery.com>
12397 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12399 (obstack_chunk_alloc): New macro.
12400 (obstack_chunk_free): Likewise.
12401 (record_offset): New function.
12402 (init_locale_data): Likewise.
12403 (align_locale_data): Likewise.
12404 (add_locale_empty): Likewise.
12405 (add_locale_raw_data): Likewise.
12406 (add_locale_raw_obstack): Likewise.
12407 (add_locale_string): Likewise.
12408 (add_locale_wstring): Likewise.
12409 (add_locale_uint32): Likewise.
12410 (add_locale_uint32_array): Likewise.
12411 (add_locale_char): Likewise.
12412 (start_locale_structure): Likewise.
12413 (end_locale_structure): Likewise.
12414 (start_locale_prelude): Likewise.
12415 (end_locale_prelude): Likewise.
12416 (write_locale_data): Take locale_file structure rather than an
12418 * locale/programs/locfile.h: Include "obstack.h".
12419 (struct locale_file): Change to store locale file contents instead
12421 (init_locale_data): New prototype.
12422 (align_locale_data): Likewise.
12423 (add_locale_empty): Likewise.
12424 (add_locale_raw_data): Likewise.
12425 (add_locale_raw_obstack): Likewise.
12426 (add_locale_string): Likewise.
12427 (add_locale_wstring): Likewise.
12428 (add_locale_uint32): Likewise.
12429 (add_locale_uint32_array): Likewise.
12430 (add_locale_char): Likewise.
12431 (start_locale_structure): Likewise.
12432 (end_locale_structure): Likewise.
12433 (start_locale_prelude): Likewise.
12434 (end_locale_prelude): Likewise.
12435 (write_locale_data): Update prototype.
12436 * locale/programs/3level.h (struct TABLE): Remove result field.
12437 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12438 Use new locale_file interface.
12439 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12440 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12441 * locale/programs/ld-address.c (address_output): Use new
12442 locale_file interface.
12443 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12445 (collate_finish): Don't call collseq_table_finalize.
12446 (collate_output): Use new locale_file interface.
12447 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12449 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12450 (TABLE): Move defines earlier in file.
12451 (ELEMENT): Likewise.
12452 (DEFAULT): Likewise.
12453 (wctrans_table_add): Move macro and inline function earlier in
12455 (struct wctype_table): Move type earlier in file.
12456 (add_locale_wctype_table): New static prototype.
12457 (struct locale_ctype_t): Use logical types instead of struct iovec
12458 pointers for members.
12459 (ctype_output): Use new locale_file interface.
12460 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12461 new locale_file interface.
12462 (allocate_arrays): Update for use of new locale_file interface.
12463 * locale/programs/ld-identification.c (identification_output): Use
12464 new locale_file interface.
12465 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12466 * locale/programs/ld-messages.c (messages_output): Likewise.
12467 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12468 * locale/programs/ld-name.c (name_output): Likewise.
12469 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12470 * locale/programs/ld-paper.c (paper_output): Likewise.
12471 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12472 * locale/programs/ld-time.c (time_output): Likewise.
12474 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 * benchtests/Makefile: Add memrchr benchmark.
12477 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12478 benchmark as memrchr.
12479 * benchtests/bench-memrchr-ifunc.c: New file.
12480 * benchtests/bench-memrchr.c: New file.
12482 2013-09-06 Will Newton <will.newton@linaro.org>
12484 * benchtests/Makefile (string-bench): Add memcpy.
12486 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12487 Cong Wang <amwang@redhat.com>
12490 * sysdeps/unix/sysv/linux/bits/in.h
12491 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12492 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12493 before __USE_KERNEL_IPV6_DEFS uses.
12494 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12496 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12497 sockaddr_in6, or ipv6_mreq.
12499 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12501 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12502 memory access for final bytes in some large inputs.
12503 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12505 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12507 * string/test-memrchr.c: New file.
12508 * string/test-memrchr-ifunc.c: New file.
12509 * string/Makefile: Add new memrchr testcase.
12511 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12513 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12514 fanotify_init returns EPERM.
12516 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12518 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12520 (top level): Treat second token from macro or constant entries for
12521 allowed headers as allowed.
12522 * include/complex.h: Condition internal declarations on
12524 * include/fenv.h: Condition include of <stdbool.h> and internal
12525 declarations on [!_ISOMAC].
12527 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12530 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12532 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12534 * configure.in (--enable-versioning): Remove configure option.
12535 (libc_cv_asm_symver_directive): Remove configure test.
12536 (libc_cv_ld_version_script_option): Likewise.
12537 (VERSIONING): Remove variable and AC_SUBST.
12538 (DO_VERSIONING): Remove AC_DEFINE.
12539 * configure: Regenerated.
12540 * config.h.in (DO_VERSIONING): Remove macro.
12541 * Makerules [$(versioning) = yes]: Change conditionals to
12542 [$(build-shared) = yes].
12543 * config.make.in (versioning): Remove variable.
12544 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12545 [$(build-shared) = yes].
12546 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12547 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12548 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12549 [$(build-shared) = yes].
12550 * extra-lib.mk [$(versioning) = yes]: Likewise.
12551 * hurd/Makefile [$(versioning) = yes]: Likewise.
12552 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12554 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12556 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12557 [SHARED && !NO_HIDDEN].
12558 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12560 [SHARED && DO_VERSIONING]: Likewise..
12561 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12562 [$(build-shared) = yes].
12563 * manual/install.texi (--disable-versioning): Remove
12565 * INSTALL: Regenerated.
12566 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12568 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12569 [$(build-shared) = yes].
12570 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12571 * sysdeps/i386/i686/multiarch/strstr-c.c
12572 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12573 [SHARED && !NO_HIDDEN].
12574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12575 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12576 * sysdeps/powerpc/powerpc32/dl-machine.c
12577 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12578 * sysdeps/powerpc/powerpc32/sysdep.h
12579 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12580 to [SHARED && PIC && !NO_HIDDEN].
12581 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12582 conditional to [SHARED].
12584 2013-09-04 Will Newton <will.newton@linaro.org>
12586 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12587 * benchtests/bench-string.h: Include bench-timing.h instead
12588 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12589 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12590 call to HP_TIMING_DIFF_INIT.
12591 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12592 instead of hp-timing.h macros.
12593 * benchtests/bench-memchr.c: Likewise.
12594 * benchtests/bench-memcmp.c: Likewise.
12595 * benchtests/bench-memcpy.c: Likewise.
12596 * benchtests/bench-memmem.c: Likewise.
12597 * benchtests/bench-memmove.c: Likewise.
12598 * benchtests/bench-memset.c: Likewise.
12599 * benchtests/bench-rawmemchr.c: Likewise.
12600 * benchtests/bench-strcasecmp.c: Likewise.
12601 * benchtests/bench-strcasestr.c: Likewise.
12602 * benchtests/bench-strcat.c: Likewise.
12603 * benchtests/bench-strchr.c: Likewise.
12604 * benchtests/bench-strcmp.c: Likewise.
12605 * benchtests/bench-strcpy.c: Likewise.
12606 * benchtests/bench-strcpy_chk.c: Likewise.
12607 * benchtests/bench-strlen.c: Likewise.
12608 * benchtests/bench-strncasecmp.c: Likewise.
12609 * benchtests/bench-strncat.c: Likewise.
12610 * benchtests/bench-strncmp.c: Likewise.
12611 * benchtests/bench-strncpy.c: Likewise.
12612 * benchtests/bench-strnlen.c: Likewise.
12613 * benchtests/bench-strpbrk.c: Likewise.
12614 * benchtests/bench-strrchr.c: Likewise.
12615 * benchtests/bench-strspn.c: Likewise.
12616 * benchtests/bench-strstr.c: Likewise.
12618 2013-09-04 Will Newton <will.newton@linaro.org>
12620 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12622 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12625 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12626 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12627 * math/libm-test.inc (lgamma_test_data): Add more tests.
12628 * sysdeps/i386/fpu/libm-test-ulps: Update.
12629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12631 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12633 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12637 Add strcmp-sse2-unaligned
12638 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12640 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12642 * Versions.def (libc): Add GLIBC_2.19.
12644 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12646 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12647 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12649 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12652 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12653 intermediate calculations in recurrence.
12654 (__ieee754_ynf): Likewise.
12655 * math/libm-test.inc (jn_test_data): Do not allow spurious
12656 underflow exception. Add more tests.
12657 (yn_test_data): Add more tests.
12658 * sysdeps/i386/fpu/libm-test-ulps: Update.
12659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12661 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12663 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12665 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12667 * csu/init-first.c: Fix then/than typos.
12668 * locale/programs/ld-collate.c: Likewise.
12669 * locale/programs/linereader.h: Likewise.
12670 * manual/charset.texi: Likewise.
12671 * manual/filesys.texi: Likewise.
12672 * manual/stdio.texi: Likewise.
12673 * manual/string.texi: Likewise.
12674 * stdlib/fmtmsg.c: Likewise.
12675 * sysdeps/i386/stpncpy.S: Likewise.
12676 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12677 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12678 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12679 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12681 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12683 * elf/dl-open.c: Fix typos.
12684 * iconvdata/gbbig5.c: Likewise.
12685 * iconvdata/iso-2022-jp.c: Likewise.
12686 * iconv/gconv_int.h: Likewise.
12687 * iconv/loop.c: Likewise.
12688 * nis/rpcsvc/nis.h: Likewise.
12689 * resolv/ns_name.c: Likewise.
12690 * stdio-common/vfscanf.c: Likewise.
12691 * streams/stropts.h: Likewise.
12692 * sunrpc/rpc_thread.c: Likewise.
12693 * sysdeps/i386/strpbrk.S: Likewise.
12694 * sysdeps/ieee754/k_standard.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12697 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12698 * sysdeps/mach/hurd/profil.c: Likewise.
12699 * sysdeps/s390/dl-procinfo.h: Likewise.
12700 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12701 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12703 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12706 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12708 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12711 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12713 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12714 aix specific files.
12715 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12718 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12719 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12721 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12722 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12724 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12725 Roland McGrath <roland@hack.frob.com>
12727 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12728 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12730 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12732 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12733 __executable_start symbol instead of _start.
12735 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12737 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12738 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12740 * sysdeps/gnu/ldsodefs.h: ... this new file.
12742 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12743 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12744 instead of ELFOSABI_LINUX.
12746 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12747 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12748 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12749 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12751 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12752 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12755 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12756 (ibm_extended_long_double): Add ieee_nan member.
12757 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12758 (do_test): New function.
12760 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12762 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12763 functions, renamed from truncdfsf_test, trunctfsf_test,
12765 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12767 (do_test): Run all these.
12769 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12771 * argp/argp-help.c: Fix typos.
12772 * argp/argp-parse.c: Likewise.
12773 * debug/backtracesyms.c: Likewise.
12774 * elf/elf.h: Likewise.
12775 * malloc/malloc.c: Likewise.
12776 * nis/nis_print.c: Likewise.
12777 * resolv/res_comp.c: Likewise.
12778 * stdlib/stdlib.h: Likewise.
12779 * sunrpc/clnt_tcp.c: Likewise.
12780 * sunrpc/clnt_udp.c: Likewise.
12781 * sunrpc/clnt_unix.c: Likewise.
12782 * sysdeps/unix/bsd/ptsname.c: Likewise.
12783 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12791 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12793 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12795 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12798 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12801 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12802 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12803 ($(objpfx)bug-dl-leaf): New rule.
12804 ($(objpfx)bug-dl-leaf.so): Likewise.
12805 ($(objpfx)bug-dl-leaf.out): Likewise.
12806 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12807 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12808 * dlfcn/bug-dl-leaf.c: New test.
12809 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12810 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12811 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12812 (dlclose): Likewise.
12813 (dlmopen): Likewise.
12815 2013-08-27 Roland McGrath <roland@hack.frob.com>
12817 * include/netdb.h [!_ISOMAC]:
12818 Don't include <tls.h>.
12819 (h_errno, __libc_h_errno): Move declaration and macros out of
12822 * include/resolv.h [_RESOLV_H_]:
12823 Don't include <tls.h>.
12824 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12825 * resolv/res_libc.c: Don't include <tls.h>.
12826 (_res): Use __attribute__ ((nocommon)) in place of
12827 __attribute__ ((section (".bss"))).
12829 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12830 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12832 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12834 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12835 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12837 * resolv/res_mkquery.c: Include <sys/time.h>.
12839 * inet/ifreq.c: Moved to ...
12840 * sysdeps/unix/ifreq.c: ... here.
12841 * inet/ifreq.c: New file, true stub version.
12843 * socket/sa_len.c: New file.
12844 * socket/Makefile (aux): Add it.
12845 * sysdeps/unix/sysv/linux/Makefile
12846 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12847 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12848 and #include <socket/sa_len.c>.
12849 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12850 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12852 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12853 * bits/socket.h: ... here.
12855 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12856 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12857 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12859 2013-08-27 Andreas Schwab <schwab@suse.de>
12862 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12863 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12864 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12865 * string/test-strcasecmp.c (test_main): Run tests in several
12867 * string/test-strncasecmp.c (test_main): Likewise.
12869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12870 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12871 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12873 (__strncasecmp_ssse3) [PIC]: Likewise.
12875 2013-08-26 Roland McGrath <roland@hack.frob.com>
12877 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12879 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12880 instead of explicitly declaring xdecrypt.
12881 * nis/nss_nis/nis-publickey.c: Likewise.
12883 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12886 * nscd/aicache.c: Include res_hconf.h.
12887 (addhstaiX): Initialize res_hconf.
12889 2013-08-26 Andreas Schwab <schwab@suse.de>
12891 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12892 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12894 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12896 * nscd/aicache.c (addhstaiX): Fix indentation.
12898 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12900 * configure.ac: Quote $build_pt_chown test.
12901 * configure: Regenerated.
12903 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12906 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12907 * math/s_cexpf.c (__cexpf): Likewise.
12908 * math/s_cexpl.c (__cexpl): Likewise.
12909 * math/libm-test.inc (cexp_test_data): Correct expected return
12910 value for NaN + i0. Add another test.
12912 2013-08-22 David S. Miller <davem@davemloft.net>
12914 * po/ca.po: Update Catalan translation from translation project.
12915 * po/uk.po: Add Ukrainian translations from translation project.
12917 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12920 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12921 is infinite, not alongside NaN test.
12922 * math/s_fdimf.c (__fdimf): Likewise.
12923 * math/s_fdiml.c (__fdiml): Likewise.
12924 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12925 errno is unchanged.
12927 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12929 * argp/argp-help.c: Fix typos.
12930 * crypt/speeds.c: Likewise.
12931 * csu/check_fds.c: Likewise.
12932 * elf/dl-load.c: Likewise.
12933 * elf/dl-open.c: Likewise.
12934 * elf/reldep3.c: Likewise.
12935 * elf/reldep.c: Likewise.
12936 * elf/sprof.c: Likewise.
12937 * iconv/iconv_charmap.c: Likewise.
12938 * iconv/skeleton.c: Likewise.
12939 * iconv/strtab.c: Likewise.
12940 * io/lockf64.c: Likewise.
12941 * libio/libioP.h: Likewise.
12942 * resolv/gai_notify.c: Likewise.
12943 * resolv/ns_name.c: Likewise.
12944 * resolv/ns_samedomain.c: Likewise.
12945 * resolv/res_send.c: Likewise.
12946 * stdlib/random.c: Likewise.
12947 * sunrpc/rpc/xdr.h: Likewise.
12948 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12951 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12952 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12956 * sysdeps/mach/hurd/check_fds.c: Likewise.
12957 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12958 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12959 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12960 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12961 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12962 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12963 * sysdeps/pthread/aio_notify.c: Likewise.
12964 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12965 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12966 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12968 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12970 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12972 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12973 version if bit_Slow_SSE4_2 is set.
12974 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12975 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12977 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12980 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12981 trampoline stack frame information.
12982 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12983 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12984 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12985 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12986 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12987 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12988 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12989 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12991 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12992 interrupting a syscall and set with option SA_SIGINFO.
12994 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12997 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12998 argument is infinite.
12999 * math/s_cprojf.c (__cprojf): Likewise.
13000 * math/s_cprojl.c (__cprojl): Likewise.
13001 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13002 * math/libm-test.inc (cproj_test_data): Add more tests.
13004 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13006 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13007 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13008 size. Use __ffs to determine corresponding shift.
13010 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13011 Roland McGrath <roland@hack.frob.com>
13013 * Makefile (INSTALL): Remove trailing blank lines from output of
13016 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13018 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13019 Align 32 bit compat elf_greg to 8 bytes.
13021 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13023 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13025 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13027 * string/strcoll_l.c (coll_seq): New structure.
13028 (get_next_seq_cached): New function.
13029 (get_next_seq): New function.
13030 (do_compare): New function.
13031 (STRCOLL): Use GNU style definition. Simplify implementation
13032 by using get_next_seq, get_next_seq_cached and do_compare.
13034 2013-08-16 Florian Weimer <fweimer@redhat.com>
13038 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13040 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13042 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13043 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13044 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13046 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13047 GETDENTS_64BIT_ALIGNED.
13048 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13049 * manual/filesys.texi (Reading/Closing Directory): Document
13050 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13052 * manual/conf.texi (Limits for Files): Add portability note to
13053 NAME_MAX, PATH_MAX.
13054 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13056 2013-08-13 Andreas Schwab <schwab@suse.de>
13059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13061 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13062 LDBL_MAX_EXP >= 16384]: Add tests for it.
13064 2013-08-12 David S. Miller <davem@davemloft.net>
13066 * version.h (RELEASE): Set to "development".
13067 (VERSION): Set to "2.18.90".
13068 * NEWS: Add 2.19 section.
13070 2013-08-03 David S. Miller <davem@davemloft.net>
13072 * po/ko.po: Update Korean translation from translation project.
13074 2013-08-01 David S. Miller <davem@davemloft.net>
13076 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13077 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13080 2013-07-30 David S. Miller <davem@davemloft.net>
13082 * po/fr.po: Update French translation from translation project.
13084 2013-07-28 David S. Miller <davem@davemloft.net>
13086 * po/cs.po: Update Czech translation from translation project.
13088 * po/sv.po: Update Swedish translation from translation project.
13090 2013-07-27 David S. Miller <davem@davemloft.net>
13092 * po/eo.po: Update Esperanto translation from translation project.
13094 * po/vi.po: Update Vietnamese translation from translation project.
13096 * po/de.po: Update German translation from translation project.
13098 2013-07-26 David S. Miller <davem@davemloft.net>
13100 * po/bg.po: Update Bulgarian translation from translation project.
13102 * po/nl.po: Update Dutch translation from translation project.
13103 * po/pl.po: Update Polish translation from translation project.
13104 * po/ru.po: Update Russian translation from translation project.
13106 2013-07-24 David S. Miller <davem@davemloft.net>
13108 * po/libc.pot: Update.
13110 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13112 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13113 variable page size.
13114 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13115 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13116 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13118 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13120 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13122 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13123 Andreas Schwab <schwab@suse.de>
13124 Roland McGrath <roland@hack.frob.com>
13125 Joseph Myers <joseph@codesourcery.com>
13126 Carlos O'Donell <carlos@redhat.com>
13129 * config.h.in: Define HAVE_PT_CHOWN.
13130 * config.make.in (build-pt-chown): New variable.
13131 * configure.in (--enable-pt_chown): New configure option.
13132 * configure: Regenerate.
13133 * login/Makefile: Include Makeconfig. Build pt_chown only if
13134 build-pt-chown is enabled.
13135 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13136 pt_chown to fix pty ownership.
13137 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13139 * manual/install.texi (Configuring and compiling): Mention
13140 --enable-pt_chown. Add @findex for grantpt.
13141 * INSTALL: Regenerate.
13143 2013-07-20 David S. Miller <davem@davemloft.net>
13145 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13146 difference between 32-bit and 64-bit.
13148 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13151 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13152 Avoid system header dependency with -ffreestanding.
13153 ($(objpfx)bits/syscall%d): Likewise.
13155 2013-07-13 David S. Miller <davem@davemloft.net>
13157 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13158 underflows from atanl/atan2l due to bug 15319.
13159 (casinh_test_data): Likewise.
13161 2013-07-07 David S. Miller <davem@davemloft.net>
13163 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13165 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13167 * sysdeps/i386/fpu/libm-test-ulps: Update.
13168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13170 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13172 * configure.in (--enable-lock-elision): Fix message text.
13173 * INSTALL: Regenerate.
13174 * configure: Regenerate.
13176 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13180 2013-07-03 Andreas Jaeger <aj@suse.de>
13182 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13184 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13185 (ptrace_peeksiginfo_args): Add.
13186 (__ptrace_peeksiginfo_flags): Add.
13187 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13188 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13191 2013-07-03 Allan McRae <allan@archlinux.org>
13193 * sysdeps/i386/fpu/libm-test-ulps: Update.
13195 2013-07-02 David S. Miller <davem@davemloft.net>
13197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13199 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13203 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13205 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13208 2013-07-02 Andi Kleen <ak@linux.intel.com>
13210 * config.h.in (ENABLE_LOCK_ELISION): Add.
13211 * configure.in (--enable-lock-elision): Add option.
13212 * manual/install.texi: Document --enable lock elision.
13213 * configure: Regenerate
13214 * INSTALL: Regenerate.
13216 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13218 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13219 SSE4.2 strcasecmp for libc.a.
13220 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13222 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13225 * soft-fp/op-common.h (_FP_FMA): New macro.
13226 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13227 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13228 (_FP_MUL_MEAT_1_imm): ... here.
13229 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13230 (_FP_MUL_MEAT_1_wide): ... here.
13231 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13232 (_FP_MUL_MEAT_1_hard): ... here.
13233 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13234 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13235 (_FP_MUL_MEAT_2_wide): ... here.
13236 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13237 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13238 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13239 (_FP_MUL_MEAT_2_gmp): ... here.
13240 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13241 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13242 (_FP_MUL_MEAT_4_wide): ... here.
13243 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13244 (_FP_MUL_MEAT_4_gmp): ... here.
13245 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13246 (_FP_WFRACBITS_DW_S): Likewise.
13247 (_FP_WFRACXBITS_DW_S): Likewise.
13248 (_FP_HIGHBIT_DW_S): Likewise.
13249 (FP_FMA_S): Likewise.
13250 (_FP_FRAC_HIGH_DW_S): Likewise.
13251 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13252 (_FP_WFRACBITS_DW_D): Likewise.
13253 (_FP_WFRACXBITS_DW_D): Likewise.
13254 (_FP_HIGHBIT_DW_D): Likewise.
13255 (FP_FMA_D): Likewise.
13256 (_FP_FRAC_HIGH_DW_D): Likewise.
13257 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13258 (_FP_WFRACBITS_DW_E): Likewise.
13259 (_FP_WFRACXBITS_DW_E): Likewise.
13260 (_FP_HIGHBIT_DW_E): Likewise.
13261 (FP_FMA_E): Likewise.
13262 (_FP_FRAC_HIGH_DW_E): Likewise.
13263 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13264 (_FP_WFRACBITS_DW_Q): Likewise.
13265 (_FP_WFRACXBITS_DW_Q): Likewise.
13266 (_FP_HIGHBIT_DW_Q): Likewise.
13267 (FP_FMA_Q): Likewise.
13268 (_FP_FRAC_HIGH_DW_Q): Likewise.
13269 * soft-fp/fmasf4.c: New file.
13270 * soft-fp/fmadf4.c: Likewise.
13271 * soft-fp/fmatf4.c: Likewise.
13273 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13276 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13280 (index_Slow_SSE4_2): Likewise.
13281 (index_Prefer_PMINUB_for_stringop): Likewise.
13282 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13283 bit_Slow_SSE4_2 is set.
13284 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13285 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13287 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13289 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13290 rtld_global._dl_hwcap2.
13291 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13293 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13294 POWER8 feature descriptions defined in _dl_hwcap2.
13295 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13296 string handling for POWER8 feature bits.
13297 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13298 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13299 _dl_powerpc_cap_flags.
13300 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13301 * sysdeps/powerpc/rtld-global-offsets.sym
13302 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13303 _dl_hwcap2 in the rtld_global_ro structure.
13305 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13307 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13308 hardware capabilities in support of AT_HWCAP2.
13309 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13310 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13312 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13313 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13314 explicitly the unknown a_type display mechanism is used.
13315 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13316 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13318 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13319 to macro prototype for AT_HWCAP2 support.
13320 * sysdeps/i386/dl-procinfo.h: Likewise.
13321 * sysdeps/s390/dl-procinfo.h: Likewise.
13322 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13323 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13324 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13325 return -1 for unknown a_type display fallback.
13326 * sysdeps/sparc/dl-procinfo.h: Likewise.
13327 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13328 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13330 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13332 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13333 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13335 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13338 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13339 mprotect making __stack_prot writable.
13341 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13342 Joseph Myers <joseph@codesourcery.com>
13344 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13345 as being properly aligned.
13347 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13349 * dlfcn/modstatic5.c: New file.
13350 * dlfcn/tststatic5.c: New file.
13351 * dlfcn/Makefile (tests): Add tststatic5.
13352 (tests-static): Likewise.
13353 (modules-names): Add modstatic5.
13354 (tststatic5-ENV): New variable.
13355 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13358 * elf/dl-support.c (_dl_main_map): New variable.
13359 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13360 (_dl_nns, _dl_load_adds): Set to 1.
13361 (_dl_initial_searchlist): Refer to _dl_main_map.
13362 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13363 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13364 call to _dl_get_origin.
13365 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13367 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13368 * dlfcn/modstatic3.c: New file.
13369 * dlfcn/tststatic3.c: New file.
13370 * dlfcn/tststatic4.c: New file.
13371 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13372 (tests-static): Likewise.
13373 (modules-names): Add modstatic3.
13374 (tststatic3-ENV, tststatic4-ENV): New variables.
13375 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13376 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13378 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13380 * configure.in (CC): Require GCC version 4.4 or later.
13381 * configure: Regenerated.
13382 * manual/install.texi (Tools for Compilation): Update GCC version
13384 * INSTALL: Regenerated.
13386 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13389 * string/test-memcmp.c (check2): New.
13390 (main): Call check2.
13392 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13394 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13397 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13399 (dl_open_worker) [!SHARED]: ... here.
13401 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13403 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13405 2013-06-25 Richard Henderson <rth@redhat.com>
13407 * locale/programs/locarchive.c: Include <libc-internal.h>
13409 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13411 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13412 trailing whitespace removed.
13414 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13417 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13418 * locale/programs/locarchive.c: Include libc-mmap.h.
13419 (prepare_address_space): Take two new outputs (the mmap base and len).
13420 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13422 (create_archive): Declare new mmap base and len values for
13423 prepare_address_space, and store the result in ah.
13424 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13425 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13426 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13427 Declare new mmap base and len values for
13428 prepare_address_space, and store the result in new_ah.
13429 (open_archive): Declare new mmap base and len values for
13430 prepare_address_space, and store the result in ah.
13431 (close_archive): If ah->mmap_base is not NULL, use that and
13432 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13433 * sysdeps/generic/libc-mmap.h: New file.
13435 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13437 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13438 (ALIGN_UP): Likewise.
13439 (PTR_ALIGN_DOWN): Likewise.
13440 (PTR_ALIGN_UP): Likewise.
13442 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13444 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13445 entry mapped to PPC_PLATFORM_POWER8.
13446 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13448 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13449 (_dl_string_platform): Add case for exporting platform position for
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13452 search path to sysdeps/powerpc/powerpc32/power8 directory.
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13454 search path to sysdeps/powerpc/powerpc64/power8 directory.
13455 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13456 power7 directories.
13457 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13458 power7 directories.
13460 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13462 * INSTALL: Regenerate.
13464 * nscd/connections.c (nscd_init): Fix comment.
13466 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13468 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13471 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13472 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13474 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13476 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13478 (DL_DST_REQ_STATIC): Remove macro.
13480 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13483 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13484 with a shift of 0 bits.
13486 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13488 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13491 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13494 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13496 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13498 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13499 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13500 accepts -fno-tree-loop-distribute-patterns.
13501 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13502 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13504 * string/memset.c (memset): Likewise.
13505 * string/test-memmove.c (simple_memmove): Disable loop transformation
13507 * string/test-memset.c (simple_memset): Likewise.
13508 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13509 * benchtests/bench-memset.c (simple_memset): Likewise.
13510 * configure: Regenerated.
13512 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13514 * math/test-misc.c (main): Ignore fesetround failure when failures
13515 of subsequent rounding tests would be ignored.
13518 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13519 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13520 * math/fegetenv.c (__fegetenv): Return 0.
13521 * math/fegetexcept.c (fegetexcept): Return 0.
13522 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13524 * math/feholdexcpt.c (feholdexcept): Return 0.
13525 * math/fesetenv.c (__fesetenv): Return 0.
13526 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13527 argument FE_TONEAREST.
13528 * math/feupdateenv.c (__feupdateenv): Return 0.
13529 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13531 2013-06-18 Roland McGrath <roland@hack.frob.com>
13533 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13534 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13535 ($(objpfx)rtld-%.os rules): Use them.
13537 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13539 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13542 2013-06-17 Roland McGrath <roland@hack.frob.com>
13544 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13545 length of target pattern, then descending length of dependency pattern.
13546 * configure.in (AWK): Require gawk 3.1.2 or newer.
13547 * manual/install.texi (Tools for Compilation): Say that we do.
13548 * configure: Regenerated.
13550 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13551 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13552 * scripts/sysd-rules.awk: ... this new script.
13553 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13554 than a glob-style pattern.
13556 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13558 * math/test-misc.c (main): Do not treat incorrectly rounded
13559 conversions as failure unless ROUNDING_TESTS passes.
13561 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13564 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13565 restore exception state around main square root computation, then
13566 check for inexactness explicitly.
13568 * math/libm-test.inc (fma_test_data): Add another test.
13570 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13572 * manual/threads.texi (Non-POSIX Extensions): New document
13573 node. Document pthread_getattr_default_np and
13574 pthread_setattr_default_np.
13576 * Versions.def (libpthread): Add GLIBC_2.18.
13577 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13586 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13597 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13600 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13602 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13603 H.J. Lu <hjl.tools@gmail.com>
13606 * sysdeps/x86_64/rtld-memset.c: Remove file.
13607 * sysdeps/x86_64/rtld-memset.S: New file.
13609 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13611 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13612 (test_in_one_mode): Take arguments for whether the rounding mode
13613 is supported for each floating-point type.
13614 (do_test): Pass new arguments to test_in_one_mode using
13617 2013-06-13 Roland McGrath <roland@hack.frob.com>
13619 * posix/tst-waitid.c (do_test): Distinguish different instances of
13620 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13621 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13622 before entering the kernel for waitpid.
13624 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13626 * NEWS: Fix note on clock function precision. Text by Roland
13629 2013-06-13 Roland McGrath <roland@hack.frob.com>
13631 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13632 it into place only when and if the sanity check passes.
13634 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13636 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13637 output for whether conversion result is exact. Take argument
13638 indicating whether type is IBM long double.
13639 (round_for_all): Change need_exact field to ibm_ld.
13640 * stdlib/tst-strtod-round.c (struct exactness): New type.
13641 (struct test): Change bool ld_ok field to struct exactness exact.
13642 (TEST): Update all definitions for change to field.
13643 (tests): Regenerate array contents.
13644 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13645 field value. Check for IBM long double here.
13646 (do_test): Update calls to test_in_one_mode.
13648 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13651 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13652 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13654 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13657 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13658 generated by the compiler on loop optimizations.
13659 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13660 general definitions.
13662 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13664 * math/bug-nextafter.c: Include <math-tests.h>.
13665 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13667 * math/bug-nexttoward.c: Include <math-tests.h>.
13668 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13670 * math/test-misc.c: Include <math-tests.h>.
13671 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13674 2013-06-12 Andreas Jaeger <aj@suse.de>
13676 * po/ia.po: Update Interlingua translation from translation
13679 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13681 * include/fenv.h: Include stdbool.h.
13682 (struct rm_ctx): New structure.
13683 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13685 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13686 (SET_RESTORE_ROUNDF): Likewise.
13687 (SET_RESTORE_ROUNDL): Likewise.
13688 (SET_RESTORE_ROUND_NOEX): Likewise.
13689 (SET_RESTORE_ROUND_NOEXF): Likewise.
13690 (SET_RESTORE_ROUND_NOEXL): Likewise.
13691 (SET_RESTORE_ROUND_53BIT): Likewise.
13692 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13693 (libc_feresetround_noexf_ctx): Likewise.
13694 (libc_feresetround_noexl_ctx): Likewise.
13695 (libc_feholdsetround_53bit_ctx): Likewise.
13696 (libc_feresetround_53bit_ctx): Likewise.
13697 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13698 (libc_feholdexcept_setround_sse_ctx): New function.
13699 (libc_fesetenv_sse_ctx): Likewise.
13700 (libc_feupdateenv_sse_ctx): Likewise.
13701 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13702 (libc_feholdexcept_setround_387_ctx): Likewise.
13703 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13704 (libc_feholdsetround_387_prec_ctx): Likewise.
13705 (libc_feholdsetround_387_ctx): Likewise.
13706 (libc_feholdsetround_387_53bit_ctx): Likewise.
13707 (libc_feholdsetround_sse_ctx): Likewise.
13708 (libc_feresetround_sse_ctx): Likewise.
13709 (libc_feresetround_387_ctx): Likewise.
13710 (libc_feupdateenv_387_ctx): Likewise.
13711 (libc_feholdexcept_setroundf_ctx): Define macro.
13712 (libc_fesetenvf_ctx): Likewise.
13713 (libc_feupdateenvf_ctx): Likewise.
13714 (libc_feholdsetroundf_ctx): Likewise.
13715 (libc_feresetroundf_ctx): Likewise.
13716 (libc_feholdexcept_setround_ctx): Likewise.
13717 (libc_fesetenv_ctx): Likewise.
13718 (libc_feupdateenv_ctx): Likewise.
13719 (libc_feholdsetround_ctx): Likewise.
13720 (libc_feresetround_ctx): Likewise.
13721 (libc_feholdexcept_setroundl_ctx): Likewise.
13722 (libc_feupdateenvl_ctx): Likewise.
13723 (libc_feholdsetroundl_ctx): Likewise.
13724 (libc_feresetroundl_ctx): Likewise.
13725 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13726 (libc_feresetround_53bit_ctx): Likewise.
13728 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13730 * locale/iso-639.def: Convert to UTF-8.
13732 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13734 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13735 (EXCEPTION_TESTS_double): Likewise.
13736 (EXCEPTION_TESTS_long_double): Likewise.
13737 (EXCEPTION_TESTS): Likewise.
13738 * math/libm-test.inc (test_exceptions): Only test exceptions if
13739 EXCEPTION_TESTS (FLOAT).
13741 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13743 * benchtests/Makefile (string-bench): Add strcpy_chk and
13745 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13746 * benchtests/bench-stpcpy_chk.c: New file.
13747 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13748 * benchtests/bench-strcpy_chk.c: New file.
13749 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13751 (do_test): Likewise.
13753 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13755 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13756 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13757 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13758 with tabs where appropriate.
13759 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13761 [PPC_PLATFORM_PPC440]: Likewise.
13762 [PPC_PLATFORM_PPC464]: Likewise.
13763 [PPC_PLATFORM_PPC476]: Likewise.
13764 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13765 ppc464, and ppc476 platform strings merging from ports/
13768 2013-06-11 Andreas Schwab <schwab@suse.de>
13771 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13772 (from_ucs4_idx): Regenerate.
13773 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13774 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13775 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13776 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13777 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13778 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13779 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13780 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13781 from FROM_LOOP and TO_LOOP specific macros.
13782 (BODY): Handle combining characters.
13783 * iconvdata/BIG5HKSCS.irreversible: Update.
13784 * iconvdata/BIG5HKSCS.precomposed: New file.
13785 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13787 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13789 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13791 * include/sys/time.h: Fix indentation and add copyright header.
13793 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13794 (do_test): Likewise.
13795 * string/test-memchr.c (do_one_test): Likewise.
13796 (do_test): Likewise.
13797 * string/test-memcmp.c (do_one_test): Likewise.
13798 (do_test): Likewise.
13799 * string/test-memcpy.c (do_one_test): Likewise.
13800 (do_test): Likewise.
13801 * string/test-memmem.c (do_one_test): Likewise.
13802 (do_test): Likewise.
13803 (do_random_tests): Likewise.
13804 * string/test-memmove.c (do_one_test): Likewise.
13805 (do_test): Likewise.
13806 * string/test-memset.c (do_one_test): Likewise.
13807 (do_test): Likewise.
13808 * string/test-rawmemchr.c (do_one_test): Likewise.
13809 (do_test): Likewise.
13810 * string/test-strcasecmp.c (do_one_test): Likewise.
13811 (do_test): Likewise.
13812 * string/test-strcasestr.c (do_one_test): Likewise.
13813 (do_test): Likewise.
13814 * string/test-strcat.c (do_one_test): Likewise.
13815 (do_test): Likewise.
13816 * string/test-strchr.c (do_one_test): Likewise.
13817 (do_test): Likewise.
13818 * string/test-strcmp.c (do_one_test): Likewise.
13819 (do_test): Likewise.
13820 * string/test-strcpy.c (do_one_test): Likewise.
13821 (do_test): Likewise.
13822 * string/test-string.h: Likewise.
13823 (test_init): Likewise.
13824 * string/test-strlen.c (do_one_test): Likewise.
13825 (do_test): Likewise.
13826 * string/test-strncasecmp.c (do_one_test): Likewise.
13827 (do_test): Likewise.
13828 * string/test-strncat.c (do_one_test): Likewise.
13829 (do_test): Likewise.
13830 * string/test-strncmp.c (do_one_test): Likewise.
13831 (do_test_limit): Likewise.
13832 (do_test): Likewise.
13833 * string/test-strncpy.c (do_one_test): Likewise.
13834 (do_test): Likewise.
13835 * string/test-strnlen.c (do_one_test): Likewise.
13836 (do_test): Likewise.
13837 * string/test-strpbrk.c (do_one_test): Likewise.
13838 (do_test): Likewise.
13839 * string/test-strrchr.c (do_one_test): Likewise.
13840 (do_test): Likewise.
13841 * string/test-strspn.c (do_one_test): Likewise.
13842 (do_test): Likewise.
13843 * string/test-strstr.c (do_one_test): Likewise.
13844 (do_test): Likewise.
13846 * benchtests/Makefile (string-bench): Add string benchmarks.
13847 * benchtests/bench-bcopy-ifunc.c: New file.
13848 * benchtests/bench-bcopy.c: New file.
13849 * benchtests/bench-bzero-ifunc.c: New file.
13850 * benchtests/bench-bzero.c: New file.
13851 * benchtests/bench-memccpy-ifunc.c: New file.
13852 * benchtests/bench-memccpy.c: New file.
13853 * benchtests/bench-memchr-ifunc.c: New file.
13854 * benchtests/bench-memchr.c: New file.
13855 * benchtests/bench-memcmp-ifunc.c: New file.
13856 * benchtests/bench-memcmp.c: New file.
13857 * benchtests/bench-memmem-ifunc.c: New file.
13858 * benchtests/bench-memmem.c: New file.
13859 * benchtests/bench-memmove-ifunc.c: New file.
13860 * benchtests/bench-memmove.c: New file.
13861 * benchtests/bench-mempcpy-ifunc.c: New file.
13862 * benchtests/bench-mempcpy.c: New file.
13863 * benchtests/bench-memset-ifunc.c: New file.
13864 * benchtests/bench-memset.c: New file.
13865 * benchtests/bench-rawmemchr-ifunc.c: New file.
13866 * benchtests/bench-rawmemchr.c: New file.
13867 * benchtests/bench-stpcpy-ifunc.c: New file.
13868 * benchtests/bench-stpcpy.c: New file.
13869 * benchtests/bench-stpncpy-ifunc.c: New file.
13870 * benchtests/bench-stpncpy.c: New file.
13871 * benchtests/bench-strcasecmp-ifunc.c: New file.
13872 * benchtests/bench-strcasecmp.c: New file.
13873 * benchtests/bench-strcasestr-ifunc.c: New file.
13874 * benchtests/bench-strcasestr.c: New file.
13875 * benchtests/bench-strcat-ifunc.c: New file.
13876 * benchtests/bench-strcat.c: New file.
13877 * benchtests/bench-strchr-ifunc.c: New file.
13878 * benchtests/bench-strchr.c: New file.
13879 * benchtests/bench-strchrnul-ifunc.c: New file.
13880 * benchtests/bench-strchrnul.c: New file.
13881 * benchtests/bench-strcmp-ifunc.c: New file.
13882 * benchtests/bench-strcmp.c: New file.
13883 * benchtests/bench-strcpy-ifunc.c: New file.
13884 * benchtests/bench-strcpy.c: New file.
13885 * benchtests/bench-strcspn-ifunc.c: New file.
13886 * benchtests/bench-strcspn.c: New file.
13887 * benchtests/bench-strlen-ifunc.c: New file.
13888 * benchtests/bench-strlen.c: New file.
13889 * benchtests/bench-strncasecmp-ifunc.c: New file.
13890 * benchtests/bench-strncasecmp.c: New file.
13891 * benchtests/bench-strncat-ifunc.c: New file.
13892 * benchtests/bench-strncat.c: New file.
13893 * benchtests/bench-strncmp-ifunc.c: New file.
13894 * benchtests/bench-strncmp.c: New file.
13895 * benchtests/bench-strncpy-ifunc.c: New file.
13896 * benchtests/bench-strncpy.c: New file.
13897 * benchtests/bench-strnlen-ifunc.c: New file.
13898 * benchtests/bench-strnlen.c: New file.
13899 * benchtests/bench-strpbrk-ifunc.c: New file.
13900 * benchtests/bench-strpbrk.c: New file.
13901 * benchtests/bench-strrchr-ifunc.c: New file.
13902 * benchtests/bench-strrchr.c: New file.
13903 * benchtests/bench-strspn-ifunc.c: New file.
13904 * benchtests/bench-strspn.c: New file.
13905 * benchtests/bench-strstr-ifunc.c: New file.
13906 * benchtests/bench-strstr.c: New file.
13908 * benchtests/Makefile: Disable parallel execution of targets.
13909 (string-bench): Add memcpy.
13910 (benchset): New variable to store a list of benchmark sets.
13911 (bench-func): Renamed from bench.
13912 (bench-set): New target.
13913 (bench): Depend on bench-func and bench-set.
13914 * benchtests/README: Add section on benchmark sets.
13915 * benchtests/bench-memcpy-ifunc.c: New file.
13916 * benchtests/bench-memcpy.c: New file.
13917 * benchtests/bench-string.h: New file.
13919 2013-06-11 Andreas Schwab <schwab@suse.de>
13922 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13923 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13924 values in the triple.
13925 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13926 terminator in the group key.
13928 2013-06-11 Andreas Jaeger <aj@suse.de>
13930 * po/zh_TW.po: Update Chinese (traditional) translation from
13931 translation project.
13933 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13935 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13936 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13937 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13938 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13939 (clock_getcpuclockid): Likewise.
13940 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13941 Add weak_alias and libc_hidden_def.
13942 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13943 * rt/clock_gettime.c (clock_gettime): Rename to
13944 __clock_gettime. Add weak_alias and libc_hidden_def.
13945 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13946 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13947 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13948 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13949 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13951 * rt/clock_settime.c (clock_settime): Rename to
13952 __clock_settime. Add weak_alias and libc_hidden_def.
13953 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13955 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13957 * mach/err_boot.sub: Remove trailing whitespace.
13958 * mach/err_ipc.sub: Likewise.
13959 * mach/err_mach.sub: Likewise.
13961 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13962 (ROUNDING_TESTS_double): Likewise.
13963 (ROUNDING_TESTS_long_double): Likewise.
13964 (ROUNDING_TESTS): Likewise.
13965 * math/libm-test.inc: Include <math-tests.h>.
13966 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13967 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13968 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13969 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13971 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13973 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13976 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13978 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13979 otherwise empty TRANS lines.
13980 * sysdeps/gnu/errlist.c: Regenerated.
13982 * catgets/gencat.c (error_print): Use (void) in function
13984 * crypt/crypt_util.c (__init_des): Likewise.
13985 * crypt/speeds.c (Stop): Likewise.
13987 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13988 * inet/ruserpass.c (token): Likewise.
13989 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13990 * intl/localealias.c (extend_alias_table): Likewise.
13991 * intl/plural-exp.c (init_germanic_plural): Likewise.
13992 * libio/fcloseall.c (__fcloseall): Likewise.
13993 * libio/genops.c (_IO_flush_all): Likewise.
13994 (_IO_flush_all_linebuffered): Likewise.
13995 (_IO_cleanup): Likewise.
13996 (_IO_iter_begin): Likewise.
13997 (_IO_iter_end): Likewise.
13998 (_IO_list_lock): Likewise.
13999 (_IO_list_unlock): Likewise.
14000 (_IO_list_resetlock): Likewise.
14001 * libio/getchar.c (getchar): Likewise.
14002 * libio/getchar_u.c (getchar_unlocked): Likewise.
14003 * libio/getwchar.c (getwchar): Likewise.
14004 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14005 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14006 * login/getpt.c (__getpt): Likewise.
14007 * login/tst-utmp.c (main): Likewise.
14008 * malloc/hooks.c (__malloc_check_init): Likewise.
14009 * malloc/malloc.c (__malloc_stats): Likewise.
14010 * malloc/mtrace.c (tr_break): Likewise.
14011 (mtrace): Likewise.
14012 (muntrace): Likewise.
14013 * misc/fstab.c (endfsent): Likewise.
14014 * misc/getclktck.c (__getclktck): Likewise.
14015 * misc/getdtsz.c (__getdtablesize): Likewise.
14016 * misc/gethostid.c (gethostid): Likewise.
14017 * misc/getpagesize.c (__getpagesize): Likewise.
14018 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14019 (__get_nprocs): Likewise.
14020 (__get_phys_pages): Likewise.
14021 (__get_avphys_pages): Likewise.
14022 * misc/getttyent.c (getttyent): Likewise.
14023 (setttyent): Likewise.
14024 (endttyent): Likewise.
14025 * misc/getusershell.c (getusershell): Likewise.
14026 (endusershell): Likewise.
14027 (setusershell): Likewise.
14028 (initshells): Likewise.
14029 * misc/hsearch.c (__hdestroy): Likewise.
14030 * misc/sync.c (sync): Likewise.
14031 * misc/syslog.c (closelog_internal): Likewise.
14032 (closelog): Likewise.
14033 * misc/ttyslot.c (ttyslot): Likewise.
14034 * misc/vhangup.c (vhangup): Likewise.
14035 * posix/fork.c (__fork): Likewise.
14036 * posix/getegid.c (__getegid): Likewise.
14037 * posix/geteuid.c (__geteuid): Likewise.
14038 * posix/getgid.c (__getgid): Likewise.
14039 * posix/getpid.c (__getpid): Likewise.
14040 * posix/getppid.c (__getppid): Likewise.
14041 * posix/getuid.c (__getuid): Likewise.
14042 * posix/pause.c (pause): Likewise.
14043 * posix/setpgrp.c (setpgrp): Likewise.
14044 * posix/setsid.c (__setsid): Likewise.
14045 * posix/test-vfork.c (noop): Likewise.
14046 * resolv/gethnamaddr.c (_endhtent): Likewise.
14047 (_gethtent): Likewise.
14048 (ht_endhostent): Likewise.
14049 (gethostent): Likewise.
14050 (dns_service): Likewise.
14051 * stdlib/drand48.c (drand48): Likewise.
14052 * stdlib/lrand48.c (lrand48): Likewise.
14053 * stdlib/mrand48.c (mrand48): Likewise.
14054 * stdlib/rand.c (rand): Likewise.
14055 * stdlib/random.c (__random): Likewise.
14056 * stdlib/setenv.c (clearenv): Likewise.
14057 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14058 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14059 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14060 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14061 (__get_nprocs): Likewise.
14062 (__get_phys_pages): Likewise.
14063 (__get_avphys_pages): Likewise.
14064 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14065 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14066 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14067 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14068 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14069 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14070 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14071 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14072 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14073 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14074 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14075 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14076 * sysdeps/posix/clock.c (clock): Likewise.
14077 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14078 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14079 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14080 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14081 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14083 (__get_nprocs_conf): Likewise.
14084 (__get_phys_pages): Likewise.
14085 (__get_avphys_pages): Likewise.
14086 * time/clock.c (clock): Likewise.
14087 * time/tzset.c (__tzname_max): Likewise.
14089 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14091 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14092 (__bswap_32): Do not use "register".
14093 * crypt/crypt.c (_ufc_doit_r): Likewise.
14094 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14095 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14096 * gmon/gmon.c (__monstartup): Likewise.
14097 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14098 * hurd/hurdmalloc.c (more_memory): Likewise.
14099 (malloc): Likewise.
14101 (realloc): Likewise.
14102 (malloc_fork_prepare): Likewise.
14103 (malloc_fork_parent): Likewise.
14104 (malloc_fork_child): Likewise.
14105 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14106 (_svcauth_des): Likewise.
14107 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14108 * inet/inet_net.c (inet_network): Likewise.
14109 * inet/inet_netof.c (inet_netof): Likewise.
14110 * inet/rcmd.c (__validuser2_sa): Likewise.
14111 * io/fts.c (fts_open): Likewise.
14112 (fts_load): Likewise.
14113 (fts_close): Likewise.
14114 (fts_read): Likewise.
14115 (fts_children): Likewise.
14116 (fts_build): Likewise.
14117 (fts_stat): Likewise.
14118 (fts_sort): Likewise.
14119 (fts_alloc): Likewise.
14120 (fts_lfree): Likewise.
14121 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14122 (_IO_file_xsgetn): Likewise.
14123 (_IO_file_xsgetn_mmap): Likewise.
14124 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14125 (_IO_cookie_write): Likewise.
14126 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14127 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14128 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14129 * malloc/obstack.c (_obstack_begin): Likewise.
14130 (_obstack_begin_1): Likewise.
14131 (_obstack_newchunk): Likewise.
14132 (_obstack_allocated_p): Likewise.
14133 (obstack_free): Likewise.
14134 (_obstack_memory_used): Likewise.
14135 * misc/getttyent.c (getttynam): Likewise.
14136 (getttyent): Likewise.
14139 * misc/getusershell.c (initshells): Likewise.
14140 * misc/syslog.c (__vsyslog_chk): Likewise.
14141 * misc/ttyslot.c (ttyslot): Likewise.
14142 * nis/nis_hash.c (__nis_hash): Likewise.
14143 * posix/fnmatch_loop.c (FCT): Likewise.
14144 * posix/getconf.c (print_all): Likewise.
14146 * posix/getopt.c (exchange): Likewise.
14147 * posix/glob.c (globfree): Likewise.
14148 (prefix_array): Likewise.
14149 (__glob_pattern_type): Likewise.
14150 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14151 (NS_GET32): Likewise.
14152 (NS_PUT16): Likewise.
14153 (NS_PUT32): Likewise.
14154 * resolv/gethnamaddr.c (getanswer): Likewise.
14155 (gethostbyname2): Likewise.
14156 (gethostbyaddr): Likewise.
14157 (_gethtent): Likewise.
14158 (_gethtbyname2): Likewise.
14159 (_gethtbyaddr): Likewise.
14160 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14161 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14162 * resolv/res_init.c (__res_vinit): Likewise.
14163 (net_mask): Likewise.
14164 * resolv/res_mkquery.c (outchar): Likewise.
14166 * stdio-common/printf_fp.c (outchar): Likewise.
14168 * stdio-common/printf_fphex.c (outchar): Likewise.
14170 * stdio-common/printf_size.c (outchar): Likewise.
14172 * stdio-common/test_rdwr.c (main): Likewise.
14173 * stdio-common/tfformat.c (matches): Likewise.
14174 * stdio-common/vfprintf.c (outchar): Likewise.
14175 (printf_unknown): Likewise.
14176 (buffered_vfprintf): Likewise.
14177 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14178 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14179 (ReadFile): Likewise.
14180 * stdlib/qsort.c (SWAP): Likewise.
14181 (_quicksort): Likewise.
14182 * stdlib/setenv.c (__add_to_environ): Likewise.
14183 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14184 * stdlib/strtol_l.c (__strtol_l): Likewise.
14185 * stdlib/tst-strtod.c (main): Likewise.
14186 * stdlib/tst-strtol.c (main): Likewise.
14187 * stdlib/tst-strtoll.c (main): Likewise.
14188 * string/bits/string2.h (__strcmp_cc): Likewise.
14189 (__strcmp_cg): Likewise.
14190 (__strcspn_c1): Likewise.
14191 (__strcspn_c2): Likewise.
14192 (__strcspn_c3): Likewise.
14193 (__strspn_c1): Likewise.
14194 (__strspn_c2): Likewise.
14195 (__strspn_c3): Likewise.
14196 (__strsep_1c): Likewise.
14197 (__strsep_2c): Likewise.
14198 (__strsep_3c): Likewise.
14199 * string/memccpy.c (__memccpy): Likewise.
14200 * string/stpcpy.c (__stpcpy): Likewise.
14201 * string/strcmp.c (strcmp): Likewise.
14202 * string/strrchr.c (strrchr): Likewise.
14203 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14205 * sysdeps/mach/hurd/getcwd.c
14206 (_hurd_canonicalize_directory_name_internal): Likewise.
14207 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14208 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14209 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14210 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14211 Likewise, in both definitions.
14212 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14214 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14215 64] (__bswap_64): Likewise.
14216 * time/test_time.c (main): Likewise.
14217 * time/tzfile.c (__tzfile_read): Likewise.
14218 (__tzfile_compute): Likewise.
14219 * time/tzset.c (__tzset_parse_tz): Likewise.
14220 (tzset_internal): Likewise.
14221 (compute_change): Likewise.
14222 * wcsmbs/wcscat.c (__wcscat): Likewise.
14223 * wcsmbs/wcschr.c (wcschr): Likewise.
14224 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14225 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14226 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14227 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14228 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14229 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14230 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14231 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14232 * wcsmbs/wmemset.c (wmemset): Likewise.
14234 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14236 * scripts/config.guess: Update to version 2013-05-16.
14237 * scripts/config.sub: Update to version 2013-04-24.
14238 * scripts/install-sh: Update to version 2011-11-20.07.
14239 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14240 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14242 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14244 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14245 * elf/sln.c: Likewise.
14246 * hurd/hurd/ioctl.h: Likewise.
14247 * hurd/hurdmalloc.c: Likewise.
14248 * hurd/xattr.c: Likewise.
14249 * include/shlib-compat.h: Likewise.
14250 * inet/ruserpass.c: Likewise.
14251 * libio/iofgets_u.c: Likewise.
14252 * libio/iofgetws_u.c: Likewise.
14253 * locale/programs/ld-identification.c: Likewise.
14254 * locale/programs/ld-time.c: Likewise.
14255 * mach/msg-destroy.c: Likewise.
14256 * nss/nss_files/files-netgrp.c: Likewise.
14257 * resolv/res_data.c: Likewise.
14258 * soft-fp/op-1.h: Likewise.
14259 * soft-fp/op-2.h: Likewise.
14260 * soft-fp/op-4.h: Likewise.
14261 * soft-fp/op-common.h: Likewise.
14262 * stdio-common/printf_fphex.c: Likewise.
14263 * stdlib/strtod_l.c: Likewise.
14264 * sunrpc/rpc/clnt.h: Likewise.
14265 * sysdeps/generic/framestate.c: Likewise.
14266 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14267 * sysdeps/i386/bsd-setjmp.S: Likewise.
14268 * sysdeps/i386/__longjmp.S: Likewise.
14269 * sysdeps/i386/setjmp.S: Likewise.
14270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14271 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14272 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14288 * sysdeps/ieee754/support.c: Likewise.
14289 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14290 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14291 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14292 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14293 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14294 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14295 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14296 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14297 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14298 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14299 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14300 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14301 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14302 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14303 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14304 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14305 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14308 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14310 * posix/transbug.c: Remove executable mode.
14312 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14314 * crypt/speeds.c: Remove trailing whitespace.
14315 * dlfcn/default.c: Likewise.
14316 * elf/ifuncdep2.c: Likewise.
14317 * elf/ifuncmain1.c: Likewise.
14318 * elf/ifuncmain1vis.c: Likewise.
14319 * elf/testobj.h: Likewise.
14320 * elf/tst-stackguard1.c: Likewise.
14321 * gmon/sys/gmon.h: Likewise.
14322 * hurd/hurdmsg.c: Likewise.
14323 * hurd/new-fd.c: Likewise.
14324 * hurd/ports-get.c: Likewise.
14325 * iconvdata/ibm1008_420.c: Likewise.
14326 * inet/tst-getni1.c: Likewise.
14327 * inet/tst-getni2.c: Likewise.
14328 * libio/ioungetc.c: Likewise.
14329 * libio/wfiledoalloc.c: Likewise.
14330 * manual/libm-err-tab.pl: Likewise.
14331 * math/w_dremf.c: Likewise.
14332 * misc/ftruncate.c: Likewise.
14333 * posix/bug-glob2.c: Likewise.
14334 * posix/tst-pcre.c: Likewise.
14335 * posix/wait4.c: Likewise.
14336 * resolv/README: Likewise.
14337 * resolv/res_debug.h: Likewise.
14338 * resolv/tst-inet_ntop.c: Likewise.
14339 * setjmp/bug269-setjmp.c: Likewise.
14340 * soft-fp/extended.h: Likewise.
14341 * soft-fp/op-1.h: Likewise.
14342 * soft-fp/op-2.h: Likewise.
14343 * soft-fp/op-4.h: Likewise.
14344 * soft-fp/op-8.h: Likewise.
14345 * soft-fp/testit.c: Likewise.
14346 * stdio-common/bug16.c: Likewise.
14347 * stdlib/random.c: Likewise.
14348 * sunrpc/rpcsvc/rquota.x: Likewise.
14349 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14354 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14356 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14357 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14358 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14359 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14360 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14376 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14378 * sysdeps/ieee754/s_lib_version.c: Likewise.
14379 * sysdeps/mach/hurd/check_fds.c: Likewise.
14380 * sysdeps/mach/hurd/getsockname.c: Likewise.
14381 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14382 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14383 * sysdeps/powerpc/bits/link.h: Likewise.
14384 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14385 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14386 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14387 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14388 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14389 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14390 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14391 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14392 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14393 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14394 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14395 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14396 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14397 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14398 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14399 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14400 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14401 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14402 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14403 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14404 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14405 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14406 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14407 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14408 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14411 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14412 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14414 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14417 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14418 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14419 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14420 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14421 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14422 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14423 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14424 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14425 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14426 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14427 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14428 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14429 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14430 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14431 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14432 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14433 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14436 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14438 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14439 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14440 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14441 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14442 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14443 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14444 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14445 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14446 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14447 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14448 * sysdeps/powerpc/sysdep.h: Likewise.
14449 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14450 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14451 * sysdeps/sh/dl-trampoline.S: Likewise.
14452 * sysdeps/sh/memset.S: Likewise.
14453 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14454 * sysdeps/sh/strlen.S: Likewise.
14455 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14456 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14457 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14458 * sysdeps/sparc/sparc32/rem.S: Likewise.
14459 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14460 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14461 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14462 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14463 * sysdeps/sparc/sparc32/urem.S: Likewise.
14464 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14465 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14466 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14467 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14468 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14469 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14470 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14471 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14472 * sysdeps/unix/bsd/times.c: Likewise.
14473 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14474 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14478 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14479 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14480 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14481 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14482 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14483 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14484 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14485 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14486 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14487 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14488 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14489 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14490 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14491 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14492 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14493 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14494 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14495 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14496 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14497 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14498 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14499 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14501 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14502 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14503 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14504 * sysdeps/x86_64/strcspn.S: Likewise.
14506 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14508 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14509 generated file. Regenerate properly from gen-translit.pl.
14510 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14511 locale/C-translit.h.
14513 2013-06-05 Andreas Schwab <schwab@suse.de>
14516 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14517 week as 6 instead of -1.
14518 * time/tst-strptime.c (day_tests): Add test case.
14520 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14522 * sysdeps/generic/math_private.h
14523 (libc_feholdexcept_setround_53bit): Replace with
14524 libc_feholdsetround_53bit.
14525 (libc_feupdateenv_53bit): Replace with
14526 libc_feresetround_53bit.
14527 (SET_RESTORE_ROUND_53BIT): Adjust.
14529 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14531 * string/test-strchrnul.c: Add copyright header.
14533 * posix/tst-getaddrinfo4.c: Increase test timeout.
14535 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14538 * math/libm-test.inc (MAX_EXP): Remove
14540 (ulp): Use MIN_EXP - MANT_DIG.
14541 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14543 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14545 * po/be.po: Revert last change.
14546 * po/zh_CN.po: Likewise.
14547 * po/header.pot: Likewise.
14549 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14551 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14552 link-libc-deps to empty as target-specific variable.
14553 * Makerules (link-libc-args): New variable.
14554 (libc-for-link): Likewise.
14555 (link-libc-deps): Likewise.
14556 (lib%.so): Depend on $(link-libc-deps). Link with
14558 (build-module): Link with $(link-libc-args).
14559 (build-module-asneeded): Likewise.
14560 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14562 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14563 target-specific variable.
14564 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14565 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14566 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14568 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14570 ($(objpfx)libpcprofile.so): Likewise.
14571 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14573 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14574 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14575 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14577 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14578 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14579 * login/Makefile ($(objpfx)libutil.so): Likewise.
14580 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14581 * math/Makefile ($(objpfx)libm.so): Likewise.
14582 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14583 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14584 variable instead of depending directly on libc.
14585 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14586 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14588 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14590 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14591 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14592 ($(objpfx)libanl.so): Likewise.
14593 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14595 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14597 * sysdeps/i386/fpu/Makefile: Remove file.
14598 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14599 ($(objpfx)libm.so): Remove dependency on ld.so.
14601 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14604 * nis/yp_xdr.c (XDRMAXNAME): Define.
14605 (XDRMAXRECORD): Define.
14606 (xdr_domainname): Use XDRMAXNAME.
14607 (xdr_mapname): Likewise.
14608 (xdr_peername): Likewise.
14609 (xdr_keydat): Use XDRMAXRECORD.
14610 (xdr_valdat): Likewise.
14612 2013-05-30 Jeff Law <law@redhat.com>
14615 * manual/errno.texi (ESTALE): Update to account for more than
14616 just NFS file systems.
14617 * sysdeps/gnu/errlist.c: Regenerated.
14619 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14622 * elf/Makefile (tests): Add tst-null-argv.
14623 (modules-names): Add tst-null-argv-lib.
14624 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14625 (tst-null-argv-ENV): Set environment for tst-null-argv.
14626 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14627 (RTLD_PROGNAME): New macro.
14628 * elf/tst-null-argv.c: New test case.
14629 * elf/tst-null-argv-lib.c: Library for test case.
14630 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14631 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14632 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14633 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14634 * elf/dl-init.c (call_init): Likewise.
14635 (_dl_init): Likewise.
14636 * elf/dl-load.c (print_search_path): Likewise.
14637 (_dl_map_object): Likewise.
14638 * elf/dl-lookup.c (do_lookup_x): Likewise.
14639 (add_dependency): Likewise.
14640 (_dl_lookup_symbol_x): Likewise.
14641 (_dl_debug_bindings): Likewise.
14642 * elf/dl-open.c (_dl_show_scope): Likewise.
14643 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14644 * elf/dl-version.c (match_symbol): Likewise.
14645 (_dl_check_map_versions): Likewise.
14646 * elf/rtld.c (dl_main): Likewise.
14647 (print_unresolved): Use RTLD_PROGNAME.
14648 (print_missing_version): Likewise.
14649 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14650 (elf_machine_rela): Likewise.
14651 * sysdeps/powerpc/powerpc32/dl-machine.c
14652 (__process_machine_rela): Likewise.
14653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14655 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14659 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14662 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14666 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14668 * po/be.po: Add descriptive title.
14669 * po/zh_CN.po: Likewise.
14670 * po/header.pot: Likewise.
14672 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14674 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14676 (enlarge_archive): Likewise.
14678 2013-05-28 Ben North <ben@redfrontdoor.org>
14680 * manual/arith.texi (frexp): It is the magnitude of the return
14681 value which lies in [0.5, 1), not the return value itself.
14683 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14687 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14689 * stdio-common/bug26.c (main): Correct fscanf template.
14691 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14692 declare _dl_skip_args.
14694 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14697 * manual/platform.texi: Add missing @end deftypefun.
14699 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14702 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14703 bit of mantissa of 2^16382.
14704 * math/libm-test.inc (hypot_test_data): Add more tests.
14706 * math/libm-test.inc: Add drem and pow10 to list of tested
14708 (pow10_test): New function.
14709 (drem_test): Likewise.
14710 (drem_test_tonearest): Likewise.
14711 (drem_test_towardzero): Likewise.
14712 (drem_test_downward): Likewise.
14713 (drem_test_upward): Likewise.
14714 (main): Call the new functions.
14716 * math/libm-test.inc (finite_test_data): Remove.
14717 (finite_test): Run tests from isfinite_test_data.
14718 (gamma_test_data): Remove.
14719 (gamma_test): Run tests from lgamma_test_data.
14720 * sysdeps/i386/fpu/libm-test-ulps: Update.
14721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14723 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14725 * manual/platform.texi: Add PowerPC PPR function set documentation.
14726 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14729 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14731 * math/libm-test.inc (MAX_EXP): Define.
14733 (ulp): New function.
14734 (check_float_internal): Use ULPDIFF.
14735 (cpow_test): Disable failing test.
14736 (check_ulp): Test ulp() implemetnation.
14737 (main): Call check_ulp before starting tests.
14739 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14741 * math/gen-libm-test.pl (generate_testfile): Do not handle
14742 START_DATA and END_DATA.
14743 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14745 (acos_tonearest_test_data): Likewise.
14746 (acos_towardzero_test_data): Likewise.
14747 (acos_downward_test_data): Likewise.
14748 (acos_upward_test_data): Likewise.
14749 (acosh_test_data): Likewise.
14750 (asin_test_data): Likewise.
14751 (asin_tonearest_test_data): Likewise.
14752 (asin_towardzero_test_data): Likewise.
14753 (asin_downward_test_data): Likewise.
14754 (asin_upward_test_data): Likewise.
14755 (asinh_test_data): Likewise.
14756 (atan_test_data): Likewise.
14757 (atanh_test_data): Likewise.
14758 (atan2_test_data): Likewise.
14759 (cabs_test_data): Likewise.
14760 (cacos_test_data): Likewise.
14761 (cacosh_test_data): Likewise.
14762 (carg_test_data): Likewise.
14763 (casin_test_data): Likewise.
14764 (casinh_test_data): Likewise.
14765 (catan_test_data): Likewise.
14766 (catanh_test_data): Likewise.
14767 (cbrt_test_data): Likewise.
14768 (ccos_test_data): Likewise.
14769 (ccosh_test_data): Likewise.
14770 (ceil_test_data): Likewise.
14771 (cexp_test_data): Likewise.
14772 (cimag_test_data): Likewise.
14773 (clog_test_data): Likewise.
14774 (clog10_test_data): Likewise.
14775 (conj_test_data): Likewise.
14776 (copysign_test_data): Likewise.
14777 (cos_test_data): Likewise.
14778 (cos_tonearest_test_data): Likewise.
14779 (cos_towardzero_test_data): Likewise.
14780 (cos_downward_test_data): Likewise.
14781 (cos_upward_test_data): Likewise.
14782 (cosh_test_data): Likewise.
14783 (cosh_tonearest_test_data): Likewise.
14784 (cosh_towardzero_test_data): Likewise.
14785 (cosh_downward_test_data): Likewise.
14786 (cosh_upward_test_data): Likewise.
14787 (cpow_test_data): Likewise.
14788 (cproj_test_data): Likewise.
14789 (creal_test_data): Likewise.
14790 (csin_test_data): Likewise.
14791 (csinh_test_data): Likewise.
14792 (csqrt_test_data): Likewise.
14793 (ctan_test_data): Likewise.
14794 (ctan_tonearest_test_data): Likewise.
14795 (ctan_towardzero_test_data): Likewise.
14796 (ctan_downward_test_data): Likewise.
14797 (ctan_upward_test_data): Likewise.
14798 (ctanh_test_data): Likewise.
14799 (ctanh_tonearest_test_data): Likewise.
14800 (ctanh_towardzero_test_data): Likewise.
14801 (ctanh_downward_test_data): Likewise.
14802 (ctanh_upward_test_data): Likewise.
14803 (erf_test_data): Likewise.
14804 (erfc_test_data): Likewise.
14805 (exp_test_data): Likewise.
14806 (exp_tonearest_test_data): Likewise.
14807 (exp_towardzero_test_data): Likewise.
14808 (exp_downward_test_data): Likewise.
14809 (exp_upward_test_data): Likewise.
14810 (exp10_test_data): Likewise.
14811 (exp2_test_data): Likewise.
14812 (expm1_test_data): Likewise.
14813 (fabs_test_data): Likewise.
14814 (fdim_test_data): Likewise.
14815 (finite_test_data): Likewise.
14816 (floor_test_data): Likewise.
14817 (fma_test_data): Likewise.
14818 (fma_towardzero_test_data): Likewise.
14819 (fma_downward_test_data): Likewise.
14820 (fma_upward_test_data): Likewise.
14821 (fmax_test_data): Likewise.
14822 (fmin_test_data): Likewise.
14823 (fmod_test_data): Likewise.
14824 (fpclassify_test_data): Likewise.
14825 (frexp_test_data): Likewise.
14826 (gamma_test_data): Likewise.
14827 (hypot_test_data): Likewise.
14828 (ilogb_test_data): Likewise.
14829 (isfinite_test_data): Likewise.
14830 (isgreater_test_data): Likewise.
14831 (isgreaterequal_test_data): Likewise.
14832 (isinf_test_data): Likewise.
14833 (isless_test_data): Likewise.
14834 (islessequal_test_data): Likewise.
14835 (islessgreater_test_data): Likewise.
14836 (isnan_test_data): Likewise.
14837 (isnormal_test_data): Likewise.
14838 (issignaling_test_data): Likewise.
14839 (isunordered_test_data): Likewise.
14840 (j0_test_data): Likewise.
14841 (j1_test_data): Likewise.
14842 (jn_test_data): Likewise.
14843 (ldexp_test_data): Likewise.
14844 (lgamma_test_data): Likewise.
14845 (lrint_test_data): Likewise.
14846 (lrint_tonearest_test_data): Likewise.
14847 (lrint_towardzero_test_data): Likewise.
14848 (lrint_downward_test_data): Likewise.
14849 (lrint_upward_test_data): Likewise.
14850 (llrint_test_data): Likewise.
14851 (llrint_tonearest_test_data): Likewise.
14852 (llrint_towardzero_test_data): Likewise.
14853 (llrint_downward_test_data): Likewise.
14854 (llrint_upward_test_data): Likewise.
14855 (log_test_data): Likewise.
14856 (log10_test_data): Likewise.
14857 (log1p_test_data): Likewise.
14858 (log2_test_data): Likewise.
14859 (logb_test_data): Likewise.
14860 (logb_downward_test_data): Likewise.
14861 (lround_test_data): Likewise.
14862 (llround_test_data): Likewise.
14863 (modf_test_data): Likewise.
14864 (nearbyint_test_data): Likewise.
14865 (nextafter_test_data): Likewise.
14866 (nexttoward_test_data): Likewise.
14867 (pow_test_data): Likewise.
14868 (pow_tonearest_test_data): Likewise.
14869 (pow_towardzero_test_data): Likewise.
14870 (pow_downward_test_data): Likewise.
14871 (pow_upward_test_data): Likewise.
14872 (remainder_test_data): Likewise.
14873 (remainder_tonearest_test_data): Likewise.
14874 (remainder_towardzero_test_data): Likewise.
14875 (remainder_downward_test_data): Likewise.
14876 (remainder_upward_test_data): Likewise.
14877 (remquo_test_data): Likewise.
14878 (rint_test_data): Likewise.
14879 (rint_tonearest_test_data): Likewise.
14880 (rint_towardzero_test_data): Likewise.
14881 (rint_downward_test_data): Likewise.
14882 (rint_upward_test_data): Likewise.
14883 (round_test_data): Likewise.
14884 (scalb_test_data): Likewise.
14885 (scalbn_test_data): Likewise.
14886 (scalbln_test_data): Likewise.
14887 (signbit_test_data): Likewise.
14888 (sin_test_data): Likewise.
14889 (sin_tonearest_test_data): Likewise.
14890 (sin_towardzero_test_data): Likewise.
14891 (sin_downward_test_data): Likewise.
14892 (sin_upward_test_data): Likewise.
14893 (sincos_test_data): Likewise.
14894 (sinh_test_data): Likewise.
14895 (sinh_tonearest_test_data): Likewise.
14896 (sinh_towardzero_test_data): Likewise.
14897 (sinh_downward_test_data): Likewise.
14898 (sinh_upward_test_data): Likewise.
14899 (sqrt_test_data): Likewise.
14900 (tan_test_data): Likewise.
14901 (tan_tonearest_test_data): Likewise.
14902 (tan_towardzero_test_data): Likewise.
14903 (tan_downward_test_data): Likewise.
14904 (tan_upward_test_data): Likewise.
14905 (tanh_test_data): Likewise.
14906 (tgamma_test_data): Likewise.
14907 (trunc_test_data): Likewise.
14908 (y0_test_data): Likewise.
14909 (y1_test_data): Likewise.
14910 (yn_test_data): Likewise.
14911 (significand_test_data): Likewise.
14913 * math/gen-libm-test.pl (@functions): Remove variable.
14914 (generate_testfile): Don't handle START and END lines.
14915 * math/libm-test.inc (START): New macro.
14917 (END_COMPLEX): Likewise.
14918 (acos_test): Use END macro without arguments.
14919 (acos_test_tonearest): Likewise.
14920 (acos_test_towardzero): Likewise.
14921 (acos_test_downward): Likewise.
14922 (acos_test_upward): Likewise.
14923 (acosh_test): Likewise.
14924 (asin_test): Likewise.
14925 (asin_test_tonearest): Likewise.
14926 (asin_test_towardzero): Likewise.
14927 (asin_test_downward): Likewise.
14928 (asin_test_upward): Likewise.
14929 (asinh_test): Likewise.
14930 (atan_test): Likewise.
14931 (atanh_test): Likewise.
14932 (atan2_test): Likewise.
14933 (cabs_test): Likewise.
14934 (cacos_test): Use END_COMPLEX macro without arguments.
14935 (cacosh_test): Likewise.
14936 (carg_test): Use END macro without arguments.
14937 (casin_test): Use END_COMPLEX macro without arguments.
14938 (casinh_test): Likewise.
14939 (catan_test): Likewise.
14940 (catanh_test): Likewise.
14941 (cbrt_test): Use END macro without arguments.
14942 (ccos_test): Use END_COMPLEX macro without arguments.
14943 (ccosh_test): Likewise.
14944 (ceil_test): Use END macro without arguments.
14945 (cexp_test): Use END_COMPLEX macro without arguments.
14946 (cimag_test): Use END macro without arguments.
14947 (clog_test): Use END_COMPLEX macro without arguments.
14948 (clog10_test): Likewise.
14949 (conj_test): Likewise.
14950 (copysign_test): Use END macro without arguments.
14951 (cos_test): Likewise.
14952 (cos_test_tonearest): Likewise.
14953 (cos_test_towardzero): Likewise.
14954 (cos_test_downward): Likewise.
14955 (cos_test_upward): Likewise.
14956 (cosh_test): Likewise.
14957 (cosh_test_tonearest): Likewise.
14958 (cosh_test_towardzero): Likewise.
14959 (cosh_test_downward): Likewise.
14960 (cosh_test_upward): Likewise.
14961 (cpow_test): Use END_COMPLEX macro without arguments.
14962 (cproj_test): Likewise.
14963 (creal_test): Use END macro without arguments.
14964 (csin_test): Use END_COMPLEX macro without arguments.
14965 (csinh_test): Likewise.
14966 (csqrt_test): Likewise.
14967 (ctan_test): Likewise.
14968 (ctan_test_tonearest): Likewise.
14969 (ctan_test_towardzero): Likewise.
14970 (ctan_test_downward): Likewise.
14971 (ctan_test_upward): Likewise.
14972 (ctanh_test): Likewise.
14973 (ctanh_test_tonearest): Likewise.
14974 (ctanh_test_towardzero): Likewise.
14975 (ctanh_test_downward): Likewise.
14976 (ctanh_test_upward): Likewise.
14977 (erf_test): Use END macro without arguments.
14978 (erfc_test): Likewise.
14979 (exp_test): Likewise.
14980 (exp_test_tonearest): Likewise.
14981 (exp_test_towardzero): Likewise.
14982 (exp_test_downward): Likewise.
14983 (exp_test_upward): Likewise.
14984 (exp10_test): Likewise.
14985 (exp2_test): Likewise.
14986 (expm1_test): Likewise.
14987 (fabs_test): Likewise.
14988 (fdim_test): Likewise.
14989 (finite_test): Likewise.
14990 (floor_test): Likewise.
14991 (fma_test): Likewise.
14992 (fma_test_towardzero): Likewise.
14993 (fma_test_downward): Likewise.
14994 (fma_test_upward): Likewise.
14995 (fmax_test): Likewise.
14996 (fmin_test): Likewise.
14997 (fmod_test): Likewise.
14998 (fpclassify_test): Likewise.
14999 (frexp_test): Likewise.
15000 (gamma_test): Likewise.
15001 (hypot_test): Likewise.
15002 (ilogb_test): Likewise.
15003 (isfinite_test): Likewise.
15004 (isgreater_test): Likewise.
15005 (isgreaterequal_test): Likewise.
15006 (isinf_test): Likewise.
15007 (isless_test): Likewise.
15008 (islessequal_test): Likewise.
15009 (islessgreater_test): Likewise.
15010 (isnan_test): Likewise.
15011 (isnormal_test): Likewise.
15012 (issignaling_test): Likewise.
15013 (isunordered_test): Likewise.
15014 (j0_test): Likewise.
15015 (j1_test): Likewise.
15016 (jn_test): Likewise.
15017 (ldexp_test): Likewise.
15018 (lgamma_test): Likewise.
15019 (lrint_test): Likewise.
15020 (lrint_test_tonearest): Likewise.
15021 (lrint_test_towardzero): Likewise.
15022 (lrint_test_downward): Likewise.
15023 (lrint_test_upward): Likewise.
15024 (llrint_test): Likewise.
15025 (llrint_test_tonearest): Likewise.
15026 (llrint_test_towardzero): Likewise.
15027 (llrint_test_downward): Likewise.
15028 (llrint_test_upward): Likewise.
15029 (log_test): Likewise.
15030 (log10_test): Likewise.
15031 (log1p_test): Likewise.
15032 (log2_test): Likewise.
15033 (logb_test): Likewise.
15034 (logb_test_downward): Likewise.
15035 (lround_test): Likewise.
15036 (llround_test): Likewise.
15037 (modf_test): Likewise.
15038 (nearbyint_test): Likewise.
15039 (nextafter_test): Likewise.
15040 (nexttoward_test): Likewise.
15041 (pow_test): Likewise.
15042 (pow_test_tonearest): Likewise.
15043 (pow_test_towardzero): Likewise.
15044 (pow_test_downward): Likewise.
15045 (pow_test_upward): Likewise.
15046 (remainder_test): Likewise.
15047 (remainder_test_tonearest): Likewise.
15048 (remainder_test_towardzero): Likewise.
15049 (remainder_test_downward): Likewise.
15050 (remainder_test_upward): Likewise.
15051 (remquo_test): Likewise.
15052 (rint_test): Likewise.
15053 (rint_test_tonearest): Likewise.
15054 (rint_test_towardzero): Likewise.
15055 (rint_test_downward): Likewise.
15056 (rint_test_upward): Likewise.
15057 (round_test): Likewise.
15058 (scalb_test): Likewise.
15059 (scalbn_test): Likewise.
15060 (scalbln_test): Likewise.
15061 (signbit_test): Likewise.
15062 (sin_test): Likewise.
15063 (sin_test_tonearest): Likewise.
15064 (sin_test_towardzero): Likewise.
15065 (sin_test_downward): Likewise.
15066 (sin_test_upward): Likewise.
15067 (sincos_test): Likewise.
15068 (sinh_test): Likewise.
15069 (sinh_test_tonearest): Likewise.
15070 (sinh_test_towardzero): Likewise.
15071 (sinh_test_downward): Likewise.
15072 (sinh_test_upward): Likewise.
15073 (sqrt_test): Likewise.
15074 (tan_test): Likewise.
15075 (tan_test_tonearest): Likewise.
15076 (tan_test_towardzero): Likewise.
15077 (tan_test_downward): Likewise.
15078 (tan_test_upward): Likewise.
15079 (tanh_test): Likewise.
15080 (tgamma_test): Likewise.
15081 (trunc_test): Likewise.
15082 (y0_test): Likewise.
15083 (y1_test): Likewise.
15084 (yn_test): Likewise.
15085 (significand_test): Likewise.
15087 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15090 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15092 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15095 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15096 __ppc_mdoio and __ppc_mdoom.
15097 * manual/platform.texi: Document new functions __ppc_yield,
15098 __ppc_mdoio and __ppc_mdoom.
15100 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15102 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15103 (main): Mention "tls" pseudo-hwcap is legacy.
15104 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15106 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15108 * math/gen-libm-test.pl (parse_args): Output only string of
15109 arguments as text for test name, not full call or descriptions of
15110 tests for extra outputs.
15111 (generate_testfile): Do not pass function name to parse_args.
15112 Generate this_func variable from START.
15113 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15115 (struct test_ff_f_data): Likewise.
15116 (test_ff_f_data_nexttoward): Likewise.
15117 (struct test_fi_f_data): Likewise.
15118 (struct test_fl_f_data): Likewise.
15119 (struct test_if_f_data): Likewise.
15120 (struct test_fff_f_data): Likewise.
15121 (struct test_c_f_data): Likewise.
15122 (struct test_f_f1_data): Likewise. Remove field extra_name.
15123 (struct test_fF_f1_data): Likewise.
15124 (struct test_ffI_f1_data): Likewise.
15125 (struct test_c_c_data): Rename test_name field to arg_str.
15126 (struct test_cc_c_data): Likewise.
15127 (struct test_f_i_data): Likewise.
15128 (struct test_ff_i_data): Likewise.
15129 (struct test_f_l_data): Likewise.
15130 (struct test_f_L_data): Likewise.
15131 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15133 (COMMON_TEST_SETUP): New macro.
15134 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15135 (COMMON_TEST_CLEANUP): Likewise.
15136 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15137 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15139 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15140 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15142 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15143 (RUN_TEST_fff_f): Take argument string. Call new setup and
15145 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15146 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15148 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15149 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15151 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15152 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15154 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15155 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15157 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15158 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15160 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15161 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15163 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15164 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15166 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15167 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15169 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15170 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15172 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15173 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15175 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15176 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15178 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15179 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15181 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15182 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15184 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15185 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15187 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15188 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15190 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15192 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15194 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15195 to _sifields.sigfault.
15196 (si_addr_lsb): Define new macro.
15197 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15198 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15199 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15201 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15204 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15206 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15208 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15209 loading the domain.
15211 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15213 * math/gen-libm-test.pl (parse_args): Do not include expected
15214 result in test name.
15215 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15216 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15217 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15218 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15219 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15222 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15224 * benchtests/Makefile: Sort function entries.
15226 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15227 tanh, asinh, acosh, atanh.
15228 * benchtests/acos-inputs: New file.
15229 * benchtests/acosh-inputs: New file.
15230 * benchtests/asin-inputs: New file.
15231 * benchtests/asinh-inputs: New file.
15232 * benchtests/atanh-inputs: New file.
15233 * benchtests/cosh-inputs: New file.
15234 * benchtests/log-inputs: New file.
15235 * benchtests/sinh-inputs: New file.
15236 * benchtests/tanh-inputs: New file.
15238 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15241 * posix/tst-getaddrinfo4.c: New test.
15242 * posix/Makefile (tests): Add it.
15244 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15247 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15248 when no services were used.
15249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15250 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15252 2013-05-21 Andreas Schwab <schwab@suse.de>
15255 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15256 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15258 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15259 redundant variable declarations and reallocation of buffer when
15260 parsing as IPv6 address. Always set NSS status when called from
15261 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15262 buffer too small. Correct computation of needed size.
15263 * nss/Makefile (tests): Add test-digits-dots.
15264 * nss/test-digits-dots.c: New test.
15266 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15268 * benchtests/Makefile: Remove instructions for adding
15270 * benchtests/README: New file to explain how to execute and
15271 enhance the benchmark tests.
15273 2013-05-21 Andreas Schwab <schwab@suse.de>
15276 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15277 * setjmp/tst-sigsetjmp.c: New test.
15279 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15281 * sysdeps/x86_64/memset.S (memset): New implementation.
15282 (__bzero): Likewise.
15283 (__memset_tail): New function.
15285 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15287 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15288 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15289 __memcpy_sse2_unaligned ifunc selection.
15290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15291 Add memcpy-sse2-unaligned.S.
15292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15293 Add: __memcpy_sse2_unaligned.
15295 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15298 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15299 math_force_eval before restoring floating-point envrionment.
15300 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15303 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15305 (__nearbyintl): Use math_force_eval before restoring
15306 floating-point environment.
15307 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15309 * math/gen-libm-test.pl (special_functions): Remove.
15310 (parse_args): Don't handle TEST_extra. Handle functions with no
15312 * math/libm-test.inc (struct test_sincos_data): Replace with
15313 struct test_fFF_11_data.
15314 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15315 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15316 (sincos_test_data): Change element type to struct
15317 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15318 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15319 RUN_TEST_LOOP_sincos.
15320 * math/README.libm-test: Don't mention special handling of
15321 individual functions.
15322 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15324 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15325 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15326 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15329 * math/gen-libm-test.pl (get_variable): Remove function.
15330 (parse_args): Don't show pointer parameters to call in test
15331 names. Use "extra output N" in test names for extra outputs
15332 rather than naming variables.
15334 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15337 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15338 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15339 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15341 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15343 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15346 * math/gen-libm-test.pl (@tests): Remove variable.
15347 ($count): Likewise.
15348 (new_test): Remove function.
15349 (show_exceptions): New function.
15350 (special_functions): Use show_exceptions instead of new_test.
15351 (parse_args): Likewise.
15352 (generate_testfile): Pass only function name in generated call to
15353 print_max_error or print_complex_max_error.
15354 (get_ulps): Do not handle complex tests specially.
15355 (output_test): Rename to ...
15356 (get_all_ulps_for_test): ... this. Return a string rather than
15357 printing to a file. Require ulps to be present.
15358 (output_ulps): Generate arrays rather than #defines.
15359 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15360 (struct ulp_data): New type.
15361 (BUILD_COMPLEX_ULP): Remove macro.
15362 (compare_ulp_data): New function.
15363 (find_ulps): Likewise.
15364 (find_test_ulps): Likewise.
15365 (find_function_ulps): Likewise.
15366 (find_complex_function_ulps): Likewise.
15367 (print_max_error): Determine allowed ulps using
15368 find_function_ulps.
15369 (print_complex_max_error): Determine allowed ulps using
15370 find_complex_function_ulps.
15371 (check_float_internal): Determine max ulps using find_test_ulps.
15372 (check_float): Do not take max_ulp parameter. Update call to
15373 check_float_internal.
15374 (check_complex): Likewise.
15375 (check_int): Do not take max_ulp parameter.
15376 (check_long): Likewise.
15377 (check_bool): Likewise.
15378 (check_longlong): Likewise.
15379 (struct test_f_f_data): Remove max_ulp field.
15380 (struct test_ff_f_data): Likewise.
15381 (struct test_ff_f_data_nexttoward): Likewise.
15382 (struct test_fi_f_data): Likewise.
15383 (struct test_fl_f_data): Likewise.
15384 (struct test_if_f_data): Likewise.
15385 (struct test_fff_f_data): Likewise.
15386 (struct test_c_f_data): Likewise.
15387 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15388 (struct test_fF_f1_data): Likewise.
15389 (struct test_ffI_f1_data): Likewise.
15390 (struct test_c_c_data): Remove max_ulp field.
15391 (struct test_cc_c_data): Likewise.
15392 (struct test_f_i_data): Likewise.
15393 (struct test_ff_i_data): Likewise.
15394 (struct test_f_l_data): Likewise.
15395 (struct test_f_L_data): Likewise.
15396 (struct test_sincos_data): Likewise.
15397 (RUN_TEST_f_f): Do not handle ulps.
15398 (RUN_TEST_LOOP_f_f): Likewise.
15399 (RUN_TEST_2_f): Likewise.
15400 (RUN_TEST_LOOP_2_f): Likewise.
15401 (RUN_TEST_fff_f): Likewise.
15402 (RUN_TEST_LOOP_fff_f): Likewise.
15403 (RUN_TEST_c_f): Likewise.
15404 (RUN_TEST_LOOP_c_f): Likewise.
15405 (RUN_TEST_f_f1): Likewise.
15406 (RUN_TEST_LOOP_f_f1): Likewise.
15407 (RUN_TEST_fF_f1): Likewise.
15408 (RUN_TEST_LOOP_fF_f1): Likewise.
15409 (RUN_TEST_fI_f1): Likewise.
15410 (RUN_TEST_LOOP_fI_f1): Likewise.
15411 (RUN_TEST_ffI_f1): Likewise.
15412 (RUN_TEST_LOOP_ffI_f1): Likewise.
15413 (RUN_TEST_c_c): Likewise.
15414 (RUN_TEST_LOOP_c_c): Likewise.
15415 (RUN_TEST_cc_c): Likewise.
15416 (RUN_TEST_LOOP_cc_c): Likewise.
15417 (RUN_TEST_f_i): Likewise.
15418 (RUN_TEST_LOOP_f_i): Likewise.
15419 (RUN_TEST_f_i_tg): Likewise.
15420 (RUN_TEST_LOOP_f_i_tg): Likewise.
15421 (RUN_TEST_ff_i_tg): Likewise.
15422 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15423 (RUN_TEST_f_b): Likewise.
15424 (RUN_TEST_LOOP_f_b): Likewise.
15425 (RUN_TEST_f_b_tg): Likewise.
15426 (RUN_TEST_LOOP_f_b_tg): Likewise.
15427 (RUN_TEST_f_l): Likewise.
15428 (RUN_TEST_LOOP_f_l): Likewise.
15429 (RUN_TEST_f_L): Likewise.
15430 (RUN_TEST_LOOP_f_L): Likewise.
15431 (RUN_TEST_sincos): Likewise.
15432 (RUN_TEST_LOOP_sincos): Likewise.
15434 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15438 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15439 main case of finite arguments, set rounding mode to FE_TONEAREST
15440 and discard exceptions.
15441 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15443 (remainder_tonearest_test_data): New variable.
15444 (remainder_test_tonearest): New function.
15445 (remainder_towardzero_test_data): New variable.
15446 (remainder_test_towardzero): New function.
15447 (remainder_downward_test_data): New variable.
15448 (remainder_test_downward): New function.
15449 (remainder_upward_test_data): New variable.
15450 (remainder_test_upward): New function.
15451 (main): Call the new test functions.
15453 * math/libm-test.inc (struct test_f_f1_data): Remove field
15455 (struct test_fF_f1_data): Likewise.
15456 (struct test_ffI_f1_data): Likewise.
15457 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15458 based on value of EXTRA_EXPECTED.
15459 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15460 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15461 EXTRA_VAR based on value of EXTRA_EXPECTED.
15462 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15463 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15464 EXTRA_VAR based on value of EXTRA_EXPECTED.
15465 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15466 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15467 EXTRA_VAR based on value of EXTRA_EXPECTED.
15468 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15469 * math/gen-libm-test.pl (parse_args): Don't output initializers
15470 for extra output values.
15472 * math/libm-test.inc (check_int): Expect result to be exactly
15473 equal to expected value and do not handle ulps.
15474 (check_long): Likewise.
15475 (check_longlong): Likewise.
15477 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15479 (cimag_test_data): Likewise.
15480 (conj_test_data): Likewise.
15481 (copysign_test_data): Likewise.
15482 (cproj_test_data): Likewise.
15483 (creal_test_data): Likewise.
15484 (fabs_test_data): Likewise.
15485 (fdim_test_data): Likewise.
15486 (finite_test_data): Likewise.
15487 (floor_test_data): Likewise.
15488 (fmax_test_data): Likewise.
15489 (fmin_test_data): Likewise.
15490 (fmod_test_data): Likewise.
15491 (fpclassify_test_data): Likewise.
15492 (frexp_test_data): Likewise.
15493 (ilogb_test_data): Likewise.
15494 (isfinite_test_data): Likewise.
15495 (isgreater_test_data): Likewise.
15496 (isgreaterequal_test_data): Likewise.
15497 (isinf_test_data): Likewise.
15498 (isless_test_data): Likewise.
15499 (islessequal_test_data): Likewise.
15500 (islessgreater_test_data): Likewise.
15501 (isnan_test_data): Likewise.
15502 (isnormal_test_data): Likewise.
15503 (issignaling_test_data): Likewise.
15504 (isunordered_test_data): Likewise.
15505 (ldexp_test_data): Likewise.
15506 (lrint_test_data): Likewise.
15507 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15508 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15509 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15510 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15511 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15512 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15514 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15515 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15516 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15517 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15519 (lrint_downward_test_data): Test for "inexact" exceptions.
15520 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15521 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15522 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15524 (lrint_upward_test_data): Test for "inexact" exceptions.
15525 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15527 (llrint_test_data): Test for "inexact" exceptions.
15528 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15529 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15530 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15531 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15532 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15533 (llrint_downward_test_data): Test for "inexact" exceptions.
15534 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15535 (llrint_upward_test_data): Test for "inexact" exceptions.
15536 (logb_test_data): Likewise.
15537 (logb_downward_test_data): Likewise.
15538 (nextafter_test_data): Likewise.
15539 (nexttoward_test_data): Likewise.
15540 (remainder_test_data): Likewise.
15541 (remquo_test_data): Likewise.
15542 (scalbn_test_data): Likewise.
15543 (scalbln_test_data): Likewise.
15544 (signbit_test_data): Likewise.
15545 (sqrt_test_data): Likewise.
15546 (significand_test_data): Likewise.
15548 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15551 * benchtests/bench-modf.c (struct args): Mark arg0 as
15553 * scripts/bench.pl: Mark members of struct args as volatile.
15555 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15558 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15559 negative infinity on POWER6 or lower.
15560 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15562 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15565 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15566 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15567 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15568 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15569 (_FP_SETQNAN): New macro.
15570 (_FP_SETQNAN_SEMIRAW): Likewise.
15571 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15572 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15573 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15574 (FP_EXTEND): Use _FP_FRAC_SNANP.
15575 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15576 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15578 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15583 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15585 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15586 with DIVIDE_BY_ZERO_EXCEPTION.
15587 (gamma_test_data): Likewise.
15588 (lgamma_test_data): Likewise.
15589 (log_test_data): Likewise.
15590 (log10_test_data): Likewise.
15591 (log2_test_data): Likewise.
15592 (tgamma_test_data): Likewise.
15594 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15595 (acos_test_tonearest): Likewise.
15596 (acos_test_towardzero): Likewise.
15597 (acos_test_downward): Likewise.
15598 (acos_test_upward): Likewise.
15599 (acosh_test): Likewise.
15600 (asin_test): Likewise.
15601 (asin_test_tonearest): Likewise.
15602 (asin_test_towardzero): Likewise.
15603 (asin_test_downward): Likewise.
15604 (asin_test_upward): Likewise.
15605 (asinh_test): Likewise.
15606 (atan_test): Likewise.
15607 (atanh_test): Likewise.
15608 (atan2_test): Likewise.
15609 (cabs_test): Likewise.
15610 (cacos_test): Likewise.
15611 (cacosh_test): Likewise.
15612 (casin_test): Likewise.
15613 (casinh_test): Likewise.
15614 (catan_test): Likewise.
15615 (catanh_test): Likewise.
15616 (cbrt_test): Likewise.
15617 (ccos_test): Likewise.
15618 (ccosh_test): Likewise.
15619 (cexp_test): Likewise.
15620 (clog_test): Likewise.
15621 (clog10_test): Likewise.
15622 (cos_test): Likewise.
15623 (cos_test_tonearest): Likewise.
15624 (cos_test_towardzero): Likewise.
15625 (cos_test_downward): Likewise.
15626 (cos_test_upward): Likewise.
15627 (cosh_test): Likewise.
15628 (cosh_test_tonearest): Likewise.
15629 (cosh_test_towardzero): Likewise.
15630 (cosh_test_downward): Likewise.
15631 (cosh_test_upward): Likewise.
15632 (cpow_test): Likewise.
15633 (csin_test): Likewise.
15634 (csinh_test): Likewise.
15635 (csqrt_test): Likewise.
15636 (ctan_test): Likewise.
15637 (ctan_test_tonearest): Likewise.
15638 (ctan_test_towardzero): Likewise.
15639 (ctan_test_downward): Likewise.
15640 (ctan_test_upward): Likewise.
15641 (ctanh_test): Likewise.
15642 (ctanh_test_tonearest): Likewise.
15643 (ctanh_test_towardzero): Likewise.
15644 (ctanh_test_downward): Likewise.
15645 (ctanh_test_upward): Likewise.
15646 (erf_test): Likewise.
15647 (erfc_test): Likewise.
15648 (exp_test): Likewise.
15649 (exp_test_tonearest): Likewise.
15650 (exp_test_towardzero): Likewise.
15651 (exp_test_downward): Likewise.
15652 (exp_test_upward): Likewise.
15653 (exp10_test): Likewise.
15654 (exp2_test): Likewise.
15655 (expm1_test): Likewise.
15656 (fmod_test): Likewise.
15657 (gamma_test): Likewise.
15658 (hypot_test): Likewise.
15659 (j0_test): Likewise.
15660 (j1_test): Likewise.
15661 (jn_test): Likewise.
15662 (lgamma_test): Likewise.
15663 (log_test): Likewise.
15664 (log10_test): Likewise.
15665 (log1p_test): Likewise.
15666 (log2_test): Likewise.
15667 (logb_test_downward): Likewise.
15668 (pow_test): Likewise.
15669 (pow_test_tonearest): Likewise.
15670 (pow_test_towardzero): Likewise.
15671 (pow_test_downward): Likewise.
15672 (pow_test_upward): Likewise.
15673 (remainder_test): Likewise.
15674 (remquo_test): Likewise.
15675 (sin_test): Likewise.
15676 (sin_test_tonearest): Likewise.
15677 (sin_test_towardzero): Likewise.
15678 (sin_test_downward): Likewise.
15679 (sin_test_upward): Likewise.
15680 (sincos_test): Likewise.
15681 (sinh_test): Likewise.
15682 (sinh_test_tonearest): Likewise.
15683 (sinh_test_towardzero): Likewise.
15684 (sinh_test_downward): Likewise.
15685 (sinh_test_upward): Likewise.
15686 (sqrt_test): Likewise.
15687 (tan_test): Likewise.
15688 (tan_test_tonearest): Likewise.
15689 (tan_test_towardzero): Likewise.
15690 (tan_test_downward): Likewise.
15691 (tan_test_upward): Likewise.
15692 (tanh_test): Likewise.
15693 (tgamma_test): Likewise.
15694 (y0_test): Likewise.
15695 (y1_test): Likewise.
15696 (yn_test): Likewise.
15698 * math/gen-libm-test.pl (adjust_arg): Remove function.
15699 (special_function): Remove argument $in_func. Only handle
15700 generating output for tables of tests, not inside functions.
15701 (parse_args): Likewise.
15702 (generate_testfile): Remove variable $in_func. Update call to
15704 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15705 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15706 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15707 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15708 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15709 (MAX_VALUE_INIT): Rename macro to max_value.
15710 (MIN_VALUE_INIT): Rename macro to min_value.
15711 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15712 (plus_zero): Remove variable.
15713 (minus_zero): Likewise.
15714 (plus_infty): Likewise.
15715 (minus_infty): Likewise.
15716 (qnan_value): Likewise.
15717 (max_value): Likewise.
15718 (min_value): Likewise.
15719 (min_subnorm_value): Likewise.
15721 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15723 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15724 uint64_t or uint32_t usage.
15725 * crypt/sha256-block.c: Likewise.
15726 * crypt/sha256-crypt.c: Likewise.
15727 * crypt/sha256.c: Likewise.
15728 * crypt/sha512-block.c: Likewise.
15729 * crypt/sha512-crypt.c: Likewise.
15730 * crypt/sha512.c: Likewise.
15731 * debug/backtrace-tst.c: Likewise.
15732 * debug/pcprofiledump.c: Likewise.
15733 * elf/cache.c: Likewise.
15734 * elf/dl-cache.c: Likewise.
15735 * elf/dl-misc.c: Likewise.
15736 * elf/dl-profile.c: Likewise.
15737 * elf/dl-support.c: Likewise.
15738 * elf/ldconfig.c: Likewise.
15739 * elf/sprof.c: Likewise.
15740 * iconv/dummy-repertoire.c: Likewise.
15741 * iconv/iconv_charmap.c: Likewise.
15742 * iconv/skeleton.c: Likewise.
15743 * iconvdata/8bit-generic.c: Likewise.
15744 * iconvdata/cp737.h: Likewise.
15745 * iconvdata/cp775.h: Likewise.
15746 * iconvdata/ibm1008.h: Likewise.
15747 * iconvdata/ibm1025.h: Likewise.
15748 * iconvdata/ibm1046.h: Likewise.
15749 * iconvdata/ibm1097.h: Likewise.
15750 * iconvdata/ibm1112.h: Likewise.
15751 * iconvdata/ibm1122.h: Likewise.
15752 * iconvdata/ibm1123.h: Likewise.
15753 * iconvdata/ibm1124.h: Likewise.
15754 * iconvdata/ibm1129.h: Likewise.
15755 * iconvdata/ibm1130.h: Likewise.
15756 * iconvdata/ibm1132.h: Likewise.
15757 * iconvdata/ibm1133.h: Likewise.
15758 * iconvdata/ibm1137.h: Likewise.
15759 * iconvdata/ibm1140.h: Likewise.
15760 * iconvdata/ibm1141.h: Likewise.
15761 * iconvdata/ibm1142.h: Likewise.
15762 * iconvdata/ibm1143.h: Likewise.
15763 * iconvdata/ibm1144.h: Likewise.
15764 * iconvdata/ibm1145.h: Likewise.
15765 * iconvdata/ibm1146.h: Likewise.
15766 * iconvdata/ibm1147.h: Likewise.
15767 * iconvdata/ibm1148.h: Likewise.
15768 * iconvdata/ibm1149.h: Likewise.
15769 * iconvdata/ibm1153.h: Likewise.
15770 * iconvdata/ibm1154.h: Likewise.
15771 * iconvdata/ibm1155.h: Likewise.
15772 * iconvdata/ibm1156.h: Likewise.
15773 * iconvdata/ibm1157.h: Likewise.
15774 * iconvdata/ibm1158.h: Likewise.
15775 * iconvdata/ibm1160.h: Likewise.
15776 * iconvdata/ibm1161.h: Likewise.
15777 * iconvdata/ibm1162.h: Likewise.
15778 * iconvdata/ibm1163.h: Likewise.
15779 * iconvdata/ibm1164.h: Likewise.
15780 * iconvdata/ibm1166.h: Likewise.
15781 * iconvdata/ibm1167.h: Likewise.
15782 * iconvdata/ibm12712.h: Likewise.
15783 * iconvdata/ibm1390.h: Likewise.
15784 * iconvdata/ibm1399.h: Likewise.
15785 * iconvdata/ibm16804.h: Likewise.
15786 * iconvdata/ibm4517.h: Likewise.
15787 * iconvdata/ibm4899.h: Likewise.
15788 * iconvdata/ibm4909.h: Likewise.
15789 * iconvdata/ibm4971.h: Likewise.
15790 * iconvdata/ibm5347.h: Likewise.
15791 * iconvdata/ibm803.h: Likewise.
15792 * iconvdata/ibm856.h: Likewise.
15793 * iconvdata/ibm901.h: Likewise.
15794 * iconvdata/ibm902.h: Likewise.
15795 * iconvdata/ibm9030.h: Likewise.
15796 * iconvdata/ibm9066.h: Likewise.
15797 * iconvdata/ibm921.h: Likewise.
15798 * iconvdata/ibm922.h: Likewise.
15799 * iconvdata/ibm9448.h: Likewise.
15800 * iconvdata/isiri-3342.h: Likewise.
15801 * iconvdata/jis0201.h: Likewise.
15802 * include/link.h: Likewise.
15803 * include/netdb.h: Likewise.
15804 * inet/check_native.c: Likewise.
15805 * inet/check_pf.c: Likewise.
15806 * inet/getipv4sourcefilter.c: Likewise.
15807 * inet/getnameinfo.c: Likewise.
15808 * inet/getsourcefilter.c: Likewise.
15809 * inet/htonl.c: Likewise.
15810 * inet/setipv4sourcefilter.c: Likewise.
15811 * inet/setsourcefilter.c: Likewise.
15812 * inet/test-inet6_opt.c: Likewise.
15813 * inet/tst-network.c: Likewise.
15814 * locale/C-collate.c: Likewise.
15815 * locale/C-ctype.c: Likewise.
15816 * locale/C-time.c: Likewise.
15817 * locale/C-translit.h: Likewise.
15818 * locale/loadarchive.c: Likewise.
15819 * locale/programs/3level.h: Likewise.
15820 * locale/programs/charmap.c: Likewise.
15821 * locale/programs/charmap.h: Likewise.
15822 * locale/programs/ld-address.c: Likewise.
15823 * locale/programs/ld-collate.c: Likewise.
15824 * locale/programs/ld-ctype.c: Likewise.
15825 * locale/programs/ld-identification.c: Likewise.
15826 * locale/programs/ld-measurement.c: Likewise.
15827 * locale/programs/ld-messages.c: Likewise.
15828 * locale/programs/ld-monetary.c: Likewise.
15829 * locale/programs/ld-name.c: Likewise.
15830 * locale/programs/ld-numeric.c: Likewise.
15831 * locale/programs/ld-paper.c: Likewise.
15832 * locale/programs/ld-telephone.c: Likewise.
15833 * locale/programs/ld-time.c: Likewise.
15834 * locale/programs/linereader.c: Likewise.
15835 * locale/programs/locale.c: Likewise.
15836 * locale/programs/locarchive.c: Likewise.
15837 * locale/programs/locfile.h: Likewise.
15838 * locale/programs/repertoire.c: Likewise.
15839 * locale/programs/simple-hash.c: Likewise.
15840 * locale/programs/simple-hash.h: Likewise.
15841 * malloc/memusage.c: Likewise.
15842 * malloc/memusagestat.c: Likewise.
15843 * nis/nis_defaults.c: Likewise.
15844 * nis/nis_hash.c: Likewise.
15845 * nis/nis_print.c: Likewise.
15846 * nis/nis_xdr.c: Likewise.
15847 * nscd/connections.c: Likewise.
15848 * nscd/hstcache.c: Likewise.
15849 * nscd/nscd_gethst_r.c: Likewise.
15850 * nscd/nscd_getserv_r.c: Likewise.
15851 * nscd/nscd_helper.c: Likewise.
15852 * nscd/servicescache.c: Likewise.
15853 * nss/makedb.c: Likewise.
15854 * nss/nss_db/db-XXX.c: Likewise.
15855 * nss/nss_db/db-initgroups.c: Likewise.
15856 * nss/nss_db/db-netgrp.c: Likewise.
15857 * nss/nss_files/files-network.c: Likewise.
15858 * nss/nss_files/files-parse.c: Likewise.
15859 * posix/bug-regex5.c: Likewise.
15860 * posix/fnmatch_loop.c: Likewise.
15861 * posix/regcomp.c: Likewise.
15862 * posix/regexec.c: Likewise.
15863 * posix/tst-rfc3484-2.c: Likewise.
15864 * posix/tst-rfc3484-3.c: Likewise.
15865 * posix/tst-rfc3484.c: Likewise.
15866 * resolv/nss_dns/dns-canon.c: Likewise.
15867 * resolv/nss_dns/dns-network.c: Likewise.
15868 * resolv/res_init.c: Likewise.
15869 * resolv/res_mkquery.c: Likewise.
15870 * resolv/tst-aton.c: Likewise.
15871 * stdlib/cxa_atexit.c: Likewise.
15872 * stdlib/cxa_finalize.c: Likewise.
15873 * stdlib/gen-fpioconst.c: Likewise.
15874 * stdlib/strtol_l.c: Likewise.
15875 * string/tst-endian.c: Likewise.
15876 * sunrpc/auth_des.c: Likewise.
15877 * sunrpc/clnt_udp.c: Likewise.
15878 * sunrpc/rtime.c: Likewise.
15879 * sunrpc/svcauth_des.c: Likewise.
15880 * sunrpc/xdr.c: Likewise.
15881 * sunrpc/xdr_intXX_t.c: Likewise.
15882 * sunrpc/xdr_rec.c: Likewise.
15883 * sysdeps/generic/ldconfig.h: Likewise.
15884 * sysdeps/generic/ldsodefs.h: Likewise.
15885 * sysdeps/generic/memusage.h: Likewise.
15886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15896 * sysdeps/posix/getaddrinfo.c: Likewise.
15897 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15898 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15899 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15900 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15901 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15902 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15903 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15904 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15905 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15906 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15907 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15908 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15909 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15910 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15911 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15912 * sysdeps/x86_64/dl-tls.h: Likewise.
15913 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15914 * time/alt_digit.c: Likewise.
15915 * time/era.c: Likewise.
15916 * wcsmbs/tst-c16c32-1.c: Likewise.
15918 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15920 * math/libm-test.inc (struct test_sincos_data): New type.
15921 (RUN_TEST_LOOP_sincos): New macro.
15922 (sincos_test_data): New variable.
15923 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15925 2013-05-16 Richard Henderson <rth@redhat.com>
15927 * math/atest-exp2.c (LIMB64): New macro.
15928 (CONSTSZ): New macro.
15929 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15931 (print_mpn_fp): ... to function scope.
15932 (read_mpn_hex): Remove.
15933 (get_log2): Remove.
15934 (exp2_mpn): Use mp_log2.
15935 (main): Use mp_exp1.
15937 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15939 * math/libm-test.inc: Remove comment about not testing "inexact"
15941 (INEXACT_EXCEPTION): New macro.
15942 (NO_INEXACT_EXCEPTION): Likewise.
15943 (INVALID_EXCEPTION_OK): Update value.
15944 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15945 (OVERFLOW_EXCEPTION_OK): Likewise.
15946 (UNDERFLOW_EXCEPTION_OK): Likewise.
15947 (IGNORE_ZERO_INF_SIGN): Likewise.
15948 (ERRNO_UNCHANGED): Likewise.
15949 (ERRNO_EDOM): Likewise.
15950 (ERRNO_ERANGE): Likewise.
15951 (test_exceptions): Handle testing "inexact" exceptions.
15952 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15953 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15954 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15955 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15957 (rint_towardzero_test_data): Likewise.
15958 (rint_downward_test_data): Likewise.
15959 (rint_upward_test_data): Likewise.
15961 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15962 with OVERFLOW_EXCEPTION.
15963 (exp10_test_data): Likewise.
15964 (exp2_test_data): Likewise.
15965 (expm1_test_data): Likewise.
15966 (lgamma_test_data): Likewise.
15967 (pow_test_data): Likewise.
15968 (tgamma_test_data): Likewise.
15969 (yn_test_data): Remove duplicate test of overflow.
15971 * math/libm-test.inc (struct test_cc_c_data): New type.
15972 (RUN_TEST_LOOP_cc_c): New macro.
15973 (cpow_test_data): New variable.
15974 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15976 * math/libm-test.inc (struct test_f_L_data): New type.
15977 (RUN_TEST_LOOP_f_L): New macro.
15978 (llrint_test_data): New variable.
15979 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15980 (llrint_tonearest_test_data): New variable.
15981 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15982 (llrint_towardzero_test_data): New variable.
15983 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15984 (llrint_downward_test_data): New variable.
15985 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15986 (llrint_upward_test_data): New variable.
15987 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15988 (llround_test_data): New variable.
15989 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15991 2013-05-13 Peter Collingbourne <pcc@google.com>
15993 * math/atest-exp2.c (get_log2): Remove const attribute.
15995 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15997 * math/libm-test.inc (struct test_f_l_data): New type.
15998 (RUN_TEST_LOOP_f_l): New macro.
15999 (lrint_test_data): New variable.
16000 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16001 (lrint_tonearest_test_data): New variable.
16002 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16003 (lrint_towardzero_test_data): New variable.
16004 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16005 (lrint_downward_test_data): New variable.
16006 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16007 (lrint_upward_test_data): New variable.
16008 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16009 (lround_test_data): New variable.
16010 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16012 2013-05-15 Peter Collingbourne <pcc@google.com>
16014 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16015 (EXTRACT_WORDS64) Use where appropriate.
16016 (INSERT_WORDS64) Likewise.
16018 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16019 constraints with x constraints.
16020 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16022 * malloc/obstack.c (_obstack_compat): Add initializer.
16024 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16027 si_trapno and add si_addr_lsb to _sifields.sigfault.
16028 (si_trapno): Remove macro.
16029 (si_addr_lsb): Define new macro.
16030 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16032 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16034 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16035 instead of TEST_f_l.
16036 (llrint_test_tonearest): Likewise.
16037 (llrint_test_towardzero): Likewise.
16038 (llrint_test_downward): Likewise.
16039 (llrint_test_upward): Likewise.
16040 (llround_test): Likewise.
16042 * math/libm-test.inc (struct test_f_i_data): Add comment.
16043 (RUN_TEST_LOOP_f_b): New macro.
16044 (RUN_TEST_LOOP_f_b_tg): Likewise.
16045 (finite_test_data): New variable.
16046 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16047 (isfinite_test_data): New variable.
16048 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16049 (isinf_test_data): New variable.
16050 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16051 (isnan_test_data): New variable.
16052 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16053 (isnormal_test_data): New variable.
16054 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16055 (issignaling_test_data): New variable.
16056 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16057 (signbit_test_data): New variable.
16058 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16060 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16061 with INVALID_EXCEPTION.
16062 (acosh_test_data): Likewise.
16063 (asin_test_data): Likewise.
16064 (atanh_test_data): Likewise.
16065 (fmod_test_data): Likewise.
16066 (log_test_data): Likewise.
16067 (log10_test_data): Likewise.
16068 (log2_test_data): Likewise.
16069 (pow_test_data): Likewise.
16070 (sqrt_test_data): Likewise.
16071 (y0_test_data): Likewise.
16072 (y1_test_data): Likewise.
16073 (yn_test_data): Likewise.
16075 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16078 * math/libm-test.inc (struct test_ff_i_data): New type.
16079 (RUN_TEST_LOOP_ff_i_tg): New macro.
16080 (isgreater_test_data): New variable.
16081 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16082 (isgreaterequal_test_data): New variable.
16083 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16084 (isless_test_data): New variable.
16085 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16086 (islessequal_test_data): New variable.
16087 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16088 (islessgreater_test_data): New variable.
16089 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16090 (isunordered_test_data): New variable.
16091 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16093 2013-05-14 David S. Miller <davem@davemloft.net>
16095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16097 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16099 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16101 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16103 (struct test_f_i_data): Change type of max_ulp to int.
16105 * math/libm-test.inc (test_ffI_f1_data): New type.
16106 (RUN_TEST_LOOP_ffI_f1): New macro.
16107 (remquo_test_data): New variable.
16108 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16110 * setjmp/tst-setjmp-fp.c: New file.
16111 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16112 (link-libm): New variable.
16113 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16115 * math/libm-test.inc (struct test_f_i_data): New type.
16116 (RUN_TEST_LOOP_f_i): New macro.
16117 (RUN_TEST_LOOP_f_i_tg): Likewise.
16118 (fpclassify_test_data): New variable.
16119 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16120 (ilogb_test_data): New variable.
16121 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16123 * math/libm-test.inc (scalbln_test): Correct function name in END
16126 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16127 (RUN_TEST_LOOP_fI_f1): New macro.
16128 (frexp_test_data): New variable.
16129 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16131 * math/libm-test.inc (struct test_fF_f1_data): New type.
16132 (RUN_TEST_LOOP_fF_f1): New macro.
16133 (modf_test_data): New variable.
16134 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16136 * math/libm-test.inc (struct test_f_f1_data): New type.
16137 (RUN_TEST_LOOP_f_f1): New macro.
16138 (gamma_test_data): New variable.
16139 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16140 (lgamma_test_data): New variable.
16141 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16143 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16145 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16146 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16147 (main): Comment "tls" pseudo-hwcap.
16149 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16151 * math/libm-test.inc (struct test_fl_f_data): New type.
16152 (RUN_TEST_LOOP_fl_f): New variable.
16153 (scalbln_test_data): New variable.
16154 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16156 * math/libm-test.inc (struct test_fi_f_data): New type.
16157 (RUN_TEST_LOOP_fi_f): New macro.
16158 (ldexp_test_data): New variable.
16159 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16160 (scalbn_test_data): New variable.
16161 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16163 * math/libm-test.inc (struct test_c_f_data): New type.
16164 (RUN_TEST_LOOP_c_f): New macro.
16165 (cabs_test_data): New variable.
16166 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16167 (carg_test_data): New variable.
16168 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16169 (cimag_test_data): New variable.
16170 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16171 (creal_test_data): New variable.
16172 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16174 * math/libm-test.inc (struct test_if_f_data): New type.
16175 (RUN_TEST_LOOP_if_f): New macro.
16176 (jn_test_data): New variable.
16177 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16178 (yn_test_data): New variable.
16179 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16181 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16183 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16185 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16186 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16188 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16190 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16191 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16192 (bench-deps): Add bench-timing.h.
16193 * benchtests-bench-skeleton.c: Include bench-timing.h.
16194 (main): Use TIMING_* macros instead of clock_gettime.
16195 * benchtests/bench-timing.h: New file.
16198 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16199 Renamed from _LIB_VERSION.
16200 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16202 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16204 * math/libm-test.inc (struct test_fff_f_data): New type.
16205 (RUN_TEST_LOOP_fff_f): New macro.
16206 (fma_test_data): New variable.
16207 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16208 (fma_towardzero_test_data): New variable.
16209 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16210 (fma_downward_test_data): New variable.
16211 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16212 (fma_upward_test_data): New variable.
16213 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16215 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16216 (struct test_c_c_data): New type.
16217 (RUN_TEST_LOOP_c_c): New macro.
16218 (cacos_test_data): New variable.
16219 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16220 (cacosh_test_data): New variable.
16221 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16222 (casin_test_data): New variable.
16223 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16224 (casinh_test_data): New variable.
16225 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16226 (catan_test_data): New variable.
16227 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16228 (catanh_test_data): New variable.
16229 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16230 (ccos_test_data): New variable.
16231 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16232 (ccosh_test_data): New variable.
16233 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16234 (cexp_test_data): New variable.
16235 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16236 (clog_test_data): New variable.
16237 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16238 (clog10_test_data): New variable.
16239 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16240 (conj_test_data): New variable.
16241 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16242 (cproj_test_data): New variable.
16243 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16244 (csin_test_data): New variable.
16245 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16246 (csinh_test_data): New variable.
16247 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16248 (csqrt_test_data): New variable.
16249 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16250 (ctan_test_data): New variable.
16251 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16252 (ctan_tonearest_test_data): New variable.
16253 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16254 (ctan_towardzero_test_data): New variable.
16255 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16256 (ctan_downward_test_data): New variable.
16257 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16258 (ctan_upward_test_data): New variable.
16259 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16260 (ctanh_test_data): New variable.
16261 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16262 (ctanh_tonearest_test_data): New variable.
16263 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16264 (ctanh_towardzero_test_data): New variable.
16265 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16266 (ctanh_downward_test_data): New variable.
16267 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16268 (ctanh_upward_test_data): New variable.
16269 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16270 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16273 * math/libm-test.inc (struct test_ff_f_data): New type.
16274 (struct test_ff_f_data_nexttoward): Likewise.
16275 (RUN_TEST_LOOP_2_f): New macro.
16276 (RUN_TEST_LOOP_ff_f): Likewise.
16277 (atan2_test_data): New variable.
16278 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16279 (copysign_test_data): New variable.
16280 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16281 (fdim_test_data): New variable.
16282 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16283 (fmax_test_data): New variable.
16284 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16285 (fmin_test_data): New variable.
16286 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16287 (fmod_test_data): New variable.
16288 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16289 (hypot_test_data): New variable.
16290 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16291 (nextafter_test_data): New variable.
16292 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16293 (nexttoward_test_data): New variable.
16294 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16295 (pow_test_data): New variable.
16296 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16297 (pow_tonearest_test_data): New variable.
16298 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16299 (pow_towardzero_test_data): New variable.
16300 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16301 (pow_downward_test_data): New variable.
16302 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16303 (pow_upward_test_data): New variable.
16304 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16305 (remainder_test_data): New variable.
16306 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16307 (scalb_test_data): New variable.
16308 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16309 * sysdeps/i386/fpu/libm-test-ulps: Update.
16311 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16313 * math/libm-test.inc (fma_test): Use max_value instead of local
16315 (nextafter_test): Likewise.
16317 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16318 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16319 (acos_downward_test_data): New variable.
16320 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16321 (acos_upward_test_data): New variable.
16322 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16323 (acosh_test_data): New variable.
16324 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16325 (asin_test_data): New variable.
16326 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16327 (asin_tonearest_test_data): New variable.
16328 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16329 (asin_towardzero_test_data): New variable.
16330 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16331 (asin_downward_test_data): New variable.
16332 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16333 (asin_upward_test_data): New variable.
16334 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16335 (asinh_test_data): New variable.
16336 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16337 (atan_test_data): New variable.
16338 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16339 (atanh_test_data): New variable.
16340 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16341 (cbrt_test_data): New variable.
16342 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16343 (ceil_test_data): New variable.
16344 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16345 (cos_test_data): New variable.
16346 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16347 (cos_tonearest_test_data): New variable.
16348 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16349 (cos_towardzero_test_data): New variable.
16350 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16351 (cos_downward_test_data): New variable.
16352 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16353 (cos_upward_test_data): New variable.
16354 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16355 (cosh_test_data): New variable.
16356 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16357 (cosh_tonearest_test_data): New variable.
16358 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16359 (cosh_towardzero_test_data): New variable.
16360 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16361 (cosh_downward_test_data): New variable.
16362 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16363 (cosh_upward_test_data): New variable.
16364 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16365 (erf_test_data): New variable.
16366 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16367 (erfc_test_data): New variable.
16368 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16369 (exp_test_data): New variable.
16370 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16371 (exp_tonearest_test_data): New variable.
16372 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16373 (exp_towardzero_test_data): New variable.
16374 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16375 (exp_downward_test_data): New variable.
16376 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16377 (exp_upward_test_data): New variable.
16378 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16379 (exp10_test_data): New variable.
16380 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16381 (exp2_test_data): New variable.
16382 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16383 (expm1_test_data): New variable.
16384 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16385 (fabs_test_data): New variable.
16386 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16387 (floor_test_data): New variable.
16388 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16389 (j0_test_data): New variable.
16390 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16391 (j1_test_data): New variable.
16392 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16393 (log_test_data): New variable.
16394 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16395 (log10_test_data): New variable.
16396 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16397 (log1p_test_data): New variable.
16398 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16399 (log2_test_data): New variable.
16400 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16401 (logb_test_data): New variable.
16402 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16403 (logb_downward_test_data): New variable.
16404 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16405 (nearbyint_test_data): New variable.
16406 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16407 (rint_test_data): New variable.
16408 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16409 (rint_tonearest_test_data): New variable.
16410 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16411 (rint_towardzero_test_data): New variable.
16412 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16413 (rint_downward_test_data): New variable.
16414 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16415 (rint_upward_test_data): New variable.
16416 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16417 (round_test_data): New variable.
16418 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16419 (sin_test_data): New variable.
16420 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16421 (sin_tonearest_test_data): New variable.
16422 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16423 (sin_towardzero_test_data): New variable.
16424 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16425 (sin_downward_test_data): New variable.
16426 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16427 (sin_upward_test_data): New variable.
16428 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16429 (sinh_test_data): New variable.
16430 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16431 (sinh_tonearest_test_data): New variable.
16432 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16433 (sinh_towardzero_test_data): New variable.
16434 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16435 (sinh_downward_test_data): New variable.
16436 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16437 (sinh_upward_test_data): New variable.
16438 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16439 (sqrt_test_data): New variable.
16440 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16441 (tan_test_data): New variable.
16442 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16443 (tan_tonearest_test_data): New variable.
16444 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16445 (tan_towardzero_test_data): New variable.
16446 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16447 (tan_downward_test_data): New variable.
16448 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16449 (tan_upward_test_data): New variable.
16450 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16451 (tanh_test_data): New variable.
16452 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16453 (tgamma_test_data): New variable.
16454 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16455 (trunc_test_data): New variable.
16456 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16457 (y0_test_data): New variable.
16458 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16459 (y1_test_data): New variable.
16460 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16461 (significand_test_data): New variable.
16462 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16464 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16467 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16469 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16471 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16473 2013-05-10 Andreas Jaeger <aj@suse.de>
16476 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16477 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16479 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16481 * math/gen-libm-test.pl (adjust_arg): New function.
16482 (special_functions): Handle generating output in both functions
16484 (parse_args): Likewise.
16485 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16486 $in_func argument to parse_args.
16487 * math/libm-test.inc (struct test_f_f_data): New type.
16488 (IF_ROUND_INIT_): New macro.
16489 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16490 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16491 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16492 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16493 (ROUND_RESTORE_): Likewise.
16494 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16495 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16496 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16497 (ROUND_RESTORE_FE_UPWARD): Likewise.
16498 (RUN_TEST_LOOP_f_f): New macro.
16499 (acos_test_data): New variable.
16500 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16501 (acos_tonearest_test_data): New variable.
16502 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16504 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16506 * benchtests/bench-skeleton.c (startup): Fix coding style.
16508 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16511 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16512 negative infinity argument.
16513 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16514 negative infinity argument.
16515 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16516 negative infinity argument.
16517 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16520 2013-05-10 Florian Weimer <fweimer@redhat.com>
16522 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16523 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16524 * iconv/iconv_prog.c (main): Likewise.
16525 * locale/programs/charmap-dir.c (charmap_readdir)
16526 (fopen_uncompressed): Likewise.
16527 * locale/programs/locfile.c (siblings_uncached)
16528 (write_locale_data): Use lstat64 instead of lstat.
16529 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16532 2013-05-10 Andreas Jaeger <aj@suse.de>
16535 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16537 Include <locale.h>.
16539 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16541 * elf/dl-close.c (_dl_close_worker): Add comments.
16543 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16546 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16548 (__ieee754_rem_pio2l): Update comments.
16551 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16553 (__ieee754_rem_pio2l): Update comments.
16555 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16556 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16558 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16561 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16562 (M_PI_34_LOG10El): Likewise.
16563 (M_PI2_LOG10El): Likewise.
16564 (M_PI4_LOG10El): Likewise.
16565 (M_PI_LOG10El): Likewise.
16567 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16571 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16573 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16574 (MINUS_ZERO_INIT): Likewise.
16575 (PLUS_INFTY_INIT): Likewise.
16576 (MINUS_INFTY_INIT): Likewise.
16577 (QNAN_VALUE_INIT): Likewise.
16578 (MAX_VALUE_INIT): Likewise.
16579 (MIN_VALUE_INIT): Likewise.
16580 (MIN_SUBNORM_VALUE_INIT): Likewise.
16581 (plus_zero): Initialize with PLUS_ZERO_INIT.
16582 (minus_zero): Initialize with MINUS_ZERO_INIT.
16583 (plus_infty): Initialize with PLUS_INFTY_INIT.
16584 (minus_infty): Initialize with MINUS_INFTY_INIT.
16585 (qnan_value): Initialize with QNAN_VALUE_INIT.
16586 (max_value): Initialize with MAX_VALUE_INIT.
16587 (min_value): Initialize with MIN_VALUE_INIT.
16588 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16590 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16591 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16592 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16593 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16595 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16596 (RUN_TEST_2_f): Likewise.
16597 (RUN_TEST_ff_f): Likewise.
16598 (RUN_TEST_fi_f): Likewise.
16599 (RUN_TEST_fl_f): Likewise.
16600 (RUN_TEST_fff_f): Likewise.
16601 (RUN_TEST_c_f): Likewise.
16602 (RUN_TEST_f_f1): Likewise.
16603 (RUN_TEST_fF_f1): Likewise.
16604 (RUN_TEST_fI_f1): Likewise.
16605 (RUN_TEST_ffI_f1): Likewise.
16606 (RUN_TEST_c_c): Likewise.
16607 (RUN_TEST_cc_c): Likewise.
16608 (RUN_TEST_f_i): Likewise.
16609 (RUN_TEST_f_i_tg): Likewise.
16610 (RUN_TEST_ff_i_tg): Likewise.
16611 (RUN_TEST_f_b): Likewise.
16612 (RUN_TEST_f_b_tg): Likewise.
16613 (RUN_TEST_f_l): Likewise.
16614 (RUN_TEST_f_L): Likewise.
16615 (RUN_TEST_sincos): Likewise.
16616 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16617 whether to show exceptions. Do not include ");\n" in return
16619 (special_functions): Output call to RUN_TEST_sincos instead of
16620 check_float calls. Update calls to new_test.
16621 (parse_args): Output call to single RUN_TEST_* macro instead of
16622 check_* calls and other assignments. Update calls to new_test.
16628 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16629 input to result for tgamma overflow.
16630 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16631 (gamma_coeff): New variable.
16632 (NCOEFF): New macro.
16633 (gamma_positive): New function.
16634 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16635 underflow here. Use gamma_positive instead of exp (lgamma) for
16637 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16638 (gamma_coeff): New variable.
16639 (NCOEFF): New macro.
16640 (gammaf_positive): New function.
16641 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16642 underflow here. Use gamma_positive instead of exp (lgamma) for
16644 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16645 (gamma_coeff): New variable.
16646 (NCOEFF): New macro.
16647 (gammal_positive): New function.
16648 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16649 underflow here. Use gamma_positive instead of exp (lgamma) for
16651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16652 (gamma_coeff): New variable.
16653 (NCOEFF): New macro.
16654 (gammal_positive): New function.
16655 (__ieee754_gammal_r): Handle positive infinity, overflow and
16656 underflow here. Handle NaN the same as positive infinity. Remove
16657 check x < 0xffffffff for negative integers. Use gamma_positive
16658 instead of exp (lgamma) for other arguments.
16659 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16660 (gamma_coeff): New variable.
16661 (NCOEFF): New macro.
16662 (gammal_positive): New function.
16663 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16664 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16668 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16669 * sysdeps/generic/math_private.h (__gamma_productf): New
16671 (__gamma_product): Likewise.
16672 (__gamma_productl): Likewise.
16673 * math/Makefile (libm-calls): Add gamma_product.
16674 * math/libm-test.inc (tgamma_test): Add more tests.
16675 * sysdeps/i386/fpu/libm-test-ulps: Update.
16676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16678 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16680 * benchtests/bench-skeleton.c (main): Preheat CPU.
16682 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16684 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16686 2013-05-07 Roland McGrath <roland@hack.frob.com>
16688 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16689 and _dl_skip_args_internal.
16691 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16693 * manual/message.texi (Message Translation): Talk about users.
16694 Message to key mapping impacts design.
16696 2013-05-06 Roland McGrath <roland@hack.frob.com>
16698 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16700 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16702 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16703 * sysdeps/wordsize-64/glob64.c: ... here.
16705 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16706 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16709 * debug/getlogin_r_chk.c: Moved to ...
16710 * login/getlogin_r_chk.c: ... here.
16711 * debug/Makefile (routines): Move getlogin_r_chk to ...
16712 * login/Makefile (routines): ... here.
16713 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16714 * login/Versions (libc: GLIBC_2.4): ... here.
16716 * io/poll.c (__poll): Renamed from poll.
16717 Add libc_hidden_def.
16718 (poll): Define as weak alias.
16720 * debug/ptsname_r_chk.c: Moved to ...
16721 * login/ptsname_r_chk.c: ... here.
16722 * debug/Makefile (routines): Move ptsname_r_chk to ...
16723 * login/Makefile (routines): ... here.
16724 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16725 * login/Versions (libc: GLIBC_2.4): ... here.
16727 * posix/getlogin.c: Moved to ...
16728 * login/getlogin.c: ... here.
16729 * posix/getlogin_r.c: Moved to ...
16730 * login/getlogin_r.c: ... here.
16731 * posix/getlogin_r.c: Moved to ...
16732 * login/getlogin_r.c: ... here.
16733 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16734 * login/Makefile (routines): ... here.
16735 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16736 * login/Versions (libc: GLIBC_2.0): ... here.
16738 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16739 (setrlimit): Define as weak alias.
16741 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16742 Call __ names for open, ftruncate, and close.
16743 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16744 (truncate): Define as weak alias.
16746 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16748 * math/gen-libm-test.pl (parse_args): Initialize x before each
16749 test of frexp, modf and remquo.
16751 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16752 test signgam value.
16754 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16758 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16760 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16762 2013-05-06 Roland McGrath <roland@hack.frob.com>
16764 * elf/dl-writev.h: New file.
16765 * elf/dl-misc.c: Include it.
16766 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16767 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16769 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16771 * math/libm-test.inc (noXFails): Remove variable.
16772 (noXPasses): Likewise.
16773 (BUILD_COMPLEX_INT): Remove macro.
16774 (print_screen): Remove xfail argument.
16775 (print_screen_max_error): Likewise.
16776 (update_stats): Likewise.
16777 (print_max_error): Likewise. Update calls to other affected
16779 (print_complex_max_error): Likewise.
16780 (test_single_exception): Update calls to print_screen.
16781 (test_single_errno): Likewise.
16782 (check_float_internal): Remove xfail argument. Update calls to
16783 other affected functions.
16784 (check_float): Likewise.
16785 (check_complex): Likewise.
16786 (check_int): Likewise.
16787 (check_long): Likewise.
16788 (check_bool): Likewise.
16789 (check_longlong): Likewise.
16790 (main): Don't print noXFails and noXPasses.
16791 * math/gen-libm-test.pl (top level): Don't mention expected
16792 failure handling in comment.
16793 (new_test): Don't handle expected failures.
16794 (parse_args): Don't mention expected failure handling in comment.
16795 (generate_testfile): Don't handle expected failures.
16796 (parse_ulps): Likewise.
16797 (print_ulps_file): Likewise.
16798 (get_failure): Remove function.
16799 (output_test): Don't handle expected failures.
16800 * make/README.libm-test: Don't mention expected failure handling.
16802 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16803 (minus_zero): Likewise.
16804 (plus_infty): Likewise.
16805 (minus_infty): Likewise.
16806 (qnan_value): Likewise.
16807 (max_value): Likewise.
16808 (min_value): Likewise.
16809 (min_subnorm_value): Likewise.
16810 (initialize): Do not initialize those variables dynamically.
16812 2013-05-03 Roland McGrath <roland@hack.frob.com>
16814 * io/open.c (__open_2): Moved to ...
16815 * io/open_2.c: ... this new file.
16816 * io/open64.c (__open64_2): Moved to ...
16817 * io/open64_2.c: ... this new file.
16818 * io/openat.c (__openat_2): Moved to ...
16819 * io/openat_2.c: ... this new file.
16820 * io/openat64.c (__openat64_2): Moved to ...
16821 * io/openat64_2.c: ... this new file.
16822 * io/Makefile (routines): Add them.
16823 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16824 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16825 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16826 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16827 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16828 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16829 (__openat64): Add hidden_ver.
16830 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16831 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16833 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16834 Separately conditionalize setting of GLRO(dl_sysinfo) so
16835 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16836 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16838 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16840 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16841 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16843 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16844 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16845 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16846 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16847 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16849 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16851 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16852 test signgam value.
16854 * math/libm-test.inc (hypot_test): Do not use
16855 IGNORE_ZERO_INF_SIGN.
16857 2013-05-03 Andreas Jaeger <aj@suse.de>
16859 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16861 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16862 (PF_MAX): Adjust for VSOCK change.
16864 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16868 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16871 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16872 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16873 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16875 2013-05-02 David S. Miller <davem@davemloft.net>
16877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16879 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16881 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16883 2013-05-01 Roland McGrath <roland@hack.frob.com>
16885 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16887 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16890 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16891 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16892 Use __attribute__ ((__gnu_inline__)).
16893 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16894 Don't use __attribute__ ((__gnu_inline__)).
16896 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16899 * math/s_catan.c (__catan): Handle small real or imaginary part of
16900 input specially to avoid spurious underflow.
16901 * math/s_catanf.c (__catanf): Likewise.
16902 * math/s_catanh.c (__catanh): Likewise.
16903 * math/s_catanhf.c (__catanhf): Likewise.
16904 * math/s_catanhl.c (__catanhl): Likewise.
16905 * math/s_catanl.c (__catanl): Likewise.
16906 * math/libm-test.inc (catan_test): Add more tests.
16907 (catanh_test): Likewise.
16908 * sysdeps/i386/fpu/libm-test-ulps: Update.
16909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16911 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16915 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16918 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16919 accurately for denominator in atan2.
16920 * math/s_catanf.c (__catanf): Likewise.
16921 * math/s_catanh.c (__catanh): Likewise.
16922 * math/s_catanhf.c (__catanhf): Likewise.
16923 * math/s_catanhl.c (__catanhl): Likewise.
16924 * math/s_catanl.c (__catanl): Likewise.
16925 * math/libm-test.inc (catan_test): Add more tests.
16926 (catanh_test): Likewise.
16927 * sysdeps/i386/fpu/libm-test-ulps: Update.
16928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16930 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16932 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16934 * benchtests/Makefile (bench): Remove slow benchmarks.
16935 * benchtests/atan-inputs: Add slow benchmark inputs.
16936 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16937 (BENCH_FUNC): Accept variant offset.
16939 * benchtests/bench-skeleton.c (main): Run benchmark for each
16941 * benchtests/cos-inputs: Add slow benchmark inputs.
16942 * benchtests/exp-inputs: Likewise.
16943 * benchtests/pow-inputs: Likewise.
16944 * benchtests/sin-inputs: Likewise.
16945 * benchtests/slowatan-inputs: Remove.
16946 * benchtests/slowatan.c: Remove.
16947 * benchtests/slowcos-inputs: Remove.
16948 * benchtests/slowcos.c: Remove.
16949 * benchtests/slowexp-inputs: Remove.
16950 * benchtests/slowexp.c: Remove.
16951 * benchtests/slowpow-inputs: Remove.
16952 * benchtests/slowpow.c: Remove.
16953 * benchtests/slowsin-inputs: Remove.
16954 * benchtests/slowsin.c: Remove.
16955 * benchtests/slowtan-inputs: Remove.
16956 * benchtests/slowtan.c: Remove.
16957 * benchtests/tan-inputs: Add slow benchmark inputs.
16958 * scripts/bench.pl: Parse comments and directives.
16960 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16962 ($(objpfx)bench-%.c): Remove *-ITER.
16963 * benchtests/bench-modf.c: Remove definition of ITER.
16964 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16965 (main): Loop for DURATION seconds instead of fixed number of
16967 * scripts/bench.pl: Don't expect iterations in parameters.
16969 2013-04-29 Roland McGrath <roland@hack.frob.com>
16971 * io/fchdir.c (__fchdir): Renamed from fchdir.
16972 (fchdir): Define as weak alias.
16974 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16976 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16977 (ERRNO_EDOM): Likewise.
16978 (ERRNO_ERANGE): Likewise.
16979 (noErrnoTests): New variable.
16980 (init_max_error): Set errno to 0.
16981 (test_single_errno): New function.
16982 (test_errno): Likewise.
16983 (check_float_internal): Call test_errno. Set errno to 0.
16984 (check_complex): Refer to errno tests in comment.
16985 (check_int): Call test_errno. Set errno to 0.
16986 (check_long): Likewise.
16987 (check_bool): Likewise.
16988 (check_longlong): Likewise.
16989 (cos_test): Use ERRNO_* flags for errno tests instead of
16991 (expm1_test): Likewise.
16992 (fmod_test): Likewise.
16993 (ilogb_test): Likewise.
16994 (lgamma_test): Likewise.
16995 (pow_test): Likewise.
16996 (remainder_test): Likewise.
16997 (sin_test): Likewise.
16998 (tan_test): Likewise.
16999 (yn_test): Likewise.
17000 (initialize): Set errno to 0.
17001 (main): Print number of errno tests.
17002 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17004 2013-04-29 Andreas Jaeger <aj@suse.de>
17007 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17011 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17012 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17016 * stdlib/random.c (__initstate): Return NULL if
17020 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17021 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17024 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17028 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17030 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17031 of individual tests.
17032 (casin_test): Likewise.
17033 (casinh_test): Likewise.
17035 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17038 * math/s_catan.c (__catan): Handle arguments with large real or
17039 imaginary part separately without squaring.
17040 * math/s_catanf.c (__catanf): Likewise.
17041 * math/s_catanh.c (__catanh): Likewise.
17042 * math/s_catanhf.c (__catanhf): Likewise.
17043 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17045 (__catanhl): Handle arguments with large real or imaginary part
17046 separately without squaring.
17047 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17049 (__catanl): Handle arguments with large real or imaginary part
17050 separately without squaring.
17051 * math/libm-test.inc (catan_test): Add more tests.
17052 (catanh_test): Likewise.
17053 * sysdeps/i386/fpu/libm-test-ulps: Update.
17054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17056 2013-04-27 Andreas Jaeger <aj@suse.de>
17059 * stdlib/stdlib.h: Update guards for qecvt.
17060 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17063 2013-04-27 Allan McRae <allan@archlinux.org>
17065 * sysdeps/i386/fpu/libm-test-ulps: Update.
17067 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17070 * math/s_catan.c: Include <float.h>.
17071 (__catan): Ensure underflow exception occurs for underflowed
17073 * math/s_catanf.c: Include <float.h>.
17074 (__catanf): Ensure underflow exception occurs for underflowed
17076 * math/s_catanh.c: Include <float.h>.
17077 (__catanh): Ensure underflow exception occurs for underflowed
17079 * math/s_catanhf.c: Include <float.h>.
17080 (__catanhf): Ensure underflow exception occurs for underflowed
17082 * math/s_catanhl.c: Include <float.h>.
17083 (__catanhl): Ensure underflow exception occurs for underflowed
17085 * math/s_catanl.c: Include <float.h>.
17086 (__catanl): Ensure underflow exception occurs for underflowed
17088 * math/libm-test.inc (catan_test): Add more tests.
17089 (catanh_test): Likewise.
17092 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17093 underflowed result.
17094 * math/s_ccoshf.c (__ccoshf): Likewise.
17095 * math/s_ccoshl.c (__ccoshl): Likewise.
17096 * math/s_csin.c (__csin): Likewise.
17097 * math/s_csinf.c (__csinf): Likewise.
17098 * math/s_csinh.c (__csinh): Likewise.
17099 * math/s_csinhf.c (__csinhf): Likewise.
17100 * math/s_csinhl.c (__csinhl): Likewise.
17101 * math/s_csinl.c (__csinl): Likewise.
17102 * math/libm-test.inc (ccos_test): Add more tests.
17103 (ccosh_test): Likewise.
17104 (csin_test): Likewise.
17105 (csinh_test): Likewise.
17107 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17109 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17110 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17111 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17112 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17113 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17114 powerpc/power5+/fpu folders.
17115 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17118 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17122 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17124 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17125 additions to variable.
17126 [$(config-machine) = x86_64] (modules-names): Likewise.
17127 ($(objpfx)tst-audit3): Remove dependency.
17128 ($(objpfx)tst-audit3.out): Likewise.
17129 ($(objpfx)tst-audit4): Likewise.
17130 ($(objpfx)tst-audit4.out): Likewise.
17131 ($(objpfx)tst-audit5): Likewise.
17132 ($(objpfx)tst-audit5.out): Likewise.
17133 ($(objpfx)tst-audit6): Likewise.
17134 ($(objpfx)tst-audit6.out): Likewise.
17135 ($(objpfx)tst-audit7): Likewise.
17136 ($(objpfx)tst-audit7.out): Likewise.
17137 (tst-audit3-ENV): Remove variable.
17138 (tst-audit4-ENV): Likewise.
17139 (tst-audit5-ENV): Likewise.
17140 (tst-audit6-ENV): Likewise.
17141 (tst-audit7-ENV): Likewise.
17142 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17143 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17144 addition to variable.
17145 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17146 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17147 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17148 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17149 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17150 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17151 tst-audit3, tst-audit4 and tst-audit5.
17152 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17153 tst-audit6 and tst-audit7.
17154 [$(subdir) = elf] (modules-names): Add audit modules for those
17156 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17157 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17158 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17159 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17160 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17161 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17162 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17163 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17164 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17165 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17166 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17167 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17168 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17169 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17170 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17171 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17173 [$(subdir) = elf && $(config-cflags-avx) = yes]
17174 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17175 [$(subdir) = elf && $(config-cflags-avx) = yes]
17176 (CFLAGS-tst-auditmod4a.c): Likewise.
17177 [$(subdir) = elf && $(config-cflags-avx) = yes]
17178 (CFLAGS-tst-auditmod4b.c): Likewise.
17179 [$(subdir) = elf && $(config-cflags-avx) = yes]
17180 (CFLAGS-tst-auditmod6b.c): Likewise.
17181 [$(subdir) = elf && $(config-cflags-avx) = yes]
17182 (CFLAGS-tst-auditmod6c.c): Likewise.
17183 [$(subdir) = elf && $(config-cflags-avx) = yes]
17184 (CFLAGS-tst-auditmod7b.c): Likewise.
17185 * elf/tst-audit3.c: Move to ...
17186 * sysdeps/x86_64/tst-audit3.c: ... here.
17187 * elf/tst-audit4.c: Move to ...
17188 * sysdeps/x86_64/tst-audit4.c: ... here.
17189 * elf/tst-audit5.c: Move to ...
17190 * sysdeps/x86_64/tst-audit5.c: ... here.
17191 * elf/tst-audit6.c: Move to ...
17192 * sysdeps/x86_64/tst-audit6.c: ... here.
17193 * elf/tst-audit7.c: Move to ...
17194 * sysdeps/x86_64/tst-audit7.c: ... here.
17195 * elf/tst-auditmod3a.c: Move to ...
17196 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17197 * elf/tst-auditmod3b.c: Move to ...
17198 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17199 * elf/tst-auditmod4a.c: Move to ...
17200 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17201 * elf/tst-auditmod4b.c: Move to ...
17202 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17203 * elf/tst-auditmod5a.c: Move to ...
17204 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17205 * elf/tst-auditmod5b.c: Move to ...
17206 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17207 * elf/tst-auditmod6a.c: Move to ...
17208 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17209 * elf/tst-auditmod6b.c: Move to ...
17210 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17211 * elf/tst-auditmod6c.c: Move to ...
17212 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17213 * elf/tst-auditmod7a.c: Move to ...
17214 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17215 * elf/tst-auditmod7b.c: Move to ...
17216 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17218 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17221 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17222 define unconditionally.
17223 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17224 define unconditionally.
17225 (INT8_C, INT16_C, etc.): Likewise.
17227 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17229 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17230 __ehdr_start with hidden visibility.
17232 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17234 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17236 * math/libm-test.inc (cos_test): Use accurate hex constants.
17237 (sincost_test): Likewise.
17239 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17241 * math/libm-test.inc (catan_test): Add more tests.
17242 (catanh_test): Likewise.
17244 * math/s_catanf.c (__catanf): Use suffixed floating-point
17246 * math/s_catanhf.c (__catanhf): Likewise.
17247 * math/s_catanhl.c (__catanhl): Likewise.
17248 * math/s_catanl.c (__catanl): Likewise.
17251 * math/s_catan.c (__catan): Calculate imaginary part of result
17252 with log1p not log unless computing log of number close to 0.
17253 * math/s_catanf.c (__catanf): Likewise.
17254 * math/s_catanl.c (__catanl): Likewise.
17255 * math/s_catanh.c (__catanh): Calculate real part of result with
17256 log1p not log unless computing log of number close to 0.
17257 * math/s_catanhf.c (__catanhf): Likewise.
17258 * math/s_catanhl.c (__catanhl): Likewise.
17259 * math/libm-test.inc (catan_test): Add more tests.
17260 (catanh_test): Likewise.
17261 * sysdeps/i386/fpu/libm-test-ulps: Update.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17264 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17266 * benchtests/Makefile: Mention files in which fast and slow
17267 paths of math functions are implemented.
17269 2013-04-23 Roland McGrath <roland@hack.frob.com>
17271 * sysdeps/posix/timespec_get.c: New file.
17273 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17275 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17277 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17279 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17280 powerpc/power5/fpu folders.
17281 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17282 * benchtests/Makefile: Add modf testcase.
17283 * benchtests/bench-modf.c: New file: Benchmark test for mo
17285 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17288 * time/Makefile (tests): Add tst-strptime-whitespace.
17289 * time/strptime_l.c (get_number): Use ISSPACE.
17290 (__strptime_internal): Likewise.
17291 * time/tst-strptime-whitespace.c: New test case.
17293 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17295 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17297 (_nss_files_init): Set it here.
17299 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17301 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17302 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17305 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17307 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17309 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17314 2013-04-21 David S. Miller <davem@davemloft.net>
17316 * po/ru.po: Update Russion translation from translation project.
17318 2013-04-17 Adam Conrad <adconrad@0c3.net>
17320 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17323 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17325 * configure.in: Remove i386 configure warning. Remove i386 case.
17326 * configure: Regenerate.
17327 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17328 Add example to error message.
17329 * sysdeps/i386/configure: Regenerate.
17331 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17333 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17335 * benchtests/cos-inputs: New file.
17336 * benchtests/slowcos-inputs: New file.
17337 * benchtests/slowcos.c: New file.
17338 * benchtests/slowtan-inputs: New file.
17339 * benchtests/slowtan.c: New file.
17340 * benchtests/tan-inputs: New file.
17342 2013-04-16 Roland McGrath <roland@hack.frob.com>
17344 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17347 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17349 * benchtests/Makefile: Include cppflags-iterator.mk to add
17350 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17352 * Makefile.in (bench-clean): New target.
17353 * benchtests/Makefile (bench-clean): Likewise.
17355 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17357 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17359 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17361 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17363 2013-04-15 Andreas Schwab <schwab@suse.de>
17365 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17367 * nscd/pwdcache.c (cache_addpw): Likewise.
17368 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17371 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17373 * benchtests/Makefile (bench): Write all output to
17374 bench-out.tmp together.
17376 2013-04-15 Andreas Schwab <schwab@suse.de>
17378 * nscd/nscd.c (main): Don't fork again after closing files.
17380 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17382 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17384 * benchtests/Rules (bench-deps): Collect dependencies into a
17385 single variable. Add Makefile to dependencies.
17386 ($(objpfx)bench-%.c): Depend on bench-deps.
17388 2013-04-12 Roland McGrath <roland@hack.frob.com>
17389 Xavier Roche <roche+kml2@exalead.com>
17392 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17393 just that it's a file descriptor.
17394 * manual/llio.texi (Synchronizing AIO Operations): Update description
17395 for EBADF error from aio_fsync.
17397 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17399 * Rules (bench): Move target definition...
17400 * benchtests/Makefile: ... here.
17402 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17404 * math/libm-test.inc (cos_test): Fix PI/2 test.
17405 (sincos_test): Likewise.
17406 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17407 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17409 2013-04-11 Andreas Schwab <schwab@suse.de>
17412 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17413 accept exponent character only when digits were seen.
17414 * stdio-common/Makefile (tests): Add bug26.
17415 * stdio-common/bug26.c: New file.
17418 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17421 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17423 * Makeconfig (rtld-prefix): Define built linker prefix.
17424 * Rules (run-bench): Use it.
17425 * math/Makefile (run-regen-ulps): Likewise.
17427 * Rules (bench): Remove eval.
17429 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17430 Roland McGrath <roland@hack.frob.com>
17431 Ondrej Bilka <neleai@seznam.cz>
17434 * time/getdate.c: Include ctype.h and alloca.h.
17435 (__getdate_r): Trim leading and trailing spaces of input.
17436 * time/tst-getdate.c (tests): Add tests with leading and
17439 2013-04-08 Roland McGrath <roland@hack.frob.com>
17442 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17443 when computing value.
17445 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17447 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17448 Use testrun.sh to run libm tests.
17451 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17453 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17456 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17458 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17460 * Makefile.in (regen-ulps): New target.
17461 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17462 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17463 [ifneq (no,$(PERL)] (regen-ulps): New target.
17464 [ifeq (no,$(PERL)] (regen-ulps): New target.
17465 * math/libm-test.inc (ulps_file_name): Define.
17466 (output_dir): New variable.
17467 (options): Add "output-dir" option.
17468 (parse_opt): Handle 'o' case.
17469 (main): If output_dir is non-NULL use it as a prefix
17471 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17473 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17475 [BZ #10060, #10062]
17476 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17477 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17478 fail configure if __sync_val_compare_and_swap is not inlined.
17479 * sysdeps/i386/configure: Regenerate.
17480 * configure.in: Build for i686 when configured for i386.
17481 * configure: Regenerate.
17482 * README: Remove i386 reference.
17484 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17486 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17489 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17491 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17492 (lmsnanval): New variables.
17493 (F): Add conversion tests.
17494 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17495 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17497 * stdio-common/tstdiomisc.c (F): Properly collect individual
17500 [BZ #14686, #15336]
17501 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17502 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17503 Instead, use input NaN values or generate a qNaN by arithmetic
17504 operation. Also fix bugs to comply with the standard.
17505 * math/libm-test.inc (remainder_test): Add more tests.
17507 [BZ #15335, #15342]
17508 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17510 input NaN values or generate a qNaN by arithmetic operation.
17512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17515 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17518 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17521 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17522 underflowed result.
17523 * math/s_cexpf.c (__cexpf): Likewise.
17524 * math/s_cexpl.c (__cexpl): Likewise.
17525 * math/libm-test.inc (cexp_test): Add more tests.
17527 2013-04-03 Andreas Schwab <schwab@suse.de>
17530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17531 order arrays from heap if bigger than alloca cutoff.
17533 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17535 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17536 (SNAN_TESTS_double): Refer to GCC PR56831.
17537 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17540 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17542 * Rules (bench): Move bench.out after the run is complete.
17544 * Rules (bench): Echo currently running benchmark.
17546 * benchtests/Makefile (bench): Add atan and slowatan.
17547 * benchtests/atan-inputs: New file.
17548 * benchtests/slowatan-inputs: New file.
17549 * benchtests/slowatan.c: New file.
17551 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17552 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17556 * sysdeps/unix/sysv/linux/kernel-features.h
17557 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17558 __ASSUME_XFS_RESTRICTED_CHOWN.
17559 * sysdeps/unix/sysv/linux/pathconf.c
17560 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17561 Save and restore errno.
17563 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17566 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17567 arguments using __kernel_casinh.
17568 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17569 arguments using __kernel_casinhf.
17570 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17571 arguments using __kernel_casinhl.
17572 * math/libm-test.inc (cacosh_test): Add more tests.
17573 * sysdeps/i386/fpu/libm-test-ulps: Update.
17574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17576 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17578 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17581 * bench/Makefile (bench): Add sin and slowsin.
17582 * benchtests/sin-inputs: New file.
17583 * benchtests/slowsin-inputs: New file.
17584 * benchtests/slowsin.c: New file.
17586 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17587 (bench): Add slowexp and slowpow.
17588 (exp-ITER): Increase iterations.
17589 (pow-ITER): Likewise.
17590 * benchtests/exp-inputs: Change input.
17591 * benchtests/pow-inputs: Likewise.
17592 * benchtests/slowexp-inputs: New file.
17593 * benchtests/slowexp.c: New file.
17594 * benchtests/slowpow-inputs: New file.
17595 * benchtests/slowpow.c: New file.
17597 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17599 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17601 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17602 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17603 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17604 * benchtests/Makefile: Add rint benchtest.
17605 * benchtests/rint-inputs: Input for rint benchtest.
17607 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17609 * Versions.def (libm): Add GLIBC_2.18.
17610 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17611 hidden libm prototypes.
17612 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17613 * math/Makefile (libm-calls): Add s_issignaling.
17614 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17615 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17616 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17618 * math/math.h [__USE_GNU] (issignaling): New macro.
17619 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17620 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17625 * manual/arith.texi (issignaling): New section.
17626 * manual/libm-err-tab.pl (@all_functions): Update comment.
17627 * math/gen-libm-test.pl (parse_args): Apply special handling for
17629 * math/libm-test.inc (print_float, issignaling_test): New
17631 (check_float_internal): Add issignaling checks.
17632 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17633 default definition.
17634 * sysdeps/powerpc/math-tests.h: New file.
17635 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17637 * math/test-snan.c (TEST_FUNC): Likewise.
17639 2013-03-30 David S. Miller <davem@davemloft.net>
17641 * po/de.po: Update from translation team.
17643 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17646 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17647 imaginary part less than 1.0 and real part less than 0.5
17649 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17650 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17651 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17652 (cacos_test): Add more tests.
17653 (casin_test): Likewise.
17654 (casinh_test): Likewise.
17655 * sysdeps/i386/fpu/libm-test-ulps: Update.
17656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17658 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17660 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17661 ONE with its value.
17663 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17664 (__pow_mp): Replace ONE and MONE with their values.
17665 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17666 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17667 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17668 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17669 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17670 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17672 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17674 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17675 (__pow_mp): Replace ZERO and MZERO with their values.
17676 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17678 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17680 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17681 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17684 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17686 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17688 2013-03-28 Roland McGrath <roland@hack.frob.com>
17690 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17691 Declare with __attribute__ ((weak)).
17692 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17693 Call __call_tls_dtors only if it's not NULL.
17695 2013-03-28 Roland McGrath <roland@hack.frob.com>
17697 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17698 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17699 magic __ehdr_start linker symbol if it's defined.
17700 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17701 them up here if it was already done.
17703 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17704 (_dl_aux_init): Use const in cast when setting it.
17705 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17706 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17707 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17709 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17711 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17712 * csu/libc-tls.c: Nor here.
17713 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17715 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17716 (__libc_message): Never call vsyslog.
17718 2013-03-28 Alan Modra <amodra@gmail.com>
17720 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17722 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17725 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17728 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17732 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17735 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17736 Don't add gid passed as argument.
17738 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17740 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17743 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17744 imaginary part between 1.0 and 1.5 and real part less than 0.5
17746 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17747 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17748 * math/libm-test.inc (cacos_test): Add more tests.
17749 (casin_test): Likewise.
17750 (casinh_test): Likewise.
17751 * sysdeps/i386/fpu/libm-test-ulps: Update.
17752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17754 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17756 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17759 (denorm): Likewise.
17760 (__dbl_mp): Likewise.
17761 (add_magnitudes): Likewise.
17762 (sub_magnitudes): Likewise.
17770 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17772 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17773 (__dubcos): Likewise.
17774 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17775 (__ieee754_acos): Likewise.
17776 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17777 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17778 (__exp1): Likewise.
17779 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17780 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17782 (my_log2): Likewise.
17783 (checkint): Likewise.
17784 * sysdeps/ieee754/dbl-64/e_remainder.c
17785 (__ieee754_remainder): Likewise.
17786 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17788 (bsloww): Likewise.
17789 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17791 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17792 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17793 MANTISSA_STORE_T to store computations on mantissa. Use
17794 macros for rounding and division.
17795 (denorm): Likewise.
17796 (__dbl_mp): Likewise.
17797 (add_magnitudes): Likewise.
17798 (sub_magnitudes): Likewise.
17801 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17802 powers of two in terms of TWOPOW macro.
17803 (mp_no): Make type of mantissa as MANTISSA_T.
17804 [!RADIXI]: Define RADIXI.
17805 [!TWO52]: Define TWO52.
17806 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17808 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17810 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17811 llroundl symbol when building for PPC32.
17813 2013-03-24 Mark H Weaver <mhw@netris.org>
17815 * manual/arith.texi (Normalization Functions): Fix prototypes for
17816 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17818 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17822 high value to check if expl overflow.
17823 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17824 to check for underflow and overflow.
17825 * math/libm-test.inc: Add exp test.
17827 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17830 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17833 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17835 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17838 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17840 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17841 wrap blocks consisting of several statements.
17843 * sysdeps/generic/math-tests.h: New file.
17844 * sysdeps/i386/fpu/math-tests.h: Likewise.
17845 * math/test-snan.c: Include it.
17846 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17848 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17851 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17852 (__ieee754_j0l): Do not improve calculations using cos of twice
17853 input for inputs above LDBL_MAX / 2.0L.
17854 (__ieee754_y0l): Likewise.
17855 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17856 (__ieee754_j1l): Do not improve calculations using cos of twice
17857 input for inputs above LDBL_MAX / 2.0L.
17858 (__ieee754_y1l): Likewise.
17859 * math/libm-test.inc (j0_test): Add another test.
17860 (j1_test): Likewise.
17861 (y0_test): Likewise.
17862 (y1_test): Likewise.
17863 * sysdeps/i386/fpu/libm-test-ulps: Update.
17865 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17867 * Rules ($(objpfx)bench-%.c): Include code from a C source
17870 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17873 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17874 imaginary part 1.0 and real part less than 0.5 specially.
17875 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17876 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17877 * math/libm-test.inc (cacos_test): Add more tests.
17878 (casin_test): Likewise.
17879 (casinh_test): Likewise.
17880 * sysdeps/i386/fpu/libm-test-ulps: Update.
17881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17883 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17885 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17886 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17888 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17890 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17891 * config.make.in (config-cflags-sse4): Remove variable.
17892 (config-cflags-avx): Likewise.
17893 (config-cflags-sse2avx): Likewise.
17894 (config-cflags-novzeroupper): Likewise.
17895 (config-asflags-i686): Likewise.
17896 (have-mfma4): Likewise.
17897 (have-as-vis3): Likewise.
17899 * configure.in (MIG): Do not AC_SUBST.
17900 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17901 (libc_cv_cc_sse4): Do not AC_SUBST.
17902 (libc_cv_cc_avx): Likewise.
17903 (libc_cv_cc_sse2avx): Likewise.
17904 (libc_cv_cc_novzeroupper): Likewise.
17905 (libc_cv_cc_fma4): Likewise.
17906 (libc_cv_as_i686): Likewise.
17907 (libc_cv_sparc_as_vis3): Likewise.
17908 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17910 (config-asflags-i686): Likewise.
17911 (config-cflags-avx): Likewise.
17912 (config-cflags-sse2avx): Likewise.
17913 (have-mfma4): Likewise.
17914 (config-cflags-novzeroupper): Likewise.
17915 * sysdeps/mach/configure.in (MIG): Likewise.
17916 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17917 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17919 (config-cflags-avx): Likewise.
17920 (config-cflags-sse2avx): Likewise.
17921 (have-mfma4): Likewise.
17922 (config-cflags-novzeroupper): Likewise.
17923 * configure: Regenerated.
17924 * sysdeps/i386/configure: Likewise.
17925 * sysdeps/mach/configure: Likewise.
17926 * sysdeps/sparc/configure: Likewise.
17927 * sysdeps/x86_64/configure: Likewise.
17929 2013-03-20 Roland McGrath <roland@hack.frob.com>
17932 * locale/programs/localedef.c (options): Put N_ translation marker
17933 on argument names, not just descriptions.
17935 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17937 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17939 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17942 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17944 2013-03-19 Roland McGrath <roland@hack.frob.com>
17946 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17947 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17948 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17949 [!BEFORE_ABORT] (before_abort): New function.
17950 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17951 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17952 (writev_for_fatal): New function.
17953 (WRITEV_FOR_FATAL): New macro; call that.
17954 (backtrace_and_maps): New function.
17955 (BEFORE_ABORT): New macro; call that.
17956 (struct str_list): Type removed.
17957 (__libc_message, __libc_fatal): Functions removed.
17958 Include <sysdeps/posix/libc_fatal.c> instead.
17960 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17962 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17964 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17967 2013-03-19 Andreas Schwab <schwab@suse.de>
17969 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17970 * sysdeps/gnu/configure: Regenerate.
17972 * configure.in: Substitute libc_cv_rtlddir.
17973 * configure: Regenerate.
17974 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17975 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17976 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17977 * elf/Makefile (install-others, CFLAGS-interp.c)
17978 (ldso_install, common-ldd-rewrite): Likewise.
17979 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17980 $(inst_slibdir)/$(rtld-installed-name).
17981 * scripts/rellns-sh: Add -p option.
17982 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17985 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17987 * manual/nptl.texi: Renamed to ...
17988 * manual/threads.texi: ... this.
17989 * manual/Makefile (chapters): Update.
17991 2013-03-18 Roland McGrath <roland@hack.frob.com>
17994 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17995 on argument names, not just descriptions.
17996 * malloc/memusagestat.c (options): Likewise.
17997 * nss/getent.c (options): Likewise.
17999 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18002 * iconv/iconv_prog.c (options): Put N_ translation marker
18003 on argument names, not just descriptions.
18004 * iconv/iconvconfig.c (options): Likewise.
18006 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18008 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18009 implementation which is faster on all x86_64 architectures.
18010 Tested on AMD, Intel Nehalem, SNB, IVB.
18011 * sysdeps/x86_64/strnlen.S: Likewise.
18013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18014 Remove all multiarch strlen and strnlen versions.
18015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18016 Remove strlen and strnlen related parts.
18018 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18019 Inline strlen part.
18020 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18022 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18023 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18024 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18025 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18026 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18027 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18029 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18031 * manual/memory.texi (Malloc Tunable Parameters):
18032 Sort parameters alphabetically. Add comments for missing entries.
18034 2013-03-17 David S. Miller <davem@davemloft.net>
18036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18038 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18041 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18042 for arguments at most half maximum finite value.
18043 * math/libm-test.inc (j0_test): Add more tests.
18044 (j1_test): Likewise.
18045 (y0_test): Likewise.
18046 (y1_test): Likewise.
18047 * sysdeps/i386/fpu/libm-test-ulps: Update.
18048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18051 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18052 1 / x and functions P and Q for arguments above 0x1p256L.
18053 (__ieee754_y0l): Likewise.
18054 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18055 (__ieee754_y1l): Likewise.
18056 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18057 (j1_test): Likewise.
18058 (y0_test): Likewise.
18059 (y1_test): Likewise.
18061 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18063 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18066 2013-03-15 Roland McGrath <roland@hack.frob.com>
18068 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18069 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18070 zero since it's initialized to EXEC_PAGESIZE.
18072 * sysdeps/unix/sysv/linux/ldsodefs.h
18073 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18074 * sysdeps/generic/ldsodefs.h: ... here.
18076 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18078 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18080 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18082 * math/test-snan.c: Renamed from
18083 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18084 * math/Makefile (tests): Add test-snan.
18085 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18088 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18089 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18091 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18092 __builtin_nan family of functions.
18093 * math/libm-test.inc (initialize): Initialize qnan_value with
18094 __builtin_nan family of functions.
18095 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18097 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18099 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18100 storage class. Initialize qNaN_var and sNaN_var with
18101 __builtin_nan and __builtin_nans families of functions,
18104 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18105 (sqrt_test): Remove duplicate test with qNaN input.
18106 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18107 (round_test, signbit_test, significand_test): Note missing +/-Inf
18108 as well as qNaN tests.
18110 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18111 qNaN_var. Fix a few strings, too.
18112 * math/libm-test.inc (nan_value): Rename to qnan_value.
18113 * math/gen-libm-test.pl (%beautify): Adjust to that.
18114 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18115 * math/test-misc.c (main): Likewise.
18116 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18117 to __qnan_bytes, and __qnan_union, respectively.
18118 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18120 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18121 and lqnanval, respectively.
18122 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18123 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18124 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18125 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18127 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18128 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18131 * math/test-misc.c (main): Fix copy'n'pastos.
18132 * misc/tst-efgcvt.c (special): Likewise.
18134 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18135 Remove declarations.
18137 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18139 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18140 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18141 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18142 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18144 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18146 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18147 macro to return vdso values correctly in IFUNC implementations.
18148 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18149 Optimization by using IFUNC.
18151 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18152 Richard Henderson <rth@redhat.com>
18153 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18155 * Makefile.in (bench): New target.
18156 * NEWS: Mention the benchmark framework.
18157 * Rules (bench): Likewise.
18158 (binaries-bench): Generate binaries for functions to
18160 * benchtests/Makefile: New makefile for benchmark tests.
18161 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18163 * benchtests/exp-inputs: New input file for EXP function.
18164 * benchtests/pow-inputs: New input file for POW function.
18165 * scripts/bench.pl: New script to generate source files for
18166 benchmark programs.
18168 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18170 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18171 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18172 computations on mantissa. Use macros for rounding and
18174 (denorm): Likewise.
18175 (__dbl_mp): Likewise.
18176 (add_magnitudes): Likewise.
18177 (sub_magnitudes): Likewise.
18180 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18181 powers of two in terms of TWOPOW macro.
18182 (mp_no): Make type of mantissa as MANTISSA_T.
18183 [!RADIXI]: Define RADIXI.
18184 [!TWO52]: Define TWO52.
18185 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18187 * manual/nptl.texi (cindex): Modify threads to pthreads.
18189 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18191 * sysdeps/x86_64/preconfigure: Regenerated.
18193 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18196 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18198 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18199 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18201 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18202 * math/libm-test.inc (j0_test): Do not allow one spurious
18203 underflow exception.
18204 (y1_test): Likewise.
18206 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18208 * manual/Makefile (chapters): Add nptl.
18209 * manual/debug.texi (Debugging Support): Add link to Threads
18211 * manual/nptl.texi: New file.
18213 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18215 2013-03-14 Petr Baudis <pasky@ucw.cz>
18217 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18218 for non-NULL pointer before the memory validity test. Pointed
18219 out by Holger Brunck <holger.brunck@keymile.com>.
18221 2013-03-13 Andreas Schwab <schwab@suse.de>
18223 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18226 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18228 * timezone/zic.c: Update from tzcode 2013b.
18230 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18232 * manual/install.texi (Configuring and compiling):
18233 Mention i686 and i586.
18234 * INSTALL: Regenerate.
18236 2013-03-12 Roland McGrath <roland@hack.frob.com>
18238 * sysdeps/init_array/elf-init.c: New file.
18240 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18241 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18243 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18244 __gmon_start__ as global, but as static with a .preinit_array pointer.
18245 * sysdeps/init_array/gmon-start.c: New file. Use that.
18246 * sysdeps/init_array/crti.S: New file, empty except for comments.
18247 * sysdeps/init_array/crtn.S: Likewise.
18249 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18251 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18254 Remove Prefer_SSE_for_memop.
18255 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18256 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18257 HAS_PREFER_SSE_FOR_MEMOP.
18258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18261 Remove bzero, memset ifunc support.
18262 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18263 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18264 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18265 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18267 2013-03-11 Andreas Schwab <schwab@suse.de>
18270 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18273 (GLIBC_2.16): Remove pthread_atfork.
18275 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18277 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18278 (ptestcases.h): Likewise.
18280 2013-03-08 Roland McGrath <roland@hack.frob.com>
18282 * Makeconfig ($(common-objpfx)config.status): Depend on
18283 sysdeps/*/preconfigure{,.in} too.
18285 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18287 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18288 (__free_hook): Use void * instead of __malloc_ptr_t.
18289 (__malloc_hook): Likewise.
18290 (__realloc_hook): Likewise.
18291 (__memalign_hook): Likewise.
18292 (__after_morecore_hook): Likewise.
18293 * malloc/arena.c (save_malloc_hook): Likewise.
18294 (save_free_hook): Likewise.
18295 * malloc/hooks.c (malloc_hook_ini): Likewise.
18296 (realloc_hook_ini): Likewise.
18297 (memalign_hook_ini): Likewise.
18298 * malloc/malloc.c (malloc_hook_ini): Likewise.
18299 (realloc_hook_ini): Likewise.
18300 (memalign_hook_ini): Likewise.
18301 (__free_hook): Likewise.
18302 (__malloc_hook): Likewise.
18303 (__realloc_hook): Likewise.
18304 (__memalign_hook): Likewise.
18305 (__libc_malloc): Likewise.
18306 (__libc_free): Likewise.
18307 (__libc_realloc): Likewise.
18308 (__libc_memalign): Likewise.
18309 (__libc_valloc): Likewise.
18310 (__libc_pvalloc): Likewise.
18311 (__libc_calloc): Likewise.
18312 (__posix_memalign): Likewise.
18313 * malloc/morecore.c (__sbrk): Likewise.
18314 (__default_morecore): Likewise.
18316 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18318 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18319 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18320 __malloc_ptrdiff_t.
18322 * malloc/malloc.h (__malloc_size_t): Remove macro.
18323 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18325 (old_memalign_hook): Likewise.
18326 (old_realloc_hook): Likewise.
18327 (struct hdr): Likewise.
18329 (mallochook): Likewise.
18330 (memalignhook): Likewise.
18331 (reallochook): Likewise.
18332 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18333 (tr_old_realloc_hook): Likewise.
18334 (tr_old_memalign_hook): Likewise.
18335 (tr_mallochook): Likewise.
18336 (tr_reallochook): Likewise.
18337 (tr_memalignhook): Likewise.
18339 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18342 default_ldbl_pack and using as default implementation.
18343 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18345 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18346 redundant definition.
18347 (ldbl_insert_mantissa): Likewise.
18348 (ldbl_canonicalize): Likewise.
18349 (ldbl_nearbyint): Likewise.
18350 (ldbl_pack): Rename to ldbl_pack_ppc.
18351 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18352 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18353 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18355 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18358 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18359 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18360 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18362 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18363 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18364 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18366 2013-03-07 Andreas Jaeger <aj@suse.de>
18368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18371 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18373 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18374 Include mpa.h and declare __MPEXP.
18375 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18376 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18377 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18378 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18379 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18380 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18381 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18383 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18384 (__slowpow): Use long double EXPL and LOGL functions to
18386 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18387 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18388 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18389 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18390 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18391 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18394 intermediate variable to calculate exponent.
18396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18400 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18401 [!NO__SQR]: Define __sqr.
18402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18403 and NO__SQR. Remove all code except __mul and __sqr. Include
18404 sysdeps/ieee754/dbl-64/mpa.c.
18405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18408 * posix/Makefile (tests): Add tst-pathconf.
18409 * posix/tst-pathconf.c: New test case.
18410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18412 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18414 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18416 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18418 2013-03-06 Andreas Jaeger <aj@suse.de>
18420 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18421 definition via __MAP_ANONYMOUS.
18423 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18424 it's not part of Linux headers.
18426 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18427 (MAP_HUGE_MASK): Define.
18429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18431 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18434 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18435 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18437 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18440 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18442 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18443 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18444 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18445 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18446 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18447 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18453 Handle f2fs and efivarfs.
18455 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18458 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18459 (EFIVARFS_MAGIC): Add.
18460 (F2FS_LINK_MAX): Add.
18462 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18464 * stdio-common/vfprintf.c: Replace __builtin_expect with
18467 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18470 * sysdeps/generic/bp-sym.h: Remove file.
18471 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18472 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18473 <bp-sym.h> and <bp-asm.h>.
18474 (__longjmp): Don't use BP_SYM.
18475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18477 (memcpy): Don't use BP_SYM.
18478 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18479 <bp-sym.h> and <bp-asm.h>.
18480 (memcpy): Don't use BP_SYM.
18481 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18483 (memcpy): Don't use BP_SYM.
18484 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18486 (memset): Don't use BP_SYM.
18487 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18488 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18489 (__bzero): Don't use BP_SYM.
18490 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18491 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18492 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18493 <bp-sym.h> and <bp-asm.h>.
18494 (memcmp): Don't use BP_SYM. Remove comment about bounded
18496 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18497 <bp-sym.h> and <bp-asm.h>.
18498 (memcpy): Don't use BP_SYM.
18499 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18500 <bp-sym.h> and <bp-asm.h>.
18501 (memset): Don't use BP_SYM.
18502 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18503 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18504 (__bzero): Don't use BP_SYM.
18505 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18506 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18507 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18508 <bp-sym.h> and <bp-asm.h>.
18509 (strncmp): Don't use BP_SYM. Remove comment about bounded
18511 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18512 <bp-sym.h> and <bp-asm.h>.
18513 (memcpy): Don't use BP_SYM.
18514 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18515 <bp-sym.h> and <bp-asm.h>.
18516 (memset): Don't use BP_SYM.
18517 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18518 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18519 (__bzero): Don't use BP_SYM.
18520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18523 <bp-sym.h> and <bp-asm.h>.
18524 (__memchr): Don't use BP_SYM.
18525 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18526 <bp-sym.h> and <bp-asm.h>.
18527 (memcmp): Don't use BP_SYM. Remove comment about bounded
18529 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18530 <bp-sym.h> and <bp-asm.h>.
18531 (memcpy): Don't use BP_SYM.
18532 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18533 <bp-sym.h> and <bp-asm.h>.
18534 (__mempcpy): Don't use BP_SYM.
18535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18536 <bp-sym.h> and <bp-asm.h>.
18537 (__memrchr): Don't use BP_SYM.
18538 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18539 <bp-sym.h> and <bp-asm.h>.
18540 (memset): Don't use BP_SYM.
18541 (__bzero): Likewise.
18542 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18543 <bp-sym.h> and <bp-asm.h>.
18544 (__rawmemchr): Don't use BP_SYM.
18545 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18546 <bp-sym.h> and <bp-asm.h>.
18547 (__STRCMP): Don't use BP_SYM.
18548 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18549 <bp-sym.h> and <bp-asm.h>.
18550 (strchr): Don't use BP_SYM.
18551 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18552 <bp-sym.h> and <bp-asm.h>.
18553 (__strchrnul): Don't use BP_SYM.
18554 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18555 <bp-sym.h> and <bp-asm.h>.
18556 (strlen): Don't use BP_SYM.
18557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18558 <bp-sym.h> and <bp-asm.h>.
18559 (strncmp): Don't use BP_SYM. Remove comment about bounded
18561 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18562 <bp-sym.h> and <bp-asm.h>.
18563 (__strnlen): Don't use BP_SYM.
18564 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18565 <bp-sym.h> and <bp-asm.h>.
18566 (__GI__setjmp): Don't use BP_SYM.
18567 (_setjmp): Likewise.
18568 (__sigsetjmp): Likewise.
18569 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18570 (L(start_addresses)): Don't use BP_SYM.
18571 (_start): Likewise.
18572 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18574 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18575 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18576 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18577 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18578 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18580 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18581 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18582 about bounded pointers.
18583 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18584 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18585 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18587 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18588 about bounded pointers. Remove GKM FIXME comments.
18589 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18590 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18592 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18593 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18594 Remove GKM FIXME comments.
18595 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18596 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18597 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18599 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18600 about bounded pointers. Remove GKM FIXME comment.
18601 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18603 (strncmp): Don't use BP_SYM. Remove comment about bounded
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18606 <bp-sym.h> and <bp-asm.h>.
18607 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18609 <bp-sym.h> and <bp-asm.h>.
18610 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18613 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18615 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18618 2013-03-05 David S. Miller <davem@davemloft.net>
18620 * po/es.po: Update from translation team.
18622 2013-03-05 Andreas Jaeger <aj@suse.de>
18624 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18625 <bits/mman-linux.h>.
18626 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18628 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18629 <bits/mman-linux.h> to end of file.
18630 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18632 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18633 <bits/mman-linux.h> to end of file.
18634 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18636 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18637 <bits/mman-linux.h> to end of file.
18639 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18640 (MCL_CURRENT, MCL_FUTURE): Define here.
18642 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18647 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18649 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18651 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18652 fourth parameter needed for rt_sigprocmask syscall.
18653 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18654 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18655 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18656 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18657 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18658 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18660 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18663 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18664 comment about bounded pointers.
18665 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18666 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18668 2013-03-04 Andreas Jaeger <aj@suse.de>
18670 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18671 common definitions.
18673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18674 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18675 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18676 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18677 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18680 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18684 __ieee754_sqrl instead of __sqrl.
18686 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18688 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18689 * sysdeps/powerpc/fpu_control.h: ... here.
18690 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18691 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18692 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18693 * sysdeps/powerpc/bits/mathinline.h: ... here.
18695 2013-03-01 Roland McGrath <roland@hack.frob.com>
18697 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18698 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18699 to just [NEED_DL_SYSINFO_DSO].
18700 * elf/dl-support.c: Likewise.
18701 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18702 * elf/rtld.c (dl_main): Likewise.
18703 * elf/setup-vdso.h (setup_vdso): Likewise.
18704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18705 * sysdeps/unix/sysv/linux/dl-sysdep.c
18706 (_dl_discover_osversion): Likewise.
18708 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18710 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18711 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18713 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18715 * NEWS: Mention libm performance improvements and non-x86 PI
18718 * csu/libc-start.c (__pthread_initialize_minimal): Change
18719 function arguments.
18720 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18722 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18725 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18726 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18727 <bp-sym.h> and <bp-asm.h>.
18728 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18729 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18731 (memcpy): Don't use BP_SYM.
18732 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18734 (__mpn_add_n): Don't use BP_SYM.
18735 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18736 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18738 (__mpn_addmul_1): Don't use BP_SYM.
18739 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18740 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18742 (_setjmp): Don't use BP_SYM.
18743 (__novmx_setjmp): Likewise.
18744 (__GI__setjmp): Likewise.
18745 (__vmx_setjmp): Likewise.
18746 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18748 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18749 (__bzero): Don't use BP_SYM.
18750 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18751 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18752 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18753 <bp-sym.h> and <bp-asm.h>.
18754 (memcpy): Don't use BP_SYM.
18755 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18756 <bp-sym.h> and <bp-asm.h>.
18757 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18758 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18759 <bp-sym.h> and <bp-asm.h>.
18760 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18761 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18763 (__mpn_lshift): Don't use BP_SYM.
18764 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18765 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18767 (memset): Don't use BP_SYM.
18768 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18769 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18770 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18772 (__mpn_mul_1): Don't use BP_SYM.
18773 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18774 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18775 <bp-sym.h> and <bp-asm.h>.
18776 (memcmp): Don't use BP_SYM.
18777 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18778 <bp-sym.h> and <bp-asm.h>.
18779 (memcpy): Don't use BP_SYM.
18780 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18781 <bp-sym.h> and <bp-asm.h>.
18782 (memset): Don't use BP_SYM.
18783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18784 <bp-sym.h> and <bp-asm.h>.
18785 (strncmp): Don't use BP_SYM.
18786 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18787 <bp-sym.h> and <bp-asm.h>.
18788 (memcpy): Don't use BP_SYM.
18789 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18790 <bp-sym.h> and <bp-asm.h>.
18791 (memset): Don't use BP_SYM.
18792 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18793 <bp-sym.h> and <bp-asm.h>.
18794 (__memchr): Don't use BP_SYM.
18795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18796 <bp-sym.h> and <bp-asm.h>.
18797 (memcmp): Don't use BP_SYM.
18798 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18799 <bp-sym.h> and <bp-asm.h>.
18800 (memcpy): Don't use BP_SYM.
18801 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18802 <bp-sym.h> and <bp-asm.h>.
18803 (__mempcpy): Don't use BP_SYM.
18804 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18805 <bp-sym.h> and <bp-asm.h>.
18806 (__memrchr): Don't use BP_SYM.
18807 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18808 <bp-sym.h> and <bp-asm.h>.
18809 (memset): Don't use BP_SYM.
18810 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18811 <bp-sym.h> and <bp-asm.h>.
18812 (__rawmemchr): Don't use BP_SYM.
18813 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18814 <bp-sym.h> and <bp-asm.h>.
18815 (__STRCMP): Don't use BP_SYM.
18816 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18817 <bp-sym.h> and <bp-asm.h>.
18818 (strchr): Don't use BP_SYM.
18819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18820 <bp-sym.h> and <bp-asm.h>.
18821 (__strchrnul): Don't use BP_SYM.
18822 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18823 <bp-sym.h> and <bp-asm.h>.
18824 (strlen): Don't use BP_SYM.
18825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18826 <bp-sym.h> and <bp-asm.h>.
18827 (strncmp): Don't use BP_SYM.
18828 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18829 <bp-sym.h> and <bp-asm.h>.
18830 (__strnlen): Don't use BP_SYM.
18831 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18833 (__mpn_rshift): Don't use BP_SYM.
18834 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18835 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18836 <bp-sym.h> and <bp-asm.h>.
18837 (__sigsetjmp): Don't use BP_SYM.
18838 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18839 (L(start_addresses)): Don't use BP_SYM.
18840 (_start): Likewise.
18841 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18843 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18844 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18845 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18846 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18848 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18849 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18850 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18851 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18853 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18855 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18856 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18858 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18860 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18861 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18862 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18864 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18866 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18868 (strncmp): Don't use BP_SYM,
18869 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18871 (__mpn_sub_n): Don't use BP_SYM.
18872 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18873 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18875 (__mpn_submul_1): Don't use BP_SYM.
18876 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18878 <bp-sym.h> and <bp-asm.h>.
18879 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18881 <bp-sym.h> and <bp-asm.h>.
18882 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18885 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18888 Use ZK to minimize writes to Z.
18889 (sub_magnitudes): Simplify code a bit.
18890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18891 Use ZK to minimize writes to Z.
18892 (sub_magnitudes): Simplify code a bit.
18894 2013-02-27 Roland McGrath <roland@hack.frob.com>
18896 * csu/gmon-start.c: Add special exception to license text.
18898 2013-02-27 Richard Henderson <rth@redhat.com>
18900 * scripts/config.guess: Update from config.git.
18901 * scripts/config.sub: Likewise.
18903 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18905 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18907 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18909 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18911 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18913 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18915 2013-02-26 Roland McGrath <roland@hack.frob.com>
18917 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18918 [$(build-shared = yes].
18920 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18922 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18923 (__mul): Reduce iterations for calculating mantissa.
18925 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18927 (__mpranred): Likewise.
18930 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18931 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18933 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18935 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18936 Define __attribute__.
18938 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18940 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18942 * posix/regex_internal.h (__attribute): Remove.
18943 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18944 (re_string_context_at): Likewise.
18945 (bitset_not): Use __attribute__ and mark function as possibly
18947 (bitset_merge): Likewise.
18948 (bitset_mask): Likewise.
18949 (re_string_char_size_at): Likewise.
18950 (re_string_wchar_at): Likewise.
18951 (re_string_elem_size_at): Likewise.
18953 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18955 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18959 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18963 (denorm): Likewise.
18964 (__dbl_mp): Likewise.
18965 (add_magnitudes): Likewise.
18966 (sub_magnitudes): Likewise.
18970 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18973 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18976 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18980 up changes with default code.
18981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18984 2013-02-24 Allan McRae <allan@archlinux.org>
18986 * manual/socket.texi (The Internet Namespace): Order menu items
18987 to match that in the file.
18989 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18990 node listing of the info page menu.
18992 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18995 * sysdeps/i386/bp-asm.h: Remove file.
18996 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18997 (PARMS): Do not use macros from bp-asm.h.
19001 (__mpn_add_n): Do not use BP_SYM
19002 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19004 (PARMS): Do not use macros from bp-asm.h.
19007 (__mpn_addmul_1): Do not use BP_SYM
19008 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19010 (PARMS): Do not use macros from bp-asm.h.
19011 (SIGMSK): Likewise.
19012 (_setjmp): Likewise. Do not use BP_SYM.
19013 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19015 (PARMS): Do not use macros from bp-asm.h.
19016 (SIGMSK): Likewise.
19017 (setjmp): Likewise. Do not use BP_SYM.
19018 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19020 (PARMS): Do not use macros from bp-asm.h.
19021 (__frexp): Do not use BP_SYM.
19023 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19025 (PARMS): Do not use macros from bp-asm.h.
19026 (__frexpf): Do not use BP_SYM.
19027 (frexpf): Likewise.
19028 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19030 (PARMS): Do not use macros from bp-asm.h.
19031 (__frexpl): Do not use BP_SYM.
19032 (frexpl): Likewise.
19033 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19035 (PARMS): Do not use macros from bp-asm.h.
19036 (__remquo): Do not use BP_SYM.
19037 (remquo): Likewise.
19038 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19040 (PARMS): Do not use macros from bp-asm.h.
19041 (__remquof): Do not use BP_SYM.
19042 (remquof): Likewise.
19043 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19045 (PARMS): Do not use macros from bp-asm.h.
19046 (__remquol): Do not use BP_SYM.
19047 (remquol): Likewise.
19048 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19050 (PARMS): Do not use macros from bp-asm.h.
19053 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19054 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19056 (PARMS): Do not use macros from bp-asm.h.
19057 (strlen): Do not use BP_SYM.
19058 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19060 (PARMS): Do not use macros from bp-asm.h.
19064 (__mpn_add_n): Do not use BP_SYM.
19065 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19067 (PARMS): Do not use macros from bp-asm.h.
19070 (__mpn_addmul_1): Do not use BP_SYM.
19071 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19074 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19076 (PARMS): Do not use macros from bp-asm.h.
19079 (__mpn_lshift): Do not use BP_SYM.
19080 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19082 (PARMS): Do not use macros from bp-asm.h.
19086 (memcpy): Likewise. Do not use BP_SYM.
19087 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19088 libc_hidden_def and weak_alias.
19089 (mempcpy): Do not use BP_SYM in weak_alias.
19090 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19092 (PARMS): Do not use macros from bp-asm.h.
19095 [!BZERO_P] (CHR): Likewise.
19096 (memset): Likewise. Do not use BP_SYM.
19097 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19099 (PARMS): Do not use macros from bp-asm.h.
19102 (__mpn_mul_1): Do not use BP_SYM.
19103 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19105 (PARMS): Do not use macros from bp-asm.h.
19108 (__mpn_rshift): Do not use BP_SYM.
19109 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19111 (PARMS): Do not use macros from bp-asm.h.
19114 (strchr): Likewise. Do not use BP_SYM.
19115 (index): Do not use BP_SYM in weak_alias.
19116 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19118 (PARMS): Do not use macros from bp-asm.h.
19121 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19122 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19124 (PARMS): Do not use macros from bp-asm.h.
19125 (strlen): Do not use BP_SYM.
19126 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19128 (PARMS): Do not use macros from bp-asm.h.
19132 (__mpn_sub_n): Do not use BP_SYM.
19133 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19135 (PARMS): Do not use macros from bp-asm.h.
19138 (__mpn_submul_1): Do not use BP_SYM.
19139 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19141 (PARMS): Do not use macros from bp-asm.h.
19145 (__mpn_add_n): Do not use BP_SYM.
19146 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19149 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19151 (PARMS): Do not use macros from bp-asm.h.
19154 (memcmp): Do not use BP_SYM.
19155 (bcmp): Do not use BP_SYM in weak_alias.
19156 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19158 (PARMS): Do not use macros from bp-asm.h.
19162 (memcpy): Likewise. Do not use BP_SYM.
19163 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19165 (PARMS): Do not use macros from bp-asm.h.
19169 (memmove): Likewise. Do not use BP_SYM.
19170 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19172 (PARMS): Do not use macros from bp-asm.h.
19176 (__mempcpy): Likewise. Do not use BP_SYM.
19177 (mempcpy): Do not use BP_SYM in weak_alias.
19178 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19180 (PARMS): Do not use macros from bp-asm.h.
19183 [!BZERO_P] (CHR): Likewise.
19184 (memset): Likewise. Do not use BP_SYM.
19185 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19187 (PARMS): Do not use macros from bp-asm.h.
19189 (strcmp): Do not use BP_SYM.
19190 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19192 (PARMS): Do not use macros from bp-asm.h.
19195 [USE_AS_STRTOK_R] (SAVE): Likewise.
19196 (FUNCTION): Likewise. Do not use BP_SYM.
19197 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19199 (strtok_r): Likewise.
19200 (__GI___strtok_r): Likewise.
19201 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19202 (PARMS): Do not use macros from bp-asm.h.
19205 (__mpn_lshift): Do not use BP_SYM.
19206 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19207 (PARMS): Do not use macros from bp-asm.h.
19210 (__memchr): Do not use BP_SYM.
19211 (memchr): Do not use BP_SYM in weak_alias.
19212 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19213 (PARMS): Do not use macros from bp-asm.h.
19216 (memcmp): Do not use BP_SYM.
19217 (bcmp): Do not use BP_SYM in weak_alias.
19218 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19219 (PARMS): Do not use macros from bp-asm.h.
19222 (__mpn_mul_1): Do not use BP_SYM.
19223 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19225 (PARMS): Do not use macros from bp-asm.h.
19228 (__rawmemchr): Do not use BP_SYM.
19229 (rawmemchr): Do not use BP_SYM in weak_alias.
19230 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19231 (PARMS): Do not use macros from bp-asm.h.
19234 (__mpn_rshift): Do not use BP_SYM.
19235 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19236 (PARMS): Do not use macros from bp-asm.h.
19237 (SIGMSK): Likewise.
19238 (__sigsetjmp): Likewise. Do not use BP_SYM.
19239 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19240 (_start): Do not use BP_SYM.
19241 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19242 (PARMS): Do not use macros from bp-asm.h.
19245 (__stpcpy): Likewise. Do not use BP_SYM.
19246 (stpcpy): Do not use BP_SYM in weak_alias.
19247 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19249 (PARMS): Do not use macros from bp-asm.h.
19253 (__stpncpy): Likewise. Do not use BP_SYM.
19254 (stpncpy): Do not use BP_SYM in weak_alias.
19255 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19256 (PARMS): Do not use macros from bp-asm.h.
19259 (strchr): Likewise. Do not use BP_SYM.
19260 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19262 (PARMS): Do not use macros from bp-asm.h.
19265 (__strchrnul): Likewise. Do not use BP_SYM.
19266 (strchrnul): Do not use BP_SYM in weak_alias.
19267 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19269 (PARMS): Do not use macros from bp-asm.h.
19271 (strcspn): Do not use BP_SYM.
19272 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19274 (PARMS): Do not use macros from bp-asm.h.
19277 (strpbrk): Likewise. Do not use BP_SYM.
19278 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19280 (PARMS): Do not use macros from bp-asm.h.
19283 (strrchr): Likewise. Do not use BP_SYM.
19284 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19285 (PARMS): Do not use macros from bp-asm.h.
19287 (strspn): Do not use BP_SYM.
19288 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19289 (PARMS): Do not use macros from bp-asm.h.
19293 (FUNCTION): Likewise. Do not use BP_SYM.
19294 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19296 (strtok_r): Likewise.
19297 (__GI___strtok_r): Likewise.
19298 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19299 (PARMS): Do not use macros from bp-asm.h.
19303 (__mpn_sub_n): Do not use BP_SYM.
19304 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19306 (PARMS): Do not use macros from bp-asm.h.
19309 (__mpn_submul_1): Do not use BP_SYM.
19310 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19312 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19314 (PARMS): Do not use macros from bp-asm.h.
19319 (__clone): Do not use BP_SYM.
19320 (clone): Do not use BP_SYM in weak_alias.
19321 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19323 (PARMS): Do not use macros from bp-asm.h.
19325 (__mmap64): Do not use BP_SYM.
19326 (mmap64): Do not use BP_SYM in weak_alias.
19327 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19328 <bp-sym.h> and <bp-asm.h>.
19329 (PARMS): Do not use macros from bp-asm.h.
19330 (__posix_fadvise64_l64): Do not use BP_SYM.
19331 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19332 (PARMS): Do not use macros from bp-asm.h.
19334 (semtimedop): Do not use BP_SYM.
19335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19338 2013-02-21 Allan McRae <allan@archlinux.org>
19340 * manual/message.texi (Charset conversion in gettext):
19341 Move @end statement to beginning of line.
19343 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19350 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19351 (denorm): Likewise.
19352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19355 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19357 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19358 tail-call to the resolved function if pltexit isn't needed.
19360 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19363 or Y being zero as being unlikely.
19364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19367 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19369 * manual/nss.texi (System Databases and Name Service Switch):
19370 Remove frobnicate @pxref.
19372 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19374 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19375 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19377 2013-02-20 Petr Machata <pmachata@redhat.com>
19379 * elf/elf.h (R_ARM_TARGET1): New macro.
19380 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19381 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19382 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19383 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19384 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19385 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19386 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19387 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19388 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19389 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19390 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19391 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19392 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19393 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19394 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19395 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19396 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19397 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19398 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19399 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19400 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19401 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19402 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19403 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19404 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19405 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19406 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19407 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19408 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19409 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19410 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19411 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19412 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19413 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19414 (R_ARM_THM_GOT_BREL12): Likewise.
19415 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19416 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19417 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19418 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19419 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19420 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19421 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19422 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19423 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19425 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19427 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19428 __attribute_used__ to __attribute__ ((unused)).
19430 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19432 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19435 comment formatting.
19436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19438 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19441 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19443 (ENTER): Remove both macro definitions.
19445 (CHECK_BOUNDS_LOW): Likewise.
19446 (CHECK_BOUNDS_HIGH): Likewise.
19447 (CHECK_BOUNDS_BOTH): Likewise.
19448 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19449 (RETURN_BOUNDED_POINTER): Likewise.
19450 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19451 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19452 (POP_ERRNO_LOCATION_RETURN): Likewise.
19453 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19454 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19455 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19457 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19458 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19459 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19460 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19461 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19462 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19463 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19464 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19465 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19466 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19467 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19468 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19469 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19470 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19472 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19473 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19475 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19476 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19477 * sysdeps/i386/i586/memset.S (memset): Likewise.
19478 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19479 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19480 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19482 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19483 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19484 Change uses of L(2) to L(out).
19485 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19486 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19487 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19488 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19489 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19491 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19492 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19495 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19496 (RETURN): Do not use macro LEAVE.
19497 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19498 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19499 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19500 * sysdeps/i386/i686/memset.S (memset): Likewise.
19501 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19502 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19503 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19504 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19506 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19507 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19508 L(1_2) and L(1_3) into L(1).
19509 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19510 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19511 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19512 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19513 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19514 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19515 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19516 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19517 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19519 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19520 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19521 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19522 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19523 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19524 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19525 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19526 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19527 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19528 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19529 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19530 * sysdeps/i386/strspn.S (strspn): Likewise.
19531 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19533 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19534 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19535 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19536 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19537 L(1_3) into L(1_1).
19538 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19539 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19540 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19542 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19544 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19546 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19549 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19551 * math/atest-exp.c (exp_mpn): Remove ROUND.
19552 * math/atest-exp2.c (exp_mpn): Likewise.
19553 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19555 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19556 * stdlib/tst-tls-atexit-lib.c: Likewise.
19557 * stdlib/tst-tls-atexit.c: Likewise.
19559 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19561 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19562 and __attribute_alloc_size__.
19564 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19566 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19567 __attribute_alloc_size__.
19568 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19569 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19571 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19573 * include/programs/xmalloc.h: New file.
19574 * catgets/gencat.c: Include it.
19575 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19576 * elf/pldd.c: Likewise.
19577 * iconv/iconv_charmap.c: Likewise.
19578 * iconv/iconvconfig.c: Likewise.
19579 * iconv/strtab.c: Likewise.
19580 * locale/programs/locale.c: Likewise.
19581 * locale/programs/localedef.h: Likewise.
19582 * locale/programs/simple-hash.c: Likewise.
19583 * nscd/nscd.h: Likewise.
19584 * nss/makedb.c: Likewise.
19585 * sysdeps/generic/ldconfig.h: Likewise.
19587 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19589 * Versions.def: Add GLIBC_2.18.
19590 * include/link.h (struct link_map): New member l_tls_dtor_count.
19591 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19592 (__call_tls_dtors): Likewise.
19593 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19594 __cxa_thread_atexit_impl.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19611 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19612 (tests): Add test case tst-tls-atexit.
19613 (modules-names): Add shared library for tst-tls-atexit.
19614 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19615 (GLIBC_PRIVATE): Add __call_tls_dtors.
19616 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19618 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19619 * stdlib/tst-tls-atexit.c: New test case.
19620 * stdlib/tst-tls-atexit-lib.c: New test case.
19622 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19624 * elf/Versions (ld): Add _dl_find_dso_for_object.
19625 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19626 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19627 (dl_open_worker): Use _dl_find_dso_for_object.
19628 * elf/dl-sym.c (do_sym): Likewise.
19629 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19631 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19633 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19634 Syntactic changes only.
19635 (_dl_runtime_profile): Do a tail-call to the resolved function.
19637 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19640 * sysdeps/x86_64/bp-asm.h: Remove file.
19641 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19642 <bp-sym.h> and <bp-asm.h>.
19643 (__clone): Do not use BP_SYM.
19644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19645 <bp-sym.h> and <bp-asm.h>.
19646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19647 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19649 (_setjmp): Do not use BP_SYM.
19650 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19652 (setjmp): Do not use BP_SYM.
19653 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19655 (mempcpy): Do not use BP_SYM in weak_alias.
19656 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19658 (strchr): Do not use BP_SYM.
19659 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19661 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19662 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19663 (_start): Do not use BP_SYM.
19664 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19666 (strcat): Do not use BP_SYM.
19667 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19669 (STRCMP): Do not use BP_SYM.
19670 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19672 (STRCPY): Do not use BP_SYM.
19673 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19675 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19677 (FUNCTION): Do not use BP_SYM.
19678 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19680 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19682 2013-02-17 Andreas Jaeger <aj@suse.de>
19684 * time/Versions: Sort entries.
19685 * string/Versions: Likewise.
19686 * resolv/Versions: Likewise.
19687 * posix/Versions: Likewise.
19688 * iconv/Versions: Likewise.
19689 * elf/Versions: Likewise.
19690 * wcsmbs/Versions: Likewise.
19692 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19694 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19695 loop termination condition.
19697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19698 variable to calculate EZ.
19701 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19702 the lower precision input.
19704 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19707 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19708 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19709 (run-via-rtld-prefix): Do not handle %-bp tests.
19710 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19711 (all-object-suffixes): Remove .ob.
19712 (bppfx): Remove variable.
19713 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19714 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19715 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19716 [$(build-bounded) = yes] (libtype.ob): Likewise.
19717 * Makerules (elide-routines.ob): Remove variable.
19718 (do-tests-clean): Do not handle *-bp.out.
19719 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19720 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19721 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19722 (tests): Do not include $(tests-bp.out).
19723 (xtests): Do not include $(xtests-bp.out).
19724 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19725 [$(build-bounded) = yes] ($(addprefix
19726 $(objpfx),$(binaries-bounded))): Remove rule.
19727 ($(objpfx)%-bp.out): Remove rule.
19728 * config.make.in (build-bounded): Remove variable.
19729 * crypt/Makefile [$(build-bounded) = yes]
19730 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19731 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19732 append to variable.
19733 [$(build-bounded) = yes] (install-lib): Likewise.
19734 [$(build-bounded) = yes] (generated): Likewise.
19735 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19737 * intl/Makefile [$(build-bounded) = yes]
19738 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19739 * math/Makefile [$(build-bounded) = yes]
19740 ($(tests:%=$(objpfx)%-bp): Likewise.
19741 * misc/Makefile [$(build-bounded) = yes]
19742 ($(objpfx)tst-tsearch-bp): Likewise.
19743 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19744 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19746 * string/Makefile (o-objects.ob): Remove variable.
19747 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19748 (CFLAGS-.ob): Remove variable.
19749 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19750 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19751 both definitions of variable.
19752 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19753 (ASFLAGS-.ob): Remove variable.
19755 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19758 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19759 Remove __BOUNDED_POINTERS__ from condition.
19760 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19761 * string/bits/string2.h [!__NO_STRING_INLINES &&
19762 !__BOUNDED_POINTERS__]: Likewise.
19763 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19765 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19766 Remove conditional code.
19767 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19768 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19769 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19773 * csu/libc-start.c: Do not include <bp-sym.h>.
19774 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19775 * elf/dl-open.c: Do not include <bp-sym.h>.
19776 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19777 * math/fegetenv.c: Do not include <bp-sym.h>.
19778 (fegetenv): Do not use BP_SYM in versioned symbols.
19779 * nptl/sysdeps/pthread/bits/libc-lockP.h
19780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19783 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19785 (__pthread_mutex_destroy): Likewise.
19786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19787 (__pthread_mutex_lock): Likewise.
19788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19789 (__pthread_mutex_trylock): Likewise.
19790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19791 (__pthread_mutex_unlock): Likewise.
19792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19793 (__pthread_mutexattr_init): Likewise.
19794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19795 (__pthread_mutexattr_destroy): Likewise.
19796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19797 (__pthread_mutexattr_settype): Likewise.
19798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19799 (__pthread_rwlock_init): Likewise.
19800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19801 (__pthread_rwlock_destroy): Likewise.
19802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19803 (__pthread_rwlock_rdlock): Likewise.
19804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19805 (__pthread_rwlock_tryrdlock): Likewise.
19806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19807 (__pthread_rwlock_wrlock): Likewise.
19808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19809 (__pthread_rwlock_trywrlock): Likewise.
19810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19811 (__pthread_rwlock_unlock): Likewise.
19812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19813 (__pthread_key_create): Likewise.
19814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19815 (__pthread_setspecific): Likewise.
19816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19817 (__pthread_getspecific): Likewise.
19818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19821 (_pthread_cleanup_push_defer): Likewise.
19822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19823 (_pthread_cleanup_pop_restore): Likewise.
19824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19825 (pthread_setcancelstate): Likewise.
19826 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19828 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19829 (memchr): Do not use BP_SYM in weak_alias.
19830 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19831 (fegetenv): Do not use BP_SYM in versioned symbols.
19832 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19833 (fesetenv): Do not use BP_SYM in versioned symbols.
19834 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19835 (feupdateenv): Do not use BP_SYM in versioned symbols.
19836 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19837 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19838 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19839 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19840 (open64): Do not use BP_SYM in weak_alias.
19841 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19842 (fegetenv): Do not use BP_SYM in versioned symbols.
19843 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19844 (fesetenv): Do not use BP_SYM in versioned symbols.
19845 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19846 (feupdateenv): Do not use BP_SYM in versioned symbols.
19847 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19848 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19849 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19850 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19851 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19852 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19853 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19855 (__libc_start_main): Do not use BP_SYM.
19857 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19860 redundant return line.
19862 (denorm): Likewise.
19863 (dbl_mp): Likewise.
19864 (sub_magnitudes): Likewise.
19870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19872 (denorm): Likewise.
19873 (dbl_mp): Likewise.
19874 (sub_magnitudes): Likewise.
19881 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19883 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19884 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19887 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19888 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19890 of __mul for squares.
19891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19895 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19896 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19898 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19901 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19903 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19904 prototype or function definition. Rename ubp_* variables and
19905 parameters. Remove argv definitions conditional on
19906 [__BOUNDED_POINTERS__].
19907 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19908 * elf/dl-runtime.c (_dl_fixup): Likewise.
19909 * include/set-hooks.h (RUN_HOOK): Likewise.
19910 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19912 * string/strcpy.c (strcpy): Do not use __unbounded.
19913 * sysdeps/generic/frame.h (struct layout): Likewise.
19914 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19915 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19916 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19917 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19918 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19919 (__backtrace): Likewise.
19920 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19922 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19923 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19924 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19926 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19927 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19928 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19929 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19930 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19931 Do not use __unbounded.
19932 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19933 Rename __unboundedrlimits parameter to rlimits in prototype.
19934 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19935 Do not use __unbounded.
19936 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19937 not use __ptrvalue.
19938 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19939 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19940 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19941 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19942 __ptrvalue or __unbounded.
19943 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19944 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19946 (__new_msgctl): Do not use __ptrvalue.
19947 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19949 (__libc_msgrcv): Do not use __ptrvalue.
19950 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19951 startup_info): Do not use __unbounded.
19952 (__libc_start_main): Likewise. Rename ubp_* variables and
19953 parameters. Remove argv definitions conditional on
19954 [__BOUNDED_POINTERS__].
19955 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19957 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19959 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19961 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19963 (__new_shmctl): Do not use __ptrvalue.
19964 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19965 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19967 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19968 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19969 (__libc_sigaction): Likewise.
19970 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19971 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19973 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19975 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19977 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19979 * string/mempcpy.c: Implement by calling memcpy.
19981 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19989 values in the mantissa.
19991 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19992 minimize writes to Z.
19993 (sub_magnitudes): Simplify code a bit.
19995 2013-02-12 Roland McGrath <roland@hack.frob.com>
19997 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19998 from the message. The linker prefixes all warnings with that already.
20000 2013-02-12 Andreas Schwab <schwab@suse.de>
20003 * posix/regexec.c (extend_buffers): Add parameter min_len.
20004 (check_matching): Pass minimum needed length.
20005 (clean_state_log_if_needed): Likewise.
20006 (get_subexp): Likewise.
20007 * posix/Makefile (tests): Add bug-regex34.
20008 (bug-regex34-ENV): Define.
20009 * posix/bug-regex34.c: New file.
20012 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20013 elements compare against the byte sequence of it, not its name.
20014 * posix/Makefile (tests): Add bug-regex35.
20015 (bug-regex35-ENV): Define.
20016 * posix/bug-regex35.c: New file.
20018 2013-02-11 Tom de Vries <tom@codesourcery.com>
20020 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20022 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20023 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20024 (CHECK_EOL): Add undef.
20026 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20028 * bits/stdlib-bsearch.h: New file.
20029 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20030 * stdlib/stdlib.h: Likewise.
20032 2013-02-11 Roland McGrath <roland@hack.frob.com>
20034 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20035 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20037 * manual/search.texi (Array Search Function): Add missing const in
20039 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20040 declaration to use rlim_t.
20041 (Basic Scheduling Functions): Remove erroneous const from
20042 sched_getparam prototype. Remove erroneous * from
20043 sched_get_priority_max and sched_get_priority_min prototypes.
20044 (Resource Usage): Fix summary @comment on vtimes to refer to
20045 sys/vtimes.h rather than vtimes.h.
20046 Add missing *s in vtimes prototype.
20047 (Limits on Resources): Fix ulimit prototype to return long int.
20048 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20049 prototypes to use long int rather than double.
20050 (BSD Random): Fix initstate and setstate to use char *, not void *.
20051 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20052 prototype to make second argument 'struct aiocb64 *const[]'.
20053 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20054 (Status of AIO Operations): Remove erroneous const in aio_return and
20055 aio_return64 prototypes.
20056 (Synchronizing I/O): Fix sync prototype to return void.
20057 * manual/startup.texi (Suboptions): Remove an erroneous const in
20058 getsubopt prototype.
20059 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20060 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20061 use size_t rather than int.
20062 (Scanning All Users): Likewise for getpwent_r.
20063 (Setting Groups): Add missing const to setgroups prototype.
20064 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20065 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20066 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20067 'const void *' rather than 'const char *'.
20068 (Host Address Functions): Likewise for inet_ntop.
20069 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20070 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20071 ssize_t for return value.
20072 (Sending Data): Likewise for send, sendto, sendmsg.
20073 (Socket Option Functions): Add a missing const in setsockopt prototype.
20074 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20075 use wchar_t for the argument.
20076 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20077 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20079 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20080 double/float/long double for second argument.
20081 Fix return types of significand, significandf, significandl.
20082 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20083 argument in fchmod prototype.
20084 (File Owner): Use uid_t and gid_t in fchown prototype.
20085 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20086 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20087 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20088 use 'const struct dirent **' as argument types to CMP function pointer
20090 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20091 (File Times): Fix summary magic @comment for struct utimbuf and utime
20092 to refer to utime.h, not time.h.
20093 * manual/string.texi (Argz Functions): Add missing const in
20094 argz_extract and argz_next prototypes.
20095 (Finding Tokens in a String): Likewise for basename.
20096 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20097 (Copying and Concatenation): Fix typo in wmemmove prototype.
20098 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20099 (Signal Stack): Remove erroneous const in sigstack prototype.
20100 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20102 (Simple Calendar Time): Likewise for stime.
20103 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20105 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20106 say sys/sysctl.h instead.
20107 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20108 and vsyslog prototypes.
20110 2013-02-11 Tom de Vries <tom@codesourcery.com>
20112 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20115 2013-02-11 Roland McGrath <roland@hack.frob.com>
20117 * misc/sys/mman.h: Fix typo in mremap comment.
20119 2013-02-08 Roland McGrath <roland@hack.frob.com>
20121 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20122 the '\0' terminator.
20124 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20127 * debug/segfault.c: Don't include <bp-checks.h>.
20128 * sysdeps/generic/bp-checks.h: Remove file.
20129 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20130 (__GETDENTS): Don't use CHECK_N.
20131 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20132 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20133 (__getgroups): Don't use CHECK_N.
20134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20135 (setgroups): Don't use CHECK_N.
20136 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20137 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20138 (__libc_msgrcv): Don't use CHECK_N.
20139 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20140 (__libc_msgsnd): Don't use CHECK_N.
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20143 (__libc_pread): Don't use CHECK_N.
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20145 include <bp-checks.h>.
20146 (__libc_pread64): Don't use CHECK_N.
20147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20148 include <bp-checks.h>.
20149 (__libc_pwrite): Don't use CHECK_N.
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20151 include <bp-checks.h>.
20152 (__libc_pwrite64): Don't use CHECK_N.
20153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20155 (__libc_pread): Don't use CHECK_N.
20156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20157 include <bp-checks.h>.
20158 (__libc_pread64): Don't use CHECK_N.
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20160 include <bp-checks.h>.
20161 (__libc_pwrite): Don't use CHECK_N.
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20163 include <bp-checks.h>.
20164 (__libc_pwrite64): Don't use CHECK_N.
20165 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20166 (do_pread): Don't use CHECK_N.
20167 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20168 (do_pread64): Don't use CHECK_N.
20169 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20170 (do_pwrite): Don't use CHECK_N.
20171 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20172 (do_pwrite64): Don't use CHECK_N.
20173 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20174 (__libc_readv): Don't use CHECK_N.
20175 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20176 (semop): Don't use CHECK_N.
20177 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20179 (semtimedop): Don't use CHECK_N.
20180 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20181 (__libc_pread): Don't use CHECK_N.
20182 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20184 (__libc_pread64): Don't use CHECK_N.
20185 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20187 (__libc_pwrite): Don't use CHECK_N.
20188 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20190 (__libc_pwrite64): Don't use CHECK_N.
20191 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20193 (__libc_msgrcv): Don't use CHECK_N.
20194 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20195 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20196 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20197 (__libc_writev): Don't use CHECK_N.
20199 2013-02-08 Roland McGrath <roland@hack.frob.com>
20201 * string/strcpy.c: Removed unused variable.
20203 * Makeconfig (+sysdep-includes): Define with := rather than =.
20204 Use an existing include/ subdir of each sysdeps dir before it.
20206 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20208 * nscd/connection.c (register_traced_file): Comment function.
20209 [HAVE_INOTIFY] (union __inev): Define.
20210 [HAVE_INOTIFY] (inotify_check_files): New function.
20211 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20212 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20214 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20216 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20218 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20219 loaded if not already and that a failure is permanent.
20221 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20224 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20225 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20227 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20230 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20231 (CHECK_1_NULL_OK): Likewise.
20232 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20233 (__fxstat): Do not use CHECK_1.
20234 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20236 (___fxstat64): Do not use CHECK_1.
20237 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20239 (__fxstatat): Do not use CHECK_1.
20240 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20242 (__fxstatat64): Do not use CHECK_1.
20243 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20245 (__fxstat): Do not use CHECK_1.
20246 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20248 (__fxstatat): Do not use CHECK_1.
20249 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20251 (__getresgid): Do not use CHECK_1.
20252 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20254 (__getresuid): Do not use CHECK_1.
20255 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20257 (__lxstat): Do not use CHECK_1.
20258 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20260 (__old_msgctl): Do not use CHECK_1.
20261 (__new_msgctl): Likewise.
20262 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20264 (__new_setrlimit): Do not use CHECK_1.
20265 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20267 (__old_shmctl): Do not use CHECK_1.
20268 (__new_shmctl): Likewise.
20269 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20271 (__xstat): Do not use CHECK_1.
20272 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20273 (__lxstat): Do not use CHECK_1.
20274 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20276 (___lxstat64): Do not use CHECK_1.
20277 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20278 (__old_msgctl): Do not use CHECK_1.
20279 (__new_msgctl): Likewise.
20280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20282 (__gettimeofday): Do not use CHECK_1.
20283 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20284 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20285 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20287 (__gettimeofday): Do not use CHECK_1.
20288 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20289 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20290 (__new_shmctl): Do not use CHECK_1.
20291 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20293 (do_sigtimedwait): Do not use CHECK_1.
20294 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20296 (do_sigwaitinfo): Do not use CHECK_1.
20297 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20299 (msgctl): Do not use CHECK_1.
20300 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20302 (shmctl): Do not use CHECK_1.
20303 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20304 (ustat): Do not use CHECK_1.
20305 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20307 (__fxstat): Do not use CHECK_1.
20308 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20310 (__fxstatat): Do not use CHECK_1.
20311 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20313 (__lxstat): Do not use CHECK_1.
20314 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20316 (__xstat): Do not use CHECK_1.
20317 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20318 (__xstat): Do not use CHECK_1.
20319 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20320 (___xstat64): Do not use CHECK_1.
20323 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20325 (CHECK_BOUNDS_HIGH): Likewise.
20326 * string/strcpy.c: Do not include <bp-checks.h>.
20327 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20329 2013-02-07 Roland McGrath <roland@hack.frob.com>
20331 * nscd/nscd-client.h (__nscd_drop_map_ref):
20332 Add __attribute__ ((unused)).
20333 * nis/nss-nisplus.h (niserr2nss): Likewise.
20335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20336 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20338 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20339 Remove inline keyword.
20340 * include/rounding-mode.h (round_away): Likewise.
20341 * libio/wfileops.c (adjust_wide_data): Likewise.
20342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20343 (__m128i_strloadu_tolower): Likewise.
20344 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20345 (__m128i_strloadu_tolower): Likewise.
20346 * time/mktime.c (ydhms_diff): Likewise.
20347 * locale/elem-hash.h (elem_hash): Likewise.
20348 * locale/setlocale.c (setdata): Likewise.
20349 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20350 (re_string_wchar_at): Likewise.
20351 (bitset_not, bitset_merge, bitset_mask): Likewise.
20352 [!(__GNUC__ > 3)] (inline): Remove macro.
20353 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20354 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20355 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20356 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20357 * string/memcmp.c (memcmp_bytes): Likewise.
20358 * locale/programs/locarchive.c (compute_hashval): Likewise.
20359 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20360 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20361 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20362 * nss/getent.c (print_rpc, print_protocols): Likewise.
20363 (print_passwd, print_group, print_aliases): Likewise.
20364 * nis/nss-nisplus.h (niserr2nss): Likewise.
20365 * nscd/connections.c (restart_p): Likewise.
20366 Change return type to bool.
20368 2013-02-05 Roland McGrath <roland@hack.frob.com>
20370 * Makeconfig (all-Depend-files): Add existing
20371 $(sorted-subdirs:=/Depend) files.
20372 (all-subdirs): Remove nss.
20373 * sysdeps/unix/inet/Subdirs: Add it here instead.
20374 * hesiod/Depend: New file.
20376 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20377 instead of calling alloca.
20379 * io/lseek.c (__lseek): Rename to __libc_lseek.
20380 Define __lseek as an alias.
20382 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20384 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20386 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20387 else clause and remove check for non-standard endianness.
20389 2013-02-04 David S. Miller <davem@davemloft.net>
20391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20393 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20396 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20397 (__ubp_memchr): Remove prototype.
20398 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20399 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20400 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20401 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20402 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20404 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20405 (__ubp_memchr): Likewise.
20406 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20407 (__ubp_memchr): Likewise.
20408 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20409 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20410 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20411 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20413 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20414 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20415 (__getcwd): Do not use CHECK_STRING.
20416 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20418 (__real_chown): Do not use CHECK_STRING.
20419 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20421 (fchownat): Do not use CHECK_STRING.
20422 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20424 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20426 (__lchown): Do not use CHECK_STRING.
20427 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20428 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20429 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20430 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20432 include <bp-checks.h>.
20433 (truncate64): Do not use CHECK_STRING.
20434 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20436 (__real_chown): Do not use CHECK_STRING.
20437 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20439 (__lchown): Do not use CHECK_STRING.
20440 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20442 (__chown): Do not use CHECK_STRING.
20443 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20445 (truncate64): Do not use CHECK_STRING.
20446 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20448 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20449 (__xmknod): Do not use CHECK_STRING.
20450 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20452 (__xmknodat): Do not use CHECK_STRING.
20453 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20454 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20456 2013-02-04 Andreas Schwab <schwab@suse.de>
20459 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20460 * include/netdb.h: Likewise for h_errno.
20461 * elf/tst-stackguard1.c: Include <tls.h>.
20463 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20465 * elf/link.h (struct link_map): Extend the l_addr comment.
20466 * include/link.h (struct link_map): Likewise.
20468 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20471 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20472 (BOUNDED_1): Remove macro.
20473 * debug/backtrace.c: Don't include <bp-checks.h>.
20474 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20475 (__backtrace): Likewise.
20476 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20478 (__backtrace): Don't use BOUNDED_1.
20479 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20481 (__backtrace): Don't use BOUNDED_1.
20482 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20483 (__backtrace): Don't use BOUNDED_1.
20484 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20485 (shmat): Don't use BOUNDED_N.
20487 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20490 * sysdeps/generic/bp-start.h: Remove file.
20491 * csu/libc-start.c: Don't include <bp-start.h>.
20492 (LIBC_START_MAIN): Set up __environ directly instead of using
20493 INIT_ARGV_and_ENVIRON.
20494 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20498 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20500 (CHECK_FCNTL): Likewise.
20501 (CHECK_N_PAGES): Likewise.
20504 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20506 (CHECK_SIGSET_NULL_OK): Likewise.
20507 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20509 (sigpending): Don't use CHECK_SIGSET.
20510 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20512 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20513 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20515 (do_sigsuspend): Don't use CHECK_SIGSET.
20516 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20518 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20519 (do_sigwait): Don't use CHECK_SIGSET.
20520 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20522 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20523 include <bp-checks.h>.
20524 (sigpending): Don't use CHECK_SIGSET.
20525 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20526 include <bp-checks.h>.
20527 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20528 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20530 (sigpending): Don't use CHECK_SIGSET.
20531 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20533 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20536 * sysdeps/generic/bp-semctl.h: Remove file.
20537 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20538 <bp-checks.h> and <bp-semctl.h>.
20539 (__old_semctl): Don't use CHECK_SEMCTL.
20540 (__new_semctl): Likewise.
20541 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20543 (__old_semctl): Don't use CHECK_SEMCTL.
20544 (__new_semctl): Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20546 <bp-checks.h> and <bp-semctl.h>.
20547 (__old_semctl): Don't use CHECK_SEMCTL.
20548 (__new_semctl): Likewise.
20549 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20550 <bp-checks.h> and <bp-semctl.h>.
20551 (semctl): Don't use CHECK_SEMCTL.
20554 * Makerules (elide-bp-thunks): Remove variable.
20555 (elide-routines.oS): Don't use $(elide-bp-thunks).
20556 (elide-routines.os): Likewise.
20557 (elide-routines.o): Likewise.
20558 (elide-routines.op): Likewise.
20559 (elide-routines.og): Likewise.
20560 (objects): Don't use $(bp-thunks).
20561 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20563 (common-generated): Do not add s-proto-bp.d.
20564 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20567 Do not generate makefile rules for bounded-pointer thunks.
20568 * sysdeps/generic/bp-thunks.h: Remove file.
20569 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20570 * sysdeps/unix/s-proto-bp.S: Likewise.
20573 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20574 parts of result separately when argument is not close to line from
20575 -i to i and one part of argument is small.
20576 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20577 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20578 * math/libm-test.inc (cacos_test): Add more tests.
20579 (casin_test): Likewise.
20580 (casinh_test): Likewise.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20584 2013-01-31 David S. Miller <davem@davemloft.net>
20586 * po/de.po: Update from translation team.
20588 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20590 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20592 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20594 * configure.in (_AC_PROG_CC_C89): New definition.
20595 * configure: Regenerate.
20597 * configure.in (AC_PROG_CPP): New definition.
20598 * configure: Regenerate.
20600 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20602 * debug/tst-backtrace.h: New file.
20603 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20604 (ret): Remove variable.
20606 (FAIL): Remove macro.
20607 (NO_INLINE): Likewise.
20608 (fn1): Use match function instead of strstr.
20609 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20610 (ret): Remove variable.
20612 (FAIL): Remove macro.
20613 (NO_INLINE): Likewise.
20614 (fn): Use match function instead of strstr.
20615 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20616 (ret): Remove variable.
20618 (FAIL): Remove macro.
20619 (NO_INLINE): Likewise.
20620 (handle_signal): Use match function instead of strstr.
20621 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20622 (ret): Remove variable.
20624 (FAIL): Remove macro.
20625 (NO_INLINE): Likewise.
20626 (handle_signal): Use match function instead of strstr.
20628 2013-01-23 Roland McGrath <roland@hack.frob.com>
20630 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20632 2013-01-23 David S. Miller <davem@davemloft.net>
20634 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20635 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20636 argument of CAS if possible.
20637 * sysdeps/sparc/sparc64/bits/atomic.h
20638 (__arch_compare_and_exchange_val_32_acq): Likewise.
20639 (__arch_compare_and_exchange_val_64_acq): Likewise.
20641 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20643 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20644 * sysdeps/posix/ulimit.c: ... this.
20645 Include <limits.h>.
20646 * sysdeps/unix/bsd/ulimit.c: Remove file.
20648 2013-01-23 Adam Conrad <adconrad@0c3.net>
20650 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20651 (LDFLAGS-tst-array5): Likewise.
20653 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20656 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20657 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20658 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20659 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20661 2013-01-21 David S. Miller <davem@davemloft.net>
20663 * sysdeps/sparc/backtrace.c: New file.
20664 * sysdeps/sparc/sparc32/backtrace.h: New file.
20665 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20666 * sysdeps/sparc/sparc64/backtrace.h: New file.
20667 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20668 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20671 2013-01-21 Andreas Schwab <schwab@suse.de>
20674 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20677 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20683 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20684 Mark Mitchell <mark@codesourcery.com>
20685 Tom de Vries <tom@codesourcery.com>
20686 Paul Pluzhnikov <ppluzhnikov@google.com>
20688 * debug/tst-backtrace2.c: New file.
20689 * debug/tst-backtrace3.c: Likewise.
20690 * debug/tst-backtrace4.c: Likewise.
20691 * debug/tst-backtrace5.c: Likewise.
20692 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20693 (CFLAGS-tst-backtrace3.c): Likewise.
20694 (CFLAGS-tst-backtrace4.c): Likewise.
20695 (CFLAGS-tst-backtrace5.c): Likewise.
20696 (LDFLAGS-tst-backtrace2): Likewise.
20697 (LDFLAGS-tst-backtrace3): Likewise.
20698 (LDFLAGS-tst-backtrace4): Likewise.
20699 (LDFLAGS-tst-backtrace5): Likewise.
20700 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20701 tst-backtrace4 and tst-backtrace5.
20703 2013-01-18 Anton Blanchard <anton@samba.org>
20704 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20706 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20707 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20708 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20709 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20711 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20712 "+r" and remove output regs list as redundant. Add explicit inline
20713 asm to specify register of return val to work around compiler codegen
20714 bug. Remove (int) cast on return value. Add return type parameter to
20715 use in macro so that this macro does not truncate return value for
20717 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20718 pass to INTERNAL_VSYSCALL_NCS.
20719 (INLINE_VSYSCALL): Add 'long int' as return type to
20720 INTERNAL_VSYSCALL_NCS macro invocation.
20721 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20722 INTERNAL_VSYSCALL_NCS macro invocation.
20723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20725 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20728 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20729 Fix application of SIMD FP exception mask.
20731 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20732 mp_no from a power of two.
20733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20734 __mpexp_twomm1. Use __pow_mp.
20736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20739 2013-01-17 David S. Miller <davem@davemloft.net>
20741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20743 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20746 * include/complex.h: Condition contents on [!_COMPLEX_H].
20747 (__kernel_casinhf): New prototype.
20748 (__kernel_casinh): Likewise.
20749 (__kernel_casinhl): Likewise.
20750 * math/Makefile (libm_calls): Add k_casinh.
20751 * math/k_casinh.c: New file.
20752 * math/k_casinhf.c: Likewise.
20753 * math/k_casinhl.c: Likewise.
20754 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20755 finite nonzero arguments.
20756 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20757 finite nonzero arguments.
20758 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20759 finite nonzero arguments.
20760 * math/s_casinh.c: Do not include <float.h>.
20761 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20762 * math/s_casinhf.c: Do not include <float.h>.
20763 (__casinhf): Move code for finite nonzero arguments to
20765 * math/s_casinhl.c: Do not include <float.h>.
20766 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20768 (__casinhl): Move code for finite nonzero arguments to
20770 * math/libm-test.inc (cacos_test): Add more tests.
20771 * sysdeps/i386/fpu/libm-test-ulps: Update.
20772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20774 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20776 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20777 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20778 [!HAVE_MREMAP]: Remove [defined linux] case.
20779 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20781 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20783 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20785 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20787 * elf/elf.h (R_386_SIZE32): New relocation.
20788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20790 (elf_machine_rela): Likewise.
20791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20792 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20794 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20796 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20797 (FP_FAST_FMA): Do not define.
20798 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20799 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20800 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20801 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20802 !_SOFT_FLOAT]: Likewise.
20803 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20804 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20806 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20807 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20808 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20809 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20810 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20811 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20814 2013-01-16 Andreas Schwab <schwab@suse.de>
20817 * include/stdlib.h (__mktemp): Add declaration.
20818 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20819 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20821 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20823 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20825 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20826 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20827 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20829 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20830 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20832 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20834 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20835 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20836 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20838 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20839 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20841 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20843 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20845 2013-01-15 David S. Miller <davem@davemloft.net>
20847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20848 trunc{,f} to libm-sysdep_routes.
20849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20859 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20860 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20861 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20862 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20863 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20864 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20867 nearbyint{,f} to libm-sysdep_routes.
20868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20879 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20881 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20884 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20885 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20886 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20888 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20889 libc_feholdexcept and libc_fesetenv.
20891 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20893 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20895 2013-01-14 David S. Miller <davem@davemloft.net>
20897 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20898 (SPARC_ASM_VIS2_IFUNC): Likewise.
20899 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20901 use of 'siam' instruction.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20935 routines to libm-sysdep_routines.
20936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20939 fdim/fdimf to libm-sysdep_routines.
20940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20948 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20949 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20950 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20951 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20953 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20955 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20956 to optimize copies.
20958 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20963 local variable MPTWO.
20964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20967 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20969 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20972 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20974 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20976 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20978 * manual/pattern.texi (glob_t): Document gl_flags.
20979 (glob64_t): Likewise.
20981 2013-01-11 David S. Miller <davem@davemloft.net>
20983 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20984 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20985 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20986 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20987 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20988 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20989 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20990 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20991 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20992 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20993 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20994 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20995 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20997 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20998 sparc V9 rather than using V8 code.
20999 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21000 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21002 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21004 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21007 2013-01-11 Roland McGrath <roland@hack.frob.com>
21009 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21010 not in the main loop.
21011 * configure: Regenerated.
21013 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21015 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21016 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21018 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21019 [!__GLIBC_HAVE_LONG_LONG] case.
21020 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21021 condition to just #else.
21022 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21023 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21024 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21025 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21027 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21028 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21029 #elif condition to just #else.
21030 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21031 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21032 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21033 #elif condition to just #else.
21035 2013-01-11 Steve Ellcey <sellcey@mips.com>
21037 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21038 (EF_MIPS_ARCH_64): Fix value.
21039 (EF_MIPS_ARCH_32R2): New.
21040 (EF_MIPS_ARCH_64R2): New.
21042 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21044 * Makeconfig (+link-pie-before-libc): New.
21045 (+link-pie-after-libc): Likewise.
21046 (+link-pie-tests): Likewise.
21047 (+link-pie): Rewritten.
21048 (link-before-libc): Remove $(config-LDFLAGS).
21049 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21050 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21051 (config-LDFLAGS): Renamed to ...
21052 (rtld-LDFLAGS): This.
21053 (rtld-tests-LDFLAGS): New macro.
21054 (link-libc-rpath-link): Likewise.
21055 (link-libc-tests-rpath-link): Likewise.
21056 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21057 (link-libc): Prepand $(link-libc-rpath-link).
21058 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21059 (test-program-prefix): New macro.
21060 (test-via-rtld-prefix): Likewise.
21061 (test-program-cmd): Likewise.
21062 (host-test-program-cmd): Likewise.
21063 * Makefile ($(common-objpfx)testrun.sh): Replace
21064 $(run-program-prefix) with $(test-program-prefix).
21065 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21067 ($(common-objpfx)shlib.lds): Likewise.
21068 (build-module-helper): Likewise.
21069 ($(common-objpfx)format.lds): Likewise.
21070 * Rules (binaries-pie-tests): New.
21071 (binaries-pie-notests): Likewise.
21072 (binaries-pie): Rewritten.
21073 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21074 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21075 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21076 (make-test-out): Replace $(host-built-program-cmd) with
21077 $(host-test-program-cmd).
21078 * config.make.in (build-hardcoded-path-in-tests): New variable.
21079 * configure.in (--enable-hardcoded-path-in-tests): New configure
21081 (hardcoded_path_in_tests): New AC_SUBST.
21082 * configure: Regenerated.
21083 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21084 $(built-program-cmd) with $(test-program-cmd).
21085 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21086 (test_program_cmd): This.
21087 * elf/Makefile ($(objpfx)order.out): Run test with
21088 $(test-program-prefix).
21089 ($(objpfx)order2.out): Likewise.
21090 ($(objpfx)tst-initorder.out): Likewise.
21091 ($(objpfx)tst-initorder2.out): Likewise.
21092 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21093 $(test-program-cmd).
21094 ($(objpfx)tst-array1-static.out): Likewise.
21095 ($(objpfx)tst-array2.out): Likewise.
21096 ($(objpfx)tst-array3.out): Likewise.
21097 ($(objpfx)tst-array4.out): Likewise.
21098 ($(objpfx)tst-array5.out): Likewise.
21099 ($(objpfx)tst-array5-static.out): Likewise.
21100 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21101 $(test-program-cmd).
21102 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21103 $(run-program-prefix) with $(test-program-prefix).
21104 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21105 (test_program_prefix): This.
21106 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21107 $(run-program-prefix) with $(test-program-prefix).
21108 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21109 (test_program_prefix): This.
21110 * iconvdata/tst-tables.sh: Likewise.
21111 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21112 $(run-program-prefix) with $(test-program-prefix).
21113 ($(objpfx)tst-translit.out): Likewise.
21114 ($(objpfx)tst-gettext2.out): Likewise.
21115 ($(objpfx)tst-gettext4.out): Likewise.
21116 ($(objpfx)tst-gettext6.out): Likewise.
21117 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21118 (test_program_prefix): This.
21119 * intl/tst-gettext2.sh: Likewise.
21120 * intl/tst-gettext4.sh Likewise.
21121 * intl/tst-gettext6.sh: Likewise.
21122 * intl/tst-translit.sh: Likewise.
21123 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21124 with $(test-program-cmd).
21125 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21126 $(run-program-prefix) with $(test-program-prefix).
21127 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21128 (test_program_prefix): This.
21129 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21130 $(run-program-prefix) with $(test-program-prefix).
21131 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21132 (test_program_prefix): This.
21133 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21134 * posix/Makefile ($(objpfx)globtest.out): Replace
21135 $(run-via-rtld-prefix) and $(test-wrapper) with
21136 $(test-program-prefix) and $(test-via-rtld-prefix).
21137 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21138 $(test-program-prefix).
21139 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21140 $(host-test-program-cmd).
21141 (tst-spawn-ARGS): Likewise.
21142 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21143 $(test-program-prefix).
21144 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21145 (test_via_rtld_prefix): This.
21146 (test_wrapper): Renamed to ...
21147 (test_program_prefix): This.
21148 (run_program_prefix): Replaced by test_program_prefix.
21149 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21150 (test_program_prefix): This.
21151 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21152 with $(host-test-program-cmd).
21153 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21154 $(run-program-prefix) with $(test-program-prefix).
21155 ($(objpfx)tst-printf.out): Likewise.
21156 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21157 $(test-program-cmd).
21158 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21159 (test_program_prefix): This.
21160 * stdio-common/tst-unbputc.sh: Likewise.
21161 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21162 $(run-program-prefix) with $(test-program-prefix).
21163 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21164 (test_program_prefix): This.
21165 * string/Makefile ($(objpfx)tst-svc.out): Replace
21166 $(built-program-cmd) with $(test-program-cmd).
21168 2013-01-11 Andreas Jaeger <aj@suse.de>
21171 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21172 value. Sync with Linux 3.7.
21174 2013-01-10 David S. Miller <davem@davemloft.net>
21176 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21180 2013-01-10 Roland McGrath <roland@hack.frob.com>
21182 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21184 * configure: Regenerated.
21186 2013-01-10 David S. Miller <davem@davemloft.net>
21188 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21189 sparc V9 rather than using V8 code.
21190 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21191 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21193 2013-01-10 Roland McGrath <roland@hack.frob.com>
21195 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21196 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21197 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21198 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21199 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21200 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21201 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21202 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21203 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21204 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21205 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21206 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21207 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21208 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21209 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21210 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21211 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21212 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21213 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21214 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21215 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21216 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21217 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21218 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21219 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21220 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21221 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21223 2013-01-10 David S. Miller <davem@davemloft.net>
21225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21227 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21229 * posix/Makefile (tests-static): New variable.
21230 (tests): Add $(tests-static).
21231 (tst-exec-static-ARGS): New variable.
21232 (tst-spawn-static-ARGS): Likewise.
21233 * posix/tst-exec-static.c: New file.
21234 * posix/tst-spawn-static.c: Likewise.
21235 * posix/tst-exec.c: Support run directly.
21236 * posix/tst-spawn.c: Likewise.
21238 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21240 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21242 * math/bits/mathcalls.h (llrint): Likewise.
21243 (llround): Likewise.
21244 * stdlib/stdlib.h (struct drand48_data): Likewise.
21245 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21246 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21247 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21249 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21251 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21252 (elf_greg_t): Likewise.
21253 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21254 (__jmp_buf): Likewise.
21255 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21257 (llrint): Likewise, for all definitions.
21258 (llrintl): Likewise.
21260 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21261 Remove [__GNUC__] condition.
21262 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21263 condition to just [__USE_ISOC99].
21264 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21266 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21269 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21270 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21272 (_POSIX_V6_ILP32_OFF32): Likewise.
21273 (_XBS5_ILP32_OFF32): Likewise.
21274 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21275 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21277 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21279 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21282 doubles __mpexp_twomm1. Adjust usage.
21283 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21286 2013-01-10 Andreas Schwab <schwab@suse.de>
21289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21290 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21292 2013-01-09 David S. Miller <davem@davemloft.net>
21295 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21296 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21297 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21298 (TCP_FASTOPEN): Define.
21299 (tcp_repair_opt): New structure.
21300 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21302 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21303 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21304 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21305 (tcp_cookie_transactions): New structure.
21307 2013-01-09 Anton Blanchard <anton@samba.org>
21309 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21310 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21311 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21312 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21314 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21316 * include/features.h (__USE_ANSI): Remove.
21318 2013-01-09 Roland McGrath <roland@hack.frob.com>
21320 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21322 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21324 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21326 * sysdeps/s390/fpu/libm-test-ulps: Update.
21328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21330 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21334 (denorm): Likewise.
21335 (__mp_dbl): Likewise.
21336 (__dbl_mp): Likewise.
21337 (add_magnitudes): Likewise.
21338 (sub_magnitudes): Likewise.
21344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21348 (denorm): Likewise.
21349 (__mp_dbl): Likewise.
21350 (__dbl_mp): Likewise.
21351 (add_magnitudes): Likewise.
21352 (sub_magnitudes): Likewise.
21358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21362 (denorm): Likewise.
21363 (__mp_dbl): Likewise.
21364 (__dbl_mp): Likewise.
21365 (add_magnitudes): Likewise.
21366 (sub_magnitudes): Likewise.
21373 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21375 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21376 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21377 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21378 2 && __USE_EXTERN_INLINES]: Likewise.
21380 2013-01-08 Andreas Jaeger <aj@suse.de>
21383 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21385 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21386 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21388 2013-01-07 Anton Blanchard <anton@samba.org>
21390 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21391 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21392 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21393 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21394 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21395 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21396 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21397 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21399 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21400 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21401 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21403 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21404 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21405 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21406 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21407 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21408 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21409 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21410 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21411 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21413 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21414 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21415 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21416 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21417 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21419 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21420 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21422 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21423 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21424 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21425 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21426 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21428 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21429 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21430 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21432 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21434 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21436 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21437 (__MALLOC_PMT): Likewise.
21438 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21439 [__GNUC__], only on [_LIBC].
21440 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21441 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21442 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21443 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21444 forward declaration.
21445 (realloc_hook_ini): Likewise.
21446 (memalign_hook_ini): Likewise.
21447 (__libc_memalign): Do not use __MALLOC_PMT in variable
21449 (__libc_valloc): Likewise.
21450 (__libc_pvalloc): Likewise.
21451 (__libc_calloc): Likewise.
21452 (__posix_memalign): Likewise.
21455 * math/s_casinh.c: Include <float.h>.
21456 (__casinh): Do not do computation with squaring and square root
21457 for large arguments.
21458 * math/s_casinhf.c: Include <float.h>.
21459 (__casinhf): Do not do computation with squaring and square root
21460 for large arguments.
21461 * math/s_casinhl.c: Include <float.h>.
21462 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21463 (__casinhl): Do not do computation with squaring and square root
21464 for large arguments.
21465 * math/libm-test.inc (casin_test): Add more tests.
21466 (casinh_test): Likewise.
21467 * sysdeps/i386/fpu/libm-test-ulps: Update.
21468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21470 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21472 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21473 (__x86_64_raw_data_cache_size): Likewise.
21474 (__x86_64_data_cache_size_half): Likewise.
21475 (__x86_64_raw_data_cache_size_half): Likewise.
21476 (__x86_64_shared_cache_size): Likewise.
21477 (__x86_64_raw_shared_cache_size): Likewise.
21478 (__x86_64_shared_cache_size_half): Likewise.
21479 (__x86_64_raw_shared_cache_size_half): Likewise.
21480 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21482 (__x86_data_cache_size): This.
21483 (__x86_64_raw_data_cache_size): Renamed to ...
21484 (__x86_raw_data_cache_size): This.
21485 (__x86_64_data_cache_size_half): Renamed to ...
21486 (__x86_data_cache_size_half): This.
21487 (__x86_64_raw_data_cache_size_half): Renamed to ...
21488 (__x86_raw_data_cache_size_half): This.
21489 (__x86_64_shared_cache_size): Renamed to ...
21490 (__x86_shared_cache_size): This.
21491 (__x86_64_raw_shared_cache_size): Renamed to ...
21492 (__x86_raw_shared_cache_size): This.
21493 (__x86_64_shared_cache_size_half): Renamed to ...
21494 (__x86_shared_cache_size_half): This.
21495 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21496 (__x86_raw_shared_cache_size_half): This.
21497 * sysdeps/x86_64/memcpy.S: Updated.
21498 * sysdeps/x86_64/memset.S: Likewise.
21499 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21500 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21503 2013-01-04 David S. Miller <davem@davemloft.net>
21505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21507 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21509 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21510 1 to avoid redefinition warning.
21511 (__USE_GNU): Don't define.
21512 (init_signaling_nan): Protoize.
21514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21516 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21518 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21520 (__cpymn): Likewise.
21521 (norm): Remove commented code.
21522 (denorm): Likewise.
21523 (__mp_dbl): Likewise.
21525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21526 (__cpymn): Likewise.
21527 (norm): Remove commented code.
21528 (denorm): Likewise.
21529 (__mp_dbl): Likewise.
21532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21533 mp_no value for 1.0 and 2.0.
21534 (norm): Use RADIXI instead of radixi.d.
21535 (denorm): Likewise.
21536 (__mul): Use 0.0 instead of zero.d.
21537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21538 mp_no value for 1.0 and 2.0.
21539 (norm): Use RADIXI instead of radixi.d.
21540 (denorm): Likewise.
21541 (__mul): Use 0.0 instead of zero.d.
21543 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21546 * math/s_casinh.c (__casinh): Reduce finite argument to first
21547 quadrant then set signs of results at the end.
21548 * math/s_casinhf.c (__casinhf): Likewise.
21549 * math/s_casinhl.c (__casinhl): Likewise.
21550 * math/libm-test.inc (casin_test): Add more tests.
21551 (casinh_test): Likewise.
21552 * sysdeps/i386/fpu/libm-test-ulps: Update.
21553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21555 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21557 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21559 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21561 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21563 (denorm): Likewise.
21564 (__mp_dbl): Likewise.
21567 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21568 and adjust the header comment.
21570 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21571 variable name from declaration.
21573 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21576 Initialize COMMON_CPUID_INDEX_7 element.
21577 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21578 (CPUID_RTM): Likewise.
21579 (HAS_RTM): Likewise.
21580 (COMMON_CPUID_INDEX_7): New enum.
21582 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21585 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21586 size is zero, record memory as freed.
21588 2013-01-03 Andreas Jaeger <aj@suse.de>
21590 * po/ia.po: Add new Interlingua translation.
21592 2012-01-03 Allan McRae <allan@archlinux.org>
21594 * locale/programs/localedef.c: Fix description of '--posix' flag.
21596 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21598 * NEWS: Update dates in second copyright notice.
21599 * README: Update copyright dates in example.
21600 * manual/libc.texinfo: Update copyright dates.
21601 * scripts/test-installation.pl: Update copyright date in --version
21604 * hurd/ctty-input.c: Fix copyright notice formatting.
21605 * hurd/ctty-output.c: Likewise.
21606 * hurd/dtable.c: Likewise.
21607 * hurd/hurd-raise.c: Likewise.
21608 * hurd/hurdprio.c: Likewise.
21609 * hurd/msgportdemux.c: Likewise.
21610 * misc/sys/file.h: Likewise.
21611 * misc/sys/ioctl.h: Likewise.
21612 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21613 * sysdeps/mach/hurd/chdir.c: Likewise.
21614 * sysdeps/mach/hurd/fchdir.c: Likewise.
21615 * sysdeps/mach/hurd/rename.c: Likewise.
21616 * sysdeps/mach/hurd/rmdir.c: Likewise.
21617 * sysdeps/mach/hurd/seekdir.c: Likewise.
21618 * sysdeps/mach/hurd/setsid.c: Likewise.
21619 * sysdeps/posix/wait3.c: Likewise.
21621 * All files with FSF copyright notices: Update copyright dates
21622 using scripts/update-copyrights.
21623 * intl/plural.c: Regenerated.
21624 * locale/programs/charmap-kw.h: Likewise.
21625 * locale/programs/locfile-kw.h: Likewise.
21627 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21629 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21632 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21633 calculation loop and add branch prediction.
21635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21636 check access beyond bounds of m1np.
21638 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21640 (__inv): Remove local variable MPTWO to use the global
21642 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21643 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21645 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21646 MP3HALFS static const.
21648 2013-01-01 David S. Miller <davem@davemloft.net>
21650 * po/ca.po: Update from translation team.
21652 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21654 * scripts/update-copyrights: New file.
21655 * Makeconfig: Reformat copyright notice.
21656 * ctype/ctype.h: Likewise.
21657 * debug/swprintf_chk.c: Likewise.
21658 * elf/dl-cache.c: Likewise.
21659 * elf/dl-debug.c: Likewise.
21660 * elf/dl-object.c: Likewise.
21661 * grp/initgroups.c: Likewise.
21662 * hurd/Makefile: Likewise.
21663 * hurd/hurd/signal.h: Likewise.
21664 * hurd/hurdfault.c: Likewise.
21665 * hurd/hurdioctl.c: Likewise.
21666 * hurd/hurdlookup.c: Likewise.
21667 * hurd/intr-msg.c: Likewise.
21668 * iconv/gconv_open.c: Likewise.
21669 * libio/swprintf.c: Likewise.
21670 * locale/lc-ctype.c: Likewise.
21671 * locale/nl_langinfo.c: Likewise.
21672 * mach/Machrules: Likewise.
21673 * mach/Makefile: Likewise.
21674 * malloc/obstack.h: Likewise.
21675 * manual/Makefile: Likewise.
21676 * manual/tsort.awk: Likewise.
21677 * misc/bits/stab.def: Likewise.
21678 * nis/nis_print_group_entry.c: Likewise.
21679 * nis/nis_table.c: Likewise.
21680 * nis/nss_compat/compat-pwd.c: Likewise.
21681 * nis/nss_compat/compat-spwd.c: Likewise.
21682 * po/Makefile: Likewise.
21683 * posix/fnmatch.c: Likewise.
21684 * posix/regex.h: Likewise.
21685 * resolv/Makefile: Likewise.
21686 * resolv/nss_dns/dns-network.c: Likewise.
21687 * resolv/res_hconf.c: Likewise.
21688 * scripts/gen-sorted.awk: Likewise.
21689 * soft-fp/soft-fp.h: Likewise.
21690 * stdio-common/printf.h: Likewise.
21691 * stdlib/monetary.h: Likewise.
21692 * stdlib/random.c: Likewise.
21693 * stdlib/random_r.c: Likewise.
21694 * sysdeps/generic/Makefile: Likewise.
21695 * sysdeps/gnu/Makefile: Likewise.
21696 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21698 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21715 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21724 * sysdeps/mach/hurd/errnos.awk: Likewise.
21725 * sysdeps/mach/hurd/fork.c: Likewise.
21726 * sysdeps/mach/hurd/getcwd.c: Likewise.
21727 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21728 * sysdeps/mach/hurd/mmap.c: Likewise.
21729 * sysdeps/mach/hurd/utimes.c: Likewise.
21730 * sysdeps/mach/hurd/xmknod.c: Likewise.
21731 * sysdeps/posix/profil.c: Likewise.
21732 * sysdeps/posix/readdir_r.c: Likewise.
21733 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21734 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21735 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21736 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21738 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21739 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21740 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21742 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21743 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21744 * sysdeps/pthread/lio_listio.c: Likewise.
21745 * sysdeps/sparc/dl-procinfo.h: Likewise.
21746 * sysdeps/unix/i386/sysdep.S: Likewise.
21747 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21748 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21749 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21750 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21752 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21753 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21754 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21755 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21756 * sysdeps/wordsize-32/divdi3.c: Likewise.
21757 * time/sys/time.h: Likewise.
21758 * wcsmbs/Makefile: Likewise.
21760 2013-01-01 David S. Miller <davem@davemloft.net>
21762 * po/fr.po: Update from translation team.
21764 * catgets/gencat.c: Update copyright year.
21765 * csu/version.c: Likewise.
21766 * debug/catchsegv.sh: Likewise.
21767 * debug/pcprofiledump.c: Likewise.
21768 * debug/xtrace.sh: Likewise.
21769 * elf/ldconfig.c: Likewise.
21770 * elf/ldd.bash.in: Likewise.
21771 * elf/pldd.c: Likewise.
21772 * elf/sotruss.ksh: Likewise.
21773 * elf/sprof.c: Likewise.
21774 * iconv/iconv_prog.c: Likewise.
21775 * iconv/iconvconfig.c: Likewise.
21776 * locale/programs/locale.c: Likewise.
21777 * locale/programs/localedef.c: Likewise.
21778 * login/programs/pt_chown.c: Likewise.
21779 * malloc/memusage.sh: Likewise.
21780 * malloc/memusagestat.c: Likewise.
21781 * malloc/mtrace.pl: Likewise.
21782 * nscd/nscd.c: Likewise.
21783 * nss/getent.c: Likewise.
21784 * nss/makedb.c: Likewise.
21785 * posix/getconf.c: Likewise.
21787 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21789 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21792 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21794 * math/bits/mathcalls.h (modf): Use __nonnull.
21796 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21798 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21799 (split): Use macro CN instead of the bare value.
21800 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21803 instead of the bare value.
21804 (power1): Likewise.
21806 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21808 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21810 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21812 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21814 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21815 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21816 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21817 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21819 2012-12-28 Andreas Jaeger <aj@suse.de>
21821 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21822 values are from Linux 3.7.
21824 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21825 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21827 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21829 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21832 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21834 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21835 variables with preprocessor constants.
21836 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21837 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21838 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21840 2012-12-27 Bruno Haible <bruno@clisp.org>
21843 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21846 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21849 and use variable directly.
21850 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21852 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21854 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21855 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21859 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21860 include directive. Remove local variable MPONE.
21861 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21862 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21863 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21865 2012-12-25 David S. Miller <davem@davemloft.net>
21867 * version.h (RELEASE): Set to "development".
21868 (VERSION): Set to "2.17.90".
21869 * NEWS: Add 2.18 section.
21871 2012-12-21 David S. Miller <davem@davemloft.net>
21873 * po/hr.po: Update from translation team.
21875 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21877 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21879 2012-12-19 Steve Ellcey <sellcey@mips.com>
21881 * NEWS: Mention new memcpy for MIPS.
21883 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21885 * manual/contrib.texi (Contributors): Spelling correction.
21887 2012-12-15 David S. Miller <davem@davemloft.net>
21889 * po/ru.po: Update from translation team.
21891 2012-12-13 David S. Miller <davem@davemloft.net>
21893 * NEWS: Mention IFUNC testsuite enhancements.
21895 * po/pl.po: Update from translation team.
21896 * po/bg.po: Likewise.
21898 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21899 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21901 2012-12-11 David S. Miller <davem@davemloft.net>
21903 * po/sv.po: Update from translation team.
21905 * po/vi.po: Update from translation team.
21907 * po/cs.po: Update from translation team.
21909 * po/de.po: Update from translation team.
21910 * po/eo.po: Likewise.
21911 * po/nl.po: Likewise.
21913 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21916 * manual/argp.texi (Argp Helper Functions): Move node to follow
21917 Argp Parsing State.
21920 * manual/conf.texi (Limits on File System Capacity): Mention if
21921 terminating null is included in the max size.
21923 2012-12-10 Andreas Jaeger <aj@suse.de>
21925 * po/cs.po: Update from translation team.
21927 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21929 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21930 void pointer and cast to uintptr_t.
21931 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21933 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21934 * sysdeps/s390/s390-64/memset.S: Likewise.
21936 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21939 * menual/message.texi (Message Translation): Fix typos.
21940 (Helper programs for gettext): Likewise.
21942 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21945 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21948 2012-12-07 David S. Miller <davem@davemloft.net>
21950 * po/libc.pot: Update.
21952 2012-12-07 Richard Henderson <rth@redhat.com>
21955 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21956 normal/normal case to before the switch.
21957 (_FP_DIV): Likewise.
21959 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21960 Mike Frysinger <vapier@gentoo.org>
21962 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21963 check for __NR_fadvise64_64.
21965 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21967 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21968 0, not just to plain "0" as a statement.
21969 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21972 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21974 * NEWS: Use sourceware.org in Bugzilla URL.
21976 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21979 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21981 * stdio-common/tst-put-error.c (do_test): Add newline to the
21982 padded test to ensure flush.
21984 2012-12-05 Jeff Law <law@redhat.com>
21986 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21988 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21990 * README: Don't refer to ports add-on as distributed separately.
21991 Mention AArch64 in list of systems supported in the ports add-on.
21993 * LICENSES: Add more non-FSF copyright and license notices.
21995 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21998 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22000 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22001 10000 as width of padded output.
22003 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22005 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22007 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22008 variable LX with __attribute__ ((unused)).
22009 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22011 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22013 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22014 with __attribute__ ((unused)).
22016 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22018 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22020 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22022 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22023 (CFLAGS-nldbl-acos.c): New variable.
22024 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22025 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22026 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22027 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22028 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22029 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22030 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22031 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22032 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22033 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22043 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22044 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22048 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22049 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22050 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22051 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22052 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22053 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22054 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22055 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22056 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22065 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22066 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22067 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22068 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22069 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22070 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22071 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22072 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22073 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22074 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22075 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22076 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22077 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22078 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22079 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22080 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22081 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22082 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22083 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22084 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22085 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22086 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22087 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22088 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22089 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22090 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22091 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22092 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22093 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22094 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22095 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22096 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22097 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22098 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22099 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22100 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22101 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22102 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22103 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22104 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22105 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22106 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22107 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22108 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22109 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22110 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22111 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22112 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22113 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22114 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22115 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22116 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22117 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22118 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22119 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22120 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22123 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22127 whole low double instead of just low 47 bits when splitting values
22130 2012-12-03 Allan McRae <allan@archlinux.org>
22132 * manual/stdio.texi (Predefined Printf Handlers): Remove
22133 @hsep and @vsep usage.
22135 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22137 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22138 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22140 2012-12-03 Jeff Law <law@redhat.com>
22142 * time/sys/time.h (settimeofday): Do not mark TV argument
22145 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22147 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22148 when currently writing and seek to current position when not.
22149 * libio/Makefile (tests): Remove bug-fclose1.
22150 * libio/bug-fclose1.c: Delete.
22152 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22154 * manual/arith.texi (feenableexcept): Fix typo.
22155 (fedisableexcept): Likewise.
22157 2012-11-30 Roland McGrath <roland@hack.frob.com>
22159 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22160 second, differently-typed declaration, rather than a cast.
22162 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22164 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22165 * include/rpc/svc.h: ... here.
22167 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22170 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22171 depending n and resplen2 to catch cases where answer
22174 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22176 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22177 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22179 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22183 2012-11-29 Roland McGrath <roland@hack.frob.com>
22185 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22187 2012-11-28 Jeff Law <law@redhat.com>
22190 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22191 dataset_temporary. Track alloca usage into alloca_used.
22192 If dataset is large allocate and release it via malloc/free.
22194 2012-06-04 Florian Weimer <fweimer@redhat.com>
22197 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22199 2012-11-28 David S. Miller <davem@davemloft.net>
22201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22203 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22206 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22207 of pi/2 rounded to nearest to 64 bits.
22208 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22209 nearest to 64 bits.
22210 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22213 2012-11-28 Jeff Law <law@redhat.com>
22214 Martin Osvald <mosvald@redhat.com>
22217 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22218 * sunrpc/svc.c: Include time.h.
22219 (__svc_accept_failed): New function.
22220 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22221 any reason other than EINTR, call __svc_accept_failed.
22222 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22223 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22225 2012-11-28 Andreas Schwab <schwab@suse.de>
22227 * scripts/abilist.awk: Also handle indirect functions in .opd
22230 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22233 * sysdeps/x86/fpu/powl_helper.c: New file.
22234 * sysdeps/x86/fpu/Makefile: Likewise.
22235 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22237 (__ieee754_powl): Use __powl_helper for finite arguments except
22238 integer exponents below 8.
22239 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22241 (__ieee754_powl): Use __powl_helper for finite arguments except
22242 integer exponents below 8.
22243 * math/libm-test.inc (pow_test): Add more tests and enable some
22244 previously disabled tests.
22245 * sysdeps/i386/fpu/libm-test-ulps: Update.
22246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22248 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22249 Carlos O'Donell <carlos_odonell@mentor.com>
22251 * nss/makedb.c (is_prime): Assert that input is odd and greater
22252 than 4. Note that fact in a comment too.
22253 (next_prime): Add 4 to input.
22255 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22258 * libio/Makefile (tests): Add test case tst-fwrite-error.
22259 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22260 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22261 * libio/tst-fwrite-error.c: New test case.
22263 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22265 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22266 before casting to void *.
22267 * include/libc-internal.h (__pointer_type): New macro.
22268 (__integer_if_pointer_type_sub): Likewise.
22269 (__integer_if_pointer_type): Likewise.
22270 (cast_to_integer): Likewise.
22271 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22272 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22273 before casting to atomic64_t.
22274 (atomic_exchange_acq): Likewise.
22275 (__arch_exchange_and_add_body): Likewise.
22276 (__arch_add_body): Likewise.
22277 (atomic_add_negative): Likewise.
22278 (atomic_add_zero): Likewise.
22280 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22282 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22283 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22284 (add_fdes): Likewise.
22285 (linear_search_fdes): Likewise.
22286 (binary_search_unencoded_fdes): Likewise.
22288 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22290 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22292 2012-11-24 Adam Conrad <adconrad@0c3.net>
22294 * configure.in: Autodetect C++ header directories.
22295 * configure: Regenerated.
22297 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22299 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22301 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22305 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22307 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22308 LDBL_MANT_DIG == 106]: Disable some tests.
22309 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22311 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22316 input for small inputs. Return +/- pi/2 for large inputs.
22317 * math/libm-test.inc (atan_test): Add more tests.
22319 * sysdeps/generic/unwind-dw2-fde-glibc.c
22320 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22321 __attribute__ ((unused)).
22324 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22325 x * y if x and y are nonzero and z is zero.
22328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22329 nonzero exponents with absolute value below 0x1p-117 to +/-
22333 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22334 up arguments below 2**-450, not just those below 2**-500.
22335 * math/libm-test.inc (hypot_test): Add another test.
22338 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22339 Return a+b for ratio over 2**120, not 2**60.
22340 * math/libm-test.inc (hypot_test): Add another test.
22342 * math/libm-test.inc (clog_test): Use
22343 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22344 (clog10_test): Likewise.
22347 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22349 2012-11-22 Andreas Schwab <schwab@suse.de>
22351 * sysdeps/i386/fpu/libm-test-ulps: Update.
22353 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22355 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22356 printf output with newline.
22358 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22361 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22362 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22363 -z nodlopen, -z initfirst and -z execstack support.
22364 * configure: Regenerated.
22366 * elf/elf.h (DF_1_NODIRECT): New macro.
22367 (DF_1_IGNMULDEF): Likewise.
22368 (DF_1_NOKSYMS): Likewise.
22369 (DF_1_NOHDR): Likewise.
22370 (DF_1_EDITED): Likewise.
22371 (DF_1_NORELOC): Likewise.
22372 (DF_1_SYMINTPOSE): Likewise.
22373 (DF_1_GLOBAUDIT): Likewise.
22374 (DF_1_SINGLETON): Likewise.
22375 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22376 DT_1_SUPPORTED_MASK bits.
22377 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22379 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22381 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22383 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22385 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22388 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22389 (sendmmsg): Move declarations...
22390 * socket/sys/socket.h: ... here.
22391 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22392 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22394 * socket/recvmmsg.c: ... this new file.
22395 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22396 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22397 definition of __sendmmsg hidden.
22398 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22399 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22400 Move ENOSYS stub into and include it from...
22401 * socket/sendmmsg.c: ... this new file.
22402 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22403 (sysdep_routines): Move recvmmsg and sendmmsg...
22404 * socket/Makefile (routines): ... here.
22405 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22406 (GLIBC_PRIVATE): Add __sendmmsg.
22407 * include/sys/socket.h (__sendmmsg): Add declarations.
22408 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22411 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22414 variable I1 with __attribute__ ((unused)).
22415 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22417 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22419 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22420 DUMMY variables with __attribute__ ((unused)).
22422 * bits/byteswap.h: Include <bits/types.h>.
22423 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22425 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22427 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22428 string_t. Do not manually set errno.
22429 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22430 length with __strnlen. Make sure to both set errno and return it on
22433 2012-11-19 David S. Miller <davem@davemloft.net>
22435 With help from Joseph Myers.
22436 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22437 very large arguments properly.
22438 * math/libm-test.inc (atan_test): New tests.
22439 (atan2_test): New tests.
22440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22443 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22446 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22449 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22450 [POSIX] (EADDRNOTAVAIL): Likewise.
22451 [POSIX] (EAFNOSUPPORT): Likewise.
22452 [POSIX] (EALREADY): Likewise.
22453 [POSIX] (ECONNABORTED): Likewise.
22454 [POSIX] (ECONNREFUSED): Likewise.
22455 [POSIX] (ECONNRESET): Likewise.
22456 [POSIX] (EDESTADDRREQ): Likewise.
22457 [POSIX] (EDQUOT): Likewise.
22458 [POSIX] (EHOSTUNREACH): Likewise.
22459 [POSIX] (EIDRM): Likewise.
22460 [POSIX] (EISCONN): Likewise.
22461 [POSIX] (ELOOP): Likewise.
22462 [POSIX] (EMULTIHOP): Likewise.
22463 [POSIX] (ENETDOWN): Likewise.
22464 [POSIX] (ENETUNREACH): Likewise.
22465 [POSIX] (ENOBUFS): Likewise.
22466 [POSIX] (ENODATA): Likewise.
22467 [POSIX] (ENOLINK): Likewise.
22468 [POSIX] (ENOMSG): Likewise.
22469 [POSIX] (ENOPROTOOPT): Likewise.
22470 [POSIX] (ENOSR): Likewise.
22471 [POSIX] (ENOSTR): Likewise.
22472 [POSIX] (ENOTCONN): Likewise.
22473 [POSIX] (ENOTSOCK): Likewise.
22474 [POSIX] (EOPNOTSUPP): Likewise.
22475 [POSIX] (EOVERFLOW): Likewise.
22476 [POSIX] (EPROTO): Likewise.
22477 [POSIX] (EPROTONOSUPPORT): Likewise.
22478 [POSIX] (EPROTOTYPE): Likewise.
22479 [POSIX] (ESTALE): Likewise.
22480 [POSIX] (ETIME): Likewise.
22481 [POSIX] (ETXTBSY): Likewise.
22482 [POSIX] (EWOULDBLOCK): Likewise.
22483 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22484 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22485 [POSIX] (SEEK_CUR): Likewise.
22486 [POSIX] (SEEK_END): Likewise.
22487 [POSIX || UNIX98] (mode_t): Do not require.
22488 [POSIX] (off_t): Likewise.
22489 [POSIX] (pid_t): Likewise.
22490 [POSIX] (sys/stat.h): Do not allow header.
22491 [POSIX] (unistd.h): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22493 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22495 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22497 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22498 sigevent): Specify elements.
22499 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22501 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22502 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22504 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22505 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22506 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22507 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22508 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22509 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22510 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22511 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22513 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22514 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22515 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22516 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22517 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22521 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22523 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22525 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22526 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22527 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22528 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22529 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22530 Specify lower bound on value.
22531 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22533 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22534 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22535 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22536 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22537 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22538 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22540 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22542 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22546 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22547 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22548 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22549 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22550 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22551 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22552 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22553 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22554 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22555 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22556 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22557 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22559 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22561 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22562 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22563 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22564 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22565 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22566 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22568 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22569 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22570 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22571 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22572 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22573 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22574 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22576 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22578 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22580 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22581 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22582 specify as optional.
22583 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22585 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22586 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22587 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22588 [XPG3] (NL_LANGMAX): Likewise.
22589 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22590 [POSIX || XPG3] (NL_NMAX): Likewise.
22591 [POSIX || XPG3] (NL_SETMAX): Likewise.
22592 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22593 [XPG3] (NZERO): Likewise.
22594 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22595 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22596 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22597 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22598 (REG_ERANGE): Expect.
22599 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22601 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22602 Use (void) in prototype.
22603 [POSIX] (*_t): Allow.
22604 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22605 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22606 (WRDE_BADVAL): Expect.
22608 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22610 [XPG3 || XPG4] (O_RSYNC): Likewise.
22611 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22613 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22614 [XPG3 || XPG4] (sigqueue): Likewise.
22615 [XPG3 || XPG4] (sigtimedwait): Likewise.
22616 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22617 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22618 [XPG3 || XPG4] (vsnprintf): Likewise.
22619 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22621 [XPG3 || XPG4] (blksize_t): Likewise.
22622 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22624 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22625 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22626 [XPG3 || XPG4] (struct itimerspec): Likewise.
22627 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22628 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22629 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22630 [XPG3 || XPG4] (clockid_t): Likewise.
22631 [XPG3 || XPG4] (timer_t): Likewise.
22632 [XPG3 || XPG4] (clock_getres): Likewise.
22633 [XPG3 || XPG4] (clock_gettime): Likewise.
22634 [XPG3 || XPG4] (clock_settime): Likewise.
22635 [XPG3 || XPG4] (nanosleep): Likewise.
22636 [XPG3 || XPG4] (timer_create): Likewise.
22637 [XPG3 || XPG4] (timer_delete): Likewise.
22638 [XPG3 || XPG4] (timer_gettime): Likewise.
22639 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22640 [XPG3 || XPG4] (timer_settime): Likewise.
22641 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22642 [XPG3 || XPG4] (getlogin_r): Likewise.
22643 [XPG3 || XPG4] (pread): Likewise.
22644 [XPG3 || XPG4] (pthread_atfork): Likewise.
22645 [XPG3 || XPG4] (pwrite): Likewise.
22648 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22651 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22653 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22654 finalizing MALLSTREAM.
22656 * sysdeps/mach/hurd/syncfs.c: New file.
22658 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22661 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22662 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22663 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22664 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22665 (_nss_dns_gethostbyname4_r): Likewise.
22666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22667 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22669 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22672 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22674 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22676 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22677 * elf/cache.c (print_entry): Print ",AArch64" for
22680 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22681 * elf/cache.c (print_entry): Print ",hard-float" for
22684 2012-11-18 David S. Miller <davem@davemloft.net>
22686 With help from Joseph Myers.
22687 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22689 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22691 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22692 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22694 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22695 * math/libm-test.inc (y0_test): New tests.
22696 (y1_test): New tests.
22697 * sysdeps/i386/fpu/libm-test-ulps: Update.
22698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22701 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22703 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22705 * configure: Regenerated.
22707 2012-11-17 David S. Miller <davem@davemloft.net>
22710 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22711 nonzero exponents with absolute value below 0x1p-128 to +/-
22714 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22716 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22718 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22720 * posix/getconf-speclist.c: New file.
22721 * posix/posix-envs.def: Likewise.
22722 * posix/confstr.c (START_ENV_GROUP): New macro.
22723 (END_ENV_GROUP): Likewise.
22724 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22725 (KNOWN_PRESENT_ENV_STRING): Likewise.
22726 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22727 (UNKNOWN_ENVIRONMENT): Likewise.
22728 (confstr): Include posix-envs.def instead of handling
22729 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22730 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22731 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22732 (END_ENV_GROUP): Likewise.
22733 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22734 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22735 (UNKNOWN_ENVIRONMENT): Likewise.
22736 (__sysconf): Include posix-envs.def instead of handling associated
22737 cases directly here.
22738 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22739 preprocessing getconf-speclist.c rather than running getconf or
22740 generating empty file.
22742 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22744 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22746 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22749 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22751 2012-11-16 David S. Miller <davem@davemloft.net>
22753 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22754 smaller than LDBL_EPSILON/2.0L, just return xm1.
22756 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22758 * elf/tst-array1.c (init): Set constructor priority to 1000.
22759 (fini): Set destructor priority to 1000.
22760 * elf/tst-array2dep.c: Likewise.
22762 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22765 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22766 (_IO_new_file_xsputn): Also return EOF if none of the input
22767 data was written when overflow failed.
22768 * libio/iopadn.c (_IO_padn): Likewise.
22769 * libio/iowpadn.c (_IO_wpadn): Likewise.
22770 * stdio-common/tst-put-error.c: Add copyright notice.
22771 (do_test): Add case for printing padded string.
22772 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22773 _IO_padn returned error.
22774 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22775 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22778 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22780 * libio/libioP.h: Add comment note that the references to C++
22781 bits are now obsolete.
22783 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22785 * math/libm-test.inc (check_complex): Use asprintf.
22787 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22789 * debug/pcprofiledump.c (print_version): Update copyright year.
22790 * malloc/memusagestat.c (print_version): Likewise.
22792 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22795 * elf/Makefile (tests): Add tst-audit8.
22796 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22797 ($(objpfx)tst-audit8.out): New target.
22798 (tst-audit8-ENV): New variable.
22799 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22800 audit if l_reloc_result is NULL.
22801 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22802 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22803 * elf/tst-audit8.c: New file.
22805 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22807 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22808 * misc/Makefile (CFLAGS-select.c): Define.
22809 * posix/Makefile (CFLAGS-pause.c): Define.
22811 2012-11-13 David S. Miller <davem@davemloft.net>
22813 * crypt/Makefile: Move test targets after toplevel Rules
22814 inclusion. Grab any necessary sysdep routines when linking.
22815 * crypt/md5.c (md5_process_block): Remove define, we will always
22816 name it __md5_process_block.
22817 (md5_finish_ctx): Update md5_process_block call.
22818 (md5_stream): Likewise.
22819 (md5_process_bytes): Likewise.
22820 (md5_process_block): Rename to __md5_process_block and move to ...
22821 * crypt/md5-block.c: ... here.
22822 * crypt/sha256.c (sha256_process_block): Move to ...
22823 * crypt/sha256-block.c: ... here.
22824 * crypt/sha512.c (sha512_process_block): Move to ...
22825 * crypt/sha512-block.c: ... here.
22826 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22828 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22829 * sysdeps/sparc/sparc64/multiarch/Makefile
22830 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22832 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22833 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22835 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22836 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22837 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22838 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22839 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22840 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22841 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22842 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22843 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22845 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22846 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22848 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22850 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22852 * timezone/tzselect.ksh: Update from tzcode git revision
22853 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22854 * timezone/zdump.c: Likewise.
22855 * timezone/zic.c: Likewise.
22856 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22857 in TZVERSION setting, not $(PKGVERSION).
22858 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22859 REPORT_BUGS_TO settings.
22862 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22865 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22867 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22868 detection to immediately after _FP_ROUND().
22869 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22872 2012-11-11 David S. Miller <davem@davemloft.net>
22874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22876 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22877 __close rather than their public counterparts.
22879 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22881 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22883 [UNIX98] (sem_timedwait): Do not expect.
22884 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22885 [XPG4 || UNIX98] (sockatmark): Do not expect.
22886 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22887 (clock_getcpuclockid): Do not expect.
22888 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22889 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22891 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22892 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22893 [UNIX98] (vwscanf): Likewise.
22894 [UNIX98] (vswscanf): Likewise.
22896 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22898 * timezone/version.h: Remove file.
22899 * timezone/README: Do not refer to version.h.
22900 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22901 $(objpfx)version.h.
22902 ($(objpfx)zdump.o): Likewise.
22903 ($(objpfx)version.h): New target.
22905 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22907 * timezone/README: Don't mention modification to tzselect.ksh.
22908 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22909 work on unmodified tzselect.ksh. Substitute version numbers in
22912 * Makefile (format-me): Remove.
22913 (INSTALL): Adjust indentation. Use commands directly instead of
22914 using $(format-me).
22916 * aclocal.m4 (ACX_PKGVERSION): New macro.
22917 (ACX_BUGURL): Likewise.
22918 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22919 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22920 (REPORT_BUGS_TO): Likewise.
22921 * configure: Regenerated.
22922 * config.h.in (PKGVERSION): New macro.
22923 (REPORT_BUGS_TO): Likewise.
22924 * config.make.in (PKGVERSION): New variable.
22925 (PKGVERSION_TEXI): Likewise.
22926 (REPORT_BUGS_TO): Likewise.
22927 (REPORT_BUGS_TEXI): Likewise.
22928 * Makefile (format-me): Use -I$(common-objpfx)manual.
22929 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22930 ($(common-objpfx)manual/%): New target.
22931 (manual/%): Remove target.
22932 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22933 (print_version): Use PKGVERSION.
22934 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22935 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22936 and REPORT_BUGS_TO.
22937 ($(objpfx)xtrace): Likewise.
22938 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22939 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22940 (print_version): Use PKGVERSION.
22941 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22942 (do_version): Use PKGVERSION.
22943 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22945 (common-ldd-rewrite): Likewise.
22946 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22947 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22948 (print_version): Use PKGVERSION.
22949 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22950 * elf/pldd.c (argp_program_bug_address): Remove variable.
22951 (more_help): New function.
22952 (argp): Use more_help.
22953 (print_version): Use PKGVERSION.
22954 * elf/sln.c (main): Use PKGVERSION.
22955 (usage): Use REPORT_BUGS_TO.
22956 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22957 (top level): Use PKGVERSION.
22958 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22959 (print_version): Use PKGVERSION.
22960 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22961 (print_version): Use PKGVERSION.
22962 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22963 (print_version): Use PKGVERSION.
22964 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22965 (print_version): Use PKGVERSION.
22966 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22967 (print_version): Use PKGVERSION.
22968 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22969 (print_version): Use PKGVERSION.
22970 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22972 ($(objpfx)memusage): Likewise.
22973 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22974 (do_version): Use PKGVERSION.
22975 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22976 (print_version): Use PKGVERSION.
22977 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22978 ($PKGVERSION): New variable.
22979 ($REPORT_BUGS_TO): Likewise.
22980 (usage): Use $REPORT_BUGS_TO.
22981 (top level): Use $PKGVERSION.
22982 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22983 ($(objpfx)pkgvers.texi): New rule.
22984 ($(objpfx)stamp-pkgvers): Likewise.
22985 * manual/install.texi: Include pkgvers.texi.
22986 (--with-pkgversion): Document new configure option.
22987 (--with-bugurl): Likewise.
22988 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22989 than necessarily for this particular distribution. Use
22990 REPORT_BUGS_TO for where to report bugs.
22991 * INSTALL: Regenerated.
22992 * manual/libc.texinfo: Include pkgvers.texi.
22993 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22994 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22995 (print_version): Use PKGVERSION.
22996 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22997 (print_version): Use PKGVERSION.
22998 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22999 (print_version): Use PKGVERSION.
23000 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23001 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23003 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23004 (print_version): Use PKGVERSION.
23005 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23006 (print_version): Use PKGVERSION.
23007 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23010 * timezone/checktab.awk: Update from tzcode 2012i.
23011 * timezone/ialloc.c: Likewise.
23012 * timezone/private.h: Likewise.
23013 * timezone/scheck.c: Likewise.
23014 * timezone/tzfile.h: Likewise.
23015 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23016 (TZVERSION): Hardcode tzcode version number.
23017 * timezone/zdump.c: Update from tzcode 2012i.
23018 * timezone/zic.c: Likewise.
23019 * timezone/version.h: New file.
23020 * timezone/README: Describe version.h. Update upstream location.
23023 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23024 (mktemp): Enable declaration.
23025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23042 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23043 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23044 for copies of such integer values.
23045 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23046 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23048 2012-11-09 Andreas Jaeger <aj@suse.de>
23050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23051 definitions and declarations that are provided by
23052 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23054 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23056 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23057 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23058 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23061 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23063 * elf/elf.h: Update comment before AArch64 relocations.
23065 2012-11-07 David S. Miller <davem@davemloft.net>
23067 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23068 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23069 (__start_context): Declare.
23070 (__makecontext_ret): Delete.
23071 (__makecontext): Hook up __start_context instead of
23073 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23074 (sysdep_routines): Add __start_context when in stdlib.
23076 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23078 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23079 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23080 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23082 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23083 (READELF): New variable. Use it instead of hardcoded "readelf".
23085 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23087 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23088 * sysdeps/x86/Makefile: Here.
23089 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23090 * sysdeps/x86/tst-xmmymm.sh: This.
23092 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23094 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23096 [UNIX98] (pthread_barrier_t): Do not expect.
23097 [UNIX98] (pthread_barrierattr_t): Likewise.
23098 [UNIX98] (pthread_spinlock_t): Likewise.
23099 [UNIX98] (pthread_barrier_destroy): Likewise.
23100 [UNIX98] (pthread_barrier_init): Likewise.
23101 [UNIX98] (pthread_barrier_wait): Likewise.
23102 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23103 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23104 [UNIX98] (pthread_barrierattr_init): Likewise.
23105 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23106 [UNIX98] (pthread_getcpuclockid): Likewise.
23107 [UNIX98] (pthread_mutex_timedlock): Likewise.
23108 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23109 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23110 [UNIX98] (pthread_sigmask): Likewise.
23111 [UNIX98] (pthread_spin_destroy): Likewise.
23112 [UNIX98] (pthread_spin_init): Likewise.
23113 [UNIX98] (pthread_spin_lock): Likewise.
23114 [UNIX98] (pthread_spin_trylock): Likewise.
23115 [UNIX98] (pthread_spin_unlock): Likewise.
23116 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23118 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23119 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23120 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23121 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23122 [XPG3 || XPG4] (pthread_key_t): Likewise.
23123 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23124 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23125 [XPG3 || XPG4] (pthread_once_t): Likewise.
23126 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23127 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23128 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23129 [XPG3 || XPG4] (pthread_t): Likewise.
23131 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23133 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23135 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23136 Change function return type to int.
23138 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23139 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23140 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23141 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23142 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23143 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23144 [!POSIX] (posix_madvise): Likewise.
23145 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23147 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23148 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23149 (mode_t): Likewise.
23150 (posix_mem_offset): Likewise.
23151 (posix_typed_mem_get_info): Likewise.
23152 (posix_typed_mem_open): Likewise.
23154 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23155 Change condition to [XOPEN2K8].
23157 * conform/conformtest.pl: Preprocess allow-header data with -x c
23158 instead of from stdin.
23159 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23160 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23161 [C99-based standards] (cerfc): Likewise.
23162 [C99-based standards] (cexp2): Likewise.
23163 [C99-based standards] (cexpm1): Likewise.
23164 [C99-based standards] (clog10): Likewise.
23165 [C99-based standards] (clog1p): Likewise.
23166 [C99-based standards] (clog2): Likewise.
23167 [C99-based standards] (clgamma): Likewise.
23168 [C99-based standards] (ctgamma): Likewise.
23169 [C99-based standards] (cerff): Likewise.
23170 [C99-based standards] (cerfcf): Likewise.
23171 [C99-based standards] (cexp2f): Likewise.
23172 [C99-based standards] (cexpm1f): Likewise.
23173 [C99-based standards] (clog10f): Likewise.
23174 [C99-based standards] (clog1pf): Likewise.
23175 [C99-based standards] (clog2f): Likewise.
23176 [C99-based standards] (clgammaf): Likewise.
23177 [C99-based standards] (ctgammaf): Likewise.
23178 [C99-based standards] (cerfl): Likewise.
23179 [C99-based standards] (cerfcl): Likewise.
23180 [C99-based standards] (cexp2l): Likewise.
23181 [C99-based standards] (cexpm1l): Likewise.
23182 [C99-based standards] (clog10l): Likewise.
23183 [C99-based standards] (clog1pl): Likewise.
23184 [C99-based standards] (clog2l): Likewise.
23185 [C99-based standards] (clgammal): Likewise.
23186 [C99-based standards] (ctgammal): Likewise.
23187 * conform/data/inttypes.h-data [C99-based standards]: Include
23188 stdint.h-data. Remove all expectations for stdint.h contents.
23189 [C99-based standards] (PRI*): Do not allow.
23190 [C99-based standards] (SCN*): Likewise.
23191 [C99-based standards] (*_t): Likewise.
23192 [C99-based-standards] (PRId8): Expect macro.
23193 [C99-based-standards] (PRIi8): Likewise.
23194 [C99-based-standards] (PRIo8): Likewise.
23195 [C99-based-standards] (PRIu8): Likewise.
23196 [C99-based-standards] (PRIx8): Likewise.
23197 [C99-based-standards] (PRIX8): Likewise.
23198 [C99-based-standards] (SCNd8): Likewise.
23199 [C99-based-standards] (SCNi8): Likewise.
23200 [C99-based-standards] (SCNo8): Likewise.
23201 [C99-based-standards] (SCNu8): Likewise.
23202 [C99-based-standards] (SCNx8): Likewise.
23203 [C99-based-standards] (PRIdLEAST8): Likewise.
23204 [C99-based-standards] (PRIiLEAST8): Likewise.
23205 [C99-based-standards] (PRIoLEAST8): Likewise.
23206 [C99-based-standards] (PRIuLEAST8): Likewise.
23207 [C99-based-standards] (PRIxLEAST8): Likewise.
23208 [C99-based-standards] (PRIXLEAST8): Likewise.
23209 [C99-based-standards] (SCNdLEAST8): Likewise.
23210 [C99-based-standards] (SCNiLEAST8): Likewise.
23211 [C99-based-standards] (SCNoLEAST8): Likewise.
23212 [C99-based-standards] (SCNuLEAST8): Likewise.
23213 [C99-based-standards] (SCNxLEAST8): Likewise.
23214 [C99-based-standards] (PRIdFAST8): Likewise.
23215 [C99-based-standards] (PRIiFAST8): Likewise.
23216 [C99-based-standards] (PRIoFAST8): Likewise.
23217 [C99-based-standards] (PRIuFAST8): Likewise.
23218 [C99-based-standards] (PRIxFAST8): Likewise.
23219 [C99-based-standards] (PRIXFAST8): Likewise.
23220 [C99-based-standards] (SCNdFAST8): Likewise.
23221 [C99-based-standards] (SCNiFAST8): Likewise.
23222 [C99-based-standards] (SCNoFAST8): Likewise.
23223 [C99-based-standards] (SCNuFAST8): Likewise.
23224 [C99-based-standards] (SCNxFAST8): Likewise.
23225 [C99-based-standards] (PRId16): Likewise.
23226 [C99-based-standards] (PRIi16): Likewise.
23227 [C99-based-standards] (PRIo16): Likewise.
23228 [C99-based-standards] (PRIu16): Likewise.
23229 [C99-based-standards] (PRIx16): Likewise.
23230 [C99-based-standards] (PRIX16): Likewise.
23231 [C99-based-standards] (SCNd16): Likewise.
23232 [C99-based-standards] (SCNi16): Likewise.
23233 [C99-based-standards] (SCNo16): Likewise.
23234 [C99-based-standards] (SCNu16): Likewise.
23235 [C99-based-standards] (SCNx16): Likewise.
23236 [C99-based-standards] (PRIdLEAST16): Likewise.
23237 [C99-based-standards] (PRIiLEAST16): Likewise.
23238 [C99-based-standards] (PRIoLEAST16): Likewise.
23239 [C99-based-standards] (PRIuLEAST16): Likewise.
23240 [C99-based-standards] (PRIxLEAST16): Likewise.
23241 [C99-based-standards] (PRIXLEAST16): Likewise.
23242 [C99-based-standards] (SCNdLEAST16): Likewise.
23243 [C99-based-standards] (SCNiLEAST16): Likewise.
23244 [C99-based-standards] (SCNoLEAST16): Likewise.
23245 [C99-based-standards] (SCNuLEAST16): Likewise.
23246 [C99-based-standards] (SCNxLEAST16): Likewise.
23247 [C99-based-standards] (PRIdFAST16): Likewise.
23248 [C99-based-standards] (PRIiFAST16): Likewise.
23249 [C99-based-standards] (PRIoFAST16): Likewise.
23250 [C99-based-standards] (PRIuFAST16): Likewise.
23251 [C99-based-standards] (PRIxFAST16): Likewise.
23252 [C99-based-standards] (PRIXFAST16): Likewise.
23253 [C99-based-standards] (SCNdFAST16): Likewise.
23254 [C99-based-standards] (SCNiFAST16): Likewise.
23255 [C99-based-standards] (SCNoFAST16): Likewise.
23256 [C99-based-standards] (SCNuFAST16): Likewise.
23257 [C99-based-standards] (SCNxFAST16): Likewise.
23258 [C99-based-standards] (PRId32): Likewise.
23259 [C99-based-standards] (PRIi32): Likewise.
23260 [C99-based-standards] (PRIo32): Likewise.
23261 [C99-based-standards] (PRIu32): Likewise.
23262 [C99-based-standards] (PRIx32): Likewise.
23263 [C99-based-standards] (PRIX32): Likewise.
23264 [C99-based-standards] (SCNd32): Likewise.
23265 [C99-based-standards] (SCNi32): Likewise.
23266 [C99-based-standards] (SCNo32): Likewise.
23267 [C99-based-standards] (SCNu32): Likewise.
23268 [C99-based-standards] (SCNx32): Likewise.
23269 [C99-based-standards] (PRIdLEAST32): Likewise.
23270 [C99-based-standards] (PRIiLEAST32): Likewise.
23271 [C99-based-standards] (PRIoLEAST32): Likewise.
23272 [C99-based-standards] (PRIuLEAST32): Likewise.
23273 [C99-based-standards] (PRIxLEAST32): Likewise.
23274 [C99-based-standards] (PRIXLEAST32): Likewise.
23275 [C99-based-standards] (SCNdLEAST32): Likewise.
23276 [C99-based-standards] (SCNiLEAST32): Likewise.
23277 [C99-based-standards] (SCNoLEAST32): Likewise.
23278 [C99-based-standards] (SCNuLEAST32): Likewise.
23279 [C99-based-standards] (SCNxLEAST32): Likewise.
23280 [C99-based-standards] (PRIdFAST32): Likewise.
23281 [C99-based-standards] (PRIiFAST32): Likewise.
23282 [C99-based-standards] (PRIoFAST32): Likewise.
23283 [C99-based-standards] (PRIuFAST32): Likewise.
23284 [C99-based-standards] (PRIxFAST32): Likewise.
23285 [C99-based-standards] (PRIXFAST32): Likewise.
23286 [C99-based-standards] (SCNdFAST32): Likewise.
23287 [C99-based-standards] (SCNiFAST32): Likewise.
23288 [C99-based-standards] (SCNoFAST32): Likewise.
23289 [C99-based-standards] (SCNuFAST32): Likewise.
23290 [C99-based-standards] (SCNxFAST32): Likewise.
23291 [C99-based-standards] (PRId64): Likewise.
23292 [C99-based-standards] (PRIi64): Likewise.
23293 [C99-based-standards] (PRIo64): Likewise.
23294 [C99-based-standards] (PRIu64): Likewise.
23295 [C99-based-standards] (PRIx64): Likewise.
23296 [C99-based-standards] (PRIX64): Likewise.
23297 [C99-based-standards] (SCNd64): Likewise.
23298 [C99-based-standards] (SCNi64): Likewise.
23299 [C99-based-standards] (SCNo64): Likewise.
23300 [C99-based-standards] (SCNu64): Likewise.
23301 [C99-based-standards] (SCNx64): Likewise.
23302 [C99-based-standards] (PRIdLEAST64): Likewise.
23303 [C99-based-standards] (PRIiLEAST64): Likewise.
23304 [C99-based-standards] (PRIoLEAST64): Likewise.
23305 [C99-based-standards] (PRIuLEAST64): Likewise.
23306 [C99-based-standards] (PRIxLEAST64): Likewise.
23307 [C99-based-standards] (PRIXLEAST64): Likewise.
23308 [C99-based-standards] (SCNdLEAST64): Likewise.
23309 [C99-based-standards] (SCNiLEAST64): Likewise.
23310 [C99-based-standards] (SCNoLEAST64): Likewise.
23311 [C99-based-standards] (SCNuLEAST64): Likewise.
23312 [C99-based-standards] (SCNxLEAST64): Likewise.
23313 [C99-based-standards] (PRIdFAST64): Likewise.
23314 [C99-based-standards] (PRIiFAST64): Likewise.
23315 [C99-based-standards] (PRIoFAST64): Likewise.
23316 [C99-based-standards] (PRIuFAST64): Likewise.
23317 [C99-based-standards] (PRIxFAST64): Likewise.
23318 [C99-based-standards] (PRIXFAST64): Likewise.
23319 [C99-based-standards] (SCNdFAST64): Likewise.
23320 [C99-based-standards] (SCNiFAST64): Likewise.
23321 [C99-based-standards] (SCNoFAST64): Likewise.
23322 [C99-based-standards] (SCNuFAST64): Likewise.
23323 [C99-based-standards] (SCNxFAST64): Likewise.
23324 [C99-based-standards] (PRIdMAX): Likewise.
23325 [C99-based-standards] (PRIiMAX): Likewise.
23326 [C99-based-standards] (PRIoMAX): Likewise.
23327 [C99-based-standards] (PRIuMAX): Likewise.
23328 [C99-based-standards] (PRIxMAX): Likewise.
23329 [C99-based-standards] (PRIXMAX): Likewise.
23330 [C99-based-standards] (SCNdMAX): Likewise.
23331 [C99-based-standards] (SCNiMAX): Likewise.
23332 [C99-based-standards] (SCNoMAX): Likewise.
23333 [C99-based-standards] (SCNuMAX): Likewise.
23334 [C99-based-standards] (SCNxMAX): Likewise.
23335 [C99-based-standards] (PRIdPTR): Likewise.
23336 [C99-based-standards] (PRIiPTR): Likewise.
23337 [C99-based-standards] (PRIoPTR): Likewise.
23338 [C99-based-standards] (PRIuPTR): Likewise.
23339 [C99-based-standards] (PRIxPTR): Likewise.
23340 [C99-based-standards] (PRIXPTR): Likewise.
23341 [C99-based-standards] (SCNdPTR): Likewise.
23342 [C99-based-standards] (SCNiPTR): Likewise.
23343 [C99-based-standards] (SCNoPTR): Likewise.
23344 [C99-based-standards] (SCNuPTR): Likewise.
23345 [C99-based-standards] (SCNxPTR): Likewise.
23346 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23348 * conform/data/stdint.h-data: Update comments to clarify
23350 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23352 [C99-based standards] (INT8_MAX): Likewise.
23353 [C99-based standards] (INT16_MIN): Likewise.
23354 [C99-based standards] (INT16_MAX): Likewise.
23355 [C99-based standards] (INT32_MIN): Likewise.
23356 [C99-based standards] (INT32_MAX): Likewise.
23357 [C99-based standards] (INT64_MIN): Likewise.
23358 [C99-based standards] (INT64_MAX): Likewise.
23359 [C99-based standards] (UINT8_MAX): Likewise.
23360 [C99-based standards] (UINT16_MAX): Likewise.
23361 [C99-based standards] (UINT32_MAX): Likewise.
23362 [C99-based standards] (UINT64_MAX): Likewise.
23363 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23364 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23365 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23366 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23367 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23368 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23369 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23370 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23371 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23372 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23373 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23374 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23375 [C99-based standards] (INT_FAST8_MIN): Likewise.
23376 [C99-based standards] (INT_FAST8_MAX): Likewise.
23377 [C99-based standards] (INT_FAST16_MIN): Likewise.
23378 [C99-based standards] (INT_FAST16_MAX): Likewise.
23379 [C99-based standards] (INT_FAST32_MIN): Likewise.
23380 [C99-based standards] (INT_FAST32_MAX): Likewise.
23381 [C99-based standards] (INT_FAST64_MIN): Likewise.
23382 [C99-based standards] (INT_FAST64_MAX): Likewise.
23383 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23384 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23385 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23386 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23387 [C99-based standards] (INTPTR_MIN): Likewise.
23388 [C99-based standards] (INTPTR_MAX): Likewise.
23389 [C99-based standards] (UINTPTR_MAX): Likewise.
23390 [C99-based standards] (INTMAX_MIN): Likewise.
23391 [C99-based standards] (INTMAX_MAX): Likewise.
23392 [C99-based standards] (UINTMAX_MAX): Likewise.
23393 [C99-based standards] (PTRDIFF_MIN): Likewise.
23394 [C99-based standards] (PTRDIFF_MAX): Likewise.
23395 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23396 [C99-based standards] (SIZE_MAX): Likewise.
23397 [C99-based standards] (WCHAR_MAX): Likewise.
23398 [C99-based standards] (WINT_MAX): Likewise.
23399 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23400 constraint on value.
23401 [C99-based standards] (WCHAR_MIN): Likewise.
23402 [C99-based standards] (WINT_MIN): Likewise.
23403 [C99-based standards] (*_t): Allow.
23404 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23405 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23406 Include math.h-data and complex.h-data. Remove all expectations
23407 of math.h and complex.h contents.
23408 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23410 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23411 (struct tm): Expect tag.
23412 [C99-based-standards] (wcstof): Expect function.
23413 [C99-based-standards] (wcstold): Likewise.
23414 [C99-based-standards] (wcstoll): Likewise.
23415 [C99-based-standards] (wcstoull): Likewise.
23416 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23417 macro-int-constant. Specify type.
23418 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23419 constraint on value.
23420 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23422 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23424 [ISO C standards]: Do not allow headers.
23425 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23426 wcs[abcdefghijklmnopqrstuvwxyz]*.
23427 [ISO C standards] (*_t): Do not allow.
23428 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23430 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23431 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23433 [ISO C standards]: Do not allow headers.
23434 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23435 is[abcdefghijklmnopqrstuvwxyz]*.
23436 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23437 to[abcdefghijklmnopqrstuvwxyz]*.
23438 [ISO C standards] (*_t): Do not allow.
23439 * conform/data/stdalign.h-data: New file.
23440 * conform/data/stdbool.h-data: Likewise.
23441 * conform/data/stdnoreturn.h-data: Likewise.
23443 2012-11-07 Roland McGrath <roland@hack.frob.com>
23446 * manual/filesys.texi (Directory Entries): Typo fix.
23447 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23449 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23451 * elf/elf.h (EM_AARCH64): New macro.
23452 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23453 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23454 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23455 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23456 (R_AARCH64_TLSDESC): Likewise.
23457 (NT_ARM_TLS): Likewise.
23458 (NT_ARM_HW_BREAK): Likewise.
23459 (NT_ARM_HW_WATCH): Likewise.
23461 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23464 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23465 (__ieee754_powl): Saturate nonzero exponents with absolute value
23466 below 0x1p-79 to +/- 0x1p-79.
23467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23468 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23469 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23470 nonzero exponents with absolute value below 0x1p-32 to +/-
23472 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23473 (__ieee754_powl): Saturate nonzero exponents with absolute value
23474 below 0x1p-79 to +/- 0x1p-79.
23475 * math/libm-test.inc (pow_test): Add more tests.
23477 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23479 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23480 _dl_s390_cap_flags with kernel. Increase string length.
23481 (_dl_s390_platforms): Add z196 and zEC12.
23483 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23485 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23486 Change XOPEN21K to XOPEN2K.
23488 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23490 * string/memmove.c: Use memcpy when possible.
23492 2012-11-06 Andreas Jaeger <aj@suse.de>
23494 * po/eo.po: Update from translation team.
23496 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23500 exponent and small x and y exponents, scale x or y up. Increase
23501 by 2 the exponent used in scaling up.
23502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23504 * math/libm-test.inc (fma_test): Add more tests.
23505 (fma_test_towardzero): Likewise.
23506 (fma_test_downward): Likewise.
23507 (fma_test_upward): Likewise.
23509 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23512 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23516 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23517 namespace for names of struct fields.
23518 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23520 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23521 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23523 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23526 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23528 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23530 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23534 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23537 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23541 definitely overflow as x * y not x * y + z.
23542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23544 * math/libm-test.inc (fma_test): Add more tests.
23545 (fma_test_towardzero): Likewise.
23546 (fma_test_downward): Likewise.
23547 (fma_test_upward): Likewise.
23549 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23553 * include/stub-tag.h: Remove file.
23554 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23556 * manual/maint.texi (Porting): Don't reference it.
23557 * Makerules ($(objpfx)stubs): Likewise.
23558 * dirent/closedir.c: Don't include <stub-tag.h>.
23559 * dirent/dirfd.c: Likewise.
23560 * dirent/fdopendir.c: Likewise.
23561 * dirent/getdents.c: Likewise.
23562 * dirent/getdents64.c: Likewise.
23563 * dirent/opendir.c: Likewise.
23564 * dirent/readdir.c: Likewise.
23565 * dirent/readdir64.c: Likewise.
23566 * dirent/readdir64_r.c: Likewise.
23567 * dirent/readdir_r.c: Likewise.
23568 * dirent/rewinddir.c: Likewise.
23569 * dirent/seekdir.c: Likewise.
23570 * dirent/telldir.c: Likewise.
23571 * gmon/profil.c: Likewise.
23572 * grp/setgroups.c: Likewise.
23573 * inet/if_index.c: Likewise.
23574 * io/access.c: Likewise.
23575 * io/chdir.c: Likewise.
23576 * io/chmod.c: Likewise.
23577 * io/chown.c: Likewise.
23578 * io/close.c: Likewise.
23579 * io/dup.c: Likewise.
23580 * io/dup2.c: Likewise.
23581 * io/dup3.c: Likewise.
23582 * io/euidaccess.c: Likewise.
23583 * io/faccessat.c: Likewise.
23584 * io/fchdir.c: Likewise.
23585 * io/fchmod.c: Likewise.
23586 * io/fchmodat.c: Likewise.
23587 * io/fchown.c: Likewise.
23588 * io/fchownat.c: Likewise.
23589 * io/fcntl.c: Likewise.
23590 * io/flock.c: Likewise.
23591 * io/fstatfs.c: Likewise.
23592 * io/fstatfs64.c: Likewise.
23593 * io/fstatvfs.c: Likewise.
23594 * io/fstatvfs64.c: Likewise.
23595 * io/futimens.c: Likewise.
23596 * io/fxstat.c: Likewise.
23597 * io/fxstat64.c: Likewise.
23598 * io/fxstatat.c: Likewise.
23599 * io/fxstatat64.c: Likewise.
23600 * io/getcwd.c: Likewise.
23601 * io/isatty.c: Likewise.
23602 * io/lchmod.c: Likewise.
23603 * io/lchown.c: Likewise.
23604 * io/link.c: Likewise.
23605 * io/linkat.c: Likewise.
23606 * io/lseek.c: Likewise.
23607 * io/lseek64.c: Likewise.
23608 * io/lxstat64.c: Likewise.
23609 * io/mkdir.c: Likewise.
23610 * io/mkdirat.c: Likewise.
23611 * io/mkfifo.c: Likewise.
23612 * io/mkfifoat.c: Likewise.
23613 * io/open.c: Likewise.
23614 * io/open64.c: Likewise.
23615 * io/openat.c: Likewise.
23616 * io/openat64.c: Likewise.
23617 * io/pipe.c: Likewise.
23618 * io/pipe2.c: Likewise.
23619 * io/poll.c: Likewise.
23620 * io/posix_fadvise.c: Likewise.
23621 * io/posix_fadvise64.c: Likewise.
23622 * io/posix_fallocate.c: Likewise.
23623 * io/posix_fallocate64.c: Likewise.
23624 * io/read.c: Likewise.
23625 * io/readlink.c: Likewise.
23626 * io/readlinkat.c: Likewise.
23627 * io/rmdir.c: Likewise.
23628 * io/sendfile.c: Likewise.
23629 * io/sendfile64.c: Likewise.
23630 * io/statfs.c: Likewise.
23631 * io/statfs64.c: Likewise.
23632 * io/statvfs.c: Likewise.
23633 * io/statvfs64.c: Likewise.
23634 * io/symlink.c: Likewise.
23635 * io/symlinkat.c: Likewise.
23636 * io/ttyname.c: Likewise.
23637 * io/ttyname_r.c: Likewise.
23638 * io/umask.c: Likewise.
23639 * io/unlink.c: Likewise.
23640 * io/unlinkat.c: Likewise.
23641 * io/utime.c: Likewise.
23642 * io/utimensat.c: Likewise.
23643 * io/write.c: Likewise.
23644 * io/xmknod.c: Likewise.
23645 * io/xmknodat.c: Likewise.
23646 * io/xstat.c: Likewise.
23647 * io/xstat64.c: Likewise.
23648 * login/getpt.c: Likewise.
23649 * login/grantpt.c: Likewise.
23650 * login/unlockpt.c: Likewise.
23651 * math/e_acoshl.c: Likewise.
23652 * math/e_acosl.c: Likewise.
23653 * math/e_asinl.c: Likewise.
23654 * math/e_atan2l.c: Likewise.
23655 * math/e_atanhl.c: Likewise.
23656 * math/e_coshl.c: Likewise.
23657 * math/e_expl.c: Likewise.
23658 * math/e_fmodl.c: Likewise.
23659 * math/e_gammal_r.c: Likewise.
23660 * math/e_hypotl.c: Likewise.
23661 * math/e_j0l.c: Likewise.
23662 * math/e_j1l.c: Likewise.
23663 * math/e_jnl.c: Likewise.
23664 * math/e_lgammal_r.c: Likewise.
23665 * math/e_log10l.c: Likewise.
23666 * math/e_log2l.c: Likewise.
23667 * math/e_logl.c: Likewise.
23668 * math/e_powl.c: Likewise.
23669 * math/e_rem_pio2l.c: Likewise.
23670 * math/e_sinhl.c: Likewise.
23671 * math/e_sqrtl.c: Likewise.
23672 * math/fclrexcpt.c: Likewise.
23673 * math/fedisblxcpt.c: Likewise.
23674 * math/feenablxcpt.c: Likewise.
23675 * math/fegetenv.c: Likewise.
23676 * math/fegetexcept.c: Likewise.
23677 * math/fegetround.c: Likewise.
23678 * math/feholdexcpt.c: Likewise.
23679 * math/fesetenv.c: Likewise.
23680 * math/fesetround.c: Likewise.
23681 * math/feupdateenv.c: Likewise.
23682 * math/fgetexcptflg.c: Likewise.
23683 * math/fraiseexcpt.c: Likewise.
23684 * math/fsetexcptflg.c: Likewise.
23685 * math/ftestexcept.c: Likewise.
23686 * math/k_cosl.c: Likewise.
23687 * math/k_rem_pio2l.c: Likewise.
23688 * math/k_sinl.c: Likewise.
23689 * math/k_tanl.c: Likewise.
23690 * math/s_asinhl.c: Likewise.
23691 * math/s_atanl.c: Likewise.
23692 * math/s_cbrtl.c: Likewise.
23693 * math/s_erfl.c: Likewise.
23694 * math/s_expm1l.c: Likewise.
23695 * math/s_log1pl.c: Likewise.
23696 * math/s_tanhl.c: Likewise.
23697 * misc/acct.c: Likewise.
23698 * misc/brk.c: Likewise.
23699 * misc/chflags.c: Likewise.
23700 * misc/chroot.c: Likewise.
23701 * misc/fchflags.c: Likewise.
23702 * misc/fgetxattr.c: Likewise.
23703 * misc/flistxattr.c: Likewise.
23704 * misc/fremovexattr.c: Likewise.
23705 * misc/fsetxattr.c: Likewise.
23706 * misc/fsync.c: Likewise.
23707 * misc/ftruncate.c: Likewise.
23708 * misc/futimes.c: Likewise.
23709 * misc/futimesat.c: Likewise.
23710 * misc/getdomain.c: Likewise.
23711 * misc/getdtsz.c: Likewise.
23712 * misc/gethostid.c: Likewise.
23713 * misc/gethostname.c: Likewise.
23714 * misc/getloadavg.c: Likewise.
23715 * misc/getpagesize.c: Likewise.
23716 * misc/getsysstats.c: Likewise.
23717 * misc/getxattr.c: Likewise.
23718 * misc/gtty.c: Likewise.
23719 * misc/ioctl.c: Likewise.
23720 * misc/lgetxattr.c: Likewise.
23721 * misc/listxattr.c: Likewise.
23722 * misc/llistxattr.c: Likewise.
23723 * misc/lremovexattr.c: Likewise.
23724 * misc/lsetxattr.c: Likewise.
23725 * misc/lutimes.c: Likewise.
23726 * misc/madvise.c: Likewise.
23727 * misc/mincore.c: Likewise.
23728 * misc/mlock.c: Likewise.
23729 * misc/mlockall.c: Likewise.
23730 * misc/mmap.c: Likewise.
23731 * misc/mprotect.c: Likewise.
23732 * misc/msync.c: Likewise.
23733 * misc/munlock.c: Likewise.
23734 * misc/munlockall.c: Likewise.
23735 * misc/munmap.c: Likewise.
23736 * misc/preadv.c: Likewise.
23737 * misc/preadv64.c: Likewise.
23738 * misc/ptrace.c: Likewise.
23739 * misc/pwritev.c: Likewise.
23740 * misc/pwritev64.c: Likewise.
23741 * misc/readv.c: Likewise.
23742 * misc/reboot.c: Likewise.
23743 * misc/remap_file_pages.c: Likewise.
23744 * misc/removexattr.c: Likewise.
23745 * misc/revoke.c: Likewise.
23746 * misc/select.c: Likewise.
23747 * misc/setdomain.c: Likewise.
23748 * misc/setegid.c: Likewise.
23749 * misc/seteuid.c: Likewise.
23750 * misc/sethostid.c: Likewise.
23751 * misc/sethostname.c: Likewise.
23752 * misc/setregid.c: Likewise.
23753 * misc/setreuid.c: Likewise.
23754 * misc/setxattr.c: Likewise.
23755 * misc/sstk.c: Likewise.
23756 * misc/stty.c: Likewise.
23757 * misc/swapoff.c: Likewise.
23758 * misc/swapon.c: Likewise.
23759 * misc/sync.c: Likewise.
23760 * misc/syncfs.c: Likewise.
23761 * misc/syscall.c: Likewise.
23762 * misc/truncate.c: Likewise.
23763 * misc/ualarm.c: Likewise.
23764 * misc/usleep.c: Likewise.
23765 * misc/ustat.c: Likewise.
23766 * misc/utimes.c: Likewise.
23767 * misc/vhangup.c: Likewise.
23768 * misc/writev.c: Likewise.
23769 * posix/_exit.c: Likewise.
23770 * posix/alarm.c: Likewise.
23771 * posix/execve.c: Likewise.
23772 * posix/fexecve.c: Likewise.
23773 * posix/fork.c: Likewise.
23774 * posix/fpathconf.c: Likewise.
23775 * posix/getaddrinfo.c: Likewise.
23776 * posix/getegid.c: Likewise.
23777 * posix/geteuid.c: Likewise.
23778 * posix/getgid.c: Likewise.
23779 * posix/getgroups.c: Likewise.
23780 * posix/getlogin.c: Likewise.
23781 * posix/getlogin_r.c: Likewise.
23782 * posix/getpgid.c: Likewise.
23783 * posix/getpid.c: Likewise.
23784 * posix/getppid.c: Likewise.
23785 * posix/getresgid.c: Likewise.
23786 * posix/getresuid.c: Likewise.
23787 * posix/getsid.c: Likewise.
23788 * posix/getuid.c: Likewise.
23789 * posix/glob64.c: Likewise.
23790 * posix/nanosleep.c: Likewise.
23791 * posix/pathconf.c: Likewise.
23792 * posix/pause.c: Likewise.
23793 * posix/posix_madvise.c: Likewise.
23794 * posix/pread.c: Likewise.
23795 * posix/pread64.c: Likewise.
23796 * posix/pwrite.c: Likewise.
23797 * posix/pwrite64.c: Likewise.
23798 * posix/sched_getaffinity.c: Likewise.
23799 * posix/sched_getp.c: Likewise.
23800 * posix/sched_gets.c: Likewise.
23801 * posix/sched_primax.c: Likewise.
23802 * posix/sched_primin.c: Likewise.
23803 * posix/sched_rr_gi.c: Likewise.
23804 * posix/sched_setaffinity.c: Likewise.
23805 * posix/sched_setp.c: Likewise.
23806 * posix/sched_sets.c: Likewise.
23807 * posix/sched_yield.c: Likewise.
23808 * posix/setgid.c: Likewise.
23809 * posix/setlogin.c: Likewise.
23810 * posix/setpgid.c: Likewise.
23811 * posix/setresgid.c: Likewise.
23812 * posix/setresuid.c: Likewise.
23813 * posix/setsid.c: Likewise.
23814 * posix/setuid.c: Likewise.
23815 * posix/sleep.c: Likewise.
23816 * posix/spawni.c: Likewise.
23817 * posix/sysconf.c: Likewise.
23818 * posix/times.c: Likewise.
23819 * posix/wait.c: Likewise.
23820 * posix/wait3.c: Likewise.
23821 * posix/wait4.c: Likewise.
23822 * posix/waitpid.c: Likewise.
23823 * resolv/gai_sigqueue.c: Likewise.
23824 * resource/getpriority.c: Likewise.
23825 * resource/getrlimit.c: Likewise.
23826 * resource/getrusage.c: Likewise.
23827 * resource/nice.c: Likewise.
23828 * resource/setpriority.c: Likewise.
23829 * resource/setrlimit.c: Likewise.
23830 * resource/ulimit.c: Likewise.
23831 * rt/aio_cancel.c: Likewise.
23832 * rt/aio_fsync.c: Likewise.
23833 * rt/aio_read.c: Likewise.
23834 * rt/aio_sigqueue.c: Likewise.
23835 * rt/aio_suspend.c: Likewise.
23836 * rt/aio_write.c: Likewise.
23837 * rt/clock_getres.c: Likewise.
23838 * rt/clock_gettime.c: Likewise.
23839 * rt/clock_nanosleep.c: Likewise.
23840 * rt/clock_settime.c: Likewise.
23841 * rt/lio_listio.c: Likewise.
23842 * rt/mq_close.c: Likewise.
23843 * rt/mq_getattr.c: Likewise.
23844 * rt/mq_notify.c: Likewise.
23845 * rt/mq_open.c: Likewise.
23846 * rt/mq_receive.c: Likewise.
23847 * rt/mq_send.c: Likewise.
23848 * rt/mq_setattr.c: Likewise.
23849 * rt/mq_timedreceive.c: Likewise.
23850 * rt/mq_timedsend.c: Likewise.
23851 * rt/mq_unlink.c: Likewise.
23852 * rt/shm_open.c: Likewise.
23853 * rt/shm_unlink.c: Likewise.
23854 * rt/timer_create.c: Likewise.
23855 * rt/timer_delete.c: Likewise.
23856 * rt/timer_getoverr.c: Likewise.
23857 * rt/timer_gettime.c: Likewise.
23858 * rt/timer_settime.c: Likewise.
23859 * setjmp/__longjmp.c: Likewise.
23860 * setjmp/setjmp.c: Likewise.
23861 * signal/kill.c: Likewise.
23862 * signal/killpg.c: Likewise.
23863 * signal/raise.c: Likewise.
23864 * signal/sigaction.c: Likewise.
23865 * signal/sigaltstack.c: Likewise.
23866 * signal/sigblock.c: Likewise.
23867 * signal/sigignore.c: Likewise.
23868 * signal/sigintr.c: Likewise.
23869 * signal/signal.c: Likewise.
23870 * signal/sigpause.c: Likewise.
23871 * signal/sigpending.c: Likewise.
23872 * signal/sigqueue.c: Likewise.
23873 * signal/sigreturn.c: Likewise.
23874 * signal/sigset.c: Likewise.
23875 * signal/sigsetmask.c: Likewise.
23876 * signal/sigstack.c: Likewise.
23877 * signal/sigsuspend.c: Likewise.
23878 * signal/sigtimedwait.c: Likewise.
23879 * signal/sigvec.c: Likewise.
23880 * signal/sigwait.c: Likewise.
23881 * signal/sigwaitinfo.c: Likewise.
23882 * signal/sysv_signal.c: Likewise.
23883 * socket/accept.c: Likewise.
23884 * socket/accept4.c: Likewise.
23885 * socket/bind.c: Likewise.
23886 * socket/connect.c: Likewise.
23887 * socket/getpeername.c: Likewise.
23888 * socket/getsockname.c: Likewise.
23889 * socket/getsockopt.c: Likewise.
23890 * socket/isfdtype.c: Likewise.
23891 * socket/listen.c: Likewise.
23892 * socket/recv.c: Likewise.
23893 * socket/recvfrom.c: Likewise.
23894 * socket/recvmsg.c: Likewise.
23895 * socket/send.c: Likewise.
23896 * socket/sendmsg.c: Likewise.
23897 * socket/sendto.c: Likewise.
23898 * socket/setsockopt.c: Likewise.
23899 * socket/shutdown.c: Likewise.
23900 * socket/sockatmark.c: Likewise.
23901 * socket/socket.c: Likewise.
23902 * socket/socketpair.c: Likewise.
23903 * stdio-common/ctermid.c: Likewise.
23904 * stdio-common/cuserid.c: Likewise.
23905 * stdio-common/remove.c: Likewise.
23906 * stdio-common/rename.c: Likewise.
23907 * stdio-common/renameat.c: Likewise.
23908 * stdio-common/tempname.c: Likewise.
23909 * stdlib/getcontext.c: Likewise.
23910 * stdlib/makecontext.c: Likewise.
23911 * stdlib/setcontext.c: Likewise.
23912 * stdlib/swapcontext.c: Likewise.
23913 * stdlib/system.c: Likewise.
23914 * streams/fattach.c: Likewise.
23915 * streams/fdetach.c: Likewise.
23916 * streams/getmsg.c: Likewise.
23917 * streams/getpmsg.c: Likewise.
23918 * streams/putmsg.c: Likewise.
23919 * streams/putpmsg.c: Likewise.
23920 * sysdeps/unix/bsd/getpt.c: Likewise.
23921 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23922 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23923 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23926 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23927 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23928 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23929 * sysvipc/msgctl.c: Likewise.
23930 * sysvipc/msgget.c: Likewise.
23931 * sysvipc/msgrcv.c: Likewise.
23932 * sysvipc/msgsnd.c: Likewise.
23933 * sysvipc/semctl.c: Likewise.
23934 * sysvipc/semget.c: Likewise.
23935 * sysvipc/semop.c: Likewise.
23936 * sysvipc/semtimedop.c: Likewise.
23937 * sysvipc/shmat.c: Likewise.
23938 * sysvipc/shmctl.c: Likewise.
23939 * sysvipc/shmdt.c: Likewise.
23940 * sysvipc/shmget.c: Likewise.
23941 * termios/tcdrain.c: Likewise.
23942 * termios/tcflow.c: Likewise.
23943 * termios/tcflush.c: Likewise.
23944 * termios/tcgetattr.c: Likewise.
23945 * termios/tcgetpgrp.c: Likewise.
23946 * termios/tcsendbrk.c: Likewise.
23947 * termios/tcsetattr.c: Likewise.
23948 * termios/tcsetpgrp.c: Likewise.
23949 * time/adjtime.c: Likewise.
23950 * time/clock.c: Likewise.
23951 * time/getitimer.c: Likewise.
23952 * time/gettimeofday.c: Likewise.
23953 * time/setitimer.c: Likewise.
23954 * time/settimeofday.c: Likewise.
23955 * time/stime.c: Likewise.
23956 * time/time.c: Likewise.
23958 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23960 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23963 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23965 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23967 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23971 FE_TONEAREST before applying Dekker multiplication and Knuth
23972 addition. Clear inexact exceptions and check for exact zero
23973 results afterwards.
23974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23975 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23977 * math/libm-test.inc (fma_test): Add more tests.
23978 (fma_test_towardzero): Likewise.
23979 (fma_test_downward): Likewise.
23980 (fma_test_upward): Likewise.
23981 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23983 (libc_fesetround): New macro.
23984 (libc_fesetroundf): Likewise.
23985 (libc_fesetroundl): Likewise.
23986 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23988 (libc_fesetround_387): Likewise.
23989 (libc_fesetroundf): New macro.
23990 (libc_fesetround): Likewise.
23991 (libc_fesetroundl): Likewise.
23992 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23994 (libc_fesetroundf): New macro.
23995 (libc_fesetround): Likewise.
23996 (libc_fesetroundl): Likewise.
23997 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23998 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23999 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24001 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24002 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24004 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24005 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24007 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24011 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24012 integer constant usable in #if and use that to give value to enum
24014 (FE_DIVBYZERO): Likewise.
24015 (FE_UNDERFLOW): Likewise.
24016 (FE_OVERFLOW): Likewise.
24017 (FE_INVALID): Likewise.
24018 (FE_INVALID_SNAN): Likewise.
24019 (FE_INVALID_ISI): Likewise.
24020 (FE_INVALID_IDI): Likewise.
24021 (FE_INVALID_ZDZ): Likewise.
24022 (FE_INVALID_IMZ): Likewise.
24023 (FE_INVALID_COMPARE): Likewise.
24024 (FE_INVALID_SOFTWARE): Likewise.
24025 (FE_INVALID_SQRT): Likewise.
24026 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24027 (FE_TONEAREST): Likewise.
24028 (FE_TOWARDZERO): Likewise.
24029 (FE_UPWARD): Likewise.
24030 (FE_DOWNWARD): Likewise.
24031 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24032 (FE_DIVBYZERO): Likewise.
24033 (FE_OVERFLOW): Likewise.
24034 (FE_UNDERFLOW): Likewise.
24035 (FE_INEXACT): Likewise.
24036 (FE_TONEAREST): Likewise.
24037 (FE_DOWNWARD): Likewise.
24038 (FE_UPWARD): Likewise.
24039 (FE_TOWARDZERO): Likewise.
24040 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24041 (FE_UNDERFLOW): Likewise.
24042 (FE_OVERFLOW): Likewise.
24043 (FE_DIVBYZERO): Likewise.
24044 (FE_INVALID): Likewise.
24045 (FE_TONEAREST): Likewise.
24046 (FE_TOWARDZERO): Likewise.
24047 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24048 (FE_OVERFLOW): Likewise.
24049 (FE_UNDERFLOW): Likewise.
24050 (FE_DIVBYZERO): Likewise.
24051 (FE_INEXACT): Likewise.
24052 (FE_TONEAREST): Likewise.
24053 (FE_TOWARDZERO): Likewise.
24054 (FE_UPWARD): Likewise.
24055 (FE_DOWNWARD): Likewise.
24056 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24057 (FE_DIVBYZERO): Likewise.
24058 (FE_OVERFLOW): Likewise.
24059 (FE_UNDERFLOW): Likewise.
24060 (FE_INEXACT): Likewise.
24061 (FE_TONEAREST): Likewise.
24062 (FE_DOWNWARD): Likewise.
24063 (FE_UPWARD): Likewise.
24064 (FE_TOWARDZERO): Likewise.
24066 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24068 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24070 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24072 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24073 commands. Quote $PWD.
24074 (blacklist_exports): Don't use remove_newlines. Replace "declare
24076 (remove_newlines): Remove.
24078 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24080 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24081 * stdlib/stdlib.h (atof): Moved to ...
24082 * include/bits/stdlib-float.h: Here. New file.
24083 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24084 * stdlib/bits/stdlib-float.h: New file.
24085 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24087 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24090 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24092 * conform/conformtest.pl (@headers): Add fenv.h.
24093 * conform/data/fenv.h-data: New file.
24094 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24095 include of <math/fenv.h>.
24097 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24098 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24099 && !UNIX98]. Enables tests for XOPEN2K8.
24100 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24101 POSIX2008]: Likewise.
24103 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24104 (struct rusage): Do not expect type or its members.
24107 * math/math.h (FP_NAN): Define macro to integer constant usable in
24108 #if and use that to give value to enum constant.
24109 (FP_INFINITE): Likewise.
24110 (FP_ZERO): Likewise.
24111 (FP_SUBNORMAL): Likewise.
24112 (FP_NORMAL): Likewise.
24114 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24116 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24117 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24120 2012-11-02 Roland McGrath <roland@hack.frob.com>
24122 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24123 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24124 autoconf-time if not.
24125 * configure.in: Remove AC_PREREQ.
24127 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24129 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24130 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24131 of the internal implementation.
24133 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24135 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24136 except include of <misc/sys/syslog.h>.
24138 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24141 function returns with a NULL context exit with zero.
24143 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24145 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24147 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24149 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24150 (run_program_cmd): This.
24151 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24152 (tst_langinfo): New variable. Use it.
24154 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24156 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24157 floating point opcodes.
24159 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24161 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24164 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24166 * sysdeps/mach/hurd/powerpc: Remove directory.
24167 * sysdeps/mach/powerpc: Likewise.
24169 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24171 * scripts/check-local-headers.sh: Ignore c++ headers.
24173 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24175 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24176 __libc_cleanup_region_start argument.
24178 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24183 x * y using scaling, not as x * y + z.
24184 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24185 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24186 * math/libm-test.inc (fma_test): Add more tests.
24187 (fma_test_towardzero): Likewise.
24188 (fma_test_downward): Likewise.
24189 (fma_test_upward): Likewise.
24191 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24193 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24195 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24197 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24200 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24202 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24204 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24211 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24214 Fix the order of the list for glibc 2.17.
24215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24218 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24222 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24225 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24226 for low part of x being zero before using __atanl (y).
24227 * math/libm-test.inc (atan2_test): Add another test.
24229 * manual/install.texi (Configuring and compiling): Document
24230 general use of test-wrapper and test-wrapper-env.
24231 * INSTALL: Regenerated.
24233 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24234 (__fma): Do not extract and scale down low bits on after-rounding
24235 systems when result rounded to normal precision would have normal
24237 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24238 (__fmal): Do not extract and scale down low bits on after-rounding
24239 systems when result rounded to normal precision would have normal
24241 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24242 (__fmal): Do not extract and scale down low bits on after-rounding
24243 systems when result rounded to normal precision would have normal
24245 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24247 (fma_test): Add more tests.
24248 (fma_test_towardzero): Likewise.
24249 (fma_test_downward): Likewise.
24250 (fma_test_upward): Likewise.
24252 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24254 * sysdeps/i386/tininess.h: Renamed to ...
24255 * sysdeps/x86/tininess.h: This.
24256 * sysdeps/x86_64/tininess.h: Removed.
24258 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24260 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24261 input. Use $(build-program-cmd).
24262 ($(objpfx)tst-array1-static.out): Likewise.
24263 ($(objpfx)tst-array2.out): Likewise.
24264 ($(objpfx)tst-array3.out): Likewise.
24265 ($(objpfx)tst-array4.out): Likewise.
24266 ($(objpfx)tst-array5.out): Likewise.
24267 ($(objpfx)tst-array5-static.out): Likewise.
24269 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24271 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24274 * nss/nsswitch.h (nss_interface_function): Provide new
24275 macro for use with NSS functions.
24276 * grp/initgroups.c: Use new macro.
24277 * nss/getXXbyYY.c: Likewise.
24278 * nss/getXXbyYY_r.c: Likewise.
24279 * nss/getXXent.c: Likewise.
24280 * nss/getXXent_r.c: Likewise.
24281 * sysdeps/posix/getaddrinfo.c: Likewise.
24283 2012-10-30 Andreas Jaeger <aj@suse.de>
24285 * po/ru.po: Update Russion translation from translation project.
24287 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24292 result and shift together with sticky bit instead of replicating
24293 round-to-nearest rounding.
24294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24296 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24297 missing underflow exceptions.
24298 (fma_test_towardzero): Add more tests.
24299 (fma_test_downward): Likewise.
24300 (fma_test_upward): Likewise.
24303 * sysdeps/generic/tininess.h: New file.
24304 * sysdeps/i386/tininess.h: Likewise.
24305 * sysdeps/sh/tininess.h: Likewise.
24306 * sysdeps/x86_64/tininess.h: Likewise.
24307 * stdlib/tst-strtod-underflow.c: Likewise.
24308 * stdlib/tst-tininess.c: Likewise.
24309 * stdlib/strtod_l.c: Include <tininess.h>.
24310 (round_and_return): Do not set errno for exact underflow cases.
24311 Force an underflow exception when setting errno for underflow.
24312 Determine underflow based on rounding to normal precision if
24313 TININESS_AFTER_ROUNDING.
24314 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24315 ERANGE for exact underflow cases.
24316 * stdlib/Makefile (tests): Add tst-tininess and
24317 tst-strtod-underflow.
24318 ($(objpfx)tst-tininess): Use $(link-libm).
24319 ($(objpfx)tst-strtod-underflow): Likewise.
24321 2012-10-30 Andreas Jaeger <aj@suse.de>
24324 * elf/Makefile (tests): Remove conditional for have-initfini-array
24325 since this is now always required and the variable does not exist
24327 (tests-static): Likewise.
24328 (modules-names): Likewise.
24330 * po/eo.po: Add Esperanto translation from translation project.
24332 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24333 merged with constructor/destructor.
24334 (init_array): Likewise.
24335 * elf/tst-array2dep.c (fini_array): Likewise.
24336 (init_array): Likewise.
24338 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24340 * manual/message.texi: Delete @cartouche tags.
24342 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24344 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24346 * sysdeps/mach/hurd/fsync.c: Likewise.
24348 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24349 [_POSIX_REALTIME_SIGNALS]: Change condition to
24350 [_POSIX_REALTIME_SIGNALS > 0].
24352 2012-10-27 Andreas Jaeger <aj@suse.de>
24354 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24355 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24357 [__WORDSIZE != 64]: Likewise.
24359 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24361 * iconvdata/tst-table.sh: Remove ${SHELL}.
24362 * iconvdata/tst-tables.sh: Likewise.
24364 2012-10-25 David S. Miller <davem@davemloft.net>
24366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24367 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24373 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24374 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24377 2012-10-25 Roland McGrath <roland@hack.frob.com>
24379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24380 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24383 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24384 Jim Blandy <jimb@codesourcery.com>
24386 * scripts/cross-test-ssh.sh: New file.
24387 * manual/install.texi (Configuring and compiling): Document use of
24389 * INSTALL: Regenerated.
24391 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24393 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24396 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24398 * Makeconfig (run-program-prefix): Fix comment.
24400 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24401 Jim Blandy <jimb@codesourcery.com>
24403 * Makeconfig (test-wrapper): New variable,
24404 (test-wrapper-env): Likewise.
24405 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24406 (run-built-tests): Define to yes.
24407 (run-program-prefix): Use $(test-wrapper).
24408 (built-program-cmd): Likewise.
24409 * Rules (make-test-out): Use $(test-wrapper-env) and
24410 $(host-built-program-cmd).
24411 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24412 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24414 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24415 $(test-wrapper-env) to tst-rtld-load-self.sh.
24416 ($(objpfx)order2.out): Use $(test-wrapper).
24417 ($(objpfx)tst-initorder.out): Likewise.
24418 ($(objpfx)tst-initorder2.out): Likewise.
24419 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24420 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24421 (test_wrapper_env): New variable. Use it to run ld.so.
24422 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24423 Use it to run ld.so.
24424 (test_wrapper_env): Likewise.
24425 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24426 $(test-wrapper) to run-iconv-test.sh.
24427 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24428 (ICONV): Use $test_wrapper.
24429 * posix/Makefile ($(objpfx)globtest.out): Pass
24430 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24431 globtest.sh, not $(run-program-prefix).
24432 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24433 (test_wrapper): Likewise.
24434 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24435 set together with run_via_rtld_prefix.
24436 (run_program_prefix): Define in terms of test_wrapper and
24437 run_via_rtld_prefix.
24439 2012-10-24 Roland McGrath <roland@hack.frob.com>
24441 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24442 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24446 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24447 Declare __clock_getres, __clock_gettime, __clock_settime,
24448 __clock_nanosleep, and __clock_getcpuclockid.
24449 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24450 Remove librt_hidden_def (clock_gettime).
24451 * sysdeps/unix/clock_gettime.c: Likewise.
24452 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24454 * rt/clock_getres.c: Define __clock_getres as an alias.
24455 * sysdeps/posix/clock_getres.c: Likewise.
24456 * rt/clock_settime.c: Define __clock_settime as an alias.
24457 * sysdeps/unix/clock_settime.c: Likewise.
24458 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24459 * sysdeps/unix/clock_nanosleep.c: Likewise.
24460 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24461 * rt/clock-compat.c: New file.
24462 * rt/Makefile (librt-routines): Add clock-compat and move
24463 $(clock-routines) to ...
24464 (routines): ... here, new variable.
24465 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24466 Don't add get_clockfreq here.
24467 * rt/Versions (libc: GLIBC_2.17): New version set.
24468 Add clock_* symbols here.
24469 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24470 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24471 (GLIBC_2.17): Add clock_* symbols.
24472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24474 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24483 * NEWS: Mention the move.
24485 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24486 Use __open, __read, __close rather than their public counterparts.
24487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24488 (__get_clockfreq_via_cpuinfo): Likewise.
24489 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24490 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24492 * config.h.in (HAVE_IFUNC): New #undef.
24493 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24495 * configure: Regenerated.
24497 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24499 * configure.in: Move READELF check to start of file.
24500 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24501 libc_cv_asm_gnu_indirect_function in the process.
24502 * configure: Regenerated.
24504 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24506 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24507 send the output to /dev/null.
24508 (libc_cv_cc_with_libunwind): Likewise.
24509 (libc_cv_as_noexecstack): Likewise.
24510 * configure: Regenerate.
24512 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24514 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24516 * posix/globtest.sh (TMPDIR): Do not set.
24517 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24518 (testout): Likewise.
24520 2012-10-24 Andreas Jaeger <aj@suse.de>
24522 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24523 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24524 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24525 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24526 posix_fadvise64, posix_fallocate64.
24528 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24529 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24530 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24532 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24534 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24537 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24538 <bits/fcntl-linux.h>.
24539 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24542 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24543 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24544 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24545 [__WORDSIZE != 64]: Likewise.
24547 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24549 * Makeconfig (run-built-tests): New variable.
24550 * Rules [$(cross-compiling) = yes]: Change condition to
24551 [$(run-built-tests) = no].
24552 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24553 to [$(run-built-tests) = yes].
24554 * elf/Makefile [$(cross-compiling) = no]: Likewise
24555 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24556 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24557 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24558 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24559 * io/Makefile [$(cross-compiling) = no]: Likewise.
24560 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24561 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24562 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24563 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24564 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24565 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24566 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24567 * string/Makefile [$(cross-compiling) = no]: Likewise.
24569 * posix/Makefile ($(objpfx)globtest.out): Pass
24570 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24571 $(rtld-installed-name).
24572 * posix/globtest.sh (elf_objpfx): Remove variable.
24573 (rtld_installed_name): Likewise.
24574 (library_path): Likewise.
24575 (run_program_prefix): New variable. Use for running globtest
24578 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24579 Joseph Myers <joseph@codesourcery.com>
24581 * Makeconfig (host-built-program-cmd): New variable.
24582 * elf/Makefile (tst-stackguard1-ARGS): Use
24583 $(host-built-program-cmd).
24584 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24585 (tst-spawn-ARGS): Likewise.
24586 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24588 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24589 Jim Blandy <jimb@codesourcery.com>
24591 * Makeconfig (run-via-rtld-prefix): New variable.
24592 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24593 (built-program-cmd): Likewise.
24595 2012-10-22 Andreas Jaeger <aj@suse.de>
24597 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24598 __O_RSYNC if it exists, otherwise to O_SYNC.
24600 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24601 Joseph Myers <joseph@codesourcery.com>
24603 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24605 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24607 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24610 2012-10-22 Andreas Jaeger <aj@suse.de>
24612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24617 bits/fcntl-linux.h.
24619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24620 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24627 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24628 Joseph Myers <joseph@codesourcery.com>
24630 * config.make.in (NM): New variable.
24632 2012-10-21 Andreas Jaeger <aj@suse.de>
24634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24635 definitions and declarations that are provided by
24636 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24638 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24641 * elf/Makefile (tests-static): Add tst-leaks1-static.
24642 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24643 ($(objpfx)tst-leaks1-static): New rule.
24644 ($(objpfx)tst-leaks1-static-mem): Likewise.
24645 (tst-leaks1-static-ENV): New macro.
24646 * elf/dl-open.c (dl_open_worker): Check the main application
24647 only if SHARED is defined.
24648 * elf/tst-leaks1-static.c: New file.
24650 2012-10-20 Andreas Jaeger <aj@suse.de>
24652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24653 generic values for Linux.
24654 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24655 and declarations that are provided by <bits/fcntl-linux.h> and
24656 include <bits/fcntl-linux.h>.
24657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24660 2012-10-20 Roland McGrath <roland@hack.frob.com>
24662 * io/fcntl.h: Move include of <bits/types.h> to the top and
24663 include it unconditionally.
24665 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24667 * wcsmbs/Makefile (tests-ifunc): New variable.
24668 (tests): Add $(tests-ifunc).
24669 * wcsmbs/test-wcschr-ifunc.c: New file.
24670 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24671 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24672 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24673 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24674 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24676 * string/Makefile (tests-ifunc): New variable.
24677 (tests): Add $(tests-ifunc).
24678 * string/test-memccpy.c (TEST_NAME): New macro.
24679 * string/test-memchr.c (TEST_NAME): Likewise.
24680 * string/test-memcmp.c (TEST_NAME): Likewise.
24681 * string/test-memcpy.c (TEST_NAME): Likewise.
24682 * string/test-memmem.c (TEST_NAME): Likewise.
24683 * string/test-memmove.c (TEST_NAME): Likewise.
24684 * string/test-memset.c (TEST_NAME): Likewise.
24685 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24686 * string/test-stpcpy.c (TEST_NAME): Likewise.
24687 * string/test-stpncpy.c (TEST_NAME): Likewise.
24688 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24689 * string/test-strcasestr.c (TEST_NAME): Likewise.
24690 * string/test-strcat.c (TEST_NAME): Likewise.
24691 * string/test-strchr.c (TEST_NAME): Likewise.
24692 * string/test-strcmp.c(TEST_NAME): Likewise.
24693 * string/test-strcpy.c (TEST_NAME): Likewise.
24694 * string/test-strcspn.c (TEST_NAME): Likewise.
24695 * string/test-strlen.c (TEST_NAME): Likewise.
24696 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24697 * string/test-strncmp.c (TEST_NAME): Likewise.
24698 * string/test-strncpy.c (TEST_NAME): Likewise.
24699 * string/test-strnlen.c (TEST_NAME): Likewise.
24700 * string/test-strpbrk.c (TEST_NAME): Likewise.
24701 * string/test-strrchr.c (TEST_NAME): Likewise.
24702 * string/test-strspn.c (TEST_NAME): Likewise.
24703 * string/test-strstr.c (TEST_NAME): Likewise.
24704 * string/test-bcopy-ifunc.c: New file.
24705 * string/test-bzero-ifunc.c: Likewise.
24706 * string/test-memccpy-ifunc.c: Likewise.
24707 * string/test-memchr-ifunc.c: Likewise.
24708 * string/test-memcmp-ifunc.c: Likewise.
24709 * string/test-memcpy-ifunc.c: Likewise.
24710 * string/test-memmem-ifunc.c: Likewise.
24711 * string/test-memmove-ifunc.c: Likewise.
24712 * string/test-mempcpy-ifunc.c: Likewise.
24713 * string/test-memset-ifunc.c: Likewise.
24714 * string/test-rawmemchr-ifunc.c: Likewise.
24715 * string/test-stpcpy-ifunc.c: Likewise.
24716 * string/test-stpncpy-ifunc.c: Likewise.
24717 * string/test-strcasecmp-ifunc.c: Likewise.
24718 * string/test-strcasestr-ifunc.c: Likewise.
24719 * string/test-strcat-ifunc.c: Likewise.
24720 * string/test-strchr-ifunc.c: Likewise.
24721 * string/test-strchrnul-ifunc.c: Likewise.
24722 * string/test-strcmp-ifunc.c: Likewise.
24723 * string/test-strcpy-ifunc.c: Likewise.
24724 * string/test-strcspn-ifunc.c: Likewise.
24725 * string/test-strlen-ifunc.c: Likewise.
24726 * string/test-strncasecmp-ifunc.c: Likewise.
24727 * string/test-strncat-ifunc.c: Likewise.
24728 * string/test-strncmp-ifunc.c: Likewise.
24729 * string/test-strncpy-ifunc.c: Likewise.
24730 * string/test-strnlen-ifunc.c: Likewise.
24731 * string/test-strpbrk-ifunc.c: Likewise.
24732 * string/test-strrchr-ifunc.c: Likewise.
24733 * string/test-strspn-ifunc.c: Likewise.
24734 * string/test-strstr-ifunc.c: Likewise.
24736 * debug/Makefile (tests-ifunc): New variable.
24737 (tests): Add $(tests-ifunc).
24738 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24739 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24740 * debug/test-stpcpy_chk-ifunc.c: New file.
24741 * debug/test-strcpy_chk-ifunc.c: Likewise.
24743 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24746 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24747 header is not read in.
24749 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24751 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24752 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24753 directly. Pass built executable to script as
24754 $(built-program-cmd).
24755 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24756 $testprogram without using LD_LIBRARY_PATH and $ldso.
24758 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24759 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24760 $(rtld-installed-name).
24761 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24762 (rtld_installed_name): Likewise.
24763 (library_path): Likewise.
24764 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24765 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24766 $(run-program-prefix) to tst-tables.sh.
24767 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24768 it to run tst-table-from and tst-table-to.
24769 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24770 Pass it to tst-table.sh.
24771 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24772 $(run-program-prefix) to tst-gettext.sh.
24773 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24775 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24777 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24778 to run tst-gettext.
24779 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24780 to run tst-gettext2.
24781 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24782 to run tst-translit.
24783 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24784 $(run-program-prefix) to tst-mtrace.sh.
24785 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24787 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24788 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24789 $(rtld-installed-name).
24790 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24791 (rtld_installed_name): Likewise.
24792 (run_program_prefix): New variable. Use it to run wordexp-test.
24794 * Makeconfig (ARCH): Remove all definitions.
24795 (machine): Likewise.
24796 [ARCH]: Remove conditional code.
24797 [!objdir]: Give error.
24798 [!objdir] (objpfx): Remove.
24799 [!objdir] (common-objpfx): Likewise.
24800 [!objdir] (common-objdir): Likewise.
24801 * configure.in (config_makefile): Remove. Hardcode Makefile in
24802 AC_CONFIG_FILES call.
24803 * configure: Regenerated.
24806 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24808 (testout): Likewise.
24810 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24811 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24812 $(rtld-installed-name).
24813 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24814 (rtld_installed_name): Likwise.
24815 (runit): Remove function.
24816 (run_getconf): New variable, Use it for running getconf binary.
24818 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24821 * string/test-memmem.c (check_result): New function.
24822 (do_one_test): Use it.
24823 (check1): New function.
24824 (test_main): Use it.
24826 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24828 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24830 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24832 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24833 (_G_LSEEK64): Likewise.
24834 (_G_MMAP64): Likewise.
24835 (_G_FSTAT64): Likewise.
24836 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24837 (_G_LSEEK64): Likewise.
24838 (_G_MMAP64): Likewise.
24839 (_G_FSTAT64): Likewise.
24840 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24841 unconditional. Call __mmap64 directly.
24842 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24843 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24844 __lseek64 directly.
24845 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24846 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24848 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24849 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24850 __lseek64 directly.
24851 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24852 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24853 __lseek64 directly.
24854 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24855 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24856 __lseek64 directly.
24857 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24858 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24859 __fxstat64 directly.
24860 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24861 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24863 (freopen64) [!_G_OPEN64]: Remove conditional code.
24864 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24866 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24867 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24869 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24870 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24872 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24873 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24875 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24876 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24878 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24879 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24881 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24882 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24884 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24886 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24889 * manual/memory.texi (Malloc Tunable Parameters): Add note
24890 about free list pointers overwriting some perturb bytes.
24891 Wording suggested by Roland McGrath.
24893 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24895 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24896 (lgamma_test): Likewise.
24897 (tgamma_test): Likewise.
24899 2012-10-16 Florian Weimer <fweimer@redhat.com>
24902 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24903 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24905 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24907 * NEWS: Mention BZ #14716.
24908 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24909 when removing AVAILABLE1_USES_J macro.
24911 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24913 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24914 (__bswap_64): __uint64_t for unsigned 64-bit int.
24916 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24918 * include/string.h (memmem): Declare libc hidden alias.
24919 * string/memmem.c (memmem): Define libc hidden alias.
24920 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24921 __read, __close instead of open, read, close.
24923 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24926 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24928 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24929 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24930 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24932 (__rawmemchr_sse2): Likewise.
24933 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24934 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24935 (__strchr_sse2): Likewise.
24936 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24937 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24938 (__strcasecmp_sse2): Likewise.
24939 (__strncasecmp_sse2): Likewise.
24940 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24941 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24942 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24943 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24944 (__strrchr_sse2): Likewise.
24945 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24947 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24948 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24949 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24950 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24951 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24952 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24953 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24954 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24955 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24956 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24957 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24958 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24959 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24960 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24961 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24962 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24963 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24964 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24965 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24966 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24967 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24968 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24969 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24970 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24971 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24972 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24973 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24974 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24975 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24976 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24978 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24980 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24981 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24982 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24983 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24985 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24987 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24988 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24989 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24990 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24992 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24993 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24994 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24995 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24996 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24997 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24998 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24999 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25000 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25001 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25005 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25006 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25008 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25009 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25010 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25011 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25012 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25013 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25014 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25015 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25017 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25018 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25019 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25020 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25021 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25022 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25023 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25024 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25025 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25026 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25027 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25028 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25029 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25030 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25031 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25032 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25034 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25035 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25036 * include/ifunc-impl-list.h: New file.
25037 * misc/ifunc-impl-list.c: Likewise.
25038 * misc/Makefile (routines): Add ifunc-impl-list.
25039 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25040 * string/test-string.h: Include <ifunc-impl-list.h>.
25041 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25042 TEST_NAME]: New variables.
25043 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25045 (test_init): Call __libc_ifunc_impl_list to initialize
25046 func_list if TEST_IFUNC and TEST_NAME are defined.
25048 * string/Makefile (strop-tests): Add bcopy and bzero.
25049 * string/test-bcopy.c: New file.
25050 * string/test-bzero.c: Likewise.
25051 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25053 * string/test-memset.c: Support bzero test if TEST_BZERO is
25055 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25057 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25059 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25062 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25064 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25065 * configure: Regenerated.
25067 * Makeconfig (+link-static-before-libc): Don't include
25068 $(link-static-libc).
25070 * libio/libio.h (_IO_pos_t): Remove.
25072 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25074 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25077 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25079 * crypt/crypt-entry.c: Include fips-private.h.
25080 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25081 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25082 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25083 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25085 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25087 * crypt/crypt-private.h: Include stdbool.h.
25088 (_ufc_setup_salt_r): Return bool.
25089 * crypt/crypt-entry.c: Include errno.h.
25090 (__crypt_r): Return NULL with EINVAL for bad salt.
25091 * crypt/crypt_util.c (bad_for_salt): New.
25092 (_ufc_setup_salt_r): Check that salt is long enough and within
25093 the specified alphabet.
25094 * crypt/badsalttest.c: New file.
25095 * crypt/Makefile (tests): Add it.
25096 ($(objpfx)badsalttest): New.
25098 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25100 * NEWS: Add entry for BZ #14602.
25102 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25104 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25106 * math/libm-test.inc: Update comment listing what functions and
25108 (isgreater_test): New function.
25109 (isgreaterequal_test): Likewise.
25110 (isless_test): Likewise.
25111 (islessequal_test): Likewise.
25112 (islessgreater_test): Likewise.
25113 (isunordered_test): Likewise.
25114 (main): Call the new functions.
25116 2012-10-09 Roland McGrath <roland@hack.frob.com>
25118 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25119 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25120 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25121 * sysdeps/i386/configure: Regenerated.
25122 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25123 * sysdeps/mach/configure: Regenerated.
25124 * sysdeps/mach/hurd/configure: Regenerated.
25125 * sysdeps/powerpc/configure: Regenerated.
25126 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25127 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25128 * sysdeps/s390/s390-32/configure: Regenerated.
25129 * sysdeps/s390/s390-64/configure: Regenerated.
25130 * sysdeps/sh/configure: Regenerated.
25131 * sysdeps/sparc/configure: Regenerated.
25132 * sysdeps/unix/sysv/linux/configure: Regenerated.
25133 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25134 * sysdeps/x86_64/configure: Regenerated.
25136 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25137 defined. Don't check if MAP is NULL.
25139 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25141 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25142 (_G_stat64): Likewise.
25143 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25144 (_G_stat64): Likewise.
25145 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25146 instead of struct _G_stat64.
25147 * libio/fileops.c (mmap_remap_check): Likewise.
25148 (decide_maybe_mmap): Likewise.
25149 (_IO_new_file_seekoff): Likewise.
25150 (_IO_file_stat): Likewise.
25151 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25153 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25154 instead of struct _G_stat64.
25155 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25157 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25160 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25162 (CHECK_EOL): New macro.
25163 (two_way_short_needle): Check beginning of haystack for EOL. Use
25165 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25166 Replace with CHECK_EOL.
25167 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25168 Replace with CHECK_EOL.
25170 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25172 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25174 * math/libm-test.inc: Update comment listing what functions and
25176 (finite_test): New function.
25177 (isinf_test): Likewise.
25178 (isnan_test): Likewise.
25179 (fpclassify_test): Test subnormal input.
25180 (isfinite_test): Likewise.
25181 (isnormal_test): Likewise.
25182 (main): Call the new functions.
25184 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25187 * Makerules (%.dynsym): Force C locale when running
25188 $(OBJDUMP) --dynamic-syms.
25190 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25192 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25195 2012-10-06 David S. Miller <davem@davemloft.net>
25197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25198 upper 32-bits of the length value in %o2 since we use branch-on-register
25199 tests which consider the entire 64-bit register.
25201 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25203 * string/test-strstr.c (check2): Add a test for page boundary.
25205 2012-10-05 David S. Miller <davem@davemloft.net>
25207 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25208 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25210 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25212 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25213 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25214 and bzero when HWCAP_SPARC_CRYPTO is present.
25216 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25219 * string/test-strstr.c (check2): New function.
25220 (test_main): Call check2.
25222 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25224 * string/bug-strcasestr1.c (do_test): Moved to ...
25225 * string/test-strcasestr.c (check1): Here. New function.
25226 (do_one_test): Break out result checking code into ...
25227 (check_result): This. New function.
25228 (do_one_test): Call check_result.
25229 (test_main): Call check1.
25230 * string/bug-strchr1.c (do_test): Moved to ...
25231 * string/test-strchr.c (check1): Here. New function.
25232 (do_one_test): Break out result checking code into ...
25233 (check_result): This. New function.
25234 (do_one_test): Call check_result.
25235 (test_main): Call check1.
25236 * string/bug-strstr1.c (main): Moved to ...
25237 * string/test-strstr.c (check1): Here. New function.
25238 (do_one_test): Break out result checking code into ...
25239 (check_result): This. New function.
25240 (do_one_test): Call check_result.
25241 (test_main): Call check1.
25242 * string/bug-strcasestr1.c: Removed.
25243 * string/bug-strchr1.c: Likewise.
25244 * string/bug-strstr1.c: Likewise.
25246 * elf/Makefile (dl-routines): Add hwcaps.
25247 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25248 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25249 (_dl_important_hwcaps): Moved to ...
25250 * elf/dl-hwcaps.c: Here. New file.
25251 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25254 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25255 if IS_IN_rtld isn't defined.
25257 * elf/dl-support.c (_dl_sysinfo_map): New.
25258 Include "get-dynamic-info.h" and "setup-vdso.h".
25259 (_dl_non_dynamic_init): Call setup_vdso.
25260 * elf/dynamic-link.h: Don't include <assert.h>.
25261 (elf_get_dynamic_info): Moved to ...
25262 * elf/get-dynamic-info.h: Here. New file.
25263 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25264 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25265 * elf/setup-vdso.h: Here. New file.
25266 * elf/rtld.c: Include "setup-vdso.h".
25267 (dl_main): Call setup_vdso.
25269 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25271 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25272 creal in comment listing functions tested. List finite, isinf,
25273 isnan, isless, islessequal, isgreater, isgreaterequal,
25274 islessgreater, isunordered, lgamma_r and pow10 as functions and
25275 macros not tested. Mention which functions not tested are aliases
25276 for other functions. Fix typo. Note that signs of NaNs are not
25279 * scripts/config.guess: Update from config.git.
25280 * scripts/config.sub: Likewise.
25282 2012-10-04 Roland McGrath <roland@hack.frob.com>
25284 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25285 * misc/madvise.c (madvise): Renamed to __madvise.
25286 Make madvise a weak alias.
25287 * include/sys/mman.h: Declare __madvise.
25288 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25289 * sysdeps/unix/syscalls.list
25290 (madvise): Make __madvise the strong name, and madvise a weak alias.
25291 * sysdeps/unix/sysv/linux/syscalls.list
25292 (madvise, mmap): Remove redundant entries.
25293 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25294 * malloc/malloc.c (mtrim): Likewise.
25295 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25297 2012-10-03 Roland McGrath <roland@hack.frob.com>
25299 * sysdeps/mach/hurd/dl-cache.c: File removed.
25300 * config.h.in (USE_LDCONFIG): New #undef.
25301 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25302 * configure: Regenerated.
25303 * elf/Makefile (dl-routines): Add dl-cache only under
25304 [$(use-ldconfig) = yes].
25305 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25306 cache on [USE_LDCONFIG].
25307 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25309 * elf/rtld.c (dl_main): Likewise.
25311 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25313 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25314 _SC_LEVEL4_CACHE_LINESIZE.
25316 2012-10-03 Roland McGrath <roland@hack.frob.com>
25318 * sysdeps/unix/bsd/confstr.h: File removed.
25320 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25322 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25325 2012-10-02 Roland McGrath <roland@hack.frob.com>
25327 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25328 Make 'mapoff' field ElfW(Off) rather than off_t.
25330 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25332 * nscd/Makefile: Remove nscd-cflags and all its users.
25333 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25334 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25337 * malloc.c (malloc_printerr): Clarify error message.
25339 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25343 Set bit_FMA_Usable if FMA is supported.
25344 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25346 (bit_FMA4_Usable): Updated.
25347 (index_FMA_Usable): New macro.
25348 (CPUID_FMA): Likewise
25349 (HAS_FMA): Defined with bit_FMA_Usable.
25351 2012-10-01 Roland McGrath <roland@hack.frob.com>
25353 * bits/types.h (__swblk_t): Type removed.
25354 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25355 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25356 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25357 (__SWBLK_T_TYPE): Likewise.
25358 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25359 (__SWBLK_T_TYPE): Likewise.
25360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25361 (__SWBLK_T_TYPE): Likewise.
25362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25363 (__SWBLK_T_TYPE): Likewise.
25365 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25366 Honza Horak <hhorak@redhat.com>
25368 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25369 (xdr_mapname): Use YPMAXMAP as maxsize.
25370 (xdr_peername): Use YPMAXPEER as maxsize.
25371 (xdr_keydat): Use YPAXRECORD as maxsize.
25372 (xdr_valdat): Use YPMAXRECORD as maxsize.
25374 2012-10-01 Roland McGrath <roland@hack.frob.com>
25376 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25378 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25379 * csu/init-first.c: ... here.
25380 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25381 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25382 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25384 * sysdeps/i386/init-first.c: File removed.
25385 * sysdeps/sh/init-first.c: File removed.
25387 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25391 if x * y might underflow to zero and z is zero.
25392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25394 * math/libm-test.inc (min_subnorm_value): New variable.
25395 (fma_test): Add more tests.
25396 (fma_test_towardzero): Likewise.
25397 (fma_test_downward): Likewise
25398 (fma_test_upward): Likewise.
25399 (initialize): Set min_subnorm_value.
25401 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25406 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25407 mode for addition resulting in exact zero.
25408 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25413 * math/libm-test.inc (fma_test): Add more tests.
25414 (fma_test_towardzero): New function.
25415 (fma_test_downward): Likewise.
25416 (fma_test_upward): Likewise.
25417 (main): Call the new functions.
25419 2012-09-28 David S. Miller <davem@davemloft.net>
25421 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25423 2012-09-28 Roland McGrath <roland@hack.frob.com>
25425 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25426 instead of SIGALRM.
25428 * sysdeps/gnu/_G_config.h: Moved to ...
25429 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25430 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25431 * sysdeps/generic/_G_config.h: ... here.
25433 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25435 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25437 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25438 Conditionalize target on [libnss_test1.so-version].
25440 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25442 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25443 (elfobjdir): Move out of conditionals.
25445 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25446 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25447 (__nss_lookup_function): Conditionalize label remove_from_tree on
25448 [!DO_STATIC_NSS || SHARED], matching its only use.
25450 2012-09-28 David S. Miller <davem@davemloft.net>
25452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25453 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25455 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25457 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25459 when HWCAP_SPARC_CRYPTO is present.
25461 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25463 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25465 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25468 * stdio-common/vfprintf.c (process_string_arg): Revert
25471 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25473 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25475 * stdio-common/tst-sprintf.c: Include <locale.h>
25476 (main): Test sprintf's handling of incomplete multibyte
25479 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25481 * elf/dl-runtime.c (VERSYMIDX): Removed.
25482 * elf/dl-version.c (VERSYMIDX): Likewise.
25483 * elf/do-rel.h (VERSYMIDX): Likewise.
25484 (VALIDX): Likewise.
25485 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25486 * elf/rtld.c (VALIDX): Likewise.
25487 (ADDRIDX): Likewise.
25488 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25489 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25490 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25491 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25492 (VALIDX): Likewise.
25493 (ADDRIDX): Likewise.
25495 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25497 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25499 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25502 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25504 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25505 addresses are in the same scope as 192.0.2/24.
25506 * posix/gai.conf: Document new scope table defaults.
25508 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25511 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25512 for ftell. Compute offsets from write pointers instead.
25513 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25515 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25518 * libio/Makefile (tests): New test case tst-fseek.
25519 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25520 combination works in wide mode.
25521 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25522 state when the external buffer state changes.
25524 2012-09-27 David S. Miller <davem@davemloft.net>
25527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25528 pass reloc->r_addend in as the 'high' argument to
25529 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25533 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25535 * rt/tst-aio2.c: Include <pthread.h>.
25536 * rt/tst-aio3.c: Likewise.
25538 2012-09-27 Steve Ellcey <sellcey@mips.com>
25540 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25542 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25544 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25545 contents on [SHARED].
25547 2012-09-26 Marek Polacek <polacek@redhat.com>
25551 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25552 for C++ and GCC <4.3 as well as for non GCC compilers.
25554 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25558 2012-09-25 Roland McGrath <roland@hack.frob.com>
25560 * Makefile.in (all, install): Declare with .PHONY.
25561 Reported by Michael Hope <michael.hope@linaro.org>.
25563 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25565 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25566 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25568 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25570 (sydep_routines): Add the new and the internal functions.
25571 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25572 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25574 (GLIBC_2.17): Add the new function.
25575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25576 (GLIBC_2.17): Likewise.
25577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25578 (GLIBC_2.17): Likewise.
25579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25580 (GLIBC_2.17): Likewise.
25581 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25583 2012-09-25 Alan Modra <amodra@gmail.com>
25585 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25586 Add release barrier before setting once_control to say
25587 initialisation is done. Add hints on lwarx. Use macro in
25589 (clear_once_control): Add release barrier.
25591 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25594 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25596 * math/s_clog10.c (__clog10): Likewise.
25597 * math/s_clog10f.c (__clog10f): Likewise.
25598 * math/s_clog10l.c (__clog10l): Likewise.
25599 * math/s_clogf.c (__clogf): Likewise.
25600 * math/s_clogl.c (__clogl): Likewise.
25601 * math/Makefile (libm-calls): Add x2y2m1.
25602 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25603 (__x2y2m1): Likewise.
25604 (__x2y2m1l): Likewise.
25605 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25606 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25609 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25610 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25611 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25612 * sysdeps/i386/fpu/libm-test-ulps: Update.
25613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25616 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25617 int as type of variable DEPTH.
25618 (glob): Use size_t instead of int as type of variables NEWCOUNT
25621 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25623 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25624 Add s_sincosf-sse2.
25625 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25626 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25627 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25628 macros for using routine as __sincosf_ia32.
25629 Use macro for function declaration and weak_alias.
25630 * sysdeps/i386/fpu/libm-test-ulps: Update.
25632 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25635 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25636 subnormal argument.
25637 * math/s_cexpf.c (__cexpf): Likewise.
25638 * math/s_csinf.c (__csinf): Likewise.
25639 * math/s_csinhf.c (__csinhf): Likewise.
25640 * math/s_ctanf.c (__ctanf): Likewise.
25641 * math/s_ctanhf.c (__ctanhf): Likewise.
25642 * math/s_ccosh.c (__ccoshf): Likewise.
25643 * math/s_cexp.c (__cexpl): Likewise.
25644 * math/s_csin.c (__csin): Likewise.
25645 * math/s_csinh.c (__csinh): Likewise.
25646 * math/s_ctan.c (__ctan): Likewise.
25647 * math/s_ctanh.c (ctanh): Likewise.
25648 * math/s_ccoshl.c (__ccoshl): Likewise.
25649 * math/s_cexpl.c (__cexpl): Likewise.
25650 * math/s_csinl.c (__csinl): Likewise.
25651 * math/s_csinhl.c (__csinhl): Likewise.
25652 * math/s_ctanl.c (__ctanl): Likewise.
25653 * math/s_ctanhl.c (__ctanhl): Likewise.
25655 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25657 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25658 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25659 (_IO_off_t): Define to __off_t, not _G_off_t.
25660 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25661 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25662 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25663 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25664 type of __dummy and __dummy2 fields.
25665 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25666 (_G_ssize_t): Likewise.
25667 (_G_off_t): Likewise.
25668 (_G_pid_t): Likewise.
25669 (_G_uid_t): Likewise.
25670 (_G_wchar_t): Likewise.
25671 (_G_wint_t): Likewise.
25672 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25673 (_G_ssize_t): Likewise.
25674 (_G_off_t): Likewise.
25675 (_G_pid_t): Likewise.
25676 (_G_uid_t): Likewise.
25677 (_G_wchar_t): Likewise.
25678 (_G_wint_t): Likewise.
25679 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25680 (_G_ssize_t): Likewise.
25681 (_G_off_t): Likewise.
25682 (_G_pid_t): Likewise.
25683 (_G_uid_t): Likewise.
25684 (_G_wchar_t): Likewise.
25685 (_G_wint_t): Likewise.
25687 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25689 * malloc/arena.c: Include malloc-sysdep.h.
25690 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25691 is sufficient to shrink the heap or an unmap is needed.
25692 * sysdeps/generic/malloc-sysdep.h: New file. Define
25693 new function check_may_shrink_heap.
25694 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25695 new function check_may_shrink_heap.
25697 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25699 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25702 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25704 * catgets/test-gencat.sh: Add "set -e".
25705 * elf/tst-pathopt.sh: Likewise.
25706 * grp/tst_fgetgrent.sh: Likewise.
25707 * iconvdata/run-iconv-test.sh: Likewise.
25708 * intl/tst-gettext.sh: Likewise.
25709 * intl/tst-gettext2.sh: Likewise.
25710 * intl/tst-gettext4.sh: Likewise.
25711 * intl/tst-gettext6.sh: Likewise.
25712 * intl/tst-translit.sh: Likewise.
25713 * io/ftwtest-sh: Likewise.
25714 * libio/test-freopen.sh: Likewise.
25715 * malloc/tst-mtrace.sh: Likewise.
25716 * posix/globtest.sh: Likewise.
25717 * posix/tst-getconf.sh: Likewise.
25718 * posix/wordexp-tst.sh: Likewise.
25719 * stdio-common/tst-printf.sh: Likewise.
25720 * stdio-common/tst-unbputc.sh: Likewise.
25721 * stdlib/tst-fmtmsg.sh: Likewise.
25722 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25723 * catgets/Makefile: Do not specify -e option when running
25724 testsuite shell scripts.
25725 * elf/Makefile: Likewise.
25726 * grp/Makefile: Likewise.
25727 * iconvdata/Makefile: Likewise.
25728 * intl/Makefile: Likewise.
25729 * io/Makefile: Likewise.
25730 * libio/Makefile: Likewise.
25731 * malloc/Makefile: Likewise.
25732 * posix/Makefile: Likewise.
25733 * stdio-common/Makefile: Likewise.
25734 * stdlib/Makefile: Likewise.
25735 * sysdeps/x86_64/Makefile: Likewise.
25737 * io/ftwtest-sh: Add copyright header.
25738 * posix/globtest.sh: Likewise.
25739 * posix/tst-getconf.sh: Likewise.
25740 * posix/wordexp-tst.sh: Likewise.
25741 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25743 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25746 * Makeconfig (+link): Defined as $(+link-static) if
25747 $(build-shared) isn't yes.
25748 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25750 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25752 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25755 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25756 new chunk size with MALLOC_ALIGN_MASK.
25758 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25761 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25763 (__printf_fphex): Determine rounding using get_rounding_mode and
25765 * stdio-common/tst-printf-round.c (struct hex_test): New
25767 (hex_tests): New variable.
25768 (test_hex_in_one_mode): New function.
25769 (do_test): Also run tests for hex float output.
25771 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25773 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25774 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25775 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25776 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25777 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25778 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25779 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25780 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25782 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25784 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25785 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25786 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25787 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25789 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25792 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25794 * elf/tst-rtld-load-self.sh: New test.
25795 * elf/Makefile: Run it.
25797 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25799 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25800 (tst-writev-ENV): Remove.
25801 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25803 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25805 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25807 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25809 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25811 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25813 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25814 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25815 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25818 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25821 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25822 * config.make.in (have-cpp-asm-debuginfo): Removed.
25823 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25824 * configure: Regenerated.
25826 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25829 * stdio-common/printf_fp.c: Include <stdbool.h> and
25831 (___printf_fp): Determine rounding using get_rounding_mode and
25833 * stdio-common/tst-printf-round.c: New file.
25834 * stdio-common/Makefile (tests): Add tst-printf-round.
25835 (link-libm): New variable.
25836 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25838 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25841 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25842 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25844 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25847 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25849 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25850 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25851 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25852 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25854 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25857 * include/rounding-mode.h: New file.
25858 * sysdeps/generic/get-rounding-mode.h: Likewise.
25859 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25860 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25861 (MAX_VALUE): New macro.
25862 (MIN_VALUE): Likewise.
25863 (overflow_value): New function.
25864 (underflow_value): Likewise.
25865 (round_and_return): Use overflow_value and underflow_value to
25866 determine return values in overflow and underflow cases. Use
25867 round_away to determine rounding depending on rounding mode.
25868 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25869 determine return values in overflow and underflow cases.
25870 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25871 (struct test_results): New structure.
25872 (struct test): Use struct test_results to store expected results
25873 for all rounding modes.
25874 (TEST): Include expected results for all rounding modes.
25875 (test_in_one_mode): New function.
25876 (do_test): Use test_in_one_mode to compute and check results.
25877 Check results for all rounding modes.
25878 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25881 2012-12-09 Allan McRae <allan@archlinux.org>
25883 * sysdeps/i386/fpu/libm-test-ulps: Update
25885 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25887 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25888 (_G_int32_t): Likewise.
25889 (_G_uint16_t): Likewise.
25890 (_G_uint32_t): Likewise.
25891 (_G_HAVE_BOOL): Likewise.
25892 (_G_HAVE_ATEXIT): Likewise.
25893 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25894 (_G_HAVE_IO_FILE_OPEN): Likewise.
25895 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25896 (_G_int32_t): Likewise.
25897 (_G_uint16_t): Likewise.
25898 (_G_uint32_t): Likewise.
25899 (_G_HAVE_BOOL): Likewise.
25900 (_G_HAVE_ATEXIT): Likewise.
25901 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25902 (_G_HAVE_IO_FILE_OPEN): Likewise.
25903 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25904 (_G_int32_t): Likewise.
25905 (_G_uint16_t): Likewise.
25906 (_G_uint32_t): Likewise.
25907 (_G_HAVE_BOOL): Likewise.
25908 (_G_HAVE_ATEXIT): Likewise.
25909 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25910 (_G_HAVE_IO_FILE_OPEN): Likewise.
25912 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25914 * csu/libc-tls.c: Update copyright years.
25916 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25918 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25919 [!_G_USING_THUNKS]: Remove conditional code.
25920 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25921 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25923 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25924 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25925 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25926 (_G_VTABLE_LABEL_PREFIX): Likewise.
25927 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25928 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25929 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25930 (_G_VTABLE_LABEL_PREFIX): Likewise.
25931 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25932 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25933 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25934 (_G_VTABLE_LABEL_PREFIX): Likewise.
25935 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25937 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25939 * libio/Makefile: Include ../Makeconfig before tests.
25940 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25941 only if $(build-shared) is yes.
25943 * iconv/gconv_db.c: Update copyright years.
25945 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25947 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25948 unwind info if defined PIC. Fix special cases description.
25949 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25951 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25953 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25955 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25957 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25959 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25962 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25963 (LDLIBS-tst-chk4): This.
25964 (LDFLAGS-tst-chk5): Renamed to ...
25965 (LDLIBS-tst-chk5): This.
25966 (LDFLAGS-tst-chk6): Renamed to ...
25967 (LDLIBS-tst-chk6): This.
25968 (LDFLAGS-tst-lfschk4): Renamed to ...
25969 (LDLIBS-tst-lfschk4): This.
25970 (LDFLAGS-tst-lfschk5): Renamed to ...
25971 (LDLIBS-tst-lfschk5): This.
25972 (LDFLAGS-tst-lfschk6): Renamed to ...
25973 (LDLIBS-tst-lfschk6): This.
25975 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25976 on $(common-objpfx)soversions.mk.
25978 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25981 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25984 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25986 * malloc/arena.c (arena_get_retry): New function that gets
25987 another arena for the caller to try its request on.
25988 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25989 current arena cannot fulfill the request.
25990 (__libc_memalign): Likewise.
25991 (__libc_memalign): Likewise.
25992 (__libc_pvalloc): Likewise.
25993 (__libc_calloc): Likewise.
25995 2012-09-05 John Tobey <john.tobey@gmail.com>
25998 * manual/arith.texi (Operations on Complex): Fix description
25999 of carg branch cut.
26001 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26004 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26008 * manual/memory.texi (Memory): Make order of menu items match
26011 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26013 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26014 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26015 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26017 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26019 * csu/libc-tls.c (static_dtv): Renamed to ...
26020 (_dl_static_dtv): This. Make it global.
26021 (_dl_initial_dtv): Removed.
26022 (__libc_setup_tls): Updated.
26023 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26024 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26027 2012-09-06 Petr Machata <pmachata@redhat.com>
26029 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26030 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26031 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26032 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26034 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26037 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26038 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26041 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26044 * Makeconfig (link-static-before-libc): Replace $(+prector)
26046 (link-static-after-libc): Replace $(+postctor) with
26048 (link-bounded): Replace $(+prector)/$(+postctor) with
26049 $(+prectorT)/$(+postctorT).
26050 (+prectorT): New macro.
26051 (+postctorT): Likewise.
26053 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26055 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26056 (round_str): Handle values above the maximum for IBM long double
26058 * stdlib/tst-strtod-round.c (tests): Regenerated.
26060 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26062 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26064 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26065 zarch_nohighgprs around the zarch optimized routines.
26066 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26067 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26071 2012-09-05 David S. Miller <davem@davemloft.net>
26073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26075 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26076 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26077 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26078 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26081 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26083 * malloc/arena.c: Fold copyright years.
26084 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26086 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26088 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26090 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26092 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26094 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26096 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26097 change internal state upon failure.
26099 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26101 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26102 * malloc/memusage.c (mmap): Likewise.
26103 (mmap64, mremap): Likewise. Adjust name in comment.
26105 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26107 * libio/fileops.c: Fix typos in comments.
26108 * libio/oldfileops.c: Likewise.
26109 * libio/wfileops.c: Likewise.
26111 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26114 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26115 (tst-malloc-usable-ENV): Set environment for test case.
26116 * malloc/hooks.c (malloc_check_get_size): New function to get
26118 * malloc/malloc.c (musable): Use malloc_check_get_size.
26119 * malloc/tst-malloc-usable.c: New test case.
26121 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26123 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26125 2012-09-05 Allan McRae <allan@archlinux.org>
26128 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26129 determine header location.
26130 * configure: Regenerated.
26132 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26134 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26136 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26137 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26139 (test): Regenerate.
26141 2012-09-04 David S. Miller <davem@davemloft.net>
26143 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26144 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26145 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26147 2012-09-04 Florian Weimer <fweimer@redhat.com>
26149 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26152 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26154 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26157 * libio/iogetdelim.c: Include <limits.h>.
26158 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26159 + len + 1 would overflow.
26161 2012-09-03 Andreas Jaeger <aj@suse.de>
26163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26164 * sysdeps/i386/fpu/libm-test-ulps: Update.
26166 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26168 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26169 Add s_sinf-sse2, s_conf-sse2.
26171 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26172 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26173 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26174 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26176 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26177 for using routine as __sinf_ia32.
26178 Use macro for function declaration and weak_alias.
26179 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26180 for using routine as __cosf_ia32.
26181 Use macro for function declaration and weak_alias.
26183 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26184 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26186 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26187 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26190 * math/libm-test.inc (cos_test): Add more test cases.
26191 (sin_test): Likewise.
26192 (sincos_test): Likewise.
26194 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26196 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26197 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26199 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26201 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26204 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26205 first element of the GOT.
26206 (elf_machine_load_address): Return the difference between
26207 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26209 2012-09-01 Allan McRae <allan@archlinux.org>
26212 * configure.in (AWK): Require gawk version 3.0 or later.
26213 * configure: Regenerated.
26215 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26217 * sysdeps/unix/sysv/linux/kernel-features.h
26218 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26219 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26220 [__NR_clock_getres]: Make code unconditional.
26221 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26222 (clock_getcpuclockid): Remove code left unreachable by removal of
26224 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26225 code unconditional.
26226 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26227 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26228 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26229 Make code unconditional.
26230 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26231 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26232 * sysdeps/unix/sysv/linux/clock_settime.c
26233 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26235 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26236 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26238 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26241 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26242 scripts/test-installation.pl.
26244 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26245 and $ld_so_version if it is set.
26247 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26250 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26251 failure if reading from procfs failed.
26252 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26254 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26256 * sysdeps/unix/sysv/linux/kernel-features.h
26257 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26258 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26259 Remove conditional code.
26260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26261 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26262 Remove conditional code.
26263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26264 * sysdeps/unix/sysv/linux/i386/fxstat.c
26265 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26267 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26268 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26270 * sysdeps/unix/sysv/linux/i386/lxstat.c
26271 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26273 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26274 Remove conditional code.
26275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26276 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26277 Remove conditional code.
26278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26279 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26280 <kernel-features.h>.
26281 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26283 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26284 Remove conditional code.
26285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26286 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26287 Remove conditional.
26289 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26292 * NEWS: Add fixed bug number.
26294 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26297 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26298 underflowing exponent in case of negative sign.
26299 * stdlib/tst-strtod-round-data: Add more tests.
26300 * stdlib/tst-strtod-round.c (tests): Regenerated.
26303 * stdlib/strtod_l.c (NDIG): Remove.
26304 (HEXNDIG): Likewise.
26305 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26306 smallest representable value.
26307 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26308 lie within an exact representation of 1/2 ulp of the result.
26309 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26311 (TENS_P9_IDX): Define unconditionally.
26312 (TENS_P9_SIZE): Likewise.
26313 (TENS_P10_IDX): Likewise.
26314 (TENS_P10_SIZE): Likewise.
26315 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26316 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26317 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26318 entries for 10^2^13 and 10^2^14.
26319 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26320 (TENS_P13_IDX): Define.
26321 (TENS_P13_SIZE): Likewise.
26322 (TENS_P14_IDX): Likewise.
26323 (TENS_P14_SIZE): Likewise.
26324 (_fpioconst_pow10): Change array size to
26325 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26327 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26328 1024]: Add entries for 10^2^13 and 10^2^14.
26329 [LAST_POW10 > _LAST_POW10]: Remove #error.
26330 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26331 (_fpioconst_pow10): Change array size to
26332 FPIOCONST_POW10_ARRAY_SIZE.
26333 * stdlib/gen-fpioconst.c: New file.
26334 * stdlib/gen-tst-strtod-round.c: Likewise.
26335 * stdlib/tst-strtod-round-data: Likewise.
26336 * stdlib/tst-strtod-round.c: Likewise.
26337 * stdlib/Makefile (tests): Add tst-strtod-round.
26340 * stdlib/strtod_l.c: Include <stdint.h>.
26341 (NDEBUG): Do not define.
26342 (round_and_return): Change EXPONENT parameter to type intmax_t.
26343 Rearrange calculations to avoid internal overflow possibilities.
26344 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26345 Rearrange calculations to avoid internal overflow possibilities.
26346 Assert that number fits inside MPNSIZE limbs.
26347 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26348 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26349 calculations and add assertions to avoid internal overflow
26350 possibilities. Add casts to avoid signed/unsigned operations.
26351 * stdlib/tst-strtod-overflow.c: New file.
26352 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26354 2012-08-25 Marek Polacek <polacek@redhat.com>
26356 * time/time.h: Fix some typos in comments.
26358 2012-08-23 Roland McGrath <roland@hack.frob.com>
26360 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26361 * posix/tst-rfc3484-2.c: Likewise.
26362 * posix/tst-rfc3484-3.c: Likewise.
26364 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26366 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26367 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26369 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26371 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26372 #include of fxstatat64.c.
26374 2012-08-22 Roland McGrath <roland@hack.frob.com>
26376 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26377 * shadow/getspent_r.c: Likewise.
26378 * shadow/getspnam.c: Likewise.
26379 * shadow/getspnam_r.c: Likewise.
26380 * gshadow/getsgent.c: Likewise.
26381 * gshadow/getsgent_r.c: Likewise.
26382 * gshadow/getsgnam.c: Likewise.
26383 * gshadow/getsgnam_r.c: Likewise.
26384 * inet/getnetbyad.c: Likewise.
26385 * inet/getnetbyad_r.c: Likewise.
26386 * inet/getnetbynm.c: Likewise.
26387 * inet/getnetbynm_r.c: Likewise.
26388 * inet/getnetent.c: Likewise.
26389 * inet/getnetent_r.c: Likewise.
26390 * inet/getproto.c: Likewise.
26391 * inet/getproto_r.c: Likewise.
26392 * inet/getprtent.c: Likewise.
26393 * inet/getprtent_r.c: Likewise.
26394 * inet/getprtname.c: Likewise.
26395 * inet/getprtname_r.c: Likewise.
26396 * inet/getrpcbyname.c: Likewise.
26397 * inet/getrpcbyname_r.c: Likewise.
26398 * inet/getrpcbynumber.c: Likewise.
26399 * inet/getrpcbynumber_r.c: Likewise.
26400 * inet/getrpcent.c: Likewise.
26401 * inet/getrpcent_r.c: Likewise.
26402 * inet/getaliasent.c: Likewise.
26403 * inet/getaliasent_r.c: Likewise.
26404 * inet/getaliasname.c: Likewise.
26405 * inet/getaliasname_r.c: Likewise.
26406 * nscd/getgrgid_r.c: Likewise.
26407 * nscd/getgrnam_r.c: Likewise.
26408 * nscd/gethstbyad_r.c: Likewise.
26409 * nscd/gethstbynm3_r.c: Likewise.
26410 * nscd/getpwnam_r.c: Likewise.
26411 * nscd/getpwuid_r.c: Likewise.
26412 * nscd/getsrvbynm_r.c: Likewise.
26413 * nscd/getsrvbypt_r.c: Likewise.
26414 * nscd/gai.c: Likewise.
26416 * configure.in (build_nscd): New substituted variable, set
26417 by --disable-build-nscd and defaults to $use_nscd.
26418 * configure: Regenerated.
26419 * config.make.in (build-nscd): New substituted variable.
26420 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26421 Change conditional to require [$(build-nscd) = yes] as well.
26422 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26425 * configure.in (use_nscd): New substituted variable, set by
26426 --disable-nscd. If enabled, define USE_NSCD.
26427 * configure: Regenerated.
26428 * config.h.in: Add USE_NSCD.
26429 * config.make.in (use-nscd): New substituted variable.
26430 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26431 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26432 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26433 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26434 (CFLAGS-getgrnam_r.c): Likewise.
26435 (CFLAGS-initgroups.c): Likewise.
26436 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26437 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26439 * inet/getnetgrent_r.c
26440 (nscd_setnetgrent): New function, broken out of ...
26441 (setnetgrent): ... here. Call it.
26442 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26443 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26444 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26445 * nscd/Makefile (routines, aux): Move definitions after include of
26446 Makeconfig. Conditionalize on [$(use-nscd) != no].
26447 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26448 Conditionalize on [USE_NSCD].
26449 (is_nscd, nscd_init_cb): Likewise.
26450 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26451 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26452 * nss/nss_db/db-init.c: Likewise.
26453 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26455 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26456 (make_request): Use it.
26457 (cache_valid_p): New function.
26458 (__check_pf): Use it.
26459 * NEWS: Add item for --disable-nscd.
26461 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26463 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26464 to support sed >= 4.2.1-20-ga9bf076.
26465 * configure: Regenerated.
26467 2012-08-22 Roland McGrath <roland@hack.frob.com>
26469 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26470 Conditionalize whole body on [IREL].
26472 2012-08-22 Jeff Law <law@redhat.com>
26475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26476 if the family is PF_UNSPEC.
26478 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26480 * Makerules (lib-version): Rename from V.
26481 (install-lib-nosubdir): Change V to lib-version.
26483 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26486 * powerpc32/power6/wcschr.c: New file.
26487 * powerpc32/power6/wcscpy.c: New file.
26488 * powerpc32/power6/wcsrchr.c: New file.
26489 * powerpc64/power6/wcschr.c: New file.
26490 * powerpc64/power6/wcscpy.c: New file.
26491 * powerpc64/power6/wcsrchr.c: New file.
26493 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26495 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26496 (two_way_short_needle): Use it.
26497 * string/strstr.c (AVAILABLE1_USES_J): Define.
26498 * string/strcasestr.c: Likewise.
26500 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26502 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26505 * NEWS: Add an entry.
26506 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26507 define their defaults.
26508 (two_way_short_needle): Detect end-of-string on-the-fly.
26509 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26510 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26511 * string/bug-strcasestr1.c: New test.
26512 * string/Makefile: Run it.
26514 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26517 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26518 the first character.
26520 2012-08-21 Roland McGrath <roland@hack.frob.com>
26522 * csu/elf-init.c (__libc_csu_irel): Function removed.
26523 * csu/libc-start.c (apply_irel): New function.
26524 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26526 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26528 * sysdeps/unix/sysv/linux/kernel-features.h
26529 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26530 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26531 <kernel-features.h>.
26532 [__NR_fadvise64_64]: Make code unconditional.
26533 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26534 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26535 !__NR_fadvise64_64)]: Likewise.
26536 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26537 !__NR_fadvise64_64))]: Likewise.
26538 [__NR_fadvise64]: Make code unconditional.
26539 [!__NR_fadvise64]: Remove conditional code.
26540 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26541 <kernel-features.h>.
26542 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26544 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26547 not include <kernel-features.h>.
26548 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26550 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26552 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26553 include <kernel-features.h>.
26554 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26556 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26559 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26561 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26562 slight instruction rearrangements per scrollpipe analysis.
26563 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26565 2012-08-20 Roland McGrath <roland@hack.frob.com>
26567 * manual/syslog.texi (syslog; vsyslog, closelog):
26568 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26569 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26571 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26572 DSOCAPS to match condition on defining it.
26574 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26576 * sysdeps/unix/sysv/linux/kernel-features.h
26577 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26579 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26580 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26582 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26583 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26585 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26586 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26588 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26589 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26591 * sysdeps/unix/sysv/linux/kernel-features.h
26592 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26593 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26595 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26596 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26597 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26598 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26599 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26600 Make code unconditional.
26601 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26602 (__mmap64) [!__NR_mmap2]: Likewise.
26603 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26604 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26605 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26606 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26607 [__NR_mmap2]: Make code unconditional.
26608 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26609 (__mmap64) [!__NR_mmap2]: Likewise.
26611 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26613 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26615 2012-08-18 Andreas Jaeger <aj@suse.de>
26617 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26619 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26621 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26622 * include/unistd.h (__have_sock_cloexec): Likewise.
26623 (__have_pipe2): Likewise.
26624 (__have_dup3): Likewise.
26626 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26629 * include/unistd.h (__have_pipe2): Change define into an extern int.
26630 (__have_dup3): Likewise.
26631 * socket/have_sock_cloexec.c: Include fcntl.h.
26632 (__have_pipe2): New variable.
26633 (__have_dup3): Likewise.
26635 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26637 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26639 2012-08-17 Marek Polacek <polacek@redhat.com>
26641 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26642 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26644 2012-08-17 Roland McGrath <roland@hack.frob.com>
26646 * configure.in: Add AC_SUBST for sysheaders.
26647 * configure: Regenerated.
26648 * config.make.in (sysheaders): New substituted variable.
26650 * sysdeps/unix/mkfifo.c: Moved ...
26651 * sysdeps/posix/mkfifo.c: ... here.
26652 * sysdeps/unix/mkfifoat.c: Moved ...
26653 * sysdeps/posix/mkfifoat.c: ... here.
26655 * sysdeps/unix/utime.c: Moved ...
26656 * sysdeps/posix/utime.c: ... here.
26658 * sysdeps/unix/time.c: Moved ...
26659 * sysdeps/posix/time.c: ... here.
26660 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26661 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26663 * sysdeps/unix/nice.c: Moved ...
26664 * sysdeps/posix/nice.c: ... here.
26666 * sysdeps/unix/alarm.c: Moved ...
26667 * sysdeps/posix/alarm.c: ... here.
26669 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26671 2012-08-17 Jeff Law <law@redhat.com>
26673 * intl/Makefile (codeset_mo): New variable.
26674 ($(codeset_mo)): New target.
26675 (tst-codeset.out): Depend on that. Remove explicit rule.
26676 (tst-gettext3.out, tst-gettext5.out): Likewise.
26677 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26678 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26679 * intl/tst-codeset.sh: Remove.
26680 * intl/tst-gettext3.sh: Likewise.
26681 * intl/tst-gettext5.sh: Likewise.
26683 2012-08-17 Roland McGrath <roland@hack.frob.com>
26685 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26686 * sysdeps/unix/syscalls.list: ... here.
26688 * sysdeps/posix/getaddrinfo.c
26689 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26690 (gaiconf_init, gaiconf_reload): Use them.
26691 [!_STATBUF_ST_NSEC]
26692 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26693 Define using time_t rather than struct timespec.
26695 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26696 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26698 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26700 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26701 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26704 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26705 __libc_cleanup_push argument.
26707 * bits/param.h: New file.
26708 * misc/sys/param.h: New file.
26709 * include/sys/param.h: New file.
26710 * misc/Makefile (headers): Add bits/param.h.
26711 * sysdeps/generic/sys/param.h: File removed.
26712 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26713 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26714 * sysdeps/mach/hurd/bits/param.h: New file.
26715 * sysdeps/mach/hurd/sys/param.h: File removed.
26717 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26720 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26722 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26723 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26726 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26727 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26728 rather than -D_IO_MTSAFE_IO conditionally.
26729 * stdio-common/Makefile (CPPFLAGS): Likewise.
26730 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26731 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26732 Use $(libio-mtsafe).
26733 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26734 of -D_IO_MTSAFE_IO.
26735 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26736 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26737 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26738 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26739 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26740 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26741 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26742 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26743 (CFLAGS-fread_u_chk.c): Likewise.
26744 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26745 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26746 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26747 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26748 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26749 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26750 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26751 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26752 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26754 * libio/Makefile: Test [$(libc-reentrant) = yes]
26755 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26758 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26759 * sysdeps/pthread/configure: File removed.
26760 * sysdeps/pthread/Makeconfig: New file.
26761 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26762 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26764 2012-08-16 Gary Benson <gbenson@redhat.com>
26766 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26767 unmapping the first object in a namespace.
26769 2012-08-16 Roland McGrath <roland@hack.frob.com>
26771 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26772 (__internal_setnetgrent): ... this. Add internal_function to
26773 definition. Add libc_hidden_def.
26774 (setnetgrent): Update caller.
26775 (internal_endnetgrent): Renamed to ...
26776 (__internal_endnetgrent): ... this. Add internal_function to
26777 definition. Add libc_hidden_def.
26778 (endnetgrent): Update caller.
26779 (internal_getnetgrent_r): Renamed to ...
26780 (__internal_getnetgrent_r): ... this. Add internal_function to
26781 definition. Add libc_hidden_def.
26782 (__getnetgrent_r): Update caller.
26783 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26785 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26787 * stdlib/longlong.h: Update from GCC.
26789 2012-08-16 Roland McGrath <roland@hack.frob.com>
26791 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26792 on _QL, which is set by umul_ppmm but never used.
26793 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26794 variables, which are set by GMP macros but never used.
26795 * stdio-common/_itowa.c (_itowa): Likewise.
26796 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26797 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26799 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26801 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26802 struct La_sh_regs is not constant.
26803 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26804 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26805 and struct La_sparc64_regs are not constant.
26807 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26809 * sysdeps/unix/sysv/linux/kernel-features.h
26810 (__ASSUME_POSIX_TIMERS): Remove.
26811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26812 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26813 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26814 Make code unconditional.
26815 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26816 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26817 Make code unconditional.
26818 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26819 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26820 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26821 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26822 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26823 Make code unconditional.
26824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26825 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26826 (__libc_missing_posix_timers): Remove.
26828 2012-08-15 Roland McGrath <roland@hack.frob.com>
26830 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26831 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26833 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26835 * elf/dl-sym.c: Include <stdlib.h>.
26837 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26838 constants, which avoids warnings in 32-bit builds.
26840 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26841 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26843 * misc/lseek.c: File moved to ...
26844 * io/lseek.c: ... here.
26846 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26848 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26849 shifting LEN more than 31 bits at once.
26851 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26854 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26855 segmentation fault for a case of two empty input strings.
26856 * string/test-strncasecmp.c (check1): Renamed to...
26857 (bz12205): ...this.
26858 (bz14195): Add new testcase for two empty input strings and N > 0.
26859 (test_main): Call new testcase, adapt for renamed function.
26861 2012-08-15 Andreas Jaeger <aj@suse.de>
26864 * crypt/md5test2.c: New test, based on test supplied by Serge
26865 Belyshev <belyshev@depni.sinp.msu.ru>.
26866 * crypt/Makefile (xtests): Add md5test-giant..
26867 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26869 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26872 * crypt/md5.c (md5_process_block): Don't assume the buffer
26873 length is less than 2**32.
26874 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26875 length is less than 2**64.
26877 2012-08-15 Roland McGrath <roland@hack.frob.com>
26879 * string/str-two-way.h: Include <sys/param.h>.
26880 (MAX): Macro removed.
26882 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26883 Move #define and #undef of memmove to just before and after
26884 including <string.h>.
26886 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26887 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26888 and after including <string.h>. Move declarations of
26889 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26890 to before #include "string/memmove.c".
26892 * include/dirent.h: Declare __getdirentries.
26894 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26895 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26897 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26899 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26900 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26901 * sysdeps/i386/configure: Regenerated.
26902 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26903 STABS_CURRENT_FILE, and STABS_FUN.
26904 (END): Remove call to STABS_FUN_END.
26905 (STABS_CURRENT_FILE1): Delete.
26906 (STABS_CURRENT_FILE): Likewise.
26907 (STABS_FUN): Likewise.
26908 (STABS_FUN_END): Likewise.
26909 (STABS_FUN2): Likewise.
26910 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26911 * sysdeps/x86_64/configure: Regenerated.
26913 2012-08-14 Roland McGrath <roland@hack.frob.com>
26915 * elf/dl-open.c: Include <atomic.h>.
26916 * elf/dl-lookup.c: Likewise.
26918 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26920 * sysdeps/unix/sysv/linux/kernel-features.h
26921 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26922 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26924 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26926 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26927 condition on __ASSUME_CLONE_THREAD_FLAGS.
26929 2012-08-14 Andreas Jaeger <aj@suse.de>
26931 * sysdeps/i386/fpu/libm-test-ulps: Update.
26933 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26935 * include/atomic.h (atomic_exchange_and_add): Split into ...
26936 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26939 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26943 2012-08-13 Jeff Law <law@redhat.com>
26945 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26946 null byte in the output string.
26948 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26950 * sysdeps/unix/sysv/linux/kernel-features.h
26951 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26952 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26953 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26954 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26955 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26956 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26957 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26959 2012-08-09 Jeff Law <law@redhat.com>
26962 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26963 When avoid_arena is set, don't retry in the that arena. Pick the
26964 next one, whatever it might be.
26965 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26966 (arena_lock): Pass in new parameter to arena_get2.
26967 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26969 (__libc_malloc): Unify retrying after main arena failure with
26970 __libc_memalign version.
26971 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26973 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26976 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26977 to __redirect_strstr.
26978 (__strstr_sse42): Use typeof __redirect_strstr.
26979 (__strstr_ia32): Likewise.
26980 (__libc_strstr): New prototype.
26981 (strstr): Renamed to ...
26982 (__libc_strstr): This.
26983 (strstr): New strong alias of __libc_strstr.
26984 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26985 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26988 (__libc_time): New prototype.
26989 (time_ifunc): Replace time with __libc_time.
26990 (time): New strong alias and hidden definition of __libc_time.
26991 (__GI_time): Remove strong alias.
26992 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26993 Include <stddef.h>.
26994 (memmove): Redefined to __redirect_memmove.
26995 (__memmove_sse2): Use typeof __redirect_memmove.
26996 (__memmove_ssse3): Likewise.
26997 (__memmove_ssse3_back): Likewise.
26998 (__libc_memmove): New prototype.
26999 (memmove): Renamed to ...
27000 (__libc_memmove): This.
27001 (memmove): New strong alias of __libc_memmove.
27003 2012-08-08 Mark Salter <msalter@redhat.com>
27006 (R_MN10300_TLS_GD): Define.
27007 (R_MN10300_TLS_LD): Likewise.
27008 (R_MN10300_TLS_LDO): Likewise.
27009 (R_MN10300_TLS_GOTIE): Likewise.
27010 (R_MN10300_TLS_IE): Likewise.
27011 (R_MN10300_TLS_LE): Likewise.
27012 (R_MN10300_TLS_DTPMOD): Likewise.
27013 (R_MN10300_TLS_DTPOFF): Likewise.
27014 (R_MN10300_TLS_TPOFF): Likewise.
27015 (R_MN10300_SYM_DIFF): Likewise.
27016 (R_MN10300_ALIGN): Likewise.
27017 (R_MN10300_NUM): Update.
27019 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27021 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27024 2012-08-08 Roland McGrath <roland@hack.frob.com>
27026 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27028 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27029 sysdeps/unix -> sysdeps/posix move.
27030 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27032 2012-08-07 Allan McRae <allan@archlinux.org>
27035 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27036 (SUNOS_CPP): Likewise.
27037 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27039 (open_input): Call CPP using execvp.
27041 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27043 * sysdeps/unix/sysv/linux/kernel-features.h
27044 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27045 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27046 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27047 (__ASSUME_WAITID_SYSCALL): Likewise.
27048 * sysdeps/unix/sysv/linux/dl-execstack.c
27049 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27050 code unconditional.
27051 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27054 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27055 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27057 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27059 [__ASSUME_WAITID_SYSCALL]: Likewise.
27060 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27062 2012-08-07 Roland McGrath <roland@hack.frob.com>
27064 * sysdeps/unix/closedir.c: Renamed to ...
27065 * sysdeps/posix/closedir.c: ... here.
27066 * sysdeps/unix/dirfd.c: Renamed to ...
27067 * sysdeps/posix/dirfd.c: ... here.
27068 * sysdeps/unix/dirstream.h: Renamed to ...
27069 * sysdeps/posix/dirstream.h: ... here.
27070 * sysdeps/unix/fdopendir.c: Renamed to ...
27071 * sysdeps/posix/fdopendir.c: ... here.
27072 * sysdeps/unix/opendir.c: Renamed to ...
27073 * sysdeps/posix/opendir.c: ... here.
27074 * sysdeps/unix/readdir.c: Renamed to ...
27075 * sysdeps/posix/readdir.c: ... here.
27076 * sysdeps/unix/readdir_r.c: Renamed to ...
27077 * sysdeps/posix/readdir_r.c: ... here.
27078 * sysdeps/unix/rewinddir.c: Renamed to ...
27079 * sysdeps/posix/rewinddir.c: ... here.
27080 * sysdeps/unix/seekdir.c: Renamed to ...
27081 * sysdeps/posix/seekdir.c: ... here.
27082 * sysdeps/unix/telldir.c: Renamed to ...
27083 * sysdeps/posix/telldir.c: ... here.
27084 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27085 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27086 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27087 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27089 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27090 * bits/fcntl.h: ... here.
27092 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27094 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27095 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27096 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27097 (struct flock): Move l_start, l_len to the beginning.
27098 Use __pid_t for l_pid.
27099 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27100 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27101 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27102 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27103 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27104 [__USE_LARGEFILE64] (struct flock64): New type.
27105 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27107 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27108 * bits/dirent.h: ... here.
27110 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27111 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27113 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27116 Change from 2.6.0 to 2.6.16.
27117 * sysdeps/unix/sysv/linux/configure: Regenerated.
27118 * sysdeps/unix/sysv/linux/kernel-features.h
27119 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27120 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27122 (__ASSUME_UTIMES): Likewise.
27123 (__ASSUME_CLONE_STOPPED): Remove.
27124 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27125 architectures, not kernel version.
27126 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27127 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27128 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27129 (__ASSUME_WAITID_SYSCALL): Likewise.
27130 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27131 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27132 * README: State 2.6.16 as minimum Linux kernel version. Do not
27133 refer to older versions.
27135 2012-08-06 Roland McGrath <roland@hack.frob.com>
27137 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27138 Define alphasort64 as an alias.
27139 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27140 Define versionsort64 as an alias.
27141 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27142 Define scandir64 as an alias.
27143 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27144 Define scandirat64 as an alias.
27145 * dirent/alphasort64.c (alphasort64):
27146 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27147 * dirent/versionsort64.c: Likewise.
27148 * dirent/scandir64.c: Likewise.
27149 * dirent/scandirat64.c: Likewise.
27150 * sysdeps/wordsize-64/alphasort.c: File removed.
27151 * sysdeps/wordsize-64/alphasort64.c: File removed.
27152 * sysdeps/wordsize-64/scandir.c: File removed.
27153 * sysdeps/wordsize-64/scandir64.c: File removed.
27154 * sysdeps/wordsize-64/scandirat.c: File removed.
27155 * sysdeps/wordsize-64/scandirat64.c: File removed.
27156 * sysdeps/wordsize-64/versionsort.c: File removed.
27157 * sysdeps/wordsize-64/versionsort64.c: File removed.
27158 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27159 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27160 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27161 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27162 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27163 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27164 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27167 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27169 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27171 [defined __arch64__ || defined __sparcv9]
27172 (__INO_T_MATCHES_INO64_T): New macro.
27173 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27174 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27175 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27176 * sysdeps/unix/sysv/linux/bits/dirent.h
27177 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27178 (_DIRENT_MATCHES_DIRENT64): New macro.
27180 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27181 Define lockf64 as an alias.
27182 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27183 Define fseeko64 as an alias.
27184 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27185 Define ftello64 as an alias.
27186 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27187 Define _IO_fgetpos64 and fgetpos64 as aliases.
27188 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27189 Define _IO_fsetpos64 and fsetpos64 as aliases.
27190 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27191 Conditionalize body on this.
27192 * libio/fseeko64.c: Likewise.
27193 * libio/ftello64.c: Likewise.
27194 * libio/iofgetpos64.c: Likewise.
27195 * libio/iofsetpos64.c: Likewise.
27196 * sysdeps/wordsize-64/lockf.c: File removed.
27197 * sysdeps/wordsize-64/lockf64.c: File removed.
27198 * sysdeps/wordsize-64/fseeko.c: File removed.
27199 * sysdeps/wordsize-64/fseeko64.c: File removed.
27200 * sysdeps/wordsize-64/ftello.c: File removed.
27201 * sysdeps/wordsize-64/ftello64.c: File removed.
27202 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27203 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27204 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27205 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27206 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27207 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27208 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27210 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27212 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27213 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27215 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27217 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27219 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27221 [defined __arch64__ || defined __sparcv9]
27222 (__OFF_T_MATCHES_OFF64_T): New macro.
27223 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27224 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27226 (__OFF_T_MATCHES_OFF64_T): New macro.
27228 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27230 * stdlib/secure-getenv.c (__secure_getenv): Replace
27231 GLIBC_2_16 with GLIBC_2_17.
27233 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27235 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27236 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27238 2012-08-03 David S. Miller <davem@davemloft.net>
27240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27242 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27244 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27246 (__ASSUME_CORRECT_SI_PID): Likewise.
27247 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27248 (__ASSUME_TMPFS_NAME): Likewise.
27249 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27250 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27251 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27252 (HAVE_AUX_SECURE): Make definition unconditional.
27253 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27254 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27256 2012-08-03 Roland McGrath <roland@hack.frob.com>
27258 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27259 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27260 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27261 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27262 __eloop_threshold instead of SYMLOOP_MAX.
27264 * sysdeps/generic/eloop-threshold.h: New file.
27265 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27267 * elf/chroot_canon.c (chroot_canon): Likewise.
27269 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27273 Change to 2.6.0 everywhere.
27274 * sysdeps/unix/sysv/linux/configure: Regenerated.
27275 * sysdeps/unix/sysv/linux/kernel-features.h
27276 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27277 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27279 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27280 (__ASSUME_FUTEX_REQUEUE): Remove.
27281 (__ASSUME_STATFS64): Define unconditionally.
27282 (__ASSUME_AT_SECURE): Likewise.
27283 (__ASSUME_CORRECT_SI_PID): Likewise.
27284 (__ASSUME_TGKILL): Define without depending on kernel version for
27286 (__ASSUME_UTIMES): Likewise.
27287 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27289 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27290 (__ASSUME_TMPFS_NAME): Likewise.
27291 * README: Update reference to Linux kernel versions.
27293 2012-08-02 Marek Polacek <polacek@redhat.com>
27296 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27297 libc_cv_asm_type_prefix with %.
27298 * configure: Regenerated.
27299 * include/libc-symbols.h: Remove comment about
27300 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27301 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27302 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27303 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27304 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27305 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27306 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27307 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27308 * elf/tst-unique2mod1.c: Likewise.
27309 * elf/tst-unique1mod2.c: Likewise.
27310 * elf/tst-unique1mod1.c: Likewise.
27311 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27312 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27313 Replace ASM_TYPE_DIRECTIVE with .type.
27314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27315 * sysdeps/i386/sysdep.h: Likewise.
27316 * sysdeps/x86_64/sysdep.h: Likewise.
27317 * sysdeps/sh/sysdep.h: Likewise.
27318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27319 Do not define ASM_TYPE_DIRECTIVE.
27320 * sysdeps/powerpc/sysdep.h: Likewise.
27321 * sysdeps/powerpc/powerpc32/sysdep.h:
27322 Replace ASM_TYPE_DIRECTIVE with .type.
27323 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27324 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27325 * sysdeps/i386/fpu/e_powf.S: Likewise.
27326 * sysdeps/i386/fpu/e_expl.S: Likewise.
27327 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27328 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27329 * sysdeps/i386/fpu/e_pow.S: Likewise.
27330 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27331 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27332 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27333 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27334 * sysdeps/i386/fpu/e_log2.S: Likewise.
27335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27337 * sysdeps/i386/fpu/e_powl.S: Likewise.
27338 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27339 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27340 * sysdeps/i386/fpu/e_logl.S: Likewise.
27341 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27342 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27343 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27344 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27345 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27346 * sysdeps/i386/fpu/e_log.S: Likewise.
27347 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27348 * sysdeps/i386/fpu/e_logf.S: Likewise.
27349 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27350 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27351 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27352 * sysdeps/i386/fpu/e_log10.S: Likewise.
27353 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27354 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27355 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27356 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27357 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27358 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27359 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27360 * sysdeps/i386/i686/strtok.S: Likewise.
27361 * sysdeps/i386/i386-mcount.S: Likewise.
27362 * sysdeps/i386/strtok.S: Likewise.
27363 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27364 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27365 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27366 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27367 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27368 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27369 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27370 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27371 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27372 * sysdeps/x86_64/_mcount.S: Likewise.
27373 * sysdeps/x86_64/strtok.S: Likewise.
27374 * sysdeps/sh/_mcount.S: Likewise.
27376 2012-08-01 Roland McGrath <roland@hack.frob.com>
27378 * libio/iofopen.c: Include <fcntl.h>.
27379 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27380 (_IO_fopen64, fopen64): Define as aliases.
27381 * libio/iofopen64.c: Include <fcntl.h>.
27382 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27383 Conditionalize body on this.
27384 * sysdeps/wordsize-64/iofopen.c: File removed.
27385 * sysdeps/wordsize-64/iofopen64.c: File removed.
27387 2012-08-01 Marek Polacek <polacek@redhat.com>
27389 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27390 Use dlfcn directly instead of a variable.
27391 (binfmt-subdir): Do not define.
27394 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27397 Remove all definitions.
27398 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27399 <kernel-features.h>.
27400 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27401 (miss_F_GETOWN_EX): Remove all definitions.
27402 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27404 [!__ASSUME_FCNTL64]: Remove conditional code.
27405 [__ASSUME_FCNTL64]: Make code unconditional.
27406 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27407 <kernel-features.h>.
27408 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27409 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27410 (lockf64) [__NR_fcntl64]: Make code unconditional.
27411 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27413 * sysdeps/unix/sysv/linux/kernel-features.h
27414 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27415 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27416 Make code unconditional.
27417 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27418 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27420 [__NR_vfork]: Make code unconditional.
27421 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27422 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27424 [__NR_vfork]: Make code unconditional.
27425 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27426 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27428 2012-08-01 Roland McGrath <roland@hack.frob.com>
27430 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27431 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27433 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27434 Define mkstemp64 as an alias.
27435 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27436 Define mkstemps64 as an alias.
27437 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27438 Define mkostemp64 as an alias.
27439 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27440 Define mkostemps64 as an alias.
27441 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27442 Conditionalize body on this.
27443 * misc/mkostemp64.c: Likewise.
27444 * misc/mkostemps64.c: Likewise.
27445 * misc/mkstemps64.c: Likewise.
27446 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27447 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27448 * sysdeps/wordsize-64/mkostemp.c: File removed.
27449 * sysdeps/wordsize-64/mkstemp.c: File removed.
27450 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27451 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27452 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27453 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27456 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27457 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27458 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27459 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27461 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27462 compat_symbol macros from <shlib-compat.h> rather than the underlying
27463 default_symbol_version and symbol_version macros, so that DEFAULT
27464 lines in shlib-versions are respected.
27465 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27467 2012-08-01 Florian Weimer <fweimer@redhat.com>
27469 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27470 Declare with warn_unused_result.
27471 (setgid, setregid, setegid, setresgid): Likewise.
27472 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27474 * WUR-REPORT: Remove set*id functions.
27476 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27478 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27480 2012-07-31 Roland McGrath <roland@hack.frob.com>
27483 * include/sys/socket.h (__libc_accept, __libc_accept4):
27484 Add attribute_hidden.
27485 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27487 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27489 * inet/getnetgrent_r.c (setup): Likewise.
27491 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27493 2012-07-31 David S. Miller <davem@davemloft.net>
27495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27497 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27500 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27501 value between 1.0 and 2.0 and smaller part has absolute value less
27503 * math/s_clog10.c (__clog10): Likewise.
27504 * math/s_clog10f.c (__clog10f): Likewise.
27505 * math/s_clog10l.c (__clog10l): Likewise.
27506 * math/s_clogf.c (__clogf): Likewise.
27507 * math/s_clogl.c (__clogl): Likewise.
27508 * math/libm-test.inc (clog_test): Add more tests.
27509 (clog10_test): Likewise.
27510 * sysdeps/i386/fpu/libm-test-ulps: Update.
27511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27513 2012-07-31 Florian Weimer <fweimer@redhat.com>
27515 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27516 Exit with zero in case no suitable GID is found, and write a
27517 message to standard error.
27519 2012-07-30 Roland McGrath <roland@hack.frob.com>
27521 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27523 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27524 (MAXPATHLEN): Removed.
27525 (NOGROUP, NODEV): New macros.
27526 (setbit, clrbit, isset, isclr): New macros.
27527 (howmany, roundup, powerof2): New macros.
27528 (DEV_BSIZE): New macro.
27530 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27531 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27533 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27534 definition on [!__NO_LONG_DOUBLE_MATH].
27536 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27537 PTR_MANGLE and PTR_DEMANGLE.
27539 * socket/accept4.c (accept4): Rename to __libc_accept4.
27540 Define accept4 as a weak alias.
27542 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27543 on [_DIRENT_HAVE_D_TYPE].
27544 * io/ftw.c (ftw_dir): Likewise.
27546 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27548 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27550 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27551 Use the BSD numbers rather than the arbitrary ones we had.
27552 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27553 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27554 (SIGXCPU, SIGXFSZ): New macros.
27557 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27558 initializer on [_LIBC_REENTRANT].
27560 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27561 definitions inside [_POSIX_MAPPED_FILES].
27563 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27565 * dirent/opendir.c: Include <fcntl.h>.
27567 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27568 (__libc_getspecific): Likewise.
27569 (__libc_key_create): Likewise.
27571 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27572 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27573 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27574 (tmpfile64): Define as alias.
27575 * sysdeps/wordsize-64/tmpfile.c: File removed.
27576 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27578 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27580 * stdio-common/vfscanf.c: Include <stdbool.h>.
27581 * nss/makedb.c: Likewise.
27582 * stdio-common/_i18n_number.h: Likewise.
27583 * argp/argp-help.c: Likewise.
27584 * posix/wordexp.c: Likewise.
27585 * sysdeps/posix/spawni.c: Likewise.
27586 * nss/nss_files/files-initgroups.c: Likewise.
27587 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27588 * nss/nss_files/files-initgroups.c: Likewise.
27589 * nss/nss_db/db-netgrp.c: Likewise.
27590 * nss/nss_db/db-initgroups.c: Likewise.
27591 * io/fchmodat.c: Include <sys/stat.h>.
27593 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27594 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27596 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27599 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27600 Add multiple inclusion protection.
27602 2012-07-27 David S. Miller <davem@davemloft.net>
27604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27606 2012-07-27 Gary Benson <gbenson@redhat.com>
27609 * elf/rtld.c: Include <stap-probe.h>.
27610 (dl_main): Added static probes "init_start" and "init_complete".
27611 * elf/dl-load.c: Include <stap-probe.h>.
27612 (lose): Take new parameter "nsid".
27613 Added static probe "map_failed".
27614 (_dl_map_object_from_fd): Pass namespace id to lose.
27615 Added static probe "map_start".
27616 (open_verify): Pass namespace id to lose.
27617 * elf/dl-open.c: Include <stap-probe.h>.
27618 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27619 and "reloc_complete".
27620 * elf/dl-close.c: Include <stap-probe.h>.
27621 (_dl_close_worker): Added static probes "unmap_start" and
27623 * elf/rtld-debugger-interface.txt: New file documenting the above.
27625 2012-07-26 Roland McGrath <roland@hack.frob.com>
27627 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27628 rather than a string variable.
27629 * sunrpc/rpc_main.c (h_output): Likewise.
27630 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27632 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27634 * inet/check_native.c: New file.
27636 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27639 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27640 if larger part has absolute value 1.0.
27641 * math/s_clog10.c (__clog10): Likewise.
27642 * math/s_clog10f.c (__clog10f): Likewise.
27643 * math/s_clog10l.c (__clog10l): Likewise.
27644 * math/s_clogf.c (__clogf): Likewise.
27645 * math/s_clogl.c (__clogl): Likewise.
27646 * math/libm-test.inc (clog_test): Add more tests.
27647 (clog10_test): Likewise.
27648 * sysdeps/i386/fpu/libm-test-ulps: Update.
27649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27651 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27652 (pltexit): Likewise.
27653 (La_regs): Likewise.
27654 (La_retval): Likewise.
27655 (int_retval): Likewise.
27656 Update #error for removed macros to refer only to definitions in
27658 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27660 (pltexit): Likewise.
27661 (La_regs): Likewise.
27662 (La_retval): Likewise.
27663 (int_retval): Likewise.
27664 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27666 (pltexit): Likewise.
27667 (La_regs): Likewise.
27668 (La_retval): Likewise.
27669 (int_retval): Likewise.
27670 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27672 (pltexit): Likewise.
27673 (La_regs): Likewise.
27674 (La_retval): Likewise.
27675 (int_retval): Likewise.
27676 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27678 (pltexit): Likewise.
27679 (La_regs): Likewise.
27680 (La_retval): Likewise.
27681 (int_retval): Likewise.
27682 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27684 (pltexit): Likewise.
27685 (La_regs): Likewise.
27686 (La_retval): Likewise.
27687 (int_retval): Likewise.
27688 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27690 (pltexit): Likewise.
27691 (La_regs): Likewise.
27692 (La_retval): Likewise.
27693 (int_retval): Likewise.
27694 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27695 macro definitions in tst-audit.h.
27696 * sysdeps/i386/tst-audit.h: New file.
27697 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27698 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27699 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27700 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27701 * sysdeps/sh/tst-audit.h: Likewise.
27702 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27703 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27704 * sysdeps/x86_64/tst-audit.h: Likewise.
27706 2012-07-26 Andreas Jaeger <aj@suse.de>
27708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27711 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27712 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27713 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27715 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27716 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27717 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27719 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27722 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27724 (si_call_addr, si_syscall, si_arch): Define new macro.
27725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27727 (si_call_addr, si_syscall, si_arch): Define new marcro.
27728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27730 (si_call_addr, si_syscall, si_arch): Define new macro.
27731 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27733 (si_call_addr, si_syscall, si_arch): Define new macro.
27735 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27739 Change to 2.4.21 where previously 2.4.1.
27740 * sysdeps/unix/sysv/linux/configure: Regenerated.
27741 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27742 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27743 Linux kernel version.
27744 (__ASSUME_STD_AUXV): Remove.
27745 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27747 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27748 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27749 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27750 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27751 (__ASSUME_NETLINK_SUPPORT): Likewise.
27752 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27753 (__no_netlink_support): Remove conditional definition.
27754 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27756 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27757 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27758 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27759 (if_nameindex_ioctl): Remove.
27760 (if_nameindex_netlink): Do not handle __no_netlink_support.
27761 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27763 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27764 Remove conditional code.
27765 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27767 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27769 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27770 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27771 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27773 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27774 [!__ASSUME_STD_AUXV]: Remove conditional code.
27775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27776 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27777 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27779 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27780 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27782 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27785 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27789 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27792 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27795 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27796 code unconditional.
27797 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27799 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27801 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27804 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27806 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27809 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27810 code unconditional.
27811 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27813 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27815 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27818 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27819 code unconditional.
27820 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27822 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27824 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27827 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27829 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27830 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27831 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27832 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27833 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27834 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27835 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27836 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27837 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27838 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27839 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27840 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27841 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27842 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27843 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27844 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27845 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27846 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27847 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27849 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27850 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27851 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27853 2012-07-25 Florian Weimer <fweimer@redhat.com>
27855 * Versions.def: Add GLIBC_2.17.
27856 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27857 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27858 Introduce __libc_secure_getenv.
27859 * stdlib/Versions (2.17): Add secure_getenv
27860 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27861 * stdlib/secure-getenv.c: Rename __secure_getenv to
27862 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27863 symbol __secure_getenv for GLIBC_2.0.
27864 * stdlib/tst-secure-getenv.c: New.
27865 * stdlib/Makefile (tests): Add testcase.
27866 * manual/startup.texi (Environment Access): Document
27868 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27869 __libc_secure_getenv.
27870 * inet/ruserpass.c (ruserpass): Likewise.
27871 * malloc/mtrace.c (mtrace): Likewise.
27872 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27873 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27874 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27875 * sysdeps/posix/tempname.c: Likewise. Evaluate
27876 HAVE_SECURE_GETENV.
27877 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27878 __secure_getenv to __libc_secure_getenv.
27879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27892 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27894 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27895 (struct La_i86_retval): Likewise.
27896 (struct La_x86_64_regs): Likewise.
27897 (struct La_x86_64_retval): Likewise.
27898 (struct La_x32_regs): Likewise.
27899 (struct La_x32_retval): Likewise.
27900 (struct La_ppc32_regs): Likewise.
27901 (struct La_ppc32_retval): Likewise.
27902 (struct La_ppc64_regs): Likewise.
27903 (struct La_ppc64_retval): Likewise.
27904 (struct La_sh_regs): Likewise.
27905 (struct La_sh_retval): Likewise.
27906 (struct La_s390_32_regs): Likewise.
27907 (struct La_s390_32_retval): Likewise.
27908 (struct La_s390_64_regs): Likewise.
27909 (struct La_s390_64_retval): Likewise.
27910 (struct La_sparc32_regs): Likewise.
27911 (struct La_sparc32_retval): Likewise.
27912 (struct La_sparc64_regs): Likewise.
27913 (struct La_sparc64_retval): Likewise.
27914 (struct audit_ifaces): Remove architecture-specific pltenter and
27916 * sysdeps/i386/ldsodefs.h: New file.
27917 * sysdeps/powerpc/ldsodefs.h: Likewise.
27918 * sysdeps/s390/ldsodefs.h: Likewise.
27919 * sysdeps/sh/ldsodefs.h: Likewise.
27920 * sysdeps/sparc/ldsodefs.h: Likewise.
27921 * sysdeps/x86_64/ldsodefs.h: Likewise.
27923 2012-07-25 Marek Polacek <polacek@redhat.com>
27926 * math/libm-test.inc (yn_test): Add another test.
27927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27928 to ERANGE when the result is +-Inf.
27929 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27930 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27931 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27934 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27936 * conform/data/time.h-data (NULL): Use macro-constant. Require
27938 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27940 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27942 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27944 * configure.in <sysdeps resolving>: Correct printing
27946 * configure: Regenerate.
27948 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27950 * math/w_ilogb.c: Include <limits.h>.
27951 * math/w_ilogbl.c: Likewise.
27953 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27955 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27956 va_copy. Document allowing for unavailable va_copy only as
27957 pre-C99 compatibility.
27958 * manual/string.texi (Copying and Concatenation): Use va_copy
27959 instead of __va_copy in concat example.
27961 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27963 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27964 (__sendto): Use create_address_port. Initialize APORT and deallocate
27967 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27968 with O_NOLINK passed to __file_name_lookup.
27970 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27971 with O_NOLINK passed to __file_name_lookup.
27973 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27974 negative N or less than NGIDS.
27976 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27977 type to string_t. Set ERANGE as errno and return it if NAME is not big
27978 enough. Use memcpy instead of strncpy.
27980 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27982 * elf/Makefile (check-data): Remove.
27983 (localplt.data): New vpath directive.
27984 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27985 instead of $(check-data).
27986 * scripts/data/localplt-generic.data: Move to ...
27987 * sysdeps/generic/localplt.data: ... here.
27988 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27989 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27990 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27993 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27996 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27999 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28002 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28005 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28009 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28011 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28012 PPC32 and PPC64 files.
28013 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28014 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28016 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28018 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28019 __makecontext_ret to ...
28020 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28021 ... here and call exit if uc_link is NULL. New file.
28022 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28023 __makecontext_ret.S.
28024 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28025 __makecontext_ret to ...
28026 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28027 ... here and call exit if uc_link is NULL. New file.
28028 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28029 __makecontext_ret.S.
28031 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28033 * elf/elf.h (R_390_IRELATIVE): New definition.
28034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28035 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28036 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28037 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28038 (elf_machine_lazy_rel): Likewise.
28039 * sysdeps/s390/dl-irel.h: New file.
28040 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28041 * sysdeps/s390/s390-64/memset.S: New asm code.
28042 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28043 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28045 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28046 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28047 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28049 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28050 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28051 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28052 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28053 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28054 * sysdeps/s390/s390-32/memset.S: New asm code.
28055 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28057 2012-07-17 Marek Polacek <polacek@redhat.com>
28060 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28061 * sysdeps/s390/s390-64/configure.in: Likewise.
28062 * sysdeps/sparc/configure.in: Likewise.
28063 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28064 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28065 * sysdeps/i386/configure.in: Likewise.
28066 * sysdeps/x86_64/configure.in: Likewise.
28067 * sysdeps/sh/configure.in: Likewise.
28068 * sysdeps/s390/s390-32/configure: Regenerated.
28069 * sysdeps/s390/s390-64/configure: Likewise.
28070 * sysdeps/x86_64/configure: Likewise.
28071 * sysdeps/sh/configure: Likewise.
28072 * sysdeps/powerpc/powerpc64/configure: Likewise.
28073 * sysdeps/powerpc/powerpc32/configure: Likewise.
28074 * sysdeps/sparc/configure: Likwise.
28075 * sysdeps/i386/configure: Likewise.
28077 * elf/dl-open.c: Comment fixes.
28079 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28081 * Makefile [CXX] (check-data): Remove.
28082 [CXX] (c++-types.data): New vpath directive.
28083 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28084 vpath. Do not allow for C++ type data being missing.
28085 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28086 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28087 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28088 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28089 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28090 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28091 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28094 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28097 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28100 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28103 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28106 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28109 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28112 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28115 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28116 definitions to architecture-specific files.
28117 (TLS_IE): Likewise.
28118 (TLS_LD): Likewise.
28119 (TLS_GD): Likewise.
28120 * sysdeps/i386/tls-macros.h: New file.
28121 * sysdeps/powerpc/tls-macros.h: Likewise.
28122 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28123 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28124 * sysdeps/sh/tls-macros.h: Likewise.
28125 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28126 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28127 * sysdeps/x86_64/tls-macros.h: Likewise.
28129 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28132 zero value for regular exit case.
28134 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28135 (__start_context): Preserve zero value for regular exit case.
28137 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28138 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28140 * manual/setjmp.texi (setcontext): Clarify normal process
28141 termination when uc_link is the null pointer.
28142 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28145 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28147 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28148 preprocessor. Test for each exception mask separately.
28150 2012-07-16 Andreas Jaeger <aj@suse.de>
28152 * po/ru.po: Update from translation team.
28154 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28156 * conform/data/string.h-data (NULL): Use macro-constant. Require
28158 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28159 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28160 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28161 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28164 2012-07-13 Andreas Jaeger <aj@suse.de>
28166 * po/fr.po: Update from translation team.
28168 2012-07-12 Marek Polacek <polacek@redhat.com>
28171 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28172 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28175 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28179 Change to 2.4.1 where previously 2.4.0.
28180 * sysdeps/unix/sysv/linux/configure: Regenerated.
28181 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28182 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28184 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28185 (__ASSUME_AT_CLKTCK): Remove.
28186 (__ASSUME_AT_PAGESIZE): Likewise.
28187 (__ASSUME_AT_XID): Likewise.
28188 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28189 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28190 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28192 (HAVE_AUX_PAGESIZE): Likewise.
28193 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28194 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28195 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28197 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28201 the temporary buffer used to invoke __gethostbyname2_r,
28202 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28203 host_data / struct gaih_addrtuple.
28204 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28205 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28206 header file nss/nsswitch.h.
28207 * nss/nsswitch.h (global scope): Add definition of implementation
28208 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28209 resolv/nss_dns/dns-host.c).
28211 2012-07-11 Andreas Jaeger <aj@suse.de>
28213 * po/fr.po: Update from translation team.
28215 * po/sv.po: Update from translation team
28216 * po/fr.po: Another update from translation team.
28218 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28221 for subnormals or multiply small sinh result by itself.
28222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28225 2012-07-11 David S. Miller <davem@davemloft.net>
28227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28229 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28232 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28233 (INTERNAL_MARK): Shift it here.
28235 2012-07-10 Marek Polacek <polacek@redhat.com>
28238 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28239 libc_cv_asm_global_directive with .globl.
28240 * configure: Regenerated.
28241 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28243 * sysdeps/i386/configure: Regenerated.
28244 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28246 * sysdeps/x86_64/configure: Regenerated.
28247 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28248 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28249 * elf/tst-unique2mod2.c: Likewise.
28250 * elf/tst-unique2mod1.c: Likewise.
28251 * elf/tst-unique1mod2.c: Likewise.
28252 * elf/tst-unique1mod1.c: Likewise.
28253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28254 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28255 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28256 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28257 * sysdeps/mach/sysdep.h: Likewise.
28258 * sysdeps/i386/sysdep.h: Likewise.
28259 * sysdeps/i386/i386-mcount.S: Likewise.
28260 * sysdeps/x86_64/_mcount.S: Likewise.
28261 * sysdeps/x86_64/sysdep.h: Likewise.
28262 * sysdeps/sh/_mcount.S: Likewise.
28263 * sysdeps/sh/sysdep.h: Likewise.
28264 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28265 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28266 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28268 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28269 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28270 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28271 * locale/localeinfo.h: Likewise.
28272 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28273 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28275 2012-07-09 Roland McGrath <roland@hack.frob.com>
28278 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28280 * manual/message.texi (The Uniforum approach): Likewise.
28281 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28282 (glibc iconv Implementation): Likewise.
28284 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28287 * math/s_clog.c (__clog): Avoid scaling a value down where that
28288 could result in underflow.
28289 * math/s_clog10.c (__clog10): Likewise.
28290 * math/s_clog10f.c (__clog10f): Likewise.
28291 * math/s_clog10l.c (__clog10l): Likewise.
28292 * math/s_clogf.c (__clogf): Likewise.
28293 * math/s_clogl.c (__clogl): Likewise.
28294 * math/libm-test.inc (clog_test): Add more tests.
28295 (clog10_test): Likewise.
28296 * sysdeps/i386/fpu/libm-test-ulps: Update.
28297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28299 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28302 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28303 by 7 not 8 to examine high bit of fractional part.
28306 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28307 for call to __mcount_internal.
28308 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28309 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28310 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28312 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28315 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28316 approximation for values within 0x1p-13f of an odd multiple of
28318 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28319 exception. Add more tests.
28320 * sysdeps/i386/fpu/libm-test-ulps: Update.
28323 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28324 inputs and return -1 for them. Do not check for +Inf in case not
28325 reachable for +Inf.
28326 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28327 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28329 and return -1 for them. Do not check for +Inf in case not
28330 reachable for +Inf.
28331 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28334 and return -1 for them. Do not check for +Inf in case not
28335 reachable for +Inf.
28336 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28337 spurious underflow.
28338 * sysdeps/i386/fpu/libm-test-ulps: Update.
28339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28341 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28343 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28345 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28349 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28350 could result in spurious underflow. Scale down values above
28351 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28352 * math/s_csqrtf.c (__csqrtf): Likewise.
28353 * math/s_csqrtl.c (__csqrtl): Likewise.
28354 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28355 spurious underflow.
28356 * sysdeps/i386/fpu/libm-test-ulps: Update.
28357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28359 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28361 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28363 * catgets/xopen-msg.awk: New file.
28364 * catgets/xopen-msg.sed: Removed.
28366 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28368 * intl/po2test.awk: New file.
28369 * intl/po2test.sed: Removed.
28371 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28374 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28375 or multiply small sinh result by itself.
28376 * math/s_ctanf.c (__ctanf): Likewise.
28377 * math/s_ctanh.c (__ctanh): Likewise.
28378 * math/s_ctanhf.c (__ctanhf): Likewise.
28379 * math/s_ctanhl.c (__ctanhl): Likewise.
28380 * math/s_ctanl.c (__ctanl): Likewise.
28381 * math/libm-test.inc (ctan_test_tonearest): New function.
28382 (ctan_test_towardzero): Likewise.
28383 (ctan_test_downward): Likewise.
28384 (ctan_test_upward): Likewise.
28385 (ctanh_test_tonearest): Likewise.
28386 (ctanh_test_towardzero): Likewise.
28387 (ctanh_test_downward): Likewise.
28388 (ctanh_test_upward): Likewise.
28389 (main): Call these new functions.
28390 * sysdeps/i386/fpu/libm-test-ulps: Update.
28391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28393 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28395 * .gitignore: Delete /ports entry.
28397 2012-07-03 Andreas Jaeger <aj@suse.de>
28399 * po/bg.po: Update from translation team.
28400 * po/cs.po: Likewise.
28401 * po/de.po: Likewise.
28402 * po/hr.po: Likewise.
28403 * po/nl.pl: Likewise.
28404 * po/pl.po: Likewise.
28405 * po/vi.po: Likewise.
28407 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28409 * Makeconfig [!+link] (+link-before-libc): New variable.
28410 [!+link] (+link-after-libc): Likewise.
28411 [!+link] (+link-tests): Likewise.
28412 [!+link] (+link): Define in terms of $(+link-before-libc) and
28413 $(+link-after-libc).
28414 [!+link-static] (+link-static-before-libc): New variable.
28415 [!+link-static] (+link-static-after-libc): Likewise.
28416 [!+link-static] (+link-static-tests): Likewise.
28417 [!+link-static] (+link-static): Define in terms of
28418 $(+link-static-before-libc) and $(+link-static-after-libc).
28419 [build-shared] (link-libc-before-gnulib): New variable.
28420 [build-shared] (link-libc-tests): Likewise.
28421 [build-shared] (link-libc): Define in terms of
28422 $(link-libc-before-gnulib).
28423 [!build-shared] (link-libc-tests): New variable.
28424 (link-libc-static-tests): New variable.
28425 [!gnulib] (gnulib-arch): New variable.
28426 [!gnulib] (gnulib-tests): Likewise.
28427 [!gnulib] (static-gnulib-arch): Likewise.
28428 [!gnulib] (static-gnulib-tests): Likewise.
28429 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28430 Define with "=" instead of ":=".
28431 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28432 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28433 * Rules (binaries-all-notests): New variable.
28434 (binaries-all-tests): Likewise.
28435 (binaries-static-notests): Likewise.
28436 (binaries-static-tests): Likewise.
28437 (binaries-all): Define using $(binaries-all-notests) and
28438 $(binaries-all-tests).
28439 (binaries-static): Define using $(binaries-static-notests) and
28440 $(binaries-static-tests).
28441 (binaries-shared-tests): New variable.
28442 (binaries-shared-notests): Likewise.
28443 (binaries-shared): Remove variable.
28444 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28445 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28446 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28447 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28448 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28449 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28450 * elf/Makefile (sln-modules): New variable.
28451 (extra-objs): Add $(sln-modules:=.o).
28452 (ldconfig-modules): Add static-stubs.
28453 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28454 * elf/static-stubs.c: New file.
28457 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28458 by 7 not 8 to examine high bit of fractional part. Use volatile
28459 variables when splitting into final array of floats if
28460 __FLT_EVAL_METHOD__ != 0.
28461 * math/libm-test.inc (cos_test): Add another test.
28462 (sin_test): Likewise.
28463 * sysdeps/i386/fpu/libm-test-ulps: Update.
28466 * math/libm-test.inc (cosh_test): Add more tests.
28468 * version.h (RELEASE): Set to "development".
28469 (VERSION): Set to "2.16.90".
28471 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28473 * NEWS: Update copyright. Remove last-updated date.
28474 Mention math library bug fixes and timezone data changes.
28475 * README: Mention GNU/Hurd, x32, and HPPA support status.
28477 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28479 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28481 2012-06-27 Andreas Jaeger <aj@suse.de>
28483 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28485 2012-06-25 Andreas Jaeger <aj@suse.de>
28487 * sysdeps/s390/fpu/libm-test-ulps: Update.
28489 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28490 Thomas Schwinge <thomas@codesourcery.com>
28492 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28493 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28497 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28499 * sysdeps/mach/start.c: Remove file.
28500 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28501 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28502 * sysdeps/sh/init-first.c: Likewise.
28504 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28505 registers for frame unwinding purposes, add CFI directives.
28506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28508 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28511 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28512 __fortify_fail returning.
28513 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28515 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28516 sysdeps/sh/____longjmp_chk.S.
28517 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28518 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28519 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28520 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28522 * sysdeps/sh/abort-instr.h: New file.
28523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28524 process in case exit returns.
28526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28527 initialize the GOT register before use.
28529 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28530 calculation of ARGC > 4.
28532 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28533 meaningful names to some local labels.
28535 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28536 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28538 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28539 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28540 (__arch_compare_and_exchange_val_16_acq): Likewise.
28541 (__arch_compare_and_exchange_val_32_acq): Likewise.
28542 (atomic_exchange_and_add): Fix gUSA sequence.
28543 (atomic_add): Likewise.
28544 (atomic_add_negative): Likewise.
28545 (atomic_add_zero): Likewise.
28546 (atomic_bit_test_set): Likewise.
28548 2012-06-22 Andreas Schwab <schwab@redhat.com>
28551 * include/link.h (struct link_map): Add l_free_initfini.
28552 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28554 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28555 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28556 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28559 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28561 * configure.in: Use AC_LANG_SOURCE.
28562 * configure: Regenerate.
28564 2012-06-22 Roland McGrath <roland@hack.frob.com>
28566 * configure.in (libc_cv_localstatedir): New substituted variable.
28567 * configure: Regenerated.
28568 * config.make.in (localstatedir): New variable, substituted from
28569 libc_cv_localstatedir.
28570 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28571 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28572 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28573 * sysdeps/gnu/configure: Regenerated.
28575 2012-06-21 Jeff Law <law@redhat.com>
28578 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28579 free. Simplify list management for _LIBC case.
28581 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28585 Clear sign bit of 64-bit integer value before comparing against
28588 * sysdeps/mach/configure: Regenerated.
28590 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28593 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28595 2012-06-21 Jeff Law <law@redhat.com>
28598 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28599 uint16_t for elements in the "seen" array to avoid char overflows.
28600 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28601 * elf/dl-open.c (dl_open_worker): Likewise.
28603 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28605 * scripts/list-sources.sh: Scan PORTS for translations.
28606 * po/libc.pot: Regenerated.
28608 2012-06-21 Andreas Jaeger <aj@suse.de>
28611 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28613 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28614 * bits/byteswap-16.h (__bswap_16): Likewise.
28615 * bits/byteswap.h (__bswap_constant_16): Likewise.
28617 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28620 * sysdeps/i386/fpu_control.h: Removed.
28621 * sysdeps/x86_64/fpu_control.h: Moved to ...
28622 * sysdeps/x86/fpu_control.h: Here.
28624 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28625 (_FPU_SETCW): Likewise.
28627 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28630 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28631 * sysdeps/x86/fpu/bits/mathinline.h: This.
28632 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28636 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28637 functions if __x86_64__ is defined.
28639 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28641 * string/endian.h: Add !__ASSEMBLER__ condition for including
28642 conversion interfaces.
28644 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28648 of ABS(x) in calculating zero to negative powers other than odd
28650 * math/libm-test.inc (pow_test): Add more tests.
28652 2012-06-15 Andreas Jaeger <aj@suse.de>
28654 * manual/contrib.texi (Contributors): Update entry of Liubov
28655 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28658 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28660 * string/string.h: Add __wur to GNU version of strerror_r.
28662 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28665 * string/Makefile (tests): Add tst-strtok_r.
28666 * string/tst-strtok_r.c: New file.
28667 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28668 RAX_LP/RDX_LP on SAVE_PTR.
28670 2012-06-14 Roland McGrath <roland@hack.frob.com>
28672 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28674 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28676 * libm_test.inc (csqrt_test): Allow more spurious underflow
28678 (j0_test): Likewise.
28679 (j1_test): Likewise.
28680 (y0_test): Likewise.
28681 (y1_test): Likewise.
28683 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28685 * po/Makefile (libc.pot): Use UTF-8 charset.
28687 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28690 Suppress sign-conversion warning from FD_SET.
28691 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28692 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28693 not unsigned long int.
28694 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28696 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28700 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28701 __extern_always_inline instead of __extern_inline.
28702 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28703 (__signbit): Likewise.
28704 (__signbitl): Support C++ namespace.
28705 (lrintf): New inline function.
28707 (llrintf): Likewise.
28708 (llrint): Likewise.
28718 (floorf): Likewise.
28719 (nearbyint): Likewise.
28720 (nearbyintf): Likewise.
28722 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28725 non-default versions.
28727 2012-06-11 Roland McGrath <roland@hack.frob.com>
28730 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28732 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28734 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28735 (FE_UPWARD, FE_DOWNWARD): Don't define.
28736 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28739 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28741 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28742 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28744 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28746 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28748 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28749 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28751 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28754 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28755 * sysdeps/i386/fpu/Implies: New file.
28756 * sysdeps/x86_64/fpu/Implies: Likewise.
28757 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28758 * sysdeps/x86/fpu/bits/fenv.h: This.
28760 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28763 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28766 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28767 character 0xffff that matches the last element of the
28770 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28775 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28778 values higher than 25.6283.
28780 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28783 subnormal exponent extraction and add some __builtin_expect.
28784 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28785 Fix for subnormal mantissa calculation.
28787 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28789 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28790 cpu2 is -1 and errno is not ENOSYS.
28792 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28795 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28796 * sysdeps/x86/bits/string.h: This.
28797 * sysdeps/x86_64/bits/string.h: Removed.
28799 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28800 if not compiling for x86-64, but compiling for >= i486.
28802 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28803 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28805 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28806 New macro from Linux kernel 3.4.0.
28807 (FP_XSTATE_MAGIC2): Likewise.
28808 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28809 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28810 (struct _fpx_sw_bytes): New struct.
28811 (struct _xsave_hdr): Likewise.
28812 (struct _ymmh_state): Likewise.
28813 (struct _xstate): Likewise.
28815 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28816 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28818 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28820 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28822 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28824 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28825 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28826 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28827 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28829 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28832 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28833 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28834 (sysdep_headers): Include sys/platform/ppc.h.
28835 * sysdeps/powerpc/test-gettimebase.c: Test for
28836 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28837 * manual/Makefile (appendices): Include platform.texi.
28838 * manual/contrib.texi (Contributors): Update @node pointers.
28839 * manual/maint.texi (Maintenance): Likewise.
28840 (Platform): New node.
28841 * manual/platform.texi: New file. Document the new features.
28843 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28844 Jakub Jelinek <jakub@redhat.com>
28847 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28848 where __builtin_expect is unavailable.
28850 2012-06-03 David S. Miller <davem@davemloft.net>
28852 * stdlib/longlong.h: Updated from GCC.
28854 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28857 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28858 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28861 (GLIBC_2.16): Likewise.
28863 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28867 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28870 (default-abi): New variable.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28872 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28874 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28876 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28878 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28881 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28882 definition. Document in comment.
28884 2012-06-01 David S. Miller <davem@davemloft.net>
28886 * stdlib/longlong.h: Updated from GCC.
28888 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28891 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28892 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28893 sys/debugreg.h sys/io.h here.
28894 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28895 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28897 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28898 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28900 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28902 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28904 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28905 Define only if __x86_64__ is defined.
28907 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28911 Use int64_t for variable i.
28912 * math/libm-test.inc (fmod_test): Add more tests.
28914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28915 z computation is not scheduled after fetestexcept.
28916 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28917 Use math_force_eval instead of asm to ensure calculation scheduled
28918 before exception test.
28919 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28920 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28922 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28925 computation is not scheduled after fetestexcept.
28927 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28930 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28931 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28933 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28935 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28936 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28938 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28941 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28943 (__WCHAR_MIN): Support __WORDSIZE == 64.
28944 (__WCHAR_MAX): Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28951 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28954 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28955 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28958 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28960 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28961 Defined to 1 if __x86_64__ isn't defined.
28962 (_STAT_VER_LINUX_OLD): New.
28963 (st_atime): Remove duplicate.
28964 (st_mtime): Likewise.
28965 (st_ctime): Likewise.
28967 2012-05-31 David S. Miller <davem@davemloft.net>
28969 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28972 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28974 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28978 * elf/dl-reloc.c: Include <_itoa.h>.
28979 (_dl_reloc_bad_type): Remove use of INTUSE.
28980 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28981 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28982 * stdio-common/psiginfo.c (psiginfo): Likewise.
28983 * stdio-common/psignal.c (psignal): Likewise.
28984 * string/strsignal.c (strsignal): Likewise.
28985 * include/signal.h (_sys_siglist): Declare hidden proto.
28986 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28987 INTVARDEF with libc_hidden_data_def.
28988 * stdio-common/itoa-udigits.c: Likewise.
28989 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28990 (_itoa_lower_digits_internal): Remove declaration.
28991 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28992 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28993 (_sys_sigabbrev_internal): Remove aliases.
28994 (_sys_siglist): Define hidden alias.
28996 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29001 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29004 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29005 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29007 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29008 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29009 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29010 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29012 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29014 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29015 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29016 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29018 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29026 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29030 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29031 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29032 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29033 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29034 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29035 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29037 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29038 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29040 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29041 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29045 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29047 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29048 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29050 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29052 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29053 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29054 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29056 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29058 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29060 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29062 * math/math.h (M_El): Use two more decimal places.
29063 (M_LOG2El): Likewise.
29064 (M_LOG10El): Likewise.
29065 (M_LN2l): Likewise.
29066 (M_LN10l): Likewise.
29068 (M_PI_2l): Likewise.
29069 (M_PI_4l): Likewise.
29070 (M_1_PIl): Likewise.
29071 (M_2_PIl): Likewise.
29072 (M_2_SQRTPIl): Likewise.
29073 (M_SQRT2l): Likewise.
29074 (M_SQRT1_2l): Likewise.
29076 2012-05-31 David S. Miller <davem@davemloft.net>
29078 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29079 values between float registers.
29080 * sysdeps/sparc/sparc64/memset.S: Likewise.
29081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29083 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29085 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29086 -D_FORTIFY_SOURCE=1.
29087 (CPPFLAGS-tst-longjmp_chk.c): Define.
29088 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29089 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29090 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29091 CFLAGS-tst-wchar-h.c.
29093 2012-05-31 Marek Polacek <polacek@redhat.com>
29096 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29097 __endmntent_internal): Remove declaration.
29098 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29099 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29100 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29102 2012-05-30 David S. Miller <davem@davemloft.net>
29104 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29105 (___Q_simulate_exceptions): Use real FP ops rather than writing
29107 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29110 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29113 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29114 * sysdeps/x86/bits/xtitypes.h: This.
29116 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29117 * sysdeps/x86/bits/wordsize.h: This.
29119 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29120 * sysdeps/x86/bits/huge_vall.h: This.
29122 * sysdeps/i386/bits/select.h: Removed.
29123 * sysdeps/x86_64/bits/select.h: Renamed to ...
29124 * sysdeps/x86/bits/select.h: This.
29126 * sysdeps/i386/bits/setjmp.h: Removed.
29127 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29128 * sysdeps/x86/bits/setjmp.h: This.
29130 * sysdeps/i386/bits/mathdef.h: Removed.
29131 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29132 * sysdeps/x86/bits/mathdef.h: This.
29134 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29137 * include/sys/socket.h (__connect_internal)
29138 (__libc_sa_len_internal): Remove declaration.
29139 (__connect, __libc_sa_len): Declare hidden_proto.
29140 (SA_LEN): Remove use of INTUSE.
29141 * socket/connect.c: Add libc_hidden_def.
29142 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29143 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29144 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29146 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29147 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29148 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29149 of adding _internal alias.
29151 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29154 * sysdeps/i386/bits/link.h: Removed.
29155 * sysdeps/i386/bits/linkmap.h: Likewise.
29156 * sysdeps/x86_64/bits/link.h: Renamed to ...
29157 * sysdeps/x86/bits/link.h: This.
29158 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29159 * sysdeps/x86/bits/linkmap.h: This.
29161 * sysdeps/i386/bits/endian.h: Removed.
29162 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29163 * sysdeps/x86/bits/endian.h: This.
29165 * sysdeps/i386/bits/byteswap.h: Removed.
29166 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29167 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29168 * sysdeps/x86/bits/byteswap.h: This.
29169 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29170 * sysdeps/x86/bits/byteswap-16.h: This.
29171 * sysdeps/i386/Implies: Add x86.
29172 * sysdeps/x86_64/Implies: Likewise.
29174 2012-05-30 David S. Miller <davem@davemloft.net>
29176 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29177 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29178 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29179 (FP_TRAPPING_EXCEPTIONS): Define.
29180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29181 (FP_TRAPPING_EXCEPTIONS): Define.
29182 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29183 subnormals only when inexact has been signalled or underflow
29184 exceptions are enabled.
29185 (_FP_PACK_CANONICAL): Likewise.
29187 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29191 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29193 2012-05-30 Richard Henderson <rth@twiddle.net>
29195 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29196 with #ifndef NOT_IN_libc.
29198 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29199 marked to avoid plt entry.
29201 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29204 * Makeconfig (default-abi): New macro.
29205 (abi-includes): Likewise.
29206 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29207 $(abi-$(default-abi)-lib-soname) for soname if defined.
29208 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29210 * Makefile (installed-stubs): Likewise.
29211 * include/stubs-biarch.h: Removed.
29212 * scripts/lib-names.awk: Only handle one library at a time.
29213 * scripts/soversions.awk: Remove WORDSIZE support.
29214 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29216 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29218 (syscall-list-default-condition): Likewise.
29219 (syscall-list-default-condition): Likewise.
29220 (syscall-list-includes): Likewise.
29221 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29222 syscall-list-* with abi-*. Handle undefined abi-variants.
29223 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29224 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29225 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29226 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29227 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29228 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29230 (syscall-list-32-options): Likewise.
29231 (syscall-list-32-condition): Likewise.
29232 (syscall-list-64-options): Likewise.
29233 (syscall-list-64-condition): Likewise.
29234 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29236 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29239 (abi-64-ld-soname): New macro.
29240 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29241 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29244 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29245 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29247 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29249 * sysdeps/unix/sysv/linux/kernel-features.h
29250 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29251 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29252 include <kernel-features.h>.
29253 [!__NR_ftruncate64]: Remove conditional code.
29254 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29255 [__NR_ftruncate64]: Make code unconditional.
29256 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29257 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29258 include <kernel-features.h>.
29259 [!__NR_ftruncate64]: Remove conditional code.
29260 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29261 [__NR_ftruncate64]: Make code unconditional.
29262 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29264 include <kernel-features.h>.
29265 [!__NR_ftruncate64]: Remove conditional code.
29266 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29267 [__NR_ftruncate64]: Make code unconditional.
29268 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29270 include <kernel-features.h>.
29271 [!__NR_ftruncate64]: Remove conditional code.
29272 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29273 [__NR_ftruncate64]: Make code unconditional.
29274 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29276 * configure.in (libc_cv_fpie): Weaken to a compile test using
29277 LIBC_TRY_CC_OPTION.
29278 * configure: Regenerated.
29280 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29295 2012-05-27 David S. Miller <davem@davemloft.net>
29297 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29299 (__Q_simulate_exceptions): Return void. Change to simulate
29300 exceptions by writing into the %fsr.
29301 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29302 (__Qp_handle_exceptions): Likewise.
29304 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29305 __Qp_handle_exceptions.
29306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29307 __Qp_handle_exceptions.
29308 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29309 as unused and give dummy FP_RND_NEAREST initializer.
29310 (FP_INHIBIT_RESULTS): Define.
29311 (___Q_simulate_exceptions): Update declaration.
29312 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29315 as unused and give dummy FP_RND_NEAREST initializer.
29316 (__Qp_handle_exceptions): Update declaration.
29317 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29320 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29322 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29323 the temporary FPU control word.
29324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29325 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29326 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29327 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29328 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29329 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29330 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29331 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29332 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29333 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29334 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29336 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29338 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29341 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29343 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29344 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29345 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29346 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29348 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29349 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29352 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29354 * po/h.po: Update from translation team.
29356 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29358 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29360 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29361 handling of denormals.
29362 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29363 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29364 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29365 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29371 2012-05-26 Marek Polacek <polacek@redhat.com>
29374 * math/libm-test.inc (fma_test): Don't always expect underflow
29377 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29380 * elf/tst-execstack.c: Include stackinfo.h.
29381 (do_test): Adjust test case to ensure that pthread_getattr_np
29382 behaviour remains the same after marking stack executable.
29384 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29386 * sysdeps/unix/sysv/linux/kernel-features.h
29387 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29388 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29390 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29391 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29394 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29395 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29397 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29399 * configure.in: Define the default includes to being none.
29400 * configure: Regenerated.
29402 2012-05-25 Roland McGrath <roland@hack.frob.com>
29404 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29405 * sysdeps/x86_64/setjmp.S: Likewise.
29406 * sysdeps/i386/bsd-setjmp.S: Likewise.
29407 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29408 * sysdeps/i386/setjmp.S: Likewise.
29409 * sysdeps/i386/__longjmp.S: Likewise.
29410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29411 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29413 * include/stap-probe.h: New file.
29414 * configure.in: Handle --enable-systemtap.
29415 * configure: Regenerated.
29416 * config.h.in (USE_STAP_PROBE): New #undef.
29417 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29418 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29419 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29421 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29425 to 2.4.0 where earlier.
29426 * sysdeps/unix/sysv/linux/configure: Regenerated.
29427 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29428 <kernel-features.h>.
29429 [__ASSUME_32BITUIDS]: Make code unconditional.
29430 [!__ASSUME_32BITUIDS]: Remove conditional code.
29431 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29432 <kernel-features.h>.
29433 [__ASSUME_32BITUIDS]: Make code unconditional.
29434 [!__ASSUME_32BITUIDS]: Remove conditional code.
29435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29436 [__ASSUME_32BITUIDS]: Make code unconditional.
29437 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29438 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29439 <kernel-features.h>.
29440 [__ASSUME_32BITUIDS]: Make code unconditional.
29441 [!__ASSUME_32BITUIDS]: Remove conditional code.
29442 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29443 <kernel-features.h>.
29444 [__ASSUME_32BITUIDS]: Make code unconditional.
29445 [!__ASSUME_32BITUIDS]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29447 <kernel-features.h>.
29448 [__ASSUME_32BITUIDS]: Make code unconditional.
29449 [!__ASSUME_32BITUIDS]: Remove conditional code.
29450 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29451 <kernel-features.h>.
29452 [__ASSUME_32BITUIDS]: Make code unconditional.
29453 [!__ASSUME_32BITUIDS]: Remove conditional code.
29454 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29455 <kernel-features.h>.
29456 [__ASSUME_32BITUIDS]: Make code unconditional.
29457 [!__ASSUME_32BITUIDS]: Remove conditional code.
29458 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29459 <kernel-features.h>.
29460 [__ASSUME_32BITUIDS]: Make code unconditional.
29461 [!__ASSUME_32BITUIDS]: Remove conditional code.
29462 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29463 <kernel-features.h>.
29464 [__ASSUME_32BITUIDS]: Make code unconditional.
29465 [!__ASSUME_32BITUIDS]: Remove conditional code.
29466 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29467 <kernel-features.h>.
29468 [__ASSUME_32BITUIDS]: Make code unconditional.
29469 [!__ASSUME_32BITUIDS]: Remove conditional code.
29470 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29471 <kernel-features.h>.
29472 [__ASSUME_32BITUIDS]: Make code unconditional.
29473 [!__ASSUME_32BITUIDS]: Remove conditional code.
29474 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29475 <kernel-features.h>.
29476 [__ASSUME_32BITUIDS]: Make code unconditional.
29477 [!__ASSUME_32BITUIDS]: Remove conditional code.
29478 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29479 <kernel-features.h>.
29480 [__NR_setresgid] (__setresgid): Do not declare.
29481 [__ASSUME_32BITUIDS]: Make code unconditional.
29482 [!__ASSUME_32BITUIDS]: Remove conditional code.
29483 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29484 <kernel-features.h>.
29485 [__NR_setresuid] (__setresuid): Do not declare.
29486 [__ASSUME_32BITUIDS]: Make code unconditional.
29487 [!__ASSUME_32BITUIDS]: Remove conditional code.
29488 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29489 <kernel-features.h>.
29490 [__ASSUME_32BITUIDS]: Make code unconditional.
29491 [!__ASSUME_32BITUIDS]: Remove conditional code.
29492 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29493 <kernel-features.h>.
29494 [__ASSUME_32BITUIDS]: Make code unconditional.
29495 [!__ASSUME_32BITUIDS]: Remove conditional code.
29496 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29497 <kernel-features.h>.
29498 [__ASSUME_32BITUIDS]: Make code unconditional.
29499 [!__ASSUME_32BITUIDS]: Remove conditional code.
29500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29501 <kernel-features.h>.
29502 [__ASSUME_32BITUIDS]: Make code unconditional.
29503 [!__ASSUME_32BITUIDS]: Remove conditional code.
29504 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29505 <kernel-features.h>.
29506 [__ASSUME_32BITUIDS]: Make code unconditional.
29507 [!__ASSUME_32BITUIDS]: Remove conditional code.
29508 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29509 <kernel-features.h>.
29510 [__ASSUME_32BITUIDS]: Make code unconditional.
29511 [!__ASSUME_32BITUIDS]: Remove conditional code.
29512 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29513 <kernel-features.h>.
29514 [__ASSUME_32BITUIDS]: Make code unconditional.
29515 [!__ASSUME_32BITUIDS]: Remove conditional code.
29516 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29517 <kernel-features.h>.
29518 [__ASSUME_32BITUIDS]: Make code unconditional.
29519 [!__ASSUME_32BITUIDS]: Remove conditional code.
29520 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29521 <kernel-features.h>.
29522 [__ASSUME_32BITUIDS]: Make code unconditional.
29523 [!__ASSUME_32BITUIDS]: Remove conditional code.
29524 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29525 <kernel-features.h>.
29526 [__ASSUME_32BITUIDS]: Make code unconditional.
29527 [!__ASSUME_32BITUIDS]: Remove conditional code.
29528 * sysdeps/unix/sysv/linux/kernel-features.h
29529 (__ASSUME_SETRESUID_SYSCALL): Remove.
29530 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29531 (__ASSUME_32BITUIDS): Likewise.
29532 (__ASSUME_LDT_WORKS): Likewise.
29533 (__ASSUME_O_DIRECTORY): Likewise.
29534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29535 architecture but not kernel version.
29536 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29537 (__ASSUME_MMAP2_SYSCALL): Likewise.
29538 (__ASSUME_STAT64_SYSCALL): Likewise.
29539 (__ASSUME_IPC64): Likewise.
29540 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29541 <kernel-features.h>.
29542 [__ASSUME_32BITUIDS]: Make code unconditional.
29543 [!__ASSUME_32BITUIDS]: Remove conditional code.
29544 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29545 <kernel-features.h>.
29546 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29547 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29548 132096]: Remove conditional code.
29549 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29550 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29551 <kernel-features.h>.
29552 [__ASSUME_32BITUIDS]: Make code unconditional.
29553 [!__ASSUME_32BITUIDS]: Remove conditional code.
29554 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29555 <kernel-features.h>.
29556 [__ASSUME_32BITUIDS]: Make code unconditional.
29557 [!__ASSUME_32BITUIDS]: Remove conditional code.
29558 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29559 <kernel-features.h>.
29560 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29562 (__setresgid): Do not declare.
29563 [__ASSUME_32BITUIDS]: Make code unconditional.
29564 [!__ASSUME_32BITUIDS]: Remove conditional code.
29565 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29566 <kernel-features.h>.
29567 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29569 (__setresuid): Do not declare.
29570 [__ASSUME_32BITUIDS]: Make code unconditional.
29571 [!__ASSUME_32BITUIDS]: Remove conditional code.
29572 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29573 <kernel-features.h>.
29574 [__ASSUME_32BITUIDS]: Make code unconditional.
29575 [!__ASSUME_32BITUIDS]: Remove conditional code.
29576 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29577 <kernel-features.h>.
29578 [__ASSUME_32BITUIDS]: Make code unconditional.
29579 [!__ASSUME_32BITUIDS]: Remove conditional code.
29581 2012-05-25 Richard Henderson <rth@twiddle.net>
29583 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29584 dl_hwcap to ifunc resolver.
29585 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29587 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29588 dl_hwcap to ifunc resolver.
29589 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29591 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29594 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29595 for |x| <= 2**-26, not 2**-57.
29596 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29599 2012-05-24 Jeff Law <law@redhat.com>
29601 * stdio-common/Makefile (tests): Add bug25.
29602 * stdio-common/bug25.c: New test.
29604 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29607 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29608 multiple of MALLOC_ALIGNMENT in size.
29609 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29611 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29613 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29615 (FILENAME_MAX): Use macro-int-constant.
29616 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29617 (_IOFBF): Use macro-int-constant.
29618 (_IOLBF): Likewise.
29619 (_IONBF): Likewise.
29620 (SEEK_CUR): Likewise.
29621 (SEEK_END): Likewise.
29622 (SEEK_SET): Likewise.
29623 (TMP_MAX): Likewise.
29624 (EOF): Use macro-int-constant. Require < 0.
29625 (NULL): Use macro-constant. Require == 0.
29626 (stdin): Require type to be FILE *.
29627 (stdout): Likewise.
29628 (stderr): Likewise.
29629 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29630 macro-int-constant.
29631 (EXIT_SUCCESS): Likewise.
29632 (NULL): Use macro-constant. Require == 0.
29633 (RAND_MAX): Use macro-int-constant.
29634 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29635 [C99-based standards] (strtof): Require function.
29636 [C99-based standards] (strtold): Likewise.
29637 [C99-based standards] (strtoll): Likewise.
29638 [C99-based standards] (strtoull): Likewise.
29639 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29640 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29641 [ISO || ISO99 || ISO11] (math.h): Likewise.
29642 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29643 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29646 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29649 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29650 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29651 * intl/dgettext.c (DCGETTEXT): Likewise.
29652 * intl/gettext.c (DCGETTEXT): Likewise.
29653 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29654 * posix/regex_internal.h (gettext): Likewise.
29655 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29656 Remove declaration.
29657 * include/argz.h (__argz_count_internal)
29658 (__argz_stringify_internal): Remove declaration.
29659 (__argz_count, __argz_stringify): Declare hidden proto.
29660 * intl/dcgettext.c: Remove use of INTDEF.
29661 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29662 * string/argz-stringify.c: Likewise.
29663 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29664 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29665 Declare hidden proto.
29666 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29667 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29668 Declare hidden proto.
29669 * include/stdio.h (__asprintf_internal): Don't declare.
29670 (__asprintf): Don't define as macro. Declare hidden proto.
29671 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29672 (__fsetlocking): Declare hidden proto.
29673 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29674 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29676 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29677 (_IO_setlinebuf): Remove use of INTUSE.
29678 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29679 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29680 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29681 Remove declaration.
29682 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29683 (_IO_do_flush): Remove use of INTUSE.
29684 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29685 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29686 (_IO_adjust_column, _IO_least_wmarker)
29687 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29688 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29689 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29690 (_IO_default_doallocate, _IO_wdefault_doallocate)
29691 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29692 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29693 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29694 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29695 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29696 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29697 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29698 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29699 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29700 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29701 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29702 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29703 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29705 (_IO_flush_all_internal, _IO_adjust_column_internal)
29706 (_IO_default_uflow_internal, _IO_default_finish_internal)
29707 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29708 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29709 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29710 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29711 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29712 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29713 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29714 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29715 (_IO_file_close_internal, _IO_file_close_it_internal)
29716 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29717 (_IO_file_init_internal, _IO_file_attach_internal)
29718 (_IO_file_fopen_internal, _IO_file_read_internal)
29719 (_IO_file_sync_internal, _IO_file_seek_internal)
29720 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29721 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29722 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29723 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29724 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29725 (_IO_list_all_internal, _IO_link_in_internal)
29726 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29727 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29728 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29729 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29730 (_IO_do_write_internal, _IO_padn_internal)
29731 (_IO_getline_info_internal, _IO_getline_internal)
29732 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29733 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29734 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29735 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29736 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29737 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29738 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29739 with libc_hidden_ver, remove use of INTUSE.
29740 * libio/genops.c: Likewise.
29741 * libio/freopen.c: Likewise.
29742 * libio/freopen64.c: Likewise.
29743 * libio/iofclose.c: Likewise.
29744 * libio/iofdopen.c: Likewise.
29745 * libio/iofflush.c: Likewise.
29746 * libio/iofflush_u.c: Likewise.
29747 * libio/iofgets.c: Likewise.
29748 * libio/iofgets_u.c: Likewise.
29749 * libio/iofopen.c: Likewise.
29750 * libio/iofopncook.c: Likewise.
29751 * libio/iofread.c: Likewise.
29752 * libio/iofread_u.c: Likewise.
29753 * libio/ioftell.c: Likewise.
29754 * libio/iofwrite.c: Likewise.
29755 * libio/iogetline.c: Likewise.
29756 * libio/iogets.c: Likewise.
29757 * libio/iogetwline.c: Likewise.
29758 * libio/iopadn.c: Likewise.
29759 * libio/iopopen.c: Likewise.
29760 * libio/ioseekoff.c: Likewise.
29761 * libio/ioseekpos.c: Likewise.
29762 * libio/iosetbuffer.c: Likewise.
29763 * libio/iosetvbuf.c: Likewise.
29764 * libio/ioungetc.c: Likewise.
29765 * libio/ioungetwc.c: Likewise.
29766 * libio/iovdprintf.c: Likewise.
29767 * libio/iovsprintf.c: Likewise.
29768 * libio/iovsscanf.c: Likewise.
29769 * libio/memstream.c: Likewise.
29770 * libio/obprintf.c: Likewise.
29771 * libio/oldfileops.c: Likewise.
29772 * libio/oldiofclose.c: Likewise.
29773 * libio/oldiofdopen.c: Likewise.
29774 * libio/oldiofopen.c: Likewise.
29775 * libio/oldiopopen.c: Likewise.
29776 * libio/oldstdfiles.c: Likewise.
29777 * libio/putc.c: Likewise.
29778 * libio/setbuf.c: Likewise.
29779 * libio/setlinebuf.c: Likewise.
29780 * libio/stdfiles.c: Likewise.
29781 * libio/strops.c: Likewise.
29782 * libio/vasprintf.c: Likewise.
29783 * libio/vscanf.c: Likewise.
29784 * libio/vsnprintf.c: Likewise.
29785 * libio/vswprintf.c: Likewise.
29786 * libio/wfiledoalloc.c: Likewise.
29787 * libio/wfileops.c: Likewise.
29788 * libio/wgenops.c: Likewise.
29789 * libio/wmemstream.c: Likewise.
29790 * libio/wstrops.c: Likewise.
29791 * libio/__fpurge.c: Likewise.
29792 * libio/__fsetlocking.c: Likewise.
29793 * assert/assert.c: Likewise.
29794 * debug/fgets_chk.c: Likewise.
29795 * debug/fgets_u_chk.c: Likewise.
29796 * debug/fread_chk.c: Likewise.
29797 * debug/fread_u_chk.c: Likewise.
29798 * debug/gets_chk.c: Likewise.
29799 * debug/obprintf_chk.c: Likewise.
29800 * debug/vasprintf_chk.c: Likewise.
29801 * debug/vdprintf_chk.c: Likewise.
29802 * debug/vsnprintf_chk.c: Likewise.
29803 * debug/vsprintf_chk.c: Likewise.
29804 * malloc/mtrace.c: Likewise.
29805 * misc/error.c: Likewise.
29806 * misc/syslog.c: Likewise.
29807 * stdio-common/asprintf.c: Likewise.
29808 * stdio-common/fxprintf.c: Likewise.
29809 * stdio-common/getw.c: Likewise.
29810 * stdio-common/isoc99_fscanf.c: Likewise.
29811 * stdio-common/isoc99_scanf.c: Likewise.
29812 * stdio-common/isoc99_vfscanf.c: Likewise.
29813 * stdio-common/isoc99_vscanf.c: Likewise.
29814 * stdio-common/isoc99_vsscanf.c: Likewise.
29815 * stdio-common/printf-prs.c: Likewise.
29816 * stdio-common/printf_fp.c: Likewise.
29817 * stdio-common/printf_fphex.c: Likewise.
29818 * stdio-common/printf_size.c: Likewise.
29819 * stdio-common/putw.c: Likewise.
29820 * stdio-common/scanf.c: Likewise.
29821 * stdio-common/sprintf.c: Likewise.
29822 * stdio-common/tmpfile.c: Likewise.
29823 * stdio-common/vfprintf.c: Likewise.
29824 * stdio-common/vfscanf.c: Likewise.
29825 * stdlib/strfmon_l.c: Likewise.
29826 * sunrpc/openchild.c: Likewise.
29827 * sunrpc/xdr_stdio.c: Likewise.
29828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29829 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29831 2012-05-24 Roland McGrath <roland@hack.frob.com>
29833 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29835 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29836 in the third column, to generate for the shared library an IFUNC
29837 that uses _dl_vdso_vsym.
29838 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29839 * Makeconfig (object-suffixes-noshared): New variable.
29841 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29842 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29843 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29844 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29847 * include/sys/time.h (__gettimeofday): Remove macro.
29848 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29849 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29851 (__gettimeofday): Add libc_hidden_def.
29852 (gettimeofday): Add libc_hidden_weak.
29853 * sysdeps/mach/gettimeofday.c: Likewise.
29854 * sysdeps/posix/gettimeofday.c: Likewise.
29855 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29856 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29858 (__gettimeofday_internal): Remove strong_alias.
29859 (__gettimeofday): Add libc_hidden_def.
29860 (gettimeofday): Add libc_hidden_weak.
29861 * sysdeps/unix/syscalls.list (gettimeofday):
29862 Remove __gettimeofday_internal alias.
29864 2012-05-24 Daniel Jacobowitz <drow@false.org>
29865 H.J. Lu <hongjiu.lu@intel.com>
29868 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29869 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29870 (largebin_index_32_big): New.
29871 (largebin_index): Use it for 16-byte alignment.
29872 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29873 correction with front_misalign.
29875 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29903 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29904 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29906 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29910 * math/libm-test.inc (exp_test): Add test from bug 14036.
29911 (pow_test): Add test from bug 10846.
29913 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29915 (special_function): Do not include flags in test name.
29916 (parse_args): Likewise.
29917 * sysdeps/i386/fpu/libm-test-ulps: Update.
29918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29920 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29923 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29925 * math/libm-test.inc ("Philosophy"): Update comment about
29927 (UNDERFLOW_EXCEPTION): New macro.
29928 (UNDERFLOW_EXCEPTION_OK): Likewise.
29929 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29930 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29931 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29932 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29933 (INVALID_EXCEPTION_OK): Update value.
29934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29935 (OVERFLOW_EXCEPTION_OK): Likewise.
29936 (IGNORE_ZERO_INF_SIGN): Likewise.
29937 (test_exceptions): Handle underflow exceptions.
29938 (acos_test): Update for underflow exception expectations.
29939 (cexp_test): Likewise.
29940 (clog_test): Likewise.
29941 (clog10_test): Likewise.
29942 (csqrt_test): Likewise.
29943 (ctan_test): Likewise.
29944 (ctanh_test): Likewise.
29945 (exp_test): Likewise.
29946 (exp10_test): Likewise.
29947 (exp2_test): Likewise.
29948 (expm1_test): Likewise.
29949 (fma_test): Likewise.
29950 (j0_test): Likewise.
29951 (jn_test): Likewise.
29952 (nexttoward_test): Likewise.
29953 (pow_test): Likewise.
29954 (scalbn_test): Likewise.
29955 (scalbln_test): Likewise.
29956 (tan_test): Likewise.
29957 (y1_test): Likewise.
29958 * sysdeps/i386/fpu/libm-test-ulps: Update.
29959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29961 2012-05-23 David S. Miller <davem@davemloft.net>
29963 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29964 (__libc_sigaction): Remove unused local variables.
29966 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29968 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29970 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29972 mktime: avoid signed integer overflow
29973 * time/mktime.c (__mktime_internal): Do not mishandle the case
29974 where diff == INT_MIN.
29976 mktime: simplify computation of average
29977 * time/mktime.c (ranged_convert): Use new time_t_avg function
29978 instead of rolling our own (probably-slower) code.
29980 mktime: do not assume signed right shift propagates sign bit
29981 * time/mktime.c (isdst_differ): New static function.
29982 (__mktime_internal): No need to normalize tm_isdst now.
29983 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29986 mktime: merge another wrapv change from gnulib
29987 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29988 from some compilers.
29990 mktime: remove incorrect attempt at unusual arithmetics
29991 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29992 The code didn't really work on such machines anyway.
29993 (TYPE_MINIMUM): Assume two's complement.
29994 (twos_complement_arithmetic): Verify that long_int and time_t
29995 are two's complement (or unsigned, in the latter case).
29997 mktime: check signed shifts on long_int and time_t, too
29998 * time/mktime.c (SHR): Check that shifts work as desired
29999 on the types long_int and time_t too, as SHR is used on
30002 mktime: do not assume 'long' is wide enough
30003 * time/mktime.c (verify): Move decl up.
30004 (long_int): New type.
30005 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30006 to remove assumption in the code that 'long' is wide enough to
30007 store year values. This assumption is not true on x32 and on
30008 some non-glibc platforms.
30010 mktime: merge wrapv change from gnulib
30011 * time/mktime.c (WRAPV): New macro.
30012 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30013 (guess_time_tm, __mktime_internal): Do not assume that signed
30014 integer overflow wraps around; modern compilers generate code
30015 where this assumption is no longer valid.
30017 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30019 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30020 Replace "jmp L(pseudo_end)" with "ret".
30021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30024 2012-05-23 Andreas Jaeger <aj@suse.de>
30026 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30027 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30029 2012-05-23 Andreas Jaeger <aj@suse.de>
30030 Maximilian Attems <max@stro.at>
30032 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30035 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30038 code so that pseudo_end is just ret and the stack pointer is
30039 correct also for static library in error case.
30041 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30044 move to syscalls.list.
30045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30050 * manual/install.texi (Running make install): Do not mention Linux
30051 kernel version for which pt_chown is not needed.
30052 (Linux): Do not mention problems with nscd with 2.0 kernels.
30053 * INSTALL: Regenerated.
30055 2012-05-23 Andreas Jaeger <aj@suse.de>
30057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30058 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30060 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30062 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30064 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30067 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30069 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30070 * sysdeps/unix/sysv/linux/bits/in.h
30071 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30073 2012-05-22 Roland McGrath <roland@hack.frob.com>
30075 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30076 (PREPARE_VERSION): Just use assert instead, it will be elided
30077 under [NDEBUG] anyway.
30079 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30081 * sysdeps/unix/sysv/linux/Makefile: Include
30082 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30083 (sysdep_routines): Remove sysctl.
30084 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30085 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30086 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30087 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30088 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30090 2012-05-22 Andreas Jaeger <aj@suse.de>
30092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30093 that pseudo_end is just ret and the stack pointer is correct also
30094 for static library in error case.
30096 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30099 * nss/nsswitch.c (defconfig_entries): New variable.
30100 (__nss_database_lookup): Don't leak defconfig entries.
30101 (nss_parse_service_list): Don't leak on error paths.
30102 (free_database_entries): New function.
30103 (free_defconfig): New function.
30104 (free_mem): Move common code to free_database_entries.
30106 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30108 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30110 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30112 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30113 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30116 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30117 (INTERNAL_SYSCALL_TYPES): Likewise.
30118 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30119 (LOAD_REGS_TYPES_[1-6]): Likewise.
30120 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30121 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30123 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30126 copysignl for GLIBC_2_0.
30127 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30128 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30130 logbl for GLIBC_2_0.
30131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30132 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30134 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30137 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30139 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30142 * time/mktime.c: Update copyright years.
30144 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30146 mktime: merge comment-quoting-style change from gnulib
30147 * time/mktime.c: Quote 'like this' in comments.
30148 The GNU coding standards suggest that we no longer quote `like this',
30149 as "`" and "'" are typically rendered asymmetrically nowadays.
30150 The typical gnulib style is to quote 'like this' when quoting
30151 code, and "like this" when quoting English.
30153 * time/mktime.c (compile-command): Add "-I.".
30155 mktime: merge mktime-internal.h change from gnulib
30156 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30158 mktime: merge time_r change from gnulib
30159 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30161 mktime: merge DEBUG change from gnulib
30162 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30163 case system <time.h> has a #define.
30165 mktime: merge <sys/types.h> change from gnulib
30166 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30167 since <time.t> is now guaranteed to define time_t.
30169 mktime: merge HAVE_CONFIG_H change from gnulib
30170 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30172 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30177 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30179 (struct rusage): Use anonymous union to pad each field to
30182 2012-05-21 David S. Miller <davem@davemloft.net>
30184 * Makefules (o-iterator): Remove .s cases.
30185 (compile-command.s): Delete.
30186 (COMPILE.s): Delete.
30187 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30189 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30191 * configure.in (libc_cv_predef_stack_protector): Only consider
30192 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30193 * configure: Regenerated.
30195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30198 New macro. Use R*LP on int and pointer.
30199 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30200 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30201 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30202 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30204 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30205 [__WORDSIZE_TIME64_COMPAT32] instead of
30206 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30207 (struct utmp): Likewise.
30208 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30209 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30211 (__WORDSIZE_TIME64_COMPAT32): This.
30212 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30213 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30214 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30215 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30216 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30217 (__WORDSIZE_TIME64_COMPAT32): New macro.
30219 2012-05-21 Andreas Jaeger <aj@suse.de>
30221 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30222 only if [SHARED]. Add prototype for __wcschr_ia32.
30224 2012-05-21 Roland McGrath <roland@hack.frob.com>
30226 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30227 of %rbp unmolested in the jmp_buf while mangling the low bits.
30228 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30229 unmolested high bits of %rbp while demangling the low bits.
30230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30232 2012-05-21 Andreas Jaeger <aj@suse.de>
30234 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30235 * sunrpc/svc_simple.c: Use it for registerrpc.
30236 * sunrpc/xcrypt.c: Use it for passwd2des.
30238 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30240 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30242 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30243 Don't define if [__SYSCALL_WORDSIZE != 32].
30244 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30247 2012-05-21 Bruno Haible <bruno@clisp.org>
30248 Andreas Jaeger <aj@suse.de>
30250 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30251 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30252 inptr and inend for must_buffer_ch.
30253 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30254 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30255 * stdio-common/Makefile (tests): Remove bug15.
30256 (bug15-ENV): Remove macro.
30257 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30260 2012-05-19 Andreas Jaeger <aj@suse.de>
30261 Roland McGrath <roland@hack.frob.com>
30263 * manual/contrib.texi: Completely rewritten. It contains now an
30264 alphabetical list of contributors and their contributions.
30266 2012-05-21 Richard Henderson <rth@twiddle.net>
30268 * misc/getauxval.c (__getauxval): Use unsigned long int.
30269 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30270 (getauxval): Use unsigned long int.
30272 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30274 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30276 2012-05-21 Roland McGrath <roland@hack.frob.com>
30278 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30279 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30280 __alignof__ (long double).
30282 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30286 2012-05-20 Richard Henderson <rth@twiddle.net>
30288 * misc/getauxval.c: New file.
30289 * misc/sys/auxv.h: New file.
30290 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30291 (routines): Add getauxval.
30292 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30293 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30294 * elf/dl-sysdep.c (_dl_auxv): Remove.
30295 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30296 * elf/dl-support.c (_dl_auxv): New variable.
30297 (_dl_aux_init): Initialize it.
30298 * manual/startup.texi (Auxiliary Vector): New node.
30299 * sysdeps/generic/bits/hwcap.h: New file.
30300 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30301 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30302 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30303 * sysdeps/sparc/sysdep.h: ... here. Include it.
30304 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30317 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30321 2012-05-19 David S. Miller <davem@davemloft.net>
30323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30325 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30328 * math/s_ccosh.c: Include <float.h>
30329 (__ccosh): Avoid internal overflow calculating sinh and cosh
30330 values before multiplying by sin and cos values.
30331 * math/s_ccoshf.c: Likewise.
30332 * math/s_ccoshl.c: Likewise.
30333 * math/s_csin.c: Likewise.
30334 * math/s_csinf.c: Likewise.
30335 * math/s_csinl.c: Likewise.
30336 * math/s_csinh.c: Likewise.
30337 * math/s_csinhf.c: Likewise.
30338 * math/s_csinhl.c: Likewise.
30339 * math/libm-test.inc (ccos_test): Add more tests.
30340 (ccosh_test): Likewise.
30341 (csin_test): Likewise.
30342 (csinh_test): Likewise.
30343 * sysdeps/i386/fpu/libm-test-ulps: Update.
30344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30346 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30348 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30349 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30351 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30353 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30355 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30356 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30357 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30358 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30359 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30360 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30361 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30362 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30363 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30364 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30365 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30366 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30367 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30368 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30369 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30370 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30371 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30372 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30373 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30374 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30375 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30376 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30377 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30378 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30379 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30380 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30381 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30382 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30383 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30384 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30385 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30387 2012-05-18 Andreas Jaeger <aj@suse.de>
30389 * csu/.gitignore: Delete.
30391 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30393 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30394 (timex): Use __syscall_slong_t.
30396 2012-05-18 Andreas Jaeger <aj@suse.de>
30397 Carlos O'Donell <carlos_odonell@mentor.com>
30399 * manual/install.texi (Configuring and compiling): Update
30400 description about files modified in the source directory.
30401 * INSTALL: Regenerated.
30403 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30405 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30406 value. Use "or" to set return value to -1.
30407 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30408 negate return value.
30410 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30412 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30413 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30414 failure if the compiler has Graphite support disabled.
30415 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30417 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30418 (CFLAGS-memmove.c): Likewise.
30419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30422 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30424 * sysdeps/x86_64/x32/_itoa.h: New file.
30426 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30427 getdents system call only if kernel and user dirents have the
30428 same d_ino and d_off.
30430 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30431 LLONG_MAX != LONG_MAX.
30432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30433 (_fitoa_word): Likewise.
30435 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30438 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30441 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30442 include <bits/wordsize.h>. Check __x86_64__ instead of
30444 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30445 if __x86_64__ is defined. Use anonymous union on fpstate.
30447 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30450 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30452 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30453 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30455 Refer to _rtld_local_ro instead of _rtld_global_ro.
30456 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30458 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30460 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30462 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30463 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30464 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30466 * sysdeps/powerpc/powerpc32/dl-machine.c
30467 (__elf_machine_runtime_setup) [PROF]: Don't reference
30470 2012-05-18 Andreas Jaeger <aj@suse.de>
30472 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30473 function only available for GCCs before 3.4 since GCC 3.4
30474 introduced a builtin.
30476 (llrintf): Likewise.
30477 (llrint): Likewise.
30484 (nearbyint): Likewise.
30485 (nearbyintf): Likewise.
30489 (floorf): Likewise.
30491 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30493 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30494 on both fields and cast pointer to __syscall_ulong_t.
30496 * bits/types.h (__fsword_t): New type.
30497 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30498 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30500 (__FSWORD_T_TYPE): Likewise.
30501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30502 (__FSWORD_T_TYPE): Likewise.
30503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30504 (__FSWORD_T_TYPE): Likewise.
30505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30506 (__FSWORD_T_TYPE): Likewise.
30507 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30508 __SWORD_TYPE with __fsword_t.
30509 (statfs64): Likewise.
30511 2012-05-17 David S. Miller <davem@davemloft.net>
30513 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30515 2012-05-17 Andreas Jaeger <aj@suse.de>
30517 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30520 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30522 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30524 2012-05-17 Andreas Jaeger <aj@suse.de>
30526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30529 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30531 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30535 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30536 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30538 2012-05-17 Andreas Jaeger <aj@suse.de>
30539 Carlos O'Donell <carlos_odonell@mentor.com>
30542 * sysdeps/x86_64/multiarch/init-arch.h
30543 (bit_YMM_Usable): Rename to...
30544 (bit_AVX_Usable): ... this.
30545 (bit_FMA4_Usable): New macro.
30546 (bit_XMM_state): New macro.
30547 (bit_YMM_state): New macro.
30548 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30549 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30550 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30551 (CPUID_OSXSAVE): New macro.
30552 (CPUID_AVX): New macro.
30553 (CPUID_FMA4): New macro.
30554 (index_YMM_Usable): Rename to...
30555 (index_AVX_Usable): ... this.
30556 (HAS_AVX): Use HAS_ARCH_FEATURE.
30557 (HAS_FMA4): Likewise.
30558 (HAS_YMM_USABLE): Remove.
30559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30560 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30562 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30563 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30564 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30565 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30566 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30568 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30570 * math/libm-test.c: Support platforms without multiple rounding modes.
30571 * math/bug-nextafter.c: Support platforms without FP exceptions.
30572 * math/bug-nexttoward.c: Likewise.
30573 * math/test-fenv.c: Likewise.
30574 * math/test-misc.c: Likewise.
30575 * stdlib/bug-getcontext.c: Likewise.
30577 2012-05-17 Andreas Jaeger <aj@suse.de>
30579 * manual/examples/search.c (critter_cmp): Change signature to
30581 * manual/string.texi (Collation Functions): Likewise.
30583 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30585 * bits/types.h: Fold copyright years.
30586 * bits/typesizes.h: Likewise.
30587 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30591 * time/time.h: Likewise.
30593 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30596 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30597 in instead of returning them. Return void.
30598 (__libc_mallinfo): Accumulate over all arenas.
30599 (__malloc_stats): Adjust for change in int_mallinfo interface.
30601 2012-05-16 Roland McGrath <roland@hack.frob.com>
30604 * configure.in (NM): Add AC_CHECK_TOOL for it.
30605 (libc_extra_cflags): New substituted variable.
30606 Check for -fstack-protector being used implicitly.
30607 * configure: Regenerated.
30608 * config.make.in (config-extra-cflags): New variable,
30609 gets @libc_extra_cflags@.
30610 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30613 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30614 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30615 * configure: Regenerated.
30616 * config.make.in (CPPUNDEFS): New substituted variable.
30617 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30618 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30619 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30621 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30623 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30624 (mq_attr): Use __syscall_slong_t.
30626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30628 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30629 Check __x86_64__ instead of __WORDSIZE.
30630 (_STAT_VER_LINUX): Likewise.
30631 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30632 __syscall_ulong_t and __syscall_slong_t.
30633 (stat64): Likewise.
30635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30639 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30641 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30643 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30645 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30648 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30649 include <bits/wordsize.h>. Check __x86_64__ instead of
30651 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30653 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30656 include <bits/wordsize.h>. Check __x86_64__ instead of
30658 (user_regs_struct): Use "__extension__ unsigned long long"
30659 instead of "unsigned long" if __x86_64__ is defined.
30660 (user): Likewise. Pad after pointer field if __ILP32__ is
30663 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30665 * configure.in (makeinfo): Require version 4.5 or later. Allow
30667 * configure: Regenerated.
30668 * manual/install.texi (texinfo): Increase version requirement to
30670 * INSTALL: Regenerated.
30672 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30674 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30676 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30678 * sysdeps/x86_64/x32/ffs.c: New file.
30680 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30682 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30683 defined. Use __syscall_ulong_t.
30684 (shminfo): Use __syscall_ulong_t.
30685 (shm_info): Likewise.
30687 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30690 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30692 (msgqnum_t): Use __syscall_ulong_t.
30693 (msglen_t): Likewise.
30694 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30697 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30702 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30703 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30705 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30708 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30709 include <bits/wordsize.h>. Check __x86_64__ instead of
30712 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30713 "unsigned long long int" if __x86_64__ is defined.
30714 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30718 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30722 (GET_PC): Cast to uintptr_t first.
30723 (GET_FRAME): Likewise.
30724 (GET_STACK): Likewise.
30726 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30727 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30728 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30729 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30730 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30731 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30732 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30733 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30734 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30735 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30736 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30737 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30738 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30739 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30740 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30741 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30743 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30744 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30745 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30746 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30747 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30748 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30749 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30750 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30751 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30752 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30753 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30754 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30756 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30758 * Makerules (+depfiles): Also collect depfiles from .oS in
30760 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30761 .oS, $(libnldbl-routines)).
30763 * Makerules (native-compile-mkdep-flags): Define.
30764 * sunrpc/Makefile (extra-objs): Add $(addprefix
30765 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30766 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30767 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30768 calling $(make-target-directory).
30770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30772 * bits/types.h (__snseconds_t): Removed.
30773 * time/time.h (struct timespec): Replace __snseconds_t with
30775 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30776 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30779 (__SNSECONDS_T_TYPE): Likewise.
30780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30781 (__SNSECONDS_T_TYPE): Likewise.
30782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30783 (__SNSECONDS_T_TYPE): Likewise.
30785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30787 * sysdeps/mach/hurd/bits/typesizes.h
30788 (__SYSCALL_SLONG_TYPE): New macro.
30789 (__SYSCALL_ULONG_TYPE): Likewise.
30791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30793 * bits/types.h (__syscall_slong_t): New type.
30794 (__syscall_ulong_t): Likewise.
30796 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30797 (__SYSCALL_ULONG_TYPE): Likewise.
30798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30799 (__SYSCALL_SLONG_TYPE): Likewise.
30800 (__SYSCALL_ULONG_TYPE): Likewise.
30801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30802 (__SYSCALL_SLONG_TYPE): Likewise.
30803 (__SYSCALL_ULONG_TYPE): Likewise.
30804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30805 (__SYSCALL_SLONG_TYPE): Likewise.
30806 (__SYSCALL_ULONG_TYPE): Likewise.
30808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30810 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30811 Add sigaltstack-offsets.sym.
30812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30813 <sigaltstack-offsets.h>.
30814 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30815 longjmp_msg pointer.
30816 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30817 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30819 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30821 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30823 * elf/stackguard-macros.h: Remove file.
30824 * sysdeps/generic/stackguard-macros.h: New file.
30825 * sysdeps/i386/stackguard-macros.h: Likewise.
30826 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30827 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30828 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30829 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30830 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30831 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30832 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30833 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30834 <elf/stackguard-macros.h>.
30837 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30838 __aligned__ in attribute.
30839 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30840 (gregset_t): Likewise.
30842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30844 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30845 * sysdeps/x86_64/64/Implies-after: Here. New file.
30846 * sysdeps/x86_64/x32/Implies-after: New file.
30848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30850 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30851 and access return value for _dl_profile_fixup. Use R10_LP to
30854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30856 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30860 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30861 * sysdeps/x86_64/x32/sysdep.h: New file.
30863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30865 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30866 * sysdeps/x86_64/setjmp.S: Likewise.
30868 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30870 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30871 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30872 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30874 remove unused global constant.
30876 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30878 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30879 include of <not-cancel.h>.
30881 2012-05-15 Roland McGrath <roland@hack.frob.com>
30883 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30885 2012-05-15 Jeff Law <law@redhat.com>
30886 Andreas Jaeger <aj@suse.de>
30889 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30891 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30892 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30893 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30894 code changing __hst_map_handle.map.
30896 2012-05-15 Roland McGrath <roland@hack.frob.com>
30898 * configure.in (sysnames): Look for Implies-before and Implies-after
30900 * configure: Regenerated.
30902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30904 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30905 8-byte data alignment with LP_SIZE alignment.
30907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30909 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30914 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30918 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30919 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30926 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30927 (stackinfo_sub_sp): Likewise.
30929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30941 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30946 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30950 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30951 into R11_LP and load __x86_64_shared_cache_size_half into
30954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30956 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30959 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30968 powerpc32/power7/fpu/s_logb.c via #include.
30969 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30970 powerpc32/power7/fpu/s_logbf.c via #include.
30971 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30972 powerpc32/power7/fpu/s_logbl.c via #include.
30974 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30976 * README.libm: Remove file.
30978 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30980 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30981 count for x32. Use R*_LP and omit operand-size suffix.
30983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30985 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30986 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30987 * sysdeps/x86_64/x32/shlib-versions: New file.
30989 2012-05-14 Roland McGrath <roland@hack.frob.com>
30991 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30992 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30993 Use _dl_fatal_printf instead.
30995 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30997 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30998 set if not set by the user. Do not allow for being unset.
30999 * sysdeps/unix/sysv/linux/configure: Regenerated.
31001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31003 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31004 the `q' suffix from lea and replace .quad with ASM_ADDR.
31006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31009 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31011 (PTR_DEMANGLE): Likewise.
31013 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31015 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31017 (ASM_ADDR): Likewise.
31018 (RAX_LP): Likewise.
31019 (RBP_LP): Likewise.
31020 (RBX_LP): Likewise.
31021 (RCX_LP): Likewise.
31022 (RDI_LP): Likewise.
31023 (RSI_LP): Likewise.
31024 (RSP_LP): Likewise.
31027 (R10_LP): Likewise.
31028 (R10_LP): Likewise.
31029 (R11_LP): Likewise.
31030 (R12_LP): Likewise.
31031 (R13_LP): Likewise.
31032 (R14_LP): Likewise.
31033 (R15_LP): Likewise.
31035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31037 * sysdeps/x86_64/x32/dl-machine.h: New file.
31039 2012-05-14 Andreas Jaeger <aj@suse.de>
31041 * manual/Makefile (subdir): Remove export of subdir.
31042 (all): Remove target.
31043 (.PHONY): Remove all from list.
31044 (mkinstalldirs): Remove.
31045 (.PHONY): Remove installdirs from list.
31046 ($(inst_infodir)/libc.info): Use make-target-directory.
31047 (installdirs): Remove.
31048 (subdir_%): Remove.
31049 (glibc-targets): Remove.
31052 ($(objpfx)stubs ../po/manual.pot): Remove.
31053 ($(objpfx)stamp%): Remove.
31054 (make-target-directory): Remove.
31055 (subdir_install): Remove.
31056 (routines): Remove.
31063 * manual/.gitignore: Remove, it's not needed anymore.
31064 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31066 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31068 (texis): Renamed to $(objpfx)texis.
31069 (texis-path): New, contains path to generated files.
31070 (chapters.%): Use texis-path for complete path, add extra argument
31072 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31073 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31074 (summary,texi, stamp-summary): Use complete path of
31075 files. Generate files in build dir.
31076 (dir-add.texi): Build in build dir.
31077 (libm-err.texi,stamp-libm-err): Likewise.
31078 (version.texi, stamp-version): Likewise.
31079 (.%c.texi): Likewise.
31080 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31081 (mostlyclean): Remove target.
31082 (realclean): Remove target.
31083 (generated): Add new variable with contents from mostlyclean and
31084 realclean, remove entries duplicated in common-mostlyclean, add
31085 stamp-libm-err and stamp-version.
31086 (generated-dirs): Add libc directory.
31087 ($(inst_infodir)/libc.info): Install files from build dir.
31089 * manual/install.texi (Configuring and compiling): Adjust since
31090 the info files are not part of the tar ball anymore.
31092 2012-05-14 Andreas Jaeger <aj@suse.de>
31094 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31097 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31101 to 2.2.0 where earlier.
31102 * sysdeps/unix/sysv/linux/configure: Regenerated.
31103 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31104 Remove conditional code.
31105 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31106 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31107 Remove conditional code.
31108 [!__NR_lchown]: Likewise.
31109 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31110 [__NR_lchown]: Likewise.
31111 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31112 comment referencing __ASSUME_LCHOWN_SYSCALL.
31113 * sysdeps/unix/sysv/linux/i386/sigaction.c
31114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31116 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31117 Remove conditional code.
31118 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31119 (__protocol_available): Remove #if 0 code.
31120 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31122 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31123 * sysdeps/unix/sysv/linux/kernel-features.h
31124 (__ASSUME_GETCWD_SYSCALL): Don't define.
31125 (__ASSUME_REALTIME_SIGNALS): Likewise.
31126 (__ASSUME_PREAD_SYSCALL): Likewise.
31127 (__ASSUME_PWRITE_SYSCALL): Likewise.
31128 (__ASSUME_POLL_SYSCALL): Likewise.
31129 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31130 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31132 (__ASSUME_SIOCGIFNAME): Don't define.
31133 (__ASSUME_MSG_NOSIGNAL): Likewise.
31134 (__ASSUME_SENDFILE): Define unconditionally.
31135 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31136 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31138 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31139 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31140 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31141 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31142 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31143 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31144 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31158 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31169 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31170 Remove conditional code.
31171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31172 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31173 Remove conditional code.
31174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31175 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31176 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31177 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31178 Remove conditional code.
31179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31180 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31181 Remove conditional code.
31182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31183 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31184 Remove conditional code.
31185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31186 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31187 Remove conditional code.
31188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31189 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31190 Remove conditional code.
31191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31192 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31195 * sysdeps/unix/sysv/linux/sigaction.c
31196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31198 * sysdeps/unix/sysv/linux/sigpending.c
31199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31201 * sysdeps/unix/sysv/linux/sigprocmask.c
31202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31204 * sysdeps/unix/sysv/linux/sigsuspend.c
31205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31207 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31208 (__libc_missing_rt_sigs): Remove.
31209 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31210 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31211 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31212 Remove conditional code.
31213 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31214 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31217 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31219 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31221 2012-05-14 Andreas Jaeger <aj@suse.de>
31223 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31224 it's not used in glibc.
31225 (__coshm1): Likewise.
31226 (__acosh1p): Likewise.
31229 * manual/string.texi (Copying and Concatenation): Add missing
31230 variable in concat example.
31231 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31236 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31237 __builtin_clzl with __builtin_clzll.
31239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31242 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31245 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31247 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31248 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31249 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31252 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31254 * NEWS: Update ia64 info.
31256 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31258 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31261 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31263 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31264 * sysdeps/unix/syscalls.list (dup3): Likewise.
31265 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31266 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31268 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31270 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31271 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31273 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31275 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31277 (TLS_IE): Use mov/add instead of movq/addq to load thread
31279 (TLS_GD_PREFIX): New.
31282 2012-05-11 David S. Miller <davem@davemloft.net>
31284 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31285 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31286 (_FPU_SETCW): Likewise.
31288 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31290 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31291 is 32-byte aligned.
31293 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31296 * iconvdata/gb18030.c: Update tables.
31297 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31298 characters specially.
31299 (BODY for TO_LOOP): Add encoding of missing ranges.
31301 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31304 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31305 * sysdeps/mach/hurd/dup3.c: Likewise.
31306 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31307 * sysdeps/powerpc/memmove.c:: Likewise.
31309 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31312 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31314 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31316 * elf/elf.h (R_X86_64_RELATIVE64): New.
31317 (R_X86_64_NUM): Updated.
31318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31319 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31320 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31321 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31322 tst-quad1pie tst-quad2pie
31323 (modules-names): Add tst-quadmod1 tst-quadmod2.
31324 ($(objpfx)tst-quad1): New dependency.
31325 ($(objpfx)tst-quad2): Likewise.
31326 ($(objpfx)tst-quad1pie): Likewise.
31327 ($(objpfx)tst-quad2pie): Likewise.
31328 * sysdeps/x86_64/tst-quad1.c: New file.
31329 * sysdeps/x86_64/tst-quad1pie.c: New file.
31330 * sysdeps/x86_64/tst-quad2.c: Likewise.
31331 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31332 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31333 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31334 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31335 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31339 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31340 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31341 * streams/stropts.h (t_scalar_t): Define type.
31343 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31344 (_PATH_PRESERVE): Set to "/var/lib".
31345 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31347 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31350 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31351 if __dir_mkfile succeeded.
31353 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31354 checking for _hurd_dtablesize. Unlock it right after having
31355 finished _hurd_dtable allocation.
31357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31359 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31360 * sysdeps/mach/hurd/configure: Regenerated.
31361 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31362 special-casing to...
31363 * sysdeps/gnu/configure.in: ... this new file.
31364 * sysdeps/unix/sysv/linux/configure: Regenerated.
31365 * sysdeps/gnu/configure: New generated file.
31367 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31368 for Linux: use nsec instead of usec, as well as:
31369 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31370 members of type struct timespec.
31371 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31373 (struct stat64): Likewise.
31374 (_STATBUF_ST_NSEC): New macro.
31375 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31377 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31378 __strtoul_internal rather than strtoul.
31380 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31382 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31387 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31388 which preserves existing values.
31389 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31391 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31393 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31394 TIMEOUT values. Return EINVAL for NFDS values either negative or
31395 greater than FD_SETSIZE.
31397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31399 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31400 allocated, call __vm_protect to finish enabling the existing space, and
31401 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31402 allocate the remainder.
31404 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31406 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31407 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31411 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31412 sysdeps/mach/hurd/readlink.c.
31414 * posix/tst-sysconf.c (posix_options): Only use
31415 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31416 _POSIX_SYNCHRONIZED_IO when they are defined
31417 * sysdeps/mach/hurd/bits/posix_opt.h:
31418 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31419 (_XOPEN_REALTIME): Undefine macro.
31420 (_XOPEN_REALTIME_THREADS): Undefine macro.
31421 (_XOPEN_SHM): Undefine macro.
31422 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31424 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31426 (_POSIX_ASYNC_IO): Undefine macro.
31427 (_POSIX_PRIORITIZED_IO): Undefine macro.
31428 (_POSIX_SPIN_LOCKS): Define macro to -1.
31430 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31431 SA_NODEFER, SA_RESETHAND.
31432 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31433 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31438 * elf/Makefile (pldd-modules): Define unconditionally.
31440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31442 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31446 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31447 Return ENOENT when name is empty.
31448 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31452 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31454 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31458 Fix mlock in all cases except non-readable pages.
31459 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31460 instead of VM_PROT_ALL as parameter to __vm_wire function.
31462 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31463 (__mkdir): When path is `/', just fail with EEXIST.
31464 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31468 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31469 <sys/uio.h> (for writev).
31470 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31471 and <sys/param.h> (for MIN).
31473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31475 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31476 REQUESTED_TIME. Properly set the remaining time and return EINTR
31479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31481 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31482 Depend on against $(link-rpcuserlibs).
31484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31486 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31487 (__libc_stack_end): Do not use attribute_relro.
31488 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31489 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31490 to libthread-provided value.
31491 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31494 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31497 * bits/libc-lock.h (__libc_once_get): New macro.
31498 * sysdeps/mach/bits/libc-lock.h: Likewise.
31499 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31501 instead of using implementation details.
31503 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31504 * libio/freopen.c: Likewise.
31505 * libio/freopen64.c: Likewise.
31506 * misc/syslog.c: Likewise.
31507 * nscd/connections.c: Likewise.
31508 * nscd/netgroupcache.c: Likewise.
31509 * sysdeps/posix/getcwd.c: Likewise.
31511 2012-05-10 Roland McGrath <roland@hack.frob.com>
31513 * math/w_ilogbf.c: Add #include <limits.h>.
31515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31517 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31518 path instead of returning without unlocking.
31520 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31521 immediate-write ioctls.
31522 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31526 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31527 __builtin_frame_address instead of making assumptions about the
31528 location of the return address relative to DATA. Force early load of
31529 the return address.
31530 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31531 __builtin_frame_address.
31534 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31535 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31536 implement dup3 and do some further code clean-ups.
31537 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31538 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31542 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31544 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31545 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31546 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31547 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31548 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31551 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31552 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31553 when handler == SIG_ERR, not when handler != SIG_ERR.
31555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31557 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31558 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31561 accept4 for GNU Hurd.
31562 * include/sys/socket.h (__libc_accept4): New prototype.
31563 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31564 to implement __libc_accept4.
31565 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31569 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31570 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31571 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31572 signal-defines.sym.
31574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31576 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31580 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31581 assertion on O_CLOEXEC flag.
31582 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31583 * hurd/intern-fd.c: Likewise.
31584 * hurd/port2fd.c: Likewise.
31586 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31589 * bits/in.h (IPV6_PKTINFO): Define new macro.
31590 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31592 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31597 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31599 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31600 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31602 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31603 * math/libm-test.inc (logb_test) : Additional logb tests.
31605 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31606 Andreas Jaeger <aj@suse.de>
31608 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31609 * configure: Regenerated.
31610 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31611 * config.make.in (link-obsolete-rpc): New substituted variable.
31612 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31613 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31614 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31615 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31616 so that libc.a contains the symbols.
31617 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31618 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31619 * sunrpc/auth_none.c: Likewise.
31620 * sunrpc/auth_unix.c: Likewise.
31621 * sunrpc/authdes_prot.c: Likewise.
31622 * sunrpc/authuxprot.c: Likewise.
31623 * sunrpc/clnt_gen.c: Likewise.
31624 * sunrpc/clnt_perr.c: Likewise.
31625 * sunrpc/clnt_raw.c: Likewise.
31626 * sunrpc/clnt_simp.c: Likewise.
31627 * sunrpc/clnt_tcp.c: Likewise.
31628 * sunrpc/clnt_udp.c: Likewise.
31629 * sunrpc/clnt_unix.c: Likewise.
31630 * sunrpc/des_crypt.c: Likewise.
31631 * sunrpc/des_soft.c: Likewise.
31632 * sunrpc/get_myaddr.c: Likewise.
31633 * sunrpc/key_call.c: Likewise.
31634 * sunrpc/key_prot.c: Likewise.
31635 * sunrpc/netname.c: Likewise.
31636 * sunrpc/pm_getmaps.c: Likewise.
31637 * sunrpc/pm_getport.c: Likewise.
31638 * sunrpc/pmap_clnt.c: Likewise.
31639 * sunrpc/pmap_prot.c: Likewise.
31640 * sunrpc/pmap_prot2.c: Likewise.
31641 * sunrpc/pmap_rmt.c: Likewise.
31642 * sunrpc/publickey.c: Likewise.
31643 * sunrpc/rpc_cmsg.c: Likewise.
31644 * sunrpc/rpc_common.c: Likewise.
31645 * sunrpc/rpc_dtable.c: Likewise.
31646 * sunrpc/rpc_prot.c: Likewise.
31647 * sunrpc/rpc_thread.c: Likewise.
31648 * sunrpc/rtime.c: Likewise.
31649 * sunrpc/svc.c: Likewise.
31650 * sunrpc/svc_auth.c: Likewise.
31651 * sunrpc/svc_raw.c: Likewise.
31652 * sunrpc/svc_run.c: Likewise.
31653 * sunrpc/svc_tcp.c: Likewise.
31654 * sunrpc/svc_udp.c: Likewise.
31655 * sunrpc/svc_unix.c: Likewise.
31656 * sunrpc/svcauth_des.c: Likewise.
31657 * sunrpc/xcrypt.c: Likewise.
31658 * sunrpc/xdr.c: Likewise.
31659 * sunrpc/xdr_array.c: Likewise.
31660 * sunrpc/xdr_float.c: Likewise.
31661 * sunrpc/xdr_intXX_t.c: Likewise.
31662 * sunrpc/xdr_mem.c: Likewise.
31663 * sunrpc/xdr_rec.c: Likewise.
31664 * sunrpc/xdr_ref.c: Likewise.
31665 * sunrpc/xdr_sizeof.c: Likewise.
31666 * sunrpc/xdr_stdio.c: Likewise.
31668 2012-05-10 Roland McGrath <roland@hack.frob.com>
31670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31671 change. Update copyright years.
31673 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31675 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31677 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31678 Joseph Myers <joseph@codesourcery.com>
31679 Paul Pluzhnikov <ppluzhnikov@google.com>
31682 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31684 [cross-compiling] (extra-libs): Likewise.
31685 [cross-compiling] (extra-libs-others): Likewise.
31686 [cross-compiling] (librpcsvc-routines): Likewise.
31687 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31688 [cross-compiling] (omit-deps): Likewise.
31689 (sunrpc-CPPFLAGS): New variable.
31690 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31691 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31692 (cross-rpcgen-objs): New variable.
31693 (extra-objs): Append $(cross-rpcgen-objs).
31694 ($(cross-rpcgen-objs)): New rule.
31695 ($(objpfx)cross-rpcgen): Likewise.
31696 (rpcgen-cmd): Define to use $(built-program-file). Expand
31698 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31699 ($(objpfx)x%.stmp): Likewise.
31700 * sunrpc/proto.h [IS_IN_build] (_): Define.
31701 [IS_IN_build] (_libc_intl_domainname): Likewise.
31703 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31706 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31707 and R_X86_64_TPOFF64.
31709 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31711 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31712 sysdeps/unix/sysv/syscalls.list.
31715 * sysdeps/unix/sysv/syscalls.list: Remove file.
31717 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31720 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31721 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31722 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31723 (__LC_IDENTIFICATION): Make these macros useful in #if
31724 expressions, as required by C99.
31726 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31728 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31729 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31732 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31734 * stdlib/longlong.h: Updated from GCC.
31736 2012-05-09 Andreas Jaeger <aj@suse.de>
31738 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31739 default is first entry.
31740 (run_mode): Set type.
31741 (main): Remove informal message about syslog.
31742 (options): Fix typo.
31745 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31748 (llrintf): Likewise.
31749 (llrint): Likewise.
31752 (nearbyint): Likewise.
31753 (nearbyintf): Likewise.
31755 2012-05-09 Andreas Jaeger <aj@suse.de>
31756 Pedro Alves <palves@redhat.com>
31758 * nscd/nscd.c (run_mode): Use enum.
31759 (main): Cleanup coding style issue.
31761 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31762 Andreas Jaeger <aj@suse.de>
31764 * nscd/nscd.c (go_background): Replaced with...
31765 (run_mode): ... this.
31766 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31767 (options): Add -F --foreground.
31768 (main): Implement it.
31769 (parse_opt): Parse it.
31771 2012-05-09 Andreas Jaeger <aj@suse.de>
31774 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31775 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31776 -Wconversion warning.
31777 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31780 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31782 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31784 (LC_ALL): Use macro-int-constant.
31785 (LC_COLLATE): Likewise.
31786 (LC_CTYPE): Likewise.
31787 (LC_MESSAGES): Likewise.
31788 (LC_MONETARY): Likewise.
31789 (LC_NUMERIC): Likewise.
31790 (LC_TIME): Likewise.
31791 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31792 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31794 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31796 [C99-based standards] (float_t): Expect type.
31797 [C99-based standards] (double_t): Expect type.
31798 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31800 [C99-based standards] (HUGE_VALL): Likewise.
31801 [C99-based standards] (INFINITY): Likewise.
31802 [C99-based standards] (NAN): Likewise.
31803 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31804 [C99-based standards] (FP_NAN): Likewise.
31805 [C99-based standards] (FP_NORMAL): Likewise.
31806 [C99-based standards] (FP_SUBNORMAL): Likewise.
31807 [C99-based standards] (FP_ZERO): Likewise.
31808 [C99-based standards] (FP_FAST_FMA): Use
31809 optional-macro-int-constant. Specify type. Require == 1.
31810 [C99-based standards] (FP_FAST_FMAF): Likewise.
31811 [C99-based standards] (FP_FAST_FMAL): Likewise.
31812 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31813 [C99-based standards] (FP_ILOGBNAN): Likewise.
31814 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31816 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31817 [C99-based standards] (math_errhandling): Specify type.
31818 [ISO99 || ISO11] (signgam): Do not allow.
31819 [non-C99-based standards] (copysignf): Do not allow.
31820 [non-C99-based standards] (exp2f): Likewise.
31821 [non-C99-based standards] (log2f): Likewise.
31822 [non-C99-based standards] (modff): Allow.
31823 [non-C99-based standards] (erff): Do not allow.
31824 [non-C99-based standards] (erfcf): Likewise.
31825 [non-C99-based standards] (gammaf): Likewise.
31826 [non-C99-based standards] (hypotf): Likewise.
31827 [non-C99-based standards] (j0f): Likewise.
31828 [non-C99-based standards] (j1f): Likewise.
31829 [non-C99-based standards] (jnf): Likewise.
31830 [non-C99-based standards] (lgammaf): Likewise.
31831 [non-C99-based standards] (tgammaf): Likewise.
31832 [non-C99-based standards] (y0f): Likewise.
31833 [non-C99-based standards] (y1f): Likewise.
31834 [non-C99-based standards] (ynf): Likewise.
31835 [non-C99-based standards] (isnanf): Likewise.
31836 [non-C99-based standards] (acoshf): Likewise.
31837 [non-C99-based standards] (asinhf): Likewise.
31838 [non-C99-based standards] (atanhf): Likewise.
31839 [non-C99-based standards] (cbrtf): Likewise.
31840 [non-C99-based standards] (expm1f): Likewise.
31841 [non-C99-based standards] (ilogbf): Likewise.
31842 [non-C99-based standards] (log1pf): Likewise.
31843 [non-C99-based standards] (logbf): Likewise.
31844 [non-C99-based standards] (nextafterf): Likewise.
31845 [non-C99-based standards] (remainderf): Likewise.
31846 [non-C99-based standards] (rintf): Likewise.
31847 [non-C99-based standards] (scalbf): Likewise.
31848 [non-C99-based standards] (copysignl): Likewise.
31849 [non-C99-based standards] (exp2l): Likewise.
31850 [non-C99-based standards] (log2l): Likewise.
31851 [non-C99-based standards] (modfl): Allow.
31852 [non-C99-based standards] (erfl): Do not allow.
31853 [non-C99-based standards] (erfcl): Likewise.
31854 [non-C99-based standards] (gammal): Likewise.
31855 [non-C99-based standards] (hypotl): Likewise.
31856 [non-C99-based standards] (j0l): Likewise.
31857 [non-C99-based standards] (j1l): Likewise.
31858 [non-C99-based standards] (jnl): Likewise.
31859 [non-C99-based standards] (lgammal): Likewise.
31860 [non-C99-based standards] (tgammal): Likewise.
31861 [non-C99-based standards] (y0l): Likewise.
31862 [non-C99-based standards] (y1l): Likewise.
31863 [non-C99-based standards] (ynl): Likewise.
31864 [non-C99-based standards] (isnanl): Likewise.
31865 [non-C99-based standards] (acoshl): Likewise.
31866 [non-C99-based standards] (asinhl): Likewise.
31867 [non-C99-based standards] (atanhl): Likewise.
31868 [non-C99-based standards] (cbrtl): Likewise.
31869 [non-C99-based standards] (expm1l): Likewise.
31870 [non-C99-based standards] (ilogbl): Likewise.
31871 [non-C99-based standards] (log1pl): Likewise.
31872 [non-C99-based standards] (logbl): Likewise.
31873 [non-C99-based standards] (nextafterl): Likewise.
31874 [non-C99-based standards] (remainderl): Likewise.
31875 [non-C99-based standards] (rintl): Likewise.
31876 [non-C99-based standards] (scalbl): Likewise.
31877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31878 [non-C99-based standards] (FP_*): Do not allow.
31879 [C99-based standards] (FP_*): Change to
31880 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31881 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31883 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31884 (SIG_ERR): Likewise.
31885 [X/Open-based standards] (SIG_HOLD): Likewise.
31886 (SIG_IGN): Likewise.
31887 (SIGABRT): Use macro-int-constant. Specify type. Require
31889 (SIGFPE): Likewise.
31890 (SIGILL): Likewise.
31891 (SIGINT): Likewise.
31892 (SIGSEGV): Likewise.
31893 (SIGTER): Likewise.
31894 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31895 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31896 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31897 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31898 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31899 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31900 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31901 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31902 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31903 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31904 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31905 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31906 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31907 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31908 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31909 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31910 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31911 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31912 [X/Open-based standards] (SIGTRAP): Likewise.
31913 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31914 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31915 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31916 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31917 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31920 2012-05-08 Ian Wienand <ianw@vmware.com>
31923 * time/tzset.c (__tzset_parse_tz): Update default rules for
31924 daylight time changes in the Energy Policy Act of 2005.
31926 2012-05-09 Andreas Jaeger <aj@suse.de>
31929 * elf/ldconfig.c (parse_conf): Change string to make clear that
31930 ldconfig only issued a warning if ld.so.conf does not exist.
31932 2012-05-08 David S. Miller <davem@davemloft.net>
31934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31935 movxtod instead of popping the value on the stack.
31937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31939 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31941 * config.h.in: Add HAVE_ARM_PCS_VFP.
31943 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31946 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31947 checking but the checks are disabled for any reason.
31949 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31951 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31952 and ELF64_R_TYPE with ELFW(R_TYPE).
31954 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31956 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31957 (ulimit): Likewise.
31959 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31960 (settimeofday): Likewise.
31962 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31964 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31965 a struct th_u2 inside the union, and move tu_block/tu_code into
31966 a new th_u3 union of tu_block/tu_code inside of that. Move
31967 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31968 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31969 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31970 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31971 (th_stuff): Change to th_u1.tu_stuff.
31973 (th_msg): Change to th_u1.th_u2.tu_data.
31975 2012-05-07 David S. Miller <davem@davemloft.net>
31977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31980 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31981 (SETUP_PIC_REG): Use it.
31982 (SETUP_PIC_REG_LEAF): Use it.
31984 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31990 (EXPL_FINITE): Likewise.
31991 (FLDLOG): Likewise.
31992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31993 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31997 (EXPL_FINITE): Likewise.
31998 (FLDLOG): Likewise.
31999 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32000 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32002 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32003 test of -max_value argument for long double.
32004 * sysdeps/i386/fpu/libm-test-ulps: Update.
32005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32007 2012-05-06 David S. Miller <davem@davemloft.net>
32009 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32010 quad soft-float symbols whose references which are compiler
32012 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32014 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32018 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32020 (EXPL_FINITE): Likewise.
32021 (FLDLOG): Likewise.
32024 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32025 Adjust comments for base varying.
32026 (__expl_finite): Change alias to EXPL_FINITE.
32027 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32029 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32030 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32031 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32032 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32033 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32035 (EXPL_FINITE): Likewise.
32036 (FLDLOG): Likewise.
32039 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32040 Adjust comments for base varying.
32041 (__expl_finite): Change alias to EXPL_FINITE.
32042 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32047 * math/libm-test.inc (check_float_internal): Correct ulp
32048 calculation for subnormal expected results.
32050 2012-05-06 Andreas Jaeger <aj@suse.de>
32052 * Makeconfig (+math-flags): New, set to -frounding-math.
32053 (+cflags): Add +math-flags so that all of glibc gets compiled with
32056 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32058 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32060 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32066 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32067 (__ieee754_expl): Allow for and saturate large arguments.
32068 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32069 (u_threshold): Likewise.
32070 (__exp): Call __ieee754_exp before checking for overflow and
32072 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32073 (u_threshold): Likewise.
32074 (__expf): Call __ieee754_expf before checking for overflow and
32076 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32077 (u_threshold): Likewise.
32078 (__expl): Call __ieee754_expl before checking for overflow and
32080 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32081 (__ieee754_expl): Allow for and saturate large arguments.
32082 * math/libm-test.inc (exp_test): Add another test. Do not allow
32083 missing overflow exception on overflow.
32084 (expm1_test): Do not allow missing overflow exception on overflow.
32086 * sysdeps/i386/fpu/e_expl.c: Move to ...
32087 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32088 rather than using inline asm.
32089 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32090 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32091 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32093 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32096 (signal): Likewise.
32100 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32102 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32103 sysdeps/unix/common/syscalls.list.
32104 (fchmod): Likewise.
32105 (fchown): Likewise.
32106 (ftruncate): Likewise.
32107 (getrusage): Likewise.
32108 (gettimeofday): Likewise.
32109 (setpgid): Likewise.
32110 (setregid): Likewise.
32111 (setreuid): Likewise.
32112 (sigaction): Likewise.
32113 (truncate): Likewise.
32114 (vhangup): Likewise.
32115 * sysdeps/unix/common/syscalls.list: Remove file.
32116 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32117 * sysdeps/unix/sysv/linux/Implies: Likewise.
32119 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32121 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32123 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32127 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32130 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32133 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32136 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32139 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32142 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32145 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32149 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32153 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32156 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32160 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32164 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32166 * sysdeps/unix/common/bits/dirent.h: Remove file.
32167 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32169 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32170 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32171 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32172 * sysdeps/unix/bsd/isatty.c: Likewise.
32173 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32174 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32175 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32177 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32181 long double comparison inaccuracies.
32182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32185 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32187 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32190 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32194 nonzero digits before rounding a hex value.
32195 * stdlib/tst-strtod.c (tests): Add another test.
32197 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32199 * sysdeps/s390/fpu/libm-test-ulps: Update.
32201 2012-05-03 Andreas Jaeger <aj@suse.de>
32203 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32204 does not get optimized out.
32205 (malloc_opt_barrier): New.
32207 2012-05-03 Andreas Jaeger <aj@suse.de>
32208 Roland McGrath <roland@hack.frob.com>
32210 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32211 intermediate file deletion.
32212 (generated): Add .symlist files.
32214 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32217 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32218 Redirect under this condition.
32219 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32220 [__USE_GNU] (__dprintf_chk): Not under this condition.
32221 [__USE_GNU] (__vdprintf_chk): Likewise.
32222 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32223 under this condition.
32224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32225 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32226 [__USE_XOPEN2K8] (vdprintf): Likewise.
32227 [__USE_GNU] (__dprintf_chk): Not under this condition.
32228 [__USE_GNU] (__vdprintf_chk): Likewise.
32229 [__USE_GNU] (dprintf): Likewise.
32230 [__USE_GNU] (vdprintf): Likewise.
32232 2012-05-03 Roland McGrath <roland@hack.frob.com>
32234 * elf/Makefile (common-generated): Set this instead of generated for
32235 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32236 $(all-built-dso)-derived lists.
32238 2012-05-03 Andreas Jaeger <aj@suse.de>
32240 * sysdeps/i386/fpu/libm-test-ulps: Update.
32243 * FAQ.in: Likewise.
32244 * scripts/gen-FAQ.pl: Likewise.
32245 * manual/install.texi (Installation): Point to online location of
32247 * Makefile (files-for-dist): Remove FAQ.
32250 2012-05-02 Allan McRae <allan@archlinux.org>
32252 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32253 (LDFLAGS-reldepmod5.so): Likewise.
32254 (LDFLAGS-reldep6mod1.so): Likewise.
32255 (LDFLAGS-reldep6mod4.so): Likewise.
32256 (LDFLAGS-reldep8mod3.so): Likewise.
32257 (LDFLAGS-unload4mod1.so): Likewise.
32258 (LDFLAGS-unload4mod2.so): Likewise.
32259 (LDFLAGS-tst-initorder): Likewise.
32260 (LDFLAGS-tst-initordera2.so): Likewise.
32261 (LDFLAGS-tst-initordera3.so): Likewise.
32262 (LDFLAGS-tst-initordera4.so): Likewise.
32263 (LDFLAGS-tst-initorderb2.so): Likewise.
32264 (LDFLAGS-noload): Likewise.
32265 (LDFLAGS-next): Likewise.
32266 (LDFLAGS-order2mod1.so): Likewise.
32267 (LDFLAGS-order2mod2.so): Likewise.
32268 (LDFLAGS-tst-initorder2): Likewise.
32269 (LDFLAGS-tst-initorder2a.so): Likewise.
32270 (LDFLAGS-tst-initorder2b.so): Likewise.
32271 (LDFLAGS-tst-initorder2c.so): Likewise.
32272 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32274 2012-05-02 David S. Miller <davem@davemloft.net>
32276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32278 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32281 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32283 2012-05-02 Andreas Jaeger <aj@suse.de>
32285 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32286 since we manipulate rounding mode.
32287 (CPPFLAGS-test-idouble.c): Likewise.
32288 (CPPFLAGS-test-ifloat.c): Likewise.
32289 (CFLAGS-test-ldouble.c): Likewise.
32290 (CFLAGS-test-double.c): Likewise.
32291 (CFLAGS-test-float.c): Likewise.
32292 (CFLAGS-test-misc.c): Likewise.
32293 (CFLAGS-test-test-fenv.c): Likewise.
32295 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32300 comparisons to determine direction to adjust input.
32302 2012-05-01 Roland McGrath <roland@hack.frob.com>
32304 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32305 output to the target.
32307 * scripts/localplt.awk: New file.
32308 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32309 (check-localplt-CFLAGS): Variable removed.
32310 ($(all-built-dso:=.jmprel)): New static pattern rule.
32311 (generated): Add those targets.
32312 (localplt-built-dso): New variable.
32313 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32315 * elf/check-localplt.c: File removed.
32317 * scripts/check-execstack.awk: New file.
32318 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32319 (check-execstack-CFLAGS): Variable removed.
32320 ($(objpfx)check-execstack.h): Target removed.
32321 ($(objpfx)execstack-default): New target.
32322 (generated): Add that instead of check-execstack.h.
32323 ($(all-built-dso:=.phdr)): New static pattern rule.
32324 (generated): Add those targets.
32325 * elf/check-execstack.c: File removed.
32327 * scripts/check-textrel.awk: New file.
32328 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32329 (check-textrel-CFLAGS): Variable removed.
32330 (all-built-dso): Use := to define.o
32331 ($(all-built-dso:=.dyn)): New static pattern rule.
32332 (generated): Add those targets.
32333 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32334 * config.make.in (READELF): New substituted variable.
32335 * elf/check-textrel.c: File removed.
32337 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32339 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32341 * conform/data/ctype.h-data [C99-based standards] (isblank):
32343 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32344 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32346 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32347 Specify type. Require positive value.
32348 (EILSEQ): Likewise.
32349 (ERANGE): Likewise.
32350 [ISO || POSIX] (EILSEQ): Do not expect.
32351 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32352 Specify type. Require positive value.
32353 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32354 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32355 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32356 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32357 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32358 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32359 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32360 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32361 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32362 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32363 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32364 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32365 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32366 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32367 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32368 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32369 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32370 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32371 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32372 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32373 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32374 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32375 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32376 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32377 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32378 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32379 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32380 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32381 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32382 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32383 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32384 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32385 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32386 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32387 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32388 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32389 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32390 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32391 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32392 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32393 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32394 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32395 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32396 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32397 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32398 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32399 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32400 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32401 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32402 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32403 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32404 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32405 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32406 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32407 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32408 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32409 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32410 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32411 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32412 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32413 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32414 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32415 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32416 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32417 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32418 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32419 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32420 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32421 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32422 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32423 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32424 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32425 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32426 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32427 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32428 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32429 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32431 (FLT_ROUNDS): Expect as macro, not constant.
32432 (FLT_MANT_DIG): Use macro-int-constant.
32433 (DBL_MANT_DIG): Likewise.
32434 (LDBL_MANT_DIG): Likewise.
32435 (FLT_DIG): Likewise.
32436 (DBL_DIG): Likewise.
32437 (LDBL_DIG): Likewise.
32438 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32439 (DBL_MIN_EXP): Likewise.
32440 (LDBL_MIN_EXP): Likewise.
32441 (FLT_MAX_EXP): Use macro-int-constant.
32442 (DBL_MAX_EXP): Likewise.
32443 (LDBL_MAX_EXP): Likewise.
32444 (FLT_MAX_10_EXP): Likewise.
32445 (DBL_MAX_10_EXP): Likewise.
32446 (LDBL_MAX_10_EXP): Likewise.
32447 (FLT_MAX): Use macro-constant.
32448 (DBL_MAX): Likewise.
32449 (LDBL_MAX): Likewise.
32450 (FLT_EPSILON): Use macro-constant. Give upper bound.
32451 (DBL_EPSILON): Likewise.
32452 (LDBL_EPSILON): Likewise.
32453 (FLT_MIN): Likewise.
32454 (DBL_MIN): Likewise.
32455 (LDBL_MIN): Likewise.
32456 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32457 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32458 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32459 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32460 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32461 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32462 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32463 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32464 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32465 [ISO11] (FLT_TRUE_MIN): Likewise.
32466 [ISO11] (LDBL_TRUE_MIN): Likewise.
32467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32468 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32469 (SCHAR_MIN): Use macro-int-constant. Specify type.
32470 (SCHAR_MAX): Likewise.
32471 (UCHAR_MAX): Likewise.
32472 (CHAR_MIN): Likewise.
32473 (CHAR_MAX): Likewise.
32474 (MB_LEN_MAX): Use macro-int-constant.
32475 (SHRT_MIN): Use macro-int-constant. Specify type.
32476 (SHRT_MAX): Likewise.
32477 (USHRT_MAX): Likewise.
32478 (INT_MAX): Likewise.
32479 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32481 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32483 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32485 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32486 bound negative. Suffix upper bound with "L".
32487 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32489 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32491 [C99-based standards] (LLONG_MAX): Likewise.
32492 [C99-based standards] (ULLONG_MAX): Likewise.
32493 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32495 [ISO11] (max_align_t): Require type.
32496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32498 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32499 from $CFLAGS, without defining away __attribute__ calls.
32500 (checknamespace): Use $CFLAGS_namespace.
32502 * conform/conformtest.pl (@keywords): Only include C99 keywords
32503 for standards based on C99 or C11.
32505 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32507 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32510 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32511 usability of symbols in #if.
32513 * conform/conformtest.pl: If macro or constant types start
32514 "promoted:", expect the symbol to be of the following type
32515 promoted by the integer promotions.
32517 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32518 in one place. Also handle "macro-constant".
32520 * conform/conformtest.pl: Only accept expected macro values with
32521 "==". Parse all "macro" lines in one place.
32522 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32524 * conform/conformtest.pl: Handle braced types on "constant" lines
32525 instead of handling "typed-constant".
32526 * conform/data/signal.h-data: Use "constant" instead of
32529 * conform/conformtest.pl: Handle "optional-" at start of lines in
32530 one place rather than duplicating several cases. Handle each
32531 format of "macro" line with initial "optional-".
32533 * conform/conformtest.pl: Only accept expected constant or
32534 optional-constant values with "==". Parse all "constant" lines in
32535 one place. Parse all "optional-constant" lines in one place.
32536 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32537 * conform/data/fmtmsg.h-data: Likewise.
32538 * conform/data/netinet/in.h-data: Likewise.
32539 * conform/data/tar.h-data: Likewise.
32540 * conform/data/limits.h-data: Use "==" form on "constant" and
32541 "optional-constant" lines.
32543 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32544 Use -std=c99 for XOPEN2K.
32545 (@knownproblems): Remove.
32546 (newtoken): Don't check %isknown.
32548 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32549 Do not expect macro.
32550 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32551 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32552 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32553 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32554 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32555 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32556 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32557 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32558 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32559 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32562 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32563 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32566 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32567 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32580 [XPG3] (acosh): Likewise.
32581 [XPG3] (asinh): Likewise.
32582 [XPG3] (atanh): Likewise.
32583 [XPG3] (cbrt): Likewise.
32584 [XPG3] (expm1): Likewise.
32585 [XPG3] (ilogb): Likewise.
32586 [XPG3] (log1p): Likewise.
32587 [XPG3] (logb): Likewise.
32588 [XPG3] (nextafter): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32591 [XPG3] (remainder): Likewise.
32592 [XPG3] (rint): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32600 [UNIX98 || XOPEN2K] (scalb): Expect.
32601 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32602 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32739 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32740 _XOPEN_SOURCE_EXTENDED for XPG4.
32742 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32744 * Makeconfig (localtime): Remove variable.
32745 (inst_localtime-file): Likewise.
32747 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32768 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32772 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32773 comparisons to determine direction to adjust input.
32774 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32775 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32780 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32785 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32787 * math/libm-test.inc (nexttoward_test): Add more tests.
32789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32793 in version GLIBC_2.1, not GLIBC_2.0.
32794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32797 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32800 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32802 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32803 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32804 * math/libm-test.inc (acos_test): Add more tests.
32805 (asin_test): Likewise.
32806 * sysdeps/i386/fpu/libm-test-ulps: Update.
32807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32810 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32812 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32813 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32814 * math/libm-test.inc (acos_test_tonearest): New function.
32815 (acos_test_towardzero): Likewise.
32816 (acos_test_downward): Likewise.
32817 (acos_test_upward): Likewise.
32818 (asin_test_tonearest): Likewise.
32819 (asin_test_towardzero): Likewise.
32820 (asin_test_downward): Likewise.
32821 (asin_test_upward): Likewise.
32822 (main): Call the new functions.
32823 * sysdeps/i386/fpu/libm-test-ulps: Update.
32824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32828 * math/e_exp10.c: Include <float.h>.
32829 (__ieee754_exp10): Handle underflow here rather than multiplying
32830 large negative argument by M_LN10.
32831 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32833 * math/e_exp10l.c: Include <float.h>.
32834 (__ieee754_exp10l): Handle underflow here rather than multiplying
32835 large negative argument by M_LN10l.
32836 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32837 spurious overflow exception on underflow.
32839 2012-04-29 Marek Polacek <polacek@redhat.com>
32841 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32842 (__fortify_function): New macro.
32843 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32844 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32845 __extern_always_inline.
32846 * libio/bits/stdio2.h: Likewise.
32847 * libio/bits/stdio.h: Likewise.
32848 * string/string.h: Likewise.
32849 * string/bits/string3.h: Likewise.
32850 * include/stdio.h: Likewise.
32851 * stdlib/bits/stdlib.h: Likewise.
32852 * stdlib/stdlib.h: Likewise.
32853 * rt/bits/mqueue2.h: Likewise.
32854 * rt/mqueue.h: Likewise.
32855 * posix/bits/unistd.h: Likewise.
32856 * posix/unistd.h: Likewise.
32857 * io/bits/poll2.h: Likewise.
32858 * io/bits/fcntl2.h: Likewise.
32859 * io/fcntl.h: Likewise.
32860 * io/sys/poll.h: Likewise.
32861 * misc/bits/syslog.h: Likewise.
32862 * misc/bits/syslog-ldbl.h: Likewise.
32863 * misc/sys/syslog.h: Likewise.
32864 * socket/bits/socket2.h: Likewise.
32865 * socket/sys/socket.h: Likewise.
32866 * debug/tst-chk1.c: Likewise.
32867 * wcsmbs/bits/wchar2.h: Likewise.
32868 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32869 * wcsmbs/wchar.h: Likewise.
32871 2012-04-29 Andreas Jaeger <aj@suse.de>
32873 * Makerules (tests): Remove enable-check-abi protection.
32874 (check-abi-warn): Remove.
32875 (check-abi-%): Remove check-abi-warn usage.
32877 * configure.in: Remove check-abi configure option.
32878 * configure: Regenerated.
32879 * config.make.in (enable-check-abi): Remove.
32881 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32884 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32885 double functions to double *_finite functions.
32888 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32889 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32891 * stdio-common/Makefile (tests): Add tst-sprintf3.
32892 * stdio-common/tst-sprintf3.c: New file.
32894 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32895 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32897 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32899 * conform/conformtest.pl: Remove duplicate typed-constant
32902 2012-04-28 David S. Miller <davem@davemloft.net>
32904 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32905 (check-abi-%): Remove AWK script prerequisite and explicit
32907 (check-abi): Rewrite to just diff the symlist with the abilist.
32908 (config-tls, config-abi-config): Delete, no longer used.
32909 (update-abi-%): Remove AWK script and explicit abilist directory.
32910 (update-abi): Rewrite to simply compare and conditionally copy the
32911 symlist and the sysdep abilist file. Remove update-abi-config
32913 * abilist/ld.abilist: Remove.
32914 * abilist/libBrokenLocale.abilist: Remove.
32915 * abilist/libanl.abilist: Remove.
32916 * abilist/libcrypt.abilist: Remove.
32917 * abilist/libdl.abilist: Remove.
32918 * abilist/librt.abilist: Remove.
32919 * abilist/libthread_db.abilist: Remove.
32920 * abilist/libutil.abilist: Remove.
32921 * scripts/extract-abilist.awk: Remove.
32922 * scripts/merge-abilist.awk: Remove.
32923 * sysdeps/generic/libcidn.abilist: New file.
32924 * sysdeps/generic/libnss_compat.abilist: New file.
32925 * sysdeps/generic/libnss_db.abilist: New file.
32926 * sysdeps/generic/libnss_dns.abilist: New file.
32927 * sysdeps/generic/libnss_files.abilist: New file.
32928 * sysdeps/generic/libnss_hesiod.abilist: New file.
32929 * sysdeps/generic/libnss_nis.abilist: New file.
32930 * sysdeps/generic/libnss_nisplus.abilist: New file.
32931 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32932 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32933 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32936 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32937 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32938 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32939 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32940 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32941 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32942 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32943 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32945 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32946 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32947 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32948 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32950 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32951 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32952 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32953 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32954 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32955 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32957 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32958 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32959 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32961 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33065 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33066 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33069 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33070 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33071 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33072 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33073 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33074 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33075 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33076 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33077 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33129 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33131 * conform/conformtest.pl: Fix typo in handling typed-constant from
33134 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33136 * README: Cut down references to pre-2.6 Linux kernels and
33137 Linuxthreads. Update lists of configurations in libc and ports
33138 and sort alphabetically. Say "or newer" with Linux kernel version
33141 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33143 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33146 * math/libm-test.inc (logb_test_downward): New test to expose
33147 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33150 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33153 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33155 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33156 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33158 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33160 * sysdeps/unix/i386/brk.S: Remove file.
33161 * sysdeps/unix/i386/dl-brk.S: Likewise.
33162 * sysdeps/unix/i386/pipe.S: Likewise.
33163 * sysdeps/unix/i386/sigreturn.S: Likewise.
33164 * sysdeps/unix/i386/syscall.S: Likewise.
33165 * sysdeps/unix/i386/vfork.S: Likewise.
33166 * sysdeps/unix/i386/wait.S: Likewise.
33168 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33169 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33171 * configure.in (arm*-none*): Do not allow without
33172 --enable-hacker-mode.
33173 (netbsd*): Remove case setting base_os.
33174 (386bsd*): Likewise.
33175 (freebsd*): Likewise.
33178 (sunos*): Likewise.
33179 (ultrix*): Likewise.
33180 (newsos*): Likewise.
33181 (dynix*): Likewise.
33187 (minix*): Likewise.
33188 (irix4*): Likewise.
33189 (irix6*): Likewise.
33190 (solaris[2-9]*): Likewise.
33192 * configure: Regenerated.
33194 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33198 overflow or cancellation in calculating denominator.
33199 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33201 down expression to avoid unexpected rounding in newer GCCs.
33202 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33204 2012-04-26 David S. Miller <davem@davemloft.net>
33206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33207 long-double compat symbols.
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33222 2012-04-25 David S. Miller <davem@davemloft.net>
33224 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33225 HWCAP_* values only after the memory barriers have been defined.
33226 (atomic_full_barrier): Define.
33227 (atomic_read_barrier): Define.
33228 (atomic_write_barrier): Define.
33230 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33232 * shlib-versions: Add libgcc_s version information.
33233 * sysdeps/generic/libgcc_s.h: Remove.
33234 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33236 * sysdeps/gnu/unwind-resume.c: Likewise.
33237 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33239 2012-04-25 David S. Miller <davem@davemloft.net>
33241 * sysdeps/unix/sparc/brk.S: Delete.
33242 * sysdeps/unix/sparc/dl-brk.S: Delete.
33243 * sysdeps/unix/sparc/pipe.S: Delete.
33244 * sysdeps/unix/sparc/sysdep.S: Delete.
33245 * sysdeps/unix/sparc/sysdep.h: Delete.
33246 * sysdeps/unix/sparc/vfork.S: Delete.
33247 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33248 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33250 (ret_ERRVAL, r0, r1, MOVE): Define.
33251 (JUMPTARGET): Remove.
33252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33253 sysdeps/unix/sparc/sysdep.h
33254 (ENTRY, END): Remove.
33255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33257 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33259 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33260 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33263 * timezone/README: Update upstream location and email address for
33265 * timezone/zdump.c: Update from tzcode 2012b.
33266 * timezone/zic.c: Likewise.
33268 * configure.in (libc_cv_as_needed): Remove test.
33269 * configure: Regenerated.
33270 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33271 conditional definition.
33272 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33273 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33274 * config.make.in (have-as-needed): Remove variable.
33276 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33277 Paul Pluzhnikov <ppluzhnikov@google.com>
33279 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33282 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33284 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33285 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33286 * sysdeps/sh/strlen.S: Likewise.
33288 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33290 * sysdeps/unix/fork.S: Remove file.
33291 * sysdeps/unix/i386/fork.S: Likewise.
33292 * sysdeps/unix/sparc/fork.S: Likewise.
33294 * sysdeps/unix/system.c: Remove file.
33295 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33297 * sysdeps/unix/getegid.S: Remove file.
33298 * sysdeps/unix/geteuid.S: Likewise.
33300 2012-04-24 Roland McGrath <roland@hack.frob.com>
33302 * scripts/check-localplt.awk: New file.
33303 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33305 * scripts/data/localplt-generic.data: Add a comment.
33307 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33308 NODE when __dir_mkfile failed.
33309 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33310 Reported by Ludovic Courtès <ludo@gnu.org>.
33312 2012-04-24 Andreas Jaeger <aj@suse.de>
33314 * Makerules (common-clean): Also remove gen-as-const-headers
33317 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33319 * Makerules (native-compile): Do not change working directory for
33320 build. Use $(OUTPUT_OPTION) in command.
33321 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33323 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33326 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33327 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33328 * math/libm-test.inc (floor_test): Add more tests.
33329 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33331 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33333 * sysdeps/unix/getdents.c: Remove file.
33334 * sysdeps/unix/sysv/getdents.c: Likewise.
33335 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33337 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33338 sysdeps/unix/mman/syscalls.list.
33340 (mprotect): Likewise.
33342 (munmap): Likewise.
33343 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33344 * sysdeps/unix/mman/syscalls.list: Remove.
33345 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33347 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33348 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33349 * configure: Regenerated.
33350 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33351 $(libgcc_s_suffix).
33352 * config.make.in (libgcc_s_suffix): Remove variable.
33354 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33356 * sysdeps/unix/sysv/gethostname.c: Move to ...
33357 * sysdeps/posix/gethostname.c: ... here.
33359 * sysdeps/unix/execve.S: Remove file.
33361 * sysdeps/unix/_exit.S: Remove file.
33363 2012-04-23 Andreas Jaeger <aj@suse.de>
33366 * manual/Makefile: Remove make dist support, there's no
33367 need for a stand-alone documentation tar ball.
33368 (TEXI2DVI): Define always, it's not in Makeconfig.
33371 (edition): Removed.
33372 (glibc-doc-$(edition).tar): Removed
33376 (ETAGS): Remove, it's in Makeconfig.
33377 (move-if-change): Remove, it's in Makeconfig.
33379 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33382 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33383 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33384 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33385 (strtod_l, strtof_l, strtold_l): Remove __wur.
33386 It is not necessarily an error to ignore strtol's return value.
33387 One can reliably look at the stored endptr to decide whether
33388 the number had valid syntax.
33390 2012-04-21 Andreas Jaeger <aj@suse.de>
33393 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33395 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33397 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33398 * sysdeps/unix/sysv/Versions: Remove file.
33400 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33405 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33409 version from __vm86.
33411 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33413 * sysdeps/unix/common/lxstat.c: Remove file.
33414 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33416 * sysdeps/unix/sysv/Makefile: Remove file.
33418 * sysdeps/unix/sysv/direct.h: Remove file.
33420 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33421 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33422 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33423 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33424 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33425 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33426 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33428 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33430 * sysdeps/unix/xmknod.c: Remove file.
33431 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33433 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33435 * sysdeps/unix/sysv/i386/time.S: Remove file.
33437 * sysdeps/unix/fxstat.c: Remove file.
33438 * sysdeps/unix/xstat.c: Likewise.
33439 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33441 * sysdeps/unix/sysv/sigaction.c: Remove file.
33443 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33444 (sysdep_headers): Remove variable.
33445 [termio.h not in sysdep_headers] (generated): Likewise.
33446 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33447 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33448 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33449 * sysdeps/unix/sysv/tcflow.c: Likewise.
33450 * sysdeps/unix/sysv/tcflush.c: Likewise.
33451 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33452 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33453 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33454 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33455 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33457 * sysdeps/unix/siglist.c: Remove file.
33459 * sysdeps/unix/getppid.S: Remove file.
33461 * sysdeps/unix/mkdir.c: Remove file.
33462 * sysdeps/unix/rmdir.c: Likewise.
33464 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33466 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33469 errlist-compat value.
33471 2012-04-18 David S. Miller <davem@davemloft.net>
33473 * sysdeps/generic/memcopy.h (reg_char): Delete.
33474 * debug/strcat_chk.c: Use char, not reg_char.
33475 * debug/strcpy_chk.c: Likewise.
33476 * debug/strncat_chk.c: Likewise.
33477 * debug/strncpy_chk.c: Likewise.
33478 * string/memchr.c: Likewise.
33479 * string/memrchr.c: Likewise.
33480 * string/rawmemchr.c: Likewise.
33481 * string/strcat.c: Likewise.
33482 * string/strchr.c: Likewise.
33483 * string/strchrnul.c: Likewise.
33484 * string/strcmp.c: Likewise.
33485 * string/strcpy.c: Likewise.
33486 * string/strncat.c: Likewise.
33487 * string/strncmp.c: Likewise.
33488 * string/strncpy.c: Likewise.
33490 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33492 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33493 __builtin_memcopy is called when src and dest ranges are known to not
33496 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33498 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33499 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33500 fwd_align_merge macro call.
33501 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33502 bwd_align_merge macro call.
33503 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33505 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33507 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33508 bwd_align_merge macros.
33509 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33510 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33511 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33513 2012-04-18 David S. Miller <davem@davemloft.net>
33515 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33517 2012-04-18 Andreas Jaeger <aj@suse.de>
33520 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33521 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33524 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33525 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33526 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33528 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33529 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33530 Adjust for changed ldbl-128 files.
33532 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33533 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33534 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33536 2012-04-17 David S. Miller <davem@davemloft.net>
33538 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33540 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33542 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33543 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33544 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33545 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33546 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33547 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33549 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33552 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33553 * math/libm-test.inc: Add ilogb errno and exception tests.
33554 * math/w_ilogb.c: New file: ilogb wrapper.
33555 * math/w_ilogbf.c: New file: ilogbf wrapper.
33556 * math/w_ilogbl.c: New file: ilogbl wrapper.
33557 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33558 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33559 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33560 exception being thrown with 0.0 as argument.
33561 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33562 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33563 exception being thrown with 0.0 as argument.
33564 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33565 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33566 exception being thrown with 0.0 as argument.
33567 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33568 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33569 exception being thrown with 0.0 as argument.
33570 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33571 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33572 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33573 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33574 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33575 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33576 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33577 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33578 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33580 2012-04-17 Petr Baudis <pasky@ucw.cz>
33582 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33585 2012-04-16 Marek Polacek <polacek@redhat.com>
33587 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33589 2012-04-16 Marek Polacek <polacek@redhat.com>
33591 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33592 operands of fdivp instruction.
33594 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33596 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33597 * elf/tst-auditmod3b.c: Likewise.
33598 * elf/tst-auditmod4b.c: Likewise.
33599 * elf/tst-auditmod5b.c: Likewise.
33600 * elf/tst-auditmod6b.c: Likewise.
33601 * elf/tst-auditmod6c.c: Likewise.
33602 * elf/tst-auditmod7b.c: Likewise.
33603 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33604 * sysdeps/x86_64/preconfigure.in: Likewise.
33605 * sysdeps/x86_64/preconfigure: Regenerated.
33607 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33609 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33612 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33615 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33617 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33620 * locale/iso-639.def: Fix gl language name. Spotted by
33623 2012-04-12 Roland McGrath <roland@hack.frob.com>
33626 * libio/libio.h (__io_write_fn): Update comment.
33628 2012-04-12 Petr Baudis <pasky@ucw.cz>
33631 * stdio.texi (Hook Functions): The user provided writer function
33632 is not allowed to return -1.
33634 2012-04-11 David S. Miller <davem@davemloft.net>
33636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33638 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33640 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33641 Add a leading slash to rtkaio.
33643 2012-04-11 Jim Meyering <meyering@redhat.com>
33646 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33647 It is not necessarily an error to ignore fwrite's return
33648 value. One can reliably use ferror to test for errors after
33651 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33653 * bits/types.h (__snseconds_t): New type.
33654 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33656 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33658 (__SNSECONDS_T_TYPE): Likewise.
33659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33660 (__SNSECONDS_T_TYPE): Likewise.
33661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33662 (__SNSECONDS_T_TYPE): Likewise.
33664 2012-04-10 Andreas Jaeger <aj@suse.de>
33667 * manual/time.texi (Processor Time): Return type of times is
33668 elapsed real time since an arbitrary point in the past.
33669 (CPU Time): Move CLK_TCK from here...
33670 (Processor Time): ...to here. Correct description.
33671 * manual/conf.texi (Constants for Sysconf): Correct description of
33674 2012-04-10 David S. Miller <davem@davemloft.net>
33677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33678 where the is a gap between DT_REL(A) and DT_JMPREL.
33680 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33682 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33683 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33684 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33686 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33688 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33689 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33690 (dl_main): Handle --inhibit-cache.
33691 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33693 * elf/dl-load.c (_dl_map_object): Use it.
33694 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33696 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33699 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33700 (__ieee754_powl): Saturate large exponents rather than testing for
33701 overflow of y*log2(x).
33702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33703 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33707 * math/s_ctan.c: Include <float.h>.
33708 (__ctan): Avoid internal overflow or cancellation in calculating
33710 * math/s_ctanf.c: Likewise.
33711 * math/s_ctanl.c: Likewise.
33712 * math/s_ctanh.c: Likewise.
33713 * math/s_ctanhf.c: Likewise.
33714 * math/s_ctanhl.c: Likewise.
33715 * math/libm-test.inc (ctan_test): Add more tests.
33716 (ctanh_test): Likewise.
33717 * sysdeps/i386/fpu/libm-test-ulps: Update.
33718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33720 2012-04-09 Andreas Jaeger <aj@suse.de>
33723 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33724 is an optional BSD extension.
33727 * manual/stdio.texi (Opening Streams): Document additional fopen
33730 2012-04-09 Roland McGrath <roland@hack.frob.com>
33732 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33733 %eax without telling the compiler.
33735 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33738 * manual/install.texi: Use sourceware.org.
33740 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33743 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33744 (__ieee754_pow): Generate overflow and underflow using huge*huge
33745 and tiny*tiny rather than just returning constant infinity or zero
33746 for large exponents.
33747 * math/libm-test.inc (pow_test): Require overflow exceptions for
33748 applicable cases of large exponents.
33751 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33752 (__ieee754_pow): Use iterative multiplication algorithm only for
33753 integer exponents with absolute value below 1024. Check for odd
33754 integer exponents when using algorithm for real exponents.
33755 * math/libm-test.inc (pow_test): Add more tests.
33756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33758 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33761 * math/libm-test.inc (exp_test): Do not allow overflow exception
33764 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33767 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33768 instead of __kernel_standard_f.
33770 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33772 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33773 * sysdeps/x86_64/memset_chk.S: Likewise.
33775 2012-04-08 Andreas Jaeger <aj@suse.de>
33778 * manual/startup.texi (Environment Access): Describe return value
33779 for putenv and setenv.
33782 * manual/filesys.texi (Directory Entries): Add description for
33786 * manual/filesys.texi (Directory Entries): Clarify that it's file
33787 system not operating system in the description of DT_UNKNOWN.
33790 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33792 2012-04-08 Stephen Compall <s11@member.fsf.org>
33795 * manual/llio.texi (Opening and Closing Files): Add cross
33796 reference to explain mode argument.
33798 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33800 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33801 * sysdeps/x86_64/memset_chk.S: Likewise.
33803 2012-04-07 David S. Miller <davem@davemloft.net>
33805 * elf/elf.h (R_SPARC_WDISP10): Define.
33806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33808 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33809 R_SPARC_SIZE64 and R_SPARC_H34.
33811 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33814 conditions and remove no longer applicable assertion.
33816 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33818 * bits/byteswap.h: Include <features.h>.
33819 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33820 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33822 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33824 * bits/byteswap.h (__bswap_16): Removed.
33825 Include <bits/byteswap-16.h> to get __bswap_16.
33826 * sysdeps/i386/bits/byteswap.h: Likewise.
33827 * sysdeps/s390/bits/byteswap.h: Likewise.
33828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33829 * bits/byteswap-16.h: New file.
33830 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33831 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33832 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33833 * string/Makefile (headers): Add bits/byteswap-16.h.
33835 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33838 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33840 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33841 * nss/tst-nss-static.c: New.
33843 2012-04-06 Robert Millan <rmh@gnu.org>
33846 * manual/llio.texi (File Position Primitive): lseek
33847 refers to WHENCE when it really means OFFSET.
33849 2012-04-06 Andreas Jaeger <aj@suse.de>
33851 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33852 strncmp declarations.
33854 * abilist/libc.abilist: Add __poll and __ppoll.
33856 2012-04-05 David S. Miller <davem@davemloft.net>
33858 * scripts/check-local-headers.sh: Accept a host triplet in the
33859 path matched by the exclude regexp.
33861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33863 * sysdeps/powerpc/powerpc32/dl-machine.h
33864 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33865 * sysdeps/s390/s390-32/dl-machine.h
33866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33867 * sysdeps/sparc/sparc32/dl-machine.h
33868 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33869 * sysdeps/sparc/sparc64/dl-machine.h
33870 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33872 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33874 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33875 undefined symbol errors.
33877 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33880 2012-04-05 Michael Matz <matz@suse.de>
33883 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33885 2012-04-05 Andreas Jaeger <aj@suse.de>
33888 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33891 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33893 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33894 which ROUND is no valid rounding mode.
33896 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33898 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33900 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33902 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33904 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33905 an exception using FPU order intentionally.
33907 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33909 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33910 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33911 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33912 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33914 2012-04-05 Simon Josefsson <simon@josefsson.org>
33917 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33918 EINVAL when BUFLEN is too smal.
33920 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33923 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33924 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33926 2012-04-03 Andreas Jaeger <aj@suse.de>
33929 * manual/setjmp.texi (System V contexts): Fix sentence.
33932 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33933 New macro for this case.
33934 [!__GNUC__] (__bswap_64): New inline function for this case.
33935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33936 * bits/byteswap.h: Likewise.
33937 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33938 ull, guard with __GLIBC_HAVE_LONG_LONG.
33940 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33941 __GLIBC_HAVE_LONG_LONG.
33943 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33944 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33946 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33949 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33950 inptr and inend, rather than using last_ch.
33952 2012-04-02 David S. Miller <davem@davemloft.net>
33954 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33955 * stdio-common/printf-parse.h (read_int): Change return type to
33956 'int', return -1 on INT_MAX overflow.
33957 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33958 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33959 overflows INT_MAX. Check for overflow of in-format-string precision
33960 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33961 SIZE_MAX not INT_MAX for integer overflow test.
33962 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33963 skip the construct in the format string but do not record anything.
33964 * stdio-common/bug22.c: Adjust to test both width/prevision
33965 INT_MAX overflow as well as total length INT_MAX overflow. Check
33966 explicitly for proper errno values.
33968 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33970 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33972 * string/test-strcmp.c [! WIDE]: Likewise.
33973 * time/tst-mktime2.c: Likewise for INT_MAX.
33974 * string/test-string.h: #include <sys/param.h> for MIN.
33976 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33977 * sysdeps/i386/init-first.c (init): Likewise.
33978 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33979 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33980 * sysdeps/sh/init-first.c (init): Likewise.
33982 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33984 * po/ru.po: Update from translation team.
33985 * po/vi.po: Likewise.
33987 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33989 * resolv/nss_dns/dns-host.c: Merge copyright years.
33991 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33994 Optimize memcpy with prefetch if
33995 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33996 src, dst pointers have unequal 16 byte alignments.
33998 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34001 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34002 from a CNAME entry and return the minimum ttl for the query.
34003 (gaih_getanswer_slice): Likewise.
34005 2012-03-30 Jeff Law <law@redhat.com>
34007 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34009 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34010 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34012 * resolv/nss_dns/dns-host.c: Update copyright year.
34014 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34016 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34017 requests to save a system call. Fix check that all bytes are sent.
34019 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34020 comments for sendmmsg.
34022 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34025 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34026 with only 1 character between 0x0041 and 0x01b0.
34027 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34028 * wcsmbs/tst-mbsnrtowcs.c: New file.
34030 2012-03-29 David S. Miller <davem@davemloft.net>
34032 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34033 small copies by hand.
34035 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34038 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34039 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34042 2012-03-28 David S. Miller <davem@davemloft.net>
34044 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34045 that branches into memcpy.
34046 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34049 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34052 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34053 implementation too.
34054 * sysdeps/sparc/mempcpy.S: New file.
34056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34057 the IFUNC routine in the libc case.
34058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34060 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34061 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34062 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34063 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34064 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34065 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34066 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34067 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34069 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34070 loop to 256 bytes instead of 64 bytes and fix test signedness.
34072 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34073 * sysdeps/sparc/sparc32/Makefile: rather than here...
34074 * sysdeps/sparc/sparc64/Makefile: and here.
34076 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34078 * malloc/mallocbug.c: Avoid warnings about unused variables.
34080 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34083 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34084 in the right place. Discard and retry query if response is
34085 larger than input buffer size.
34087 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34092 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34093 x for large integer exponent.
34094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34095 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34096 sign of result as needed afterwards.
34097 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34098 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34099 result for underflowing pow the same as for overflow.
34100 (__kernel_standard_l): Handle powl overflow and underflow here
34101 rather than calling __kernel_standard.
34102 * math/libm-test.inc (pow_test): Add more tests.
34117 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34118 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34119 (__kernel_standard_l): New function.
34120 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34122 * math/w_acosl.c (__acosl): Likewise.
34123 * math/w_asinl.c (__asinl): Likewise.
34124 * math/w_atan2l.c (__atan2l): Likewise.
34125 * math/w_atanhl.c (__atanhl): Likewise.
34126 * math/w_coshl.c (__coshl): Likewise.
34127 * math/w_exp10l.c (__exp10l): Likewise.
34128 * math/w_exp2l.c (__exp2l): Likewise.
34129 * math/w_fmodl.c (__fmodl): Likewise.
34130 * math/w_hypotl.c (__hypotl): Likewise.
34131 * math/w_j0l.c (__j0l, __y0l): Likewise.
34132 * math/w_j1l.c (__j1l, __y1l): Likewise.
34133 * math/w_jnl.c (__jnl, __ynl): Likewise.
34134 * math/w_lgammal.c (__lgammal): Likewise.
34135 * math/w_log10l.c (__log10l): Likewise.
34136 * math/w_log2l.c (__log2l): Likewise.
34137 * math/w_logl.c (__logl): Likewise.
34138 * math/w_powl.c (__powl): Likewise.
34139 * math/w_remainderl.c (__remainderl): Likewise.
34140 * math/w_scalbl.c (sysv_scalbl): Likewise.
34141 * math/w_sinhl.c (__sinhl): Likewise.
34142 * math/w_sqrtl.c (__sqrtl): Likewise.
34143 * math/w_tgammal.c (__tgammal): Likewise.
34144 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34145 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34146 * math/libm-test.inc (acos_test): Add more tests.
34147 (acosh_test): Likewise.
34148 (asin_test): Likewise.
34149 (atanh_test): Likewise.
34150 (exp_test): Likewise.
34151 (exp10_test): Likewise.
34152 (exp2_test): Likewise.
34153 (expm1_test): Likewise.
34154 (lgamma_test): Likewise.
34155 (log_test): Likewise.
34156 (log10_test): Likewise.
34157 (log1p_test): Likewise.
34158 (log2_test): Likewise.
34159 (pow_test): Do not allow some spurious overflow exceptions.
34160 (sqrt_test): Add more tests.
34161 (tgamma_test): Likewise.
34162 (y0_test): Likewise.
34163 (y1_test): Likewise.
34164 (yn_test): Likewise.
34166 2012-03-27 Anton Blanchard <anton@samba.org>
34168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34170 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34174 2012-03-27 David S. Miller <davem@davemloft.net>
34176 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34178 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34179 have-as-vis3 check.
34181 2012-03-27 Andreas Jaeger <aj@suse.de>
34183 * sysdeps/x86_64/elf/configure.in: Moved to ...
34184 * sysdeps/x86_64/configure.in: ... here.
34185 * sysdeps/x86_64/elf/start.S: Moved to ...
34186 * sysdeps/x86_64/start.S: ... here.
34187 * sysdeps/x86_64/elf/configure: Delete.
34189 * sysdeps/x86_64/configure.in: Merge contents from
34190 sysdeps/i386/configure.in (without i686 check).
34192 * sysdeps/i386/elf/Versions: Merge into ...
34193 * sysdeps/i386/Versions: ... this.
34194 * sysdeps/i386/elf/Versions: Delete file.
34195 * sysdeps/i386/elf/start.S: Moved to ...
34196 * sysdeps/i386/start.S: ...here.
34197 * sysdeps/i386/elf/configure.in: Merge into...
34198 * sysdeps/i386/configure.in: ...here.
34199 * sysdeps/i386/elf/configure.in: Delete file.
34200 * sysdeps/i386/elf/configure: Delete file.
34202 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34203 * debug/backtracesyms.c: ... here.
34204 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34205 * debug/backtracesymsfd.c: ... here.
34206 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34207 * sysdeps/generic/ifunc-sel.h: ... here.
34209 * sysdeps/unix/i386/start.c: Delete file.
34210 * sysdeps/unix/sparc/start.c: Delete file.
34211 * sysdeps/unix/start.c: Delete file.
34213 * sysdeps/sh/elf/configure.in: Moved to ...
34214 * sysdeps/sh/configure.in: ... here.
34215 * sysdeps/sh/elf/start.S: Moved to ...
34216 * sysdeps/sh/start.S: ... here.
34217 * sysdeps/sh/elf/configure: Delete file.
34219 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34220 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34221 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34222 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34223 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34224 * sysdeps/powerpc/powerpc64/start.S: here.
34225 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34226 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34227 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34228 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34229 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34231 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34232 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34233 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34234 * sysdeps/powerpc/powerpc32/start.S: ... here.
34235 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34236 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34237 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34239 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34240 * sysdeps/powerpc/ifunc-sel.h: ... here.
34241 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34242 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34244 * sysdeps/sparc/elf/configure.in: Moved to ...
34245 * sysdeps/sparc/configure.in: ... here.
34246 * sysdeps/sparc/elf/configure: Delete file.
34247 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34248 * sysdeps/sparc/sparc32/start.S: ... here.
34249 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34250 * sysdeps/sparc/sparc64/start.S: ... here.
34251 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34252 * sysdeps/sparc/sparc32/Makefile: ... this.
34253 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34254 * sysdeps/sparc/sparc64/Makefile: ... this.
34256 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34257 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34258 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34259 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34260 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34261 * sysdeps/s390/s390-32/setjmp.S: ... here.
34262 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34263 * sysdeps/s390/s390-32/configure.in: ... here.
34264 * sysdeps/s390/s390-32/elf/configure: Delete file.
34265 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34266 * sysdeps/s390/s390-32/start.S: ... here.
34268 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34269 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34270 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34271 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34272 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34273 * sysdeps/s390/s390-64/setjmp.S: ... here.
34274 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34275 * sysdeps/s390/s390-64/configure.in: ... here
34276 * sysdeps/s390/s390-64/elf/configure: Delete file.
34277 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34278 * sysdeps/s390/s390-64/start.S: ... here.
34279 * sysdeps/s390/s390-64/elf/configure: Delete.
34281 * configure.in: Remove support for elf directories in sysdeps.
34283 * configure: Regenerated.
34284 * sysdeps/i386/configure: Regenerated.
34285 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34286 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34287 * sysdeps/s390/s390-32/configure: Regenerated.
34288 * sysdeps/s390/s390-64/configure: Regenerated.
34289 * sysdeps/sh/configure: Regenerated.
34290 * sysdeps/sparc/configure: Regenerated.
34291 * sysdeps/x86_64/configure: Regenerated.
34293 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34298 denormal result into account.
34300 2012-03-25 Roland McGrath <roland@hack.frob.com>
34302 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34303 Reported by Allan McRae <allan@archlinux.org>.
34305 2012-03-23 Jeff Law <law@redhat.com>
34307 * nss/getnssent.c (__nss_getent): Fix typo.
34309 2012-03-23 David S. Miller <davem@davemloft.net>
34311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34313 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34315 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34316 to pad to uint64_t for each field.
34317 (dl_tls_index): Replace unsigned long with uint64_t.
34319 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34320 Paul Pluzhnikov <ppluzhnikov@google.com>
34323 * grp/Makefile (otherlibs): Don't set it.
34324 * inet/Makefile (otherlibs): Likewise.
34325 * login/Makefile (otherlibs): Likewise.
34326 * nscd/Makefile (otherlibs): Likewise.
34327 * posix/Makefile (otherlibs): Likewise.
34328 * pwd/Makefile (otherlibs): Likewise.
34329 * rt/Makefile (otherlibs): Likewise.
34330 * sunrpc/Makefile (otherlibs): Likewise.
34331 * nss/Makefile (otherlibs): Likewise.
34332 Add libnss_files to routines and static-only-routines.
34333 ($(objpfx)getent): Remove rule.
34334 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34335 static-only-routines.
34337 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34340 * math/s_cexp.c: Include <float.h>.
34341 (__cexp): Handle exp result overflowing not necessarily
34342 overflowing both real and imaginary parts of result.
34343 * math/s_cexpf.c: Likewise.
34344 * math/s_cexpl.c: Likewise.
34345 * math/libm-test.inc (cexp_test): Add more tests.
34346 * sysdeps/i386/fpu/libm-test-ulps: Update.
34347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34349 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34351 * include/link.h (ELFW): New macro.
34352 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34353 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34355 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34357 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34360 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34362 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34364 (struct La_x32_retval): Likewise.
34366 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34368 * sysdeps/x86_64/preconfigure.in: New file.
34369 * sysdeps/x86_64/preconfigure: New generated file.
34371 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34374 * math/e_exp2l.c: Include <float.h>.
34375 (__ieee754_exp2l): Handle overflow and underflow cases
34376 separately. Only pass fractional part of argument to
34378 * math/libm-test.inc (exp2_test): Add more tests.
34380 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34381 negating x to take absolute value.
34382 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34384 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34385 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34387 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34388 computing low part if x was negated.
34389 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34391 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34393 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34394 la_x32_gnu_pltexit.
34395 (pltexit): Cast int_retval to ptrdiff_t.
34396 * elf/tst-auditmod3b.c: Likewise.
34397 * elf/tst-auditmod4b.c: Likewise.
34398 * elf/tst-auditmod5b.c: Likewise.
34399 * elf/tst-auditmod6b.c: Likewise.
34400 * elf/tst-auditmod6c.c: Likewise.
34401 * elf/tst-auditmod7b.c: Likewise.
34403 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34404 and x32_gnu_pltexit.
34406 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34407 __ELF_NATIVE_CLASS.
34408 (La_x32_regs): New macro.
34409 (La_x32_retval): Likewise.
34410 (la_x32_gnu_pltenter): New function prototype.
34411 (la_x32_gnu_pltexit): Likewise.
34413 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34420 * configure.in (libc_cv_cc_nofma): Check for option to disable
34421 generation of FMA instructions.
34422 * configure: Regenerate.
34423 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34424 * sysdeps/ieee754/dbl-64/Makefile: New file.
34425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34426 Remove brandred-fma4.
34427 (CFLAGS-brandred-fma4.c): Remove.
34428 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34429 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34434 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34436 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34437 LLONG_MAX != LONG_MAX.
34438 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34439 (_fitoa_word): Likewise.
34440 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34441 LLONG_MAX != LONG_MAX.
34442 * stdio-common/_itowa.h: Include <_itoa.h>.
34443 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34444 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34445 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34446 only if not defined.
34447 (_ITOA_WORD_TYPE): Likewise.
34448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34449 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34451 2012-03-21 David S. Miller <davem@davemloft.net>
34453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34455 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34457 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34458 of x86_64 when setting libc_cv_slibdir, libdir and
34460 * sysdeps/unix/sysv/linux/configure: Regenerated.
34462 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34464 * manual/lang.texi (Old Varargs): Remove section.
34465 (How Variadic): Update menu.
34466 (va_start): Do not mention varargs.h.
34468 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34469 Joseph Myers <joseph@codesourcery.com>
34471 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34473 * configure: Regenerated.
34475 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34477 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34478 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34481 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34484 * Makefile (files-for-dist): Remove NOTES.
34485 (NOTES): Remove rule.
34486 * README: Don't refer to NOTES.
34487 * manual/creature.texi: Don't include macros.texi.
34488 * manual/intro.texi (creature.texi): Remove comment referring to
34491 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34492 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34493 * configure: Regenerated.
34494 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34495 LIBC_TRY_CC_OPTION.
34496 (libc_cv_as_i686): Likewise.
34497 (libc_cv_cc_avx): Likewise.
34498 (libc_cv_cc_sse2avx): Likewise.
34499 (libc_cv_cc_fma4): Likewise.
34500 (libc_cv_cc_novzeroupper): Likewise.
34501 * sysdeps/i386/configure: Regenerated.
34504 * sysdeps/i386/fpu/s_cexp.S: Remove.
34505 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34506 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34507 * math/libm-test.inc (cexp_test): Add more tests.
34508 * sysdeps/i386/fpu/libm-test-ulps: Update.
34509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34511 2012-03-21 Allan McRae <allan@archlinux.org>
34513 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34515 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34518 * math/w_exp2.c: Do not include <float.h>.
34519 (o_threshold, u_threshold): Remove.
34520 (__exp2): Calculate result before checking finiteness and calling
34522 * math/w_exp2f.c: Likewise.
34523 * math/w_exp2l.c: Likewise.
34524 * math/libm-test.inc (exp2_test): Require overflow exception for
34528 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34529 range of signed 64-bit integers before using fistpll. Remove
34530 checks for whether integers fit in mantissa bits.
34531 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34532 the range of signed 32-bit integers before using fistpl. Remove
34533 checks for whether integers fit in mantissa bits.
34534 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34535 (__ieee754_powl): Test for y outside the range of signed 64-bit
34536 integers before using fistpll. Reduce 64-bit values to 63-bit
34538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34539 divide-by-zero is raised for zero to large negative powers.
34540 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34541 (__ieee754_powl): Test for y outside the range of signed 64-bit
34542 integers before using fistpll. Reduce 64-bit values to 63-bit
34544 * math/libm-test.inc (pow_test): Add more tests.
34546 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34548 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34549 <stdio-common/_itoa.h>.
34550 * debug/segfault.c: Likewise.
34551 * elf/dl-cache.c: Likewise.
34552 * elf/dl-minimal.c: Likewise.
34553 * elf/dl-misc.c: Likewise.
34554 * elf/dl-sysdep.c: Likewise.
34555 * elf/dl-version.c: Likewise.
34556 * elf/rtld.c: Likewise.
34557 * hurd/hurdsock.c: Likewise.
34558 * hurd/lookup-retry.c: Likewise.
34559 * malloc/malloc.c: Likewise.
34560 * malloc/mtrace.c: Likewise.
34561 * nscd/nscd_getgr_r.c: Likewise.
34562 * nscd/nscd_getpw_r.c: Likewise.
34563 * nscd/nscd_getserv_r.c: Likewise.
34564 * posix/getopt_init.c: Likewise.
34565 * posix/wordexp.c: Likewise.
34566 * stdio-common/_itoa.c: Likewise.
34567 * stdio-common/printf_fphex.c: Likewise.
34568 * stdio-common/vfprintf.c: Likewise.
34569 * string/_strerror.c: Likewise.
34570 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34571 * sysdeps/i386/i686/hp-timing.h: Likewise.
34572 * sysdeps/mach/_strerror.c: Likewise.
34573 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34574 * sysdeps/mach/hurd/sethostid.c: Likewise.
34575 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34576 * sysdeps/mach/xpg-strerror.c: Likewise.
34577 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34578 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34579 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34580 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34581 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34582 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34583 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34584 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34585 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34586 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34587 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34588 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34589 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34590 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34591 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34593 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34594 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34595 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34596 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34597 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34599 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34601 * stdio-common/_itoa.h: Moved to ...
34602 * sysdeps/generic/_itoa.h: Here.
34604 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34606 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34607 instead of "_itoa.h" and "_itowa.h".
34608 * stdio-common/vfprintf.: Likewise.
34610 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34612 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34614 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34615 (__signbit): Likwise.
34616 (llrintf): Likwise.
34619 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34621 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34624 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34626 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34627 OVERFLOW_EXCEPTION_OK.
34628 * math/libm-test.inc ("Philosophy"): Update comment about
34630 (OVERFLOW_EXCEPTION): Define.
34631 (OVERFLOW_EXCEPTION_OK): Likewise.
34632 (INVALID_EXCEPTION_OK): Renumber.
34633 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34634 (IGNORE_ZERO_INF_SIGN): Likewise.
34635 (test_exceptions): Handle FE_OVERFLOW.
34636 (exp10_test): Expect overflow exceptions.
34637 (exp2_test): Likewise.
34638 (expm1_test): Likewise.
34639 (nextafter_test): Likewise.
34640 (pow_test): Likewise.
34641 (scalbn_test): Likewise.
34642 (scalbln_test): Likewise.
34644 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34646 * sysdeps/x86_64/bits/atomic.h
34647 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34649 (atomic_exchange_acq): Likewise.
34650 (__arch_exchange_and_add_body): Likewise.
34651 (__arch_add_body): Likewise.
34652 (atomic_add_negative): Likewise.
34653 (atomic_add_zero): Likewise.
34655 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34657 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34658 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34662 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34663 Check __x86_64__ instead of __WORDSIZE.
34665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34667 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34669 2012-03-19 David S. Miller <davem@davemloft.net>
34671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34673 * sysdeps/sparc/fpu/fenv_private.h: New file.
34674 * sysdeps/sparc/fpu/math_private.h: Use it.
34675 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34677 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34678 (libc_feholdexcept_setroundl): Remove.
34679 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34681 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34682 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34686 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34687 int64_t instead of long int.
34688 (INSERT_WORDS64): Likwise.
34690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34692 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34693 _Unwind_GetCFA return to _Unwind_Ptr first.
34695 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34698 * math/s_clog.c: Include <float.h>.
34699 (__clog): Scale large or subnormal inputs.
34700 * math/s_clogf.c: Likewise.
34701 * math/s_clogl.c: Likewise.
34702 * math/s_clog10.c: Include <float.h>.
34703 (M_LOG10_2): Define.
34704 (__clog10): Scale large or subnormal inputs.
34705 * math/s_clog10f.c: Likewise.
34706 * math/s_clog10l.c: Likewise.
34707 * math/libm-test.inc (clog_test): Add more tests.
34708 (clog10_test): Likewise.
34709 * sysdeps/i386/fpu/libm-test-ulps: Update.
34710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34713 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34715 * math/libm-test.inc (atan2_test): Add another test.
34717 * Makerules (common-objdir-compile): Remove.
34718 * sysdeps/unix/Makefile (config-generated): Do not add
34719 $(unix-generated) to variable.
34720 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34721 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34723 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34725 [generic bits/local_lim.h] (before-compile): Do not append to
34727 [generic bits/local_lim.h] (common-generated): Likewise.
34728 [generic sys/param.h] (before-compile): Do not append to variable.
34729 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34730 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34731 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34732 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34734 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34735 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34736 [generic sys/param.h] ($(addprefix
34737 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34738 [generic sys/param.h] (common-generated): Do not append to
34740 [generic sys/param.h] (sysdep_headers): Likewise.
34741 [generic bits/errno.h] (before-compile): Do not append to
34743 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34745 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34746 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34747 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34748 [generic bits/errno.h] (common-generated): Do not append to
34750 [generic bits/ioctls.h] (before-compile): Do not append to
34752 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34754 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34755 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34756 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34758 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34759 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34760 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34761 [generic bits/ioctls.h] (common-generated): Do not append to
34763 [generic sys/syscall.h] (syscall.h): Remove variable.
34764 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34766 [generic sys/syscall.h] (before-compile): Do not append to
34768 [generic sys/syscall.h] (common-generated): Likewise.
34769 * sysdeps/unix/errnos-tmpl.c: Remove file.
34770 * sysdeps/unix/errnos.awk: Likewise.
34771 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34772 * sysdeps/unix/ioctls.awk: Likewise.
34773 * sysdeps/unix/mk-local_lim.c: Likewise.
34774 * sysdeps/unix/snarf-ioctls: Likewise.
34776 2012-03-19 Richard Henderson <rth@twiddle.net>
34778 * sysdeps/i386/fpu/fenv_private.h: New file.
34779 * sysdeps/i386/fpu/math_private.h: Use it.
34780 (math_opt_barrier, math_force_eval): Remove.
34781 (libc_feholdexcept_setround_53bit): Remove.
34782 (libc_feupdateenv_53bit): Remove.
34783 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34784 (math_opt_barrier, math_force_eval): Remove.
34785 (libc_feholdexcept): Remove.
34786 (libc_feholdexcept_setround): Remove.
34787 (libc_fetestexcept, libc_fesetenv): Remove.
34788 (libc_feupdateenv_test): Remove.
34789 (libc_feupdateenv, libc_feholdsetround): Remove.
34790 (libc_feresetround): Remove.
34792 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34793 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34795 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34796 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34797 (libc_feupdateenv_testl): New.
34798 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34799 (libc_feupdateenv_testf): New.
34800 (libc_feupdateenv): Use libc_feupdateenv_test.
34801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34802 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34804 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34805 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34806 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34807 (libc_feresetround_noex): New.
34808 (libc_feresetround_noexf): New.
34809 (libc_feresetround_noexl): New.
34810 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34811 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34812 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34813 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34818 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34820 SET_RESTORE_ROUND_NOEX.
34821 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34822 SET_RESTORE_ROUND_NOEXF.
34823 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34824 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34825 (libc_feholdsetroundf): New.
34826 (libc_feresetround, libc_feresetroundf): New.
34828 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34829 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34830 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34832 * sysdeps/generic/math_private.h: Include <fenv.h>.
34833 (default_libc_feholdexcept): New.
34834 (default_libc_feholdexcept_setround): New.
34835 (default_libc_fesetenv, default_libc_feupdateenv): New.
34836 (libc_feholdexcept): Only define if undefined.
34837 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34838 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34839 (libc_feholdexcept_setroundl): Likewise.
34840 (libc_feholdexcept_setround_53bit): Likewise.
34841 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34842 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34843 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34844 (libc_feupdateenv_53bit): Likewise.
34845 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34846 (libc_feholdexcept): Convert from macro to inline function.
34847 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34848 (libc_fesetenv, libc_feupdateenv): Likewise.
34850 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34851 not previously defined.
34852 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34853 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34854 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34855 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34856 * sysdeps/ieee754/flt-32/math_private.h: New file.
34857 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34858 math_private.h below SET_FLOAT_WORD.
34859 (__isnan, __isinf_ns, __finite): Remove.
34860 (__isnanf, __isinf_nsf, __finitef): Remove.
34862 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34866 2012-03-17 David S. Miller <davem@davemloft.net>
34869 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34872 2012-03-16 David S. Miller <davem@davemloft.net>
34874 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34878 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34880 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34881 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34882 sysdep_routines when subdir is sysvipc.
34883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34884 __getshmlba helper.
34886 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34888 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34890 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34895 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34896 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34897 (__lround): Renamed to ...
34898 (__llround): This. Replace long int with long long int.
34899 Define lround functions as aliases of llround functions.
34900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34902 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34904 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34905 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34906 adresses to uintptr_t. Replace "long int" and "unsigned long
34907 int" with "greg_t" on va_arg.
34909 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34911 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34912 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34914 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34915 Move e_machine check before EI_CLASS check. Handle x32
34916 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34917 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34918 SKIP_EM_IA_64 and include
34919 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34921 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34922 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34923 (add_system_dir): New macro.
34925 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34926 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34928 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34939 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34941 * math/w_j0f.c (j0f): Likewise.
34943 * math/w_j0l.c (__j0l): Likewise.
34945 * math/w_j1.c (j1): Likewise.
34947 * math/w_j1f.c (j1f): Likewise.
34949 * math/w_j1l.c (__j1l): Likewise.
34951 * math/w_jn.c (jn): Likewise.
34953 * math/w_jnf.c (jnf): Likewise.
34955 * math/w_jnl.c (__jnl): Likewise.
34957 * math/libm-test.inc (j0_test): Add more tests.
34958 (j1_test): Likewise.
34959 (jn_test): Likewise. Add trailing semicolon to existing test.
34960 (y0_test): Likewise.
34961 (y1_test): Likewise.
34962 * sysdeps/i386/fpu/libm-test-ulps: Update.
34963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34968 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34969 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34971 (__tanl): Set errno for infinite argument.
34972 * sysdeps/i386/fpu/mptan.c: Remove.
34973 * sysdeps/i386/fpu/s_tan.S: Likewise.
34974 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34975 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34976 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34977 * math/libm-test.inc (tan_test): Add more tests and enable more
34978 tests for double and long double.
34979 * sysdeps/i386/fpu/libm-test-ulps: Update.
34980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34982 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34984 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34985 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34987 2012-03-16 Roland McGrath <roland@hack.frob.com>
34989 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34990 * configure.in: Use it for both main tree and add-ons.
34991 * configure: Regenerated.
34993 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34995 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34997 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34999 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35003 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35004 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35005 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35006 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35007 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35009 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35011 != 0 for prec == 2.
35012 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35013 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35014 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35015 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35016 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35017 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35018 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35019 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35020 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35021 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35022 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35023 * math/libm-test.inc (cos_test): Add more tests and enable more
35024 tests for long double.
35025 (sin_test): Likewise.
35026 (sincos_test): Likewise.
35027 * sysdeps/i386/fpu/libm-test-ulps: Update.
35028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35030 2012-03-16 David S. Miller <davem@davemloft.net>
35032 * sysdeps/sparc/fpu/math_private.h: New file.
35034 2012-03-15 David S. Miller <davem@davemloft.net>
35036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35050 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35051 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35053 * sysdeps/sparc/sparc-ifunc.h: New file.
35054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35097 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35099 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35101 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35105 2012-03-15 Andreas Jaeger <aj@suse.de>
35108 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35109 ieee754/flt-32 implementation for sin, cos and sincos.
35110 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35111 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35112 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35113 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35114 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35115 ieee754/flt-32 implementation for tan.
35117 * math/libm-test.inc (cos_test): Enable some large input tests for
35119 (sin_test): Likewise.
35120 (sincos_test): Likewise.
35121 (tan_test): Add tests for large input.
35123 * sysdeps/i386/fpu/libm-test-ulps: Update.
35125 2012-03-15 Andreas Jaeger <aj@suse.de>
35128 * math/libm-test.inc (cos_test): Add more test cases.
35129 (sin_test): Likewise.
35130 (sincos_test): Likewise.
35132 2012-03-15 Andreas Jaeger <aj@suse.de>
35135 * math/libm-test.inc (cos_test): Add a test case for large input
35137 (sin_test): Likewise.
35138 (sincos_test): Likewise.
35140 2012-03-15 Andreas Jaeger <aj@suse.de>
35141 Joseph Myers <joseph@codesourcery.com>
35144 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35145 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35146 * sysdeps/i386/fpu/branred.c: Likewise.
35147 * sysdeps/i386/fpu/dosincos.c: Likewise.
35148 * sysdeps/i386/fpu/mpa.c: Likewise.
35149 * sysdeps/i386/fpu/s_cos.S: Likewise.
35150 * sysdeps/i386/fpu/s_sin.S: Likewise.
35151 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35152 * sysdeps/i386/fpu/sincos32.c: Likewise.
35154 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35156 (libc_feupdateenv_53bit): Define.
35157 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35159 (libc_feupdateenv_53bit): Define.
35161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35162 53 bit (without extend i386 double precision).
35164 * math/libm-test.inc (sincos_test): Add tests for large input.
35168 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35170 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35174 2012-03-15 David S. Miller <davem@davemloft.net>
35176 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35177 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35178 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35179 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35204 fmin/fmax sysdep routines.
35205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35207 2012-03-14 David S. Miller <davem@davemloft.net>
35209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35286 * sysdeps/sparc/configure.in: New file.
35287 * sysdeps/sparc/configure: Generate.
35288 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35289 * configure: Regenerate.
35290 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35291 * config.make.in (have-as-vis3): New.
35292 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35293 available use -Av9d instead of -Av9a.
35294 * sysdeps/sparc/sparc64/Makefile: Likewise.
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35310 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35311 fzeros/fnegs to load 0x80000000 into a float register instead of
35313 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35315 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35319 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35320 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35321 ($(inst_includedir)/bits/syscall.h): Remove rule.
35322 ($(objpfx)bits/syscall.d): Include instead of
35323 $(objpfx)syscall-list.d.
35324 (generated): Change syscall-list.h and syscall-list.d to
35325 bits/syscall.h and bits/syscall.d.
35327 2012-03-14 Roland McGrath <roland@hack.frob.com>
35330 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35332 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35335 * math/s_csqrt.c: Include <float.h>.
35336 (__csqrt): Scale large or subnormal inputs.
35337 * math/s_csqrtf.c: Likewise.
35338 * math/s_csqrtl.c: Likewise.
35339 * math/libm-test.inc (csqrt_test): Add more tests.
35340 * sysdeps/i386/fpu/libm-test-ulps: Update.
35341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35344 * math/libm-test.inc (hypot_test): Add more tests.
35346 2012-03-13 David S. Miller <davem@davemloft.net>
35349 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35350 double-precision for the calculation instead of scaling.
35352 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35354 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35355 manipulate bits before adding and subtracting TWO52[sx].
35356 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35361 2012-03-13 David S. Miller <davem@davemloft.net>
35363 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35364 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35366 rtld-global-offsets.h
35367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35369 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35372 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35374 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35375 'err' in the ifdef scope in which it is actually used.
35377 * nss/nss_db/db-init.c: Include string.h
35379 2012-03-12 David S. Miller <davem@davemloft.net>
35381 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35382 masking out of the most significant byte of random value used.
35383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35384 Fix coding style in previous change.
35386 * sysdeps/unix/sysv/linux/kernel-features.h
35387 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35388 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35390 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35393 2012-03-11 David S. Miller <davem@davemloft.net>
35395 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35396 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35398 for 'resultvar' otherwise things get truncated on 64-bit.
35400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35401 Fix masking out of the most significant byte of random value used.
35403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35405 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35409 2012-03-09 David S. Miller <davem@davemloft.net>
35411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35412 variables with appropriate CPP guards.
35413 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35414 from the frame pointer, not the stack pointer. Correct layout
35415 comments. Fix test on resulting framesize and the management of
35416 the outregs buffer for pltexit. Preserve floating point return
35417 values across _dl_call_pltexit call.
35418 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35419 framesize and the management of the outregs buffer for pltexit.
35420 Preserve floating point return values across _dl_call_pltexit
35422 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35423 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35424 (la_sparc64_gnu_pltexit): New functions.
35425 (print_exit): Fix format string for return register value.
35427 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35429 * sunrpc/Makefile (others): Add rpcgen.
35430 ($(objpfx)rpcgen): Remove special build rule and dependency on
35432 * sunrpc/rpcgen.c: New file.
35434 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35437 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35438 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35439 * sysdeps/i386/crti.S: Likewise.
35440 * sysdeps/i386/crtn.S: Likewise.
35441 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35442 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35443 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35444 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35445 * sysdeps/sh/crti.S: Likewise.
35446 * sysdeps/sh/crtn.S: Likewise.
35447 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35450 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35452 * locale/programs/locfile-kw.gperf: Likewise.
35453 * locale/programs/charmap-kw.h: Regenerated.
35454 * locale/programs/locfile-kw.h: Likewise.
35457 * intl/plural.y: Replace FSF snail mail address with URL.
35458 * intl/plural.c: Regenerated.
35460 2012-03-09 Richard Henderson <rth@twiddle.net>
35462 * include/math_private.h: Remove file.
35463 * math/math_private.h: Move file ...
35464 * sysdeps/generic/math_private.h: ... here.
35466 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35467 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35468 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35470 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35471 and <math_private.h>.
35472 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35473 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35474 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35475 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35476 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35491 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35494 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35506 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35507 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35508 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35509 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35511 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35512 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35513 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35514 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35515 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35516 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35517 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35518 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35519 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35521 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35522 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35523 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35524 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35525 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35526 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35527 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35529 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35530 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35531 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35532 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35533 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35535 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35536 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35537 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35538 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35539 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35540 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35541 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35542 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35544 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35545 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35546 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35548 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35549 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35551 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35552 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35553 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35554 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35555 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35556 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35557 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35560 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35563 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35564 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35565 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35566 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35567 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35568 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35569 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35570 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35571 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35572 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35573 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35574 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35575 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35576 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35577 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35578 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35579 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35580 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35581 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35582 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35583 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35584 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35586 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35587 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35588 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35590 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35591 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35592 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35593 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35594 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35595 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35596 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35597 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35598 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35599 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35600 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35601 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35602 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35603 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35604 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35605 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35606 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35607 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35608 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35609 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35610 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35611 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35612 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35613 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35614 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35615 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35616 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35617 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35618 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35619 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35620 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35621 * sysdeps/ieee754/k_standard.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35737 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35741 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35742 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35749 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35771 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35772 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35782 * sysdeps/ieee754/s_lib_version.c: Likewise.
35783 * sysdeps/ieee754/s_matherr.c: Likewise.
35784 * sysdeps/ieee754/s_signgam.c: Likewise.
35785 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35786 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35787 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35788 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35789 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35790 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35791 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35792 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35793 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35794 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35795 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35796 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35797 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35798 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35799 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35800 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35801 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35802 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35803 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35805 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35807 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35809 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35810 * sunrpc/rpc_main.c: Likewise.
35811 * sunrpc/rpc_svcout.c: Likewise.
35813 2012-03-09 David S. Miller <davem@davemloft.net>
35815 * include/math_private.h: New file.
35817 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35819 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35820 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35821 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35822 from <bits/socket_type.h>.
35823 (enum __socket_type): Don't define here.
35824 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35826 bits/socket_type.h.
35829 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35830 checking __USE_GNU.
35832 * Makerules ($(inst_includedir)/%.h): New rule.
35833 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35834 (install-others): Remove variable setting.
35835 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35837 2012-03-08 Richard Henderson <rth@twiddle.net>
35839 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35840 from macro to inline function; merge with the
35841 !__LIBC_INTERNAL_MATH_INLINES version.
35842 (__ieee754_sqrtf): Likewise.
35844 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35845 to inline function.
35846 (__rintf, __floor, __floorf): Likewise.
35848 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35849 macro to inline function.
35850 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35852 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35853 not <math/math_private.h>.
35855 2012-03-08 David S. Miller <davem@davemloft.net>
35857 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35859 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35861 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35863 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35865 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35866 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35868 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35870 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35871 be defined individually, they must be defined as a block. Define
35872 S for printing a string instead of hidint the different by using a
35873 macro for adding the 'l'.
35874 * stdio-common/tst-fphex-wide.c: Adjust.
35876 2012-03-07 Marek Polacek <polacek@redhat.com>
35878 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35880 2012-03-08 Marek Polacek <polacek@redhat.com>
35883 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35884 * stdio-common/tst-fphex.c: Define a few macros to make the
35885 test reusable. Use them.
35886 * stdio-common/tst-fphex-wide.c: New file.
35888 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35891 * manual/macros.texi (gnusystems): New macro.
35892 (nongnusystems): Likewise.
35893 (gnulinuxhurdsystems): Likewise.
35894 (gnuhurdsystems): Likewise..
35895 (gnulinuxsystems): Likewise.
35896 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35897 variants of the GNU system, not "GNU system".
35898 * manual/conf.texi: Likewise.
35899 * manual/errno.texi: Likewise. Update example of errno macro
35901 * manual/filesys.texi: Likewise.
35902 (getumask): Document as specific to GNU/Hurd.
35903 * manual/install.texi: Likewise. Reword some references to
35905 * manual/intro.texi: Likewise.
35906 * manual/io.texi: Likewise.
35907 (File Name Portability): Detail which constraints are inapplicable
35908 to all GNU systems and which are only inapplicable to GNU/Hurd.
35909 * manual/job.texi: Likewise.
35910 * manual/llio.texi: Likewise.
35911 (O_NOCTTY): Document as present on GNU/Linux.
35912 * manual/maint.texi: Likewise.
35913 * manual/memory.texi: Likewise.
35914 * manual/pattern.texi: Likewise.
35915 * manual/pipe.texi: Likewise.
35916 * manual/process.texi: Likewise.
35917 * manual/resource.texi: Likewise.
35918 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35920 * manual/setjmp.texi: Likewise.
35921 * manual/signal.texi: Likewise.
35922 * manual/startup.texi: Likewise.
35923 * manual/stdio.texi: Likewise.
35924 * manual/terminal.texi: Likewise.
35925 (ONLCR): Document as POSIX.
35926 (OXTABS): Document availability on GNU/Linux as XTABS.
35927 (ONOEOT): Document availability separately from other bits.
35928 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35929 * manual/time.texi: Likewise.
35930 * manual/users.texi: Likewise.
35931 * INSTALL: Regenerated.
35932 * sysdeps/gnu/errlist.c: Regenerated.
35934 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35935 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35936 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35938 * configure: Regenerated.
35940 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35942 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35943 default includes instead of AC_HEADER_CHECK.
35944 * sysdeps/i386/configure: Regenerated.
35947 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35948 * math/s_cacoshf.c (__cacoshf): Likewise.
35949 * math/s_cacoshl.c (__cacoshl): Likewise.
35950 * math/s_casinh.c (__casinh): Set signs of result from argument.
35951 * math/s_casinhf.c (__casinhf): Likewise.
35952 * math/s_casinhl.c (__casinhl): Likewise.
35953 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35954 (casinh_test): Add more tests.
35955 * sysdeps/i386/fpu/libm-test-ulps: Update.
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35958 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35960 * po/zh_TW.po: Update from translation team.
35962 * login/Makefile (distribute): Remove variable.
35963 * catgets/Makefile: Likewise.
35964 * mach/Makefile: Likewise.
35965 * malloc/Makefile: Likewise.
35966 * misc/Makefile: Likewise.
35967 * iconv/Makefile: Likewise.
35968 * nscd/Makefile: Likewise.
35969 * hurd/Makefile: Likewise.
35970 * manual/Makefile: Likewise.
35971 * locale/Makefile: Likewise.
35972 * intl/Makefile: Likewise.
35973 * conform/Makefile: Likewise.
35974 * nss/Makefile: Likewise.
35975 * time/Makefile: Likewise.
35976 * soft-fp/Makefile: Likewise.
35977 * dirent/Makefile: Likewise.
35978 * gmon/Makefile: Likewise.
35979 * po/Makefile: Likewise.
35980 * rt/Makefile: Likewise.
35981 * socket/Makefile: Likewise.
35982 * math/Makefile: Likewise.
35983 * signal/Makefile: Likewise.
35984 * debug/Makefile: Likewise.
35985 * elf/Makefile: Likewise.
35986 * timezone/Makefile: Likewise.
35987 * stdlib/Makefile: Likewise.
35988 * iconvdata/Makefile: Likewise.
35989 * sunrpc/Makefile: Likewise.
35990 * io/Makefile: Likewise.
35991 * argp/Makefile: Likewise.
35992 * inet/Makefile: Likewise.
35993 * hesiod/Makefile: Likewise.
35994 * grp/Makefile: Likewise.
35995 * csu/Makefile: Likewise.
35996 * wctype/Makefile: Likewise.
35997 * crypt/Makefile: Likewise.
35998 * libio/Makefile: Likewise.
35999 * string/Makefile: Likewise.
36000 * nis/Makefile: Likewise.
36001 * resolv/Makefile: Likewise.
36002 * stdio-common/Makefile: Likewise.
36003 * wcsmbs/Makefile: Likewise.
36004 * dlfcn/Makefile: Likewise.
36005 * posix/Makefile: Likewise.
36008 * timezone/Makefile: Don't install timezone files, just the programs
36011 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36013 * nss/databases.def: Add missing gshadow entry.
36015 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36017 2012-03-06 Marek Polacek <polacek@redhat.com>
36020 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36021 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36022 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36023 * stdio-common/tst-long-dbl-fphex.c: New file.
36025 2012-03-06 David S. Miller <davem@davemloft.net>
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36028 (set_obp_int): New function.
36029 (get_obp_int): New function.
36030 (__get_clockfreq_via_dev_openprom): Likewise.
36031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36032 Avoid unused variable warnings on 'val' and use builtin_expect.
36033 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36035 (INLINE_CLONE_SYSCALL): Likewise.
36037 2012-03-05 David S. Miller <davem@davemloft.net>
36039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36041 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36046 only for |x| >= 40.
36047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36049 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36052 Replace gettimeofday with __vdso_gettimeofday.
36054 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36055 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36056 __vdso_clock_gettime and __vdso_getcpu.
36058 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36059 time with __vdso_time.
36061 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36063 * manual/lang.texi (size_t): Note types to which size_t may be
36064 equivalent with the GNU C Library, but do not describe when
36065 differences between them are significant.
36067 2012-03-05 Andreas Jaeger <aj@suse.de>
36069 * sysdeps/i386/fpu/libm-test-ulps: Update.
36071 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36074 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36075 (__ieee754_pow): Save and restore rounding mode and use
36076 round-to-nearest for main computations.
36077 * math/libm-test.inc (pow_test_tonearest): New function.
36078 (pow_test_towardzero): Likewise.
36079 (pow_test_downward): Likewise.
36080 (pow_test_upward): Likewise.
36081 (main): Call the new functions.
36082 * sysdeps/i386/fpu/libm-test-ulps: Update.
36083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36086 * math/libm-test.inc (cosh_test_tonearest): New function.
36087 (cosh_test_towardzero): Likewise.
36088 (cosh_test_downward): Likewise.
36089 (cosh_test_upward): Likewise.
36090 (sinh_test_tonearest): Likewise.
36091 (sinh_test_towardzero): Likewise.
36092 (sinh_test_downward): Likewise.
36093 (sinh_test_upward): Likewise.
36094 (main): Call the new functions.
36095 * sysdeps/i386/fpu/libm-test-ulps: Update.
36096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36098 2012-03-05 Tom de Vries <tom@codesourcery.com>
36100 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36101 default stack guard is set in last bytes.
36102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36104 2012-03-05 Kees Cook <keescook@chromium.org>
36106 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36109 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36110 possibly allocate from heap instead of stack.
36111 * stdio-common/bug-vfprintf-nargs.c: New file.
36112 * stdio-common/Makefile (tests): Add nargs overflow test.
36114 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36118 2012-03-03 Marek Polacek <polacek@redhat.com>
36120 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36121 * math/math_private.h: Likewise.
36122 * stdlib/tst-strtod.c: Likewise.
36123 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36124 * sysdeps/x86_64/bits/atomic.h: Likewise.
36126 2012-03-02 David S. Miller <davem@davemloft.net>
36128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36132 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36133 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36134 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36135 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36137 2012-03-02 Roland McGrath <roland@hack.frob.com>
36140 * manual/examples/README: New file, says the example source files
36141 can be used under GPL>=2.
36142 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36143 line containing just "*/".
36144 * manual/examples/add.c: Add copyright header (GPL>=2).
36145 * manual/examples/argp-ex1.c: Likewise.
36146 * manual/examples/argp-ex2.c: Likewise.
36147 * manual/examples/argp-ex3.c: Likewise.
36148 * manual/examples/argp-ex4.c: Likewise.
36149 * manual/examples/atexit.c: Likewise.
36150 * manual/examples/db.c: Likewise.
36151 * manual/examples/dir.c: Likewise.
36152 * manual/examples/dir2.c: Likewise.
36153 * manual/examples/execinfo.c: Likewise.
36154 * manual/examples/filecli.c: Likewise.
36155 * manual/examples/filesrv.c: Likewise.
36156 * manual/examples/fmtmsgexpl.c: Likewise.
36157 * manual/examples/genpass.c: Likewise.
36158 * manual/examples/inetcli.c: Likewise.
36159 * manual/examples/inetsrv.c: Likewise.
36160 * manual/examples/isockad.c: Likewise.
36161 * manual/examples/longopt.c: Likewise.
36162 * manual/examples/memopen.c: Likewise.
36163 * manual/examples/memstrm.c: Likewise.
36164 * manual/examples/mkfsock.c: Likewise.
36165 * manual/examples/mkisock.c: Likewise.
36166 * manual/examples/mygetpass.c: Likewise.
36167 * manual/examples/pipe.c: Likewise.
36168 * manual/examples/popen.c: Likewise.
36169 * manual/examples/rprintf.c: Likewise.
36170 * manual/examples/search.c: Likewise.
36171 * manual/examples/select.c: Likewise.
36172 * manual/examples/setjmp.c: Likewise.
36173 * manual/examples/sigh1.c: Likewise.
36174 * manual/examples/sigusr.c: Likewise.
36175 * manual/examples/stpcpy.c: Likewise.
36176 * manual/examples/strdupa.c: Likewise.
36177 * manual/examples/strftim.c: Likewise.
36178 * manual/examples/strncat.c: Likewise.
36179 * manual/examples/subopt.c: Likewise.
36180 * manual/examples/swapcontext.c: Likewise.
36181 * manual/examples/termios.c: Likewise.
36182 * manual/examples/testopt.c: Likewise.
36183 * manual/examples/testpass.c: Likewise.
36184 * manual/examples/timeval_subtract.c: Likewise.
36187 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36189 * manual/timeval_subtract.c.texi: ... here, new file.
36191 2012-03-02 David S. Miller <davem@davemloft.net>
36193 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36195 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36198 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36199 (__sin): Save and restore rounding mode and use round-to-nearest
36200 for all computations.
36201 (__cos): Save and restore rounding mode and use round-to-nearest
36202 for all computations.
36203 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36205 (tan): Save and restore rounding mode and use round-to-nearest for
36207 * math/libm-test.inc (cos_test_tonearest): New function.
36208 (cos_test_towardzero): Likewise.
36209 (cos_test_downward): Likewise.
36210 (cos_test_upward): Likewise.
36211 (sin_test_tonearest): Likewise.
36212 (sin_test_towardzero): Likewise.
36213 (sin_test_downward): Likewise.
36214 (sin_test_upward): Likewise.
36215 (tan_test_tonearest): Likewise.
36216 (tan_test_towardzero): Likewise.
36217 (tan_test_downward): Likewise.
36218 (tan_test_upward): Likewise.
36219 (main): Call the new functions.
36220 * sysdeps/i386/fpu/libm-test-ulps: Update.
36221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36224 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36225 small n, then large n, before computing and testing k+n.
36226 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36231 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36232 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36233 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36234 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36235 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36236 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36238 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36239 * math/libm-test.inc (scalbn_test): Add more tests.
36240 (scalbln_test): Likewise.
36242 * manual/filesys.texi (mode_t): Describe constraints on size and
36243 signedness, not exact equivalence to a particular type.
36245 (ino64_t): Likewise.
36247 (nlink_t): Likewise.
36248 (blkcnt_t): Likewise.
36249 (blkcnt64_t): Likewise.
36250 * manual/llio.texi (off_t): Likewise.
36253 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36254 (__ieee754_exp): Save and restore rounding mode and use
36255 round-to-nearest for all computations.
36256 * math/libm-test.inc (exp_test_tonearest): New function.
36257 (exp_test_towardzero): Likewise.
36258 (exp_test_downward): Likewise.
36259 (exp_test_upward): Likewise.
36260 (main): Call the new functions.
36261 * sysdeps/i386/fpu/libm-test-ulps: Update.
36262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36264 2012-03-01 Chris Demetriou <cgd@google.com>
36266 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36267 have predictable order.
36269 2012-03-01 David S. Miller <davem@davemloft.net>
36271 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36273 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36274 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36275 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36276 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36278 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36279 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36280 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36282 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36284 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36285 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36286 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36290 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36291 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36292 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36294 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36295 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36296 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36297 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36298 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36299 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36301 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36302 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36303 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36304 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36305 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36308 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36310 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36311 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36312 * sysdeps/sparc/elf/configure: Regenerated.
36314 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36316 * configure.in (AS, LD): Require binutils 2.20 or later.
36317 * configure: Regenerated.
36318 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36319 as required minimum version.
36320 * INSTALL: Regenerated.
36324 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36325 before squaring exponent.
36326 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36327 bottom long double and 27 bits of top long double before squaring
36329 * math/libm-test.inc (erfc_test): Add more tests.
36330 * sysdeps/i386/fpu/libm-test-ulps: Update.
36331 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36334 2012-03-01 Kai Tietz <ktietz@redhat.com>
36336 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36337 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36338 containing bit-fields.
36339 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36340 * soft-fp/single.h (_FP_UNION_S): Likewise.
36341 * soft-fp/double.h (_FP_UNION_D): Likewise.
36343 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36346 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36347 not include ../strcmp.S.
36348 [USE_AS_STRNCASECMP_L]: Likewise.
36349 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36350 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36351 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36352 (__strncasecmp_l_ia32): Define as alias to
36353 __strncasecmp_l_nonascii.
36356 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36357 * sysdeps/i386/fpu/libm-test-ulps: Update.
36358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36360 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36363 2012-02-29 Jeff Law <law@redhat.com>
36365 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36366 out of bounds read.
36368 2012-02-29 Marek Polacek <polacek@redhat.com>
36371 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36372 * elf/Makefile: Add rules to run tst-unused-dep.out.
36374 2012-02-28 David S. Miller <davem@davemloft.net>
36376 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36377 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36378 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36379 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36380 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36381 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36383 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36385 * math/libm-test.inc (llround_test): Move one test from
36386 lround_test. Use TEST_f_L in moved test.
36387 (lround_test): Move misplaced test to llround_test. Add testcase
36390 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36392 * sysdeps/x86_64/fpu/e_expf.S: New file.
36393 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36395 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36398 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36399 of remain_len that may cause incomplete multi-byte character and
36401 * posix/bug-regex33.c: New file.
36402 * posix/Makefile (tests): Add bug-regex33.
36404 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36406 * manual/macros.texi: New file.
36407 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36408 * manual/libc.texinfo: Include macros.texi.
36409 * manual/creatute.texi: Likewise.
36410 * manual/install.texi: Likewise.
36411 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36412 @glibcadj{} in references to the GNU C Library.
36413 * manual/charset.texi: Likewise.
36414 * manual/conf.texi: Likewise.
36415 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36416 when not using those macros.
36417 * manual/creature.texi: Likewise.
36418 * manual/crypt.texi: Likewise.
36419 * manual/errno.texi: Likewise.
36420 * manual/filesys.texi: Likewise.
36421 * manual/header.texi: Likewise.
36422 * manual/install.texi: Likewise.
36423 * manual/intro.texi: Likewise.
36424 * manual/io.texi: Likewise.
36425 * manual/job.texi: Likewise.
36426 * manual/lang.texi: Likewise.
36427 * manual/libc.texiinfo: Likewise.
36428 * manual/llio.texi: Likewise.
36429 * manual/locale.texi: Likewise.
36430 * manual/maint.texi: Likewise.
36431 * manual/math.texi: Likewise.
36432 * manual/memory.texi: Likewise.
36433 * manual/message.texi: Likewise.
36434 * manual/nss.texi: Likewise.
36435 * manual/pattern.texi: Likewise.
36436 * manual/process.texi: Likewise.
36437 * manual/resource.texi: Likewise.
36438 * manual/search.texi: Likewise.
36439 * manual/setjmp.texi: Likewise.
36440 * manual/signal.texi: Likewise.
36441 * manual/socket.texi: Likewise.
36442 * manual/startup.texi: Likewise.
36443 * manual/stdio.texi: Likewise.
36444 * manual/string.texi: Likewise.
36445 * manual/sysinfo.texi: Likewise.
36446 * manual/syslog.texi: Likewise.
36447 * manual/terminal.texi: Likewise.
36448 * manual/time.texi: Likewise.
36449 * manual/users.texi: Likewise.
36450 * INSTALL: Regenerated.
36451 * NOTES: Regenerated.
36452 * sysdeps/gnu/errlist.c: Regenerated.
36454 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36456 * include/dirent.h: Include <dirstream.h> before
36459 2012-02-28 David S. Miller <davem@davemloft.net>
36461 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36462 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36463 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36464 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36466 2012-02-27 David S. Miller <davem@davemloft.net>
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36470 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36471 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36474 frame pointer instead of stack pointer relative arg slot.
36475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36476 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36477 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36479 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36482 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36484 2012-02-27 David S. Miller <davem@davemloft.net>
36486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36490 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36491 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36492 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36493 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36495 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36497 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36498 later. Allow versions 5-9.
36499 * configure: Regenerated.
36500 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36501 required minimum version and 4.6 as recommended version. Do not
36502 mention bugs in GCC 2.7 and 2.8.
36503 * INSTALL: Regenerated.
36505 2012-02-27 David S. Miller <davem@davemloft.net>
36507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36511 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36512 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36513 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36514 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36517 manipulate bits before adding and subtracting TWO112[sx].
36518 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36520 2012-02-27 Roland McGrath <roland@hack.frob.com>
36523 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36524 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36525 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36526 being in POSIX, because they are in 1003.1-2008.
36528 * rt/tst-aio.c: Include <fcntl.h>.
36529 * rt/tst-aio7.c: Likewise.
36530 * rt/tst-aio64.c: Likewise.
36532 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36534 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36536 * manual/install.texi (--with-headers): Describe headers as
36537 interface headers, not private headers.
36538 (Specific advice for GNU/Linux systems): Describe use of headers
36539 from "make headers_install", not private headers from older
36541 * INSTALL: Regenerated.
36542 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36544 * sysdeps/unix/sysv/linux/configure: Regenerated.
36546 * manual/llio.texi (fclean): Remove documentation.
36548 * manual/Makefile (libc-texi-generated): New variable. Include
36550 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36551 $(libc-texi-generated), not duplicated list of files.
36552 (version.texi, stamp-version): New rules.
36553 (realclean): Remove $(libc-texi-generated), not individual files
36554 from that list. Do not remove dir-add.texinfo.
36555 * manual/libc.texinfo: Comment out uses of edition numbers and
36556 references to printed manual. Remove last-updated dates.
36557 (EDITION): Comment out.
36559 (VERSION, UPDATED): Remove.
36560 (version.texi): Include.
36562 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36564 * sysdeps/posix/spawni.c: Include <signal.h>.
36565 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36566 * sysdeps/pthread/aio_fsync.c: Likewise.
36568 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36570 * conform/Makefile (tests): Run only when not cross-compiling and
36571 when fast-check is not defined.
36573 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36574 * conform/data/limits.h-data: Fixes for POSIX2008.
36575 * conform/run-conformtest.sh: Run all tests.
36576 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36578 * include/bits/dlfcn.h: Likewise.
36579 * include/langinfo.h: Likewise.
36580 * include/monetary.h: Likewise.
36581 * include/sys/poll.h: Likewise.
36583 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36585 * posix/spawn.h: Define __need_sigset_t.
36586 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36587 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36588 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36589 to get sigevent_t only.
36590 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36591 only for __USE_GNU.
36592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36593 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36594 process_vm_writev only for __USE_GNU.
36595 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36597 * conform/Makefile: For now ignore errors from run-conformtest.
36598 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36599 POSIX to avoid namespace pollution. Don't prepend headers.
36600 * conform/data/aio.h-data: Fixes for POSIX testing.
36601 * conform/data/fcntl.h-data: Likewise.
36602 * conform/data/glob.h-data: Likewise.
36603 * conform/data/grp.h-data: Likewise.
36604 * conform/data/pthread.h-data: Likewise.
36605 * conform/data/pwd.h-data: Likewise.
36606 * conform/data/signal.h-data: Likewise.
36607 * conform/data/spawn.h-data: Likewise.
36608 * conform/data/stdio.h-data: Likewise.
36609 * conform/data/stdlib.h-data: Likewise.
36610 * conform/data/stropts.h-data: Likewise.
36611 * conform/data/sys/mman.h-data: Likewise.
36612 * conform/data/sys/stat.h-data: Likewise.
36613 * conform/data/sys/types.h-data: Likewise.
36614 * conform/data/sys/wait.h-data: Likewise.
36615 * conform/data/time.h-data: Likewise.
36616 * conform/data/unistd.h-data: Likewise.
36617 * conform/data/utime.h-data: Likewise.
36619 * io/sys/stat.h: fchmod was always in POSIX.
36620 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36621 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36622 * rt/aio.h: Define __need_timespec before including <time.h>.
36623 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36624 struct. Add forward declaration of pthread_attr_t and use it in
36626 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36627 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36628 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36629 always remove CLK_TCK definition.
36631 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36633 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36635 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36637 * conform/run-conformtest.sh: New file.
36638 * conform/Makefile: Run run-conformtest for tests.
36639 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36642 * conform/data/uchar.h-data: New file.
36643 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36644 * conform/data/arpa/inet.h-data: Likewise.
36645 * conform/data/assert.h-data: Likewise.
36646 * conform/data/complex.h-data: Likewise.
36647 * conform/data/cpio.h-data: Likewise.
36648 * conform/data/ctype.h-data: Likewise.
36649 * conform/data/dirent.h-data: Likewise.
36650 * conform/data/dlfcn.h-data: Likewise.
36651 * conform/data/errno.h-data: Likewise.
36652 * conform/data/fcntl.h-data: Likewise.
36653 * conform/data/float.h-data: Likewise.
36654 * conform/data/fmtmsg.h-data: Likewise.
36655 * conform/data/fnmatch.h-data: Likewise.
36656 * conform/data/ftw.h-data: Likewise.
36657 * conform/data/glob.h-data: Likewise.
36658 * conform/data/grp.h-data: Likewise.
36659 * conform/data/iconv.h-data: Likewise.
36660 * conform/data/inttypes.h-data: Likewise.
36661 * conform/data/langinfo.h-data: Likewise.
36662 * conform/data/libgen.h-data: Likewise.
36663 * conform/data/limits.h-data: Likewise.
36664 * conform/data/locale.h-data: Likewise.
36665 * conform/data/math.h-data: Likewise.
36666 * conform/data/monetary.h-data: Likewise.
36667 * conform/data/mqueue.h-data: Likewise.
36668 * conform/data/ndbm.h-data: Likewise.
36669 * conform/data/net/if.h-data: Likewise.
36670 * conform/data/netdb.h-data: Likewise.
36671 * conform/data/netinet/in.h-data: Likewise.
36672 * conform/data/nl_types.h-data: Likewise.
36673 * conform/data/poll.h-data: Likewise.
36674 * conform/data/pthread.h-data: Likewise.
36675 * conform/data/pwd.h-data: Likewise.
36676 * conform/data/regex.h-data: Likewise.
36677 * conform/data/sched.h-data: Likewise.
36678 * conform/data/search.h-data: Likewise.
36679 * conform/data/semaphore.h-data: Likewise.
36680 * conform/data/setjmp.h-data: Likewise.
36681 * conform/data/signal.h-data: Likewise.
36682 * conform/data/spawn.h-data: Likewise.
36683 * conform/data/stdarg.h-data: Likewise.
36684 * conform/data/stdio.h-data: Likewise.
36685 * conform/data/stdlib.h-data: Likewise.
36686 * conform/data/string.h-data: Likewise.
36687 * conform/data/strings.h-data: Likewise.
36688 * conform/data/stropts.h-data: Likewise.
36689 * conform/data/sys/ipc.h-data: Likewise.
36690 * conform/data/sys/mman.h-data: Likewise.
36691 * conform/data/sys/msg.h-data: Likewise.
36692 * conform/data/sys/resource.h-data: Likewise.
36693 * conform/data/sys/select.h-data: Likewise.
36694 * conform/data/sys/sem.h-data: Likewise.
36695 * conform/data/sys/shm.h-data: Likewise.
36696 * conform/data/sys/socket.h-data: Likewise.
36697 * conform/data/sys/stat.h-data: Likewise.
36698 * conform/data/sys/statvfs.h-data: Likewise.
36699 * conform/data/sys/time.h-data: Likewise.
36700 * conform/data/sys/timeb.h-data: Likewise.
36701 * conform/data/sys/times.h-data: Likewise.
36702 * conform/data/sys/types.h-data: Likewise.
36703 * conform/data/sys/uio.h-data: Likewise.
36704 * conform/data/sys/un.h-data: Likewise.
36705 * conform/data/sys/utsname.h-data: Likewise.
36706 * conform/data/sys/wait.h-data: Likewise.
36707 * conform/data/syslog.h-data: Likewise.
36708 * conform/data/tar.h-data: Likewise.
36709 * conform/data/termios.h-data: Likewise.
36710 * conform/data/utime.h-data: Likewise.
36711 * conform/data/utmpx.h-data: Likewise.
36712 * conform/data/varargs.h-data: Likewise.
36713 * conform/data/wchar.h-data: Likewise.
36714 * conform/data/wctype.h-data: Likewise.
36715 * conform/data/wordexp.h-data: Likewise.
36717 * include/stropts.h: New file.
36718 * include/uchar.h: New file.
36719 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36720 * include/assert.h: Likewise.
36721 * include/ctype.h: Likewise.
36722 * include/dirent.h: Likewise.
36723 * include/dlfcn.h: Likewise.
36724 * include/fcntl.h: Likewise.
36725 * include/fnmatch.h: Likewise.
36726 * include/glob.h: Likewise.
36727 * include/grp.h: Likewise.
36728 * include/libio.h: Likewise.
36729 * include/locale.h: Likewise.
36730 * include/math.h: Likewise.
36731 * include/net/if.h: Likewise.
36732 * include/netdb.h: Likewise.
36733 * include/netinet/in.h: Likewise.
36734 * include/pthread.h: Likewise.
36735 * include/pwd.h: Likewise.
36736 * include/regex.h: Likewise.
36737 * include/sched.h: Likewise.
36738 * include/search.h: Likewise.
36739 * include/setjmp.h: Likewise.
36740 * include/signal.h: Likewise.
36741 * include/stdio.h: Likewise.
36742 * include/stdlib.h: Likewise.
36743 * include/string.h: Likewise.
36744 * include/sys/cdefs.h: Likewise.
36745 * include/sys/mman.h: Likewise.
36746 * include/sys/msg.h: Likewise.
36747 * include/sys/resource.h: Likewise.
36748 * include/sys/select.h: Likewise.
36749 * include/sys/socket.h: Likewise.
36750 * include/sys/stat.h: Likewise.
36751 * include/sys/statvfs.h: Likewise.
36752 * include/sys/time.h: Likewise.
36753 * include/sys/times.h: Likewise.
36754 * include/sys/uio.h: Likewise.
36755 * include/sys/utsname.h: Likewise.
36756 * include/sys/wait.h: Likewise.
36757 * include/termios.h: Likewise.
36758 * include/time.h: Likewise.
36759 * include/ulimit.h: Likewise.
36760 * include/unistd.h: Likewise.
36761 * include/utime.h: Likewise.
36762 * include/wchar.h: Likewise.
36763 * include/wctype.h: Likewise.
36764 * include/wordexp.h: Likewise.
36766 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36768 * time/time.h: TIME_UTC must be a macro.
36769 Make timespec_get available for ISO C11 only as well.
36771 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36773 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36774 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36776 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36778 * configure.in: Use -o not -a in test for unsupported multi-arch.
36780 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36782 * manual/texinfo.tex: Update to version 2012-01-19.16.
36784 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36786 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36788 2012-02-24 Roland McGrath <roland@hack.frob.com>
36791 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36792 * manual/fdl-1.3.texi: New file.
36793 * manual/fdl-1.1.texi: File removed.
36796 * manual/libc.texinfo (FDL_VERSION): New @set.
36797 Use it for mention of FDL in cover text.
36798 (Documentation License): Use it in @include file name.
36800 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36801 Roland McGrath <roland@hack.frob.com>
36804 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36805 (not LONG_LONG_MAX and LONG_LONG_MIN.
36806 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36807 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36809 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36811 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36815 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36816 manipulate bits before adding and subtracting TWO23[sx].
36817 * math/libm-test.inc (nearbyint_test): Add more tests.
36819 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36822 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36823 bits before adding and subtracting TWO23[sx].
36824 * math/libm-test.inc (rint_test): Add more tests.
36825 (rint_test_tonearest): Likewise.
36826 (rint_test_towardzero): Likewise.
36827 (rint_test_downward): Likewise.
36828 (rint_test_upward: Likewise.
36830 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36833 * include/stdc-predef.h: New file. Extracted from features.h.
36834 * include/features.h: Include stdc-predef.h.
36835 * Makefile (headers): Add stdc-predef.h.
36836 * CONFORMANCE (Compiler limitations): Update.
36838 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36840 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36842 2012-02-21 David S. Miller <davem@davemloft.net>
36844 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36845 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36847 2012-02-20 David S. Miller <davem@davemloft.net>
36849 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36850 using a normal save/restore sequence, rather than allocating a
36851 dummy stack frame just to store a frame pointer and restore.
36852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36854 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36856 * manual/install.texi: Fix stray word in line-wrapped comment.
36858 2012-02-20 David S. Miller <davem@davemloft.net>
36860 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36861 both binutils and gcc support GOTDATA.
36863 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36864 "rd %pc" in the PIC register setup sequences.
36866 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36867 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36868 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36869 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36870 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36873 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36875 (SYSCALL_ERROR_HANDLER): Likewise.
36876 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36877 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36879 (SYSCALL_ERROR_HANDLER): Likewise.
36881 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36882 (HAVE_GCC_GOTDATA): New.
36883 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36884 relocation support in both binutils and gcc.
36885 * sysdeps/sparc/elf/configure: Regenerate.
36887 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36888 * sysdeps/sparc/sparc32/elf/configure: Delete.
36889 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36890 * sysdeps/sparc/sparc64/elf/configure: Delete.
36891 * sysdeps/sparc/elf/configure.in: New file.
36892 * sysdeps/sparc/elf/configure: Generate.
36894 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36895 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36896 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36897 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36898 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36900 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36902 * manual/install.texi: Do not mention specific glibc version
36904 * manual/libc.texinfo (VERSION, UPDATED): Update.
36905 (@copying): Use @copyright{} and range of years.
36907 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36910 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36911 [crti.S not in sysdirs] (generated): Do not append.
36912 [crti.S not in sysdirs] (omit-deps): Likewise.
36913 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36914 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36915 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36916 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36917 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36919 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36920 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36921 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36922 * csu/defs.awk: Remove file.
36923 * sysdeps/generic/initfini.c: Likewise.
36924 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36926 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36929 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36931 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36932 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36933 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36935 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36936 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36938 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36939 (__EPOLL_PACKED): Define to empty if not defined by
36941 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36945 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36947 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36948 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36949 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36950 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36952 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36956 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36958 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36961 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36962 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36965 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36967 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36968 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36970 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36972 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36973 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36975 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36977 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36980 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36982 * math/w_acos.c: Use non-signaling floating-point comparisons.
36983 * math/w_acosf.c: Likewise.
36984 * math/w_acosh.c: Likewise.
36985 * math/w_acoshf.c: Likewise.
36986 * math/w_acoshl.c: Likewise.
36987 * math/w_acosl.c: Likewise.
36988 * math/w_asin.c: Likewise.
36989 * math/w_asinf.c: Likewise.
36990 * math/w_asinl.c: Likewise.
36991 * math/w_atanh.c: Likewise.
36992 * math/w_atanhf.c: Likewise.
36993 * math/w_atanhl.c: Likewise.
36994 * math/w_exp2.c: Likewise.
36995 * math/w_exp2f.c: Likewise.
36996 * math/w_exp2l.c: Likewise.
36997 * math/w_j0.c: Likewise.
36998 * math/w_j0f.c: Likewise.
36999 * math/w_j0l.c: Likewise.
37000 * math/w_j1.c: Likewise.
37001 * math/w_j1f.c: Likewise.
37002 * math/w_j1l.c: Likewise.
37003 * math/w_jn.c: Likewise.
37004 * math/w_jnf.c: Likewise.
37005 * math/w_log.c: Likewise.
37006 * math/w_log10.c: Likewise.
37007 * math/w_log10f.c: Likewise.
37008 * math/w_log10l.c: Likewise.
37009 * math/w_log2.c: Likewise.
37010 * math/w_log2f.c: Likewise.
37011 * math/w_log2l.c: Likewise.
37012 * math/w_logf.c: Likewise.
37013 * math/w_logl.c: Likewise.
37014 * math/w_sqrt.c: Likewise.
37015 * math/w_sqrtf.c: Likewise.
37016 * math/w_sqrtl.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37020 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37021 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37023 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37026 * manual/string.texi (strnlen): Use correct parameter name in
37027 equivalent expression.
37029 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37032 * manual/users.texi (seteuid): Consistently use neweuid for
37035 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37038 * manual/nss.texi (Services in the NSS configuration): Correct
37039 list of services in example configuration file.
37041 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37044 * manual/arith.texi: Remove statements about negative zero
37045 behaving identically to zero.
37047 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37050 * manual/install.texi: Do not document upgrading from libc5.
37052 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37055 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37057 2012-02-18 David S. Miller <davem@davemloft.net>
37059 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37060 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37061 %o7 across the call.
37062 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37065 SETUP_PIC_REG_LEAF.
37066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37067 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37068 * sysdeps/sparc/crtn.S: Likewise.
37070 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37072 * aout/Makefile: Remove.
37074 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37077 * manual/examples/argp-ex1.c (main): Format definition in GNU
37079 * manual/examples/argp-ex2.c (main): Likewise.
37080 * manual/examples/argp-ex3.c (main): Likewise.
37081 * manual/examples/argp-ex4.c (main): Likewise.
37082 * manual/examples/longopt.c (main): Use new-style prototype
37084 * manual/examples/strncat.c (main): Specify return type and use
37085 (void) for arguments.
37086 * manual/examples/subopt.c (main): Use char **argv argument.
37088 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37091 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37094 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37097 * manual/string.texi (strchr): Change when strchrnul is
37100 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37103 * manual/locale.texi (setlocale): Document LOCPATH.
37105 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37108 * manual/process.texi (execle): Move @dots{} before last argument.
37110 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37113 * manual/charset.texi (Generic Charset Conversion): Fix typo
37114 (LC_TYPE -> LC_CTYPE).
37116 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37119 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37120 (scalbnf): Likewise.
37121 (scalbnl): Likewise.
37122 (scalbln): Likewise.
37123 (scalblnf): Likewise.
37124 (scalblnl): Likewise.
37125 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37126 (vwarnx): Likewise.
37129 * manual/filesys.texi (telldir): Use braces around return type.
37130 * manual/llio.texi (mmap): Add space after comma.
37131 (mmap64): Likewise.
37132 * manual/math.texi (jn): Use @var{} on parameter names.
37138 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37140 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37142 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37143 (sched_get_priority_max): Likewise.
37144 * manual/signal.texi (sigvec): Add space after comma.
37145 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37147 (if_indextoname): Likewise.
37148 (if_freenameindex): Likewise.
37149 (sendto): Use ',' instead of '.' in prototype.
37150 * manual/startup.texi (syscall): Use @dots{} instead of literal
37152 * manual/stdio.texi (__fpending): Separate initial words of
37153 paragraph from @deftypefun line.
37154 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37156 (vsyslog): Use @var{} on parameter names.
37157 * manual/terminal.texi (stty): Use @var{} on parameter names.
37158 * manual/users.texi (getutmp): Use @var{} on parameter names.
37159 (getutmpx): Likewise.
37161 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37164 * manual/stdio.texi (fopen): Fix typos in description of
37167 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37170 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37171 get clock_id definition.
37173 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37176 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37177 (madvise): Cast every argument to void on its own.
37179 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37182 * manual/startup.texi (Exit Status): Fix typo.
37184 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37187 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37188 * manual/examples/argp-ex2.c: Likewise.
37189 * manual/examples/argp-ex3.c: Likewise.
37191 2012-02-16 Richard Henderson <rth@redhat.com>
37193 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37194 * sysdeps/s390/s390-32/initfini.c: Remove.
37195 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37196 * sysdeps/s390/s390-64/initfini.c: Remove.
37198 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37200 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37201 compiler output for sysdeps/generic/initfini.c.
37202 * sysdeps/sh/elf/initfini.c: Remove file.
37204 2012-02-16 David S. Miller <davem@davemloft.net>
37207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37209 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37210 * sysdeps/sparc/crti.S: New file.
37211 * sysdeps/sparc/crtn.S: New file.
37212 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37213 * sysdeps/sparc/sparc64/Makefile: Likewise.
37215 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37218 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37220 2012-02-15 Roland McGrath <roland@hack.frob.com>
37223 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37225 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37226 (write, read, close): Likewise.
37227 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37229 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37231 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37232 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37233 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37234 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37236 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37240 2012-02-14 Marek Polacek <polacek@redhat.com>
37242 * sysdeps/x86_64/crti.S: New file.
37243 * sysdeps/x86_64/crtn.S: New file.
37244 * sysdeps/x86_64/elf/initfini.c: Remove file.
37246 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37248 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37249 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37250 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37251 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37253 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37257 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37259 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37260 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37261 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37262 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37264 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37268 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37270 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37271 __feraiseexcept instead of feraiseexcept.
37273 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37274 nanosleep invocations.
37275 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37276 strings, and add error checking for a nanosleep invocations.
37278 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37280 Replace FSF snail mail address with URLs, as per GNU coding standards.
37281 Most of the snail mail addresses were wrong anyway, and omitting
37282 them makes the source code easier to maintain. Almost all of the
37283 changes are to license notices and to locale LC_IDENTIFICATION
37284 addresses, except for this one:
37285 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37286 not its snail mail address.
37288 2012-02-09 Richard Henderson <rth@twiddle.net>
37290 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37291 of kernel-features.h.
37293 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37295 2012-02-08 Marek Polacek <polacek@redhat.com>
37297 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37298 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37299 * sysdeps/gnu/_G_config.h: Likewise.
37300 * sysdeps/generic/_G_config.h: Likewise.
37302 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37304 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37308 * sysdeps/powerpc/powerpc32/crti.S: New file.
37309 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37310 * sysdeps/powerpc/powerpc64/crti.S: New file.
37311 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37313 * Makeconfig (have-initfini): Don't set.
37314 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37315 * configure.in (nopic_initfini): Don't substitute.
37316 * config.h.in (HAVE_INITFINI): Don't #undef.
37317 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37318 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37320 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37322 Support crti.S and crtn.S provided directly by architectures.
37323 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37324 [crti.S in sysdirs] (omit-deps): Likewise.
37325 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37326 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37327 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37328 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37329 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37330 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37331 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37332 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37333 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37334 compiler output for sysdeps/generic/initfini.c.
37335 * sysdeps/i386/elf/Makefile: Remove file.
37336 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37338 2012-02-07 Marek Polacek <polacek@redhat.com>
37340 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37341 * sysdeps/gnu/_G_config.h: Likewise.
37342 * sysdeps/mach/hurd/_G_config.h: Likewise.
37344 2012-02-07 Marek Polacek <polacek@redhat.com>
37346 * math/Makefile (tests): Add tst-CMPLX2.
37347 * math/tst-CMPLX2.c: New file.
37349 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37351 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37353 * math/libm-test.inc (jn_test): Add missing L suffix.
37355 2012-02-06 Marek Polacek <polacek@redhat.com>
37357 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37358 * sysdeps/i386/fpu/e_powf.S: Likewise.
37359 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37360 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37361 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37362 * sysdeps/i386/fpu/e_pow.S: Likewise.
37363 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37364 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37365 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37366 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37367 * sysdeps/i386/fpu/e_log2.S: Likewise.
37368 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37369 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37370 * sysdeps/i386/fpu/e_powl.S: Likewise.
37371 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37373 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37374 * sysdeps/i386/fpu/e_logl.S: Likewise.
37375 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37376 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37377 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37378 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37379 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37380 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37381 * sysdeps/i386/fpu/e_log.S: Likewise.
37382 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37383 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37384 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37385 * sysdeps/i386/fpu/e_logf.S: Likewise.
37386 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37387 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37388 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37389 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37390 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37391 * sysdeps/i386/fpu/e_log10.S: Likewise.
37392 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37393 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37394 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37395 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37396 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37397 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37398 * sysdeps/i386/asm-syntax.h: Likewise.
37399 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37400 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37402 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37403 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37404 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37405 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37406 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37407 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37408 * sysdeps/powerpc/sysdep.h: Likewise.
37409 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37410 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37412 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37415 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37417 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37419 * sysdeps/i386/sysdep.h: Include <features.h>.
37420 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37423 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37425 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37427 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37430 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37432 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37433 (SETUP_PIC_REG): Use GET_PC_THUNK.
37434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37437 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37439 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37440 for non-PIC compilation.
37441 (SETUP_PIC_REG): Add .p2align directive.
37442 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37443 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37444 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37445 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37446 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37447 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37448 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37449 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37450 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37451 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37452 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37453 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37454 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37455 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37456 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37457 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37458 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37459 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37460 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37461 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37462 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37463 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37464 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37465 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37466 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37468 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37469 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37470 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37471 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37472 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37473 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37474 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37475 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37476 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37477 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37478 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37479 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37480 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37481 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37482 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37484 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37486 * math/tst-CMPLX.c: Include <stdio.h>.
37488 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37490 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37492 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37493 * sysdeps/sparc/bits/mathdef.h: Likewise.
37495 2012-01-31 Marek Polacek <polacek@redhat.com>
37497 * libio/libio.h: Don't define _PARAMS.
37498 * locale/programs/config.h: Don't define PARAMS.
37499 * stdlib/strtol_l.c: Likewise.
37500 (__strtol_l): Remove PARAMS from the prototype.
37502 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37504 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37505 names. Just use the correct names. Remove unnecessary wrapper
37507 * malloc/arena.c: Likewise.
37508 * malloc/hooks.c: Likewise.
37510 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37511 ARENA_TEST says not to. Simplify test for creation of a new arena.
37512 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37514 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37516 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37518 (update_get_addr): New function.
37519 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37520 GET_ADDR_MODULE parameter.
37522 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37524 * crypt/cert.c: Remove __STDC__ conditionals.
37525 * crypt/crypt-entry.c: Likewise.
37526 * crypt/crypt_util.c: Likewise.
37527 * libio/filedoalloc.c: Likewise.
37528 * libio/fileops.c: Likewise.
37529 * libio/genops.c: Likewise.
37530 * libio/iofclose.c: Likewise.
37531 * libio/iofdopen.c: Likewise.
37532 * libio/iofopen.c: Likewise.
37533 * libio/iofopen64.c: Likewise.
37534 * libio/iogetdelim.c: Likewise.
37535 * libio/iopopen.c: Likewise.
37536 * libio/obprintf.c: Likewise.
37537 * libio/oldfileops.c: Likewise.
37538 * libio/oldiofclose.c: Likewise.
37539 * libio/oldiofdopen.c: Likewise.
37540 * libio/oldiofopen.c: Likewise.
37541 * libio/oldiopopen.c: Likewise.
37542 * libio/wfiledoalloc.c: Likewise.
37543 * libio/wgenops.c: Likewise.
37544 * locale/programs/xmalloc.c: Likewise.
37545 * misc/syslog.c: Likewise.
37546 * stdio-common/xbug.c: Likewise.
37547 * string/memchr.c: Likewise.
37548 * string/memcmp.c: Likewise.
37549 * string/memrchr.c: Likewise.
37550 * string/rawmemchr.c: Likewise.
37551 * sysdeps/posix/getcwd.c: Likewise.
37552 * time/strftime_l.c: Likewise.
37554 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37556 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37557 * config.make.in (config-cflags-sse2avx): Define.
37558 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37561 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37563 * scripts/config.guess: Update from upstream config git repository.
37564 * scripts/config.sub: Likewise.
37566 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37568 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37570 (R_TILEPRO_*, R_TILEGX_*): New macros.
37572 * scripts/firstversions.awk: Fix bug in version range handling.
37574 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37576 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37578 * include/sys/epoll.h: New file.
37579 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37582 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37584 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37585 Avoid unnecessary __WORDSIZE == 64 test.
37586 (fmaxf): Use VEX format if possible.
37591 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37592 * math/math_private.h: Remove libc_fegetround* and
37594 * sysdeps/i386/configure.in: Check for -msse2avx.
37595 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37596 also if SSE2AVX is defined.
37597 Remove libc_fegetround* and libc_fesetround*.
37598 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37599 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37603 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37606 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37608 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37610 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37612 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37614 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37616 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37619 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37621 * Makeconfig (libm): Define.
37622 * elf/Makefile: Add rules to build and run tst-relsort1.
37623 * elf/tst-relsort1.c: New file.
37624 * elf/tst-relsort1mod1.c: New file.
37625 * elf/tst-relsort1mod2.c: New file.
37627 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37629 * math/s_ldexp.c: Remove __STDC__ conditionals.
37630 * math/s_ldexpf.c: Likewise.
37631 * math/s_ldexpl.c: Likewise.
37632 * math/s_nextafter.c: Likewise.
37633 * math/s_nexttowardf.c: Likewise.
37634 * math/s_significand.c: Likewise.
37635 * math/s_significandf.c: Likewise.
37636 * math/s_significandl.c: Likewise.
37637 * math/w_jnl.c: Likewise.
37638 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37639 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37640 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37641 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37642 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37657 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37658 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37659 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37660 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37661 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37662 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37663 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37664 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37665 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37666 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37667 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37668 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37669 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37670 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37671 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37672 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37673 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37674 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37675 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37676 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37677 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37678 * sysdeps/ieee754/k_standard.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37740 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37745 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37747 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37753 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37754 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37758 * sysdeps/ieee754/s_matherr.c: Likewise.
37759 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37760 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37761 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37762 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37764 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37766 * crypt/md5.h: Remove __STDC__ conditionals.
37767 * libio/libioP.h: Likewise.
37768 * locale/programs/config.h: Likewise.
37769 * sysdeps/generic/sysdep.h: Likewise.
37770 * sysdeps/i386/asm-syntax.h: Likewise.
37771 * sysdeps/s390/asm-syntax.h: Likewise.
37772 * sysdeps/unix/sysdep.h: Likewise.
37773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37776 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37778 * libio/libio.h: Remove __STDC__ conditionals.
37779 * malloc/obstack.h: Likewise.
37780 * math/complex.h: Likewise.
37781 * math/math.h: Likewise.
37782 * sysdeps/generic/_G_config.h: Likewise.
37783 * sysdeps/gnu/_G_config.h: Likewise.
37784 * sysdeps/mach/hurd/_G_config.h: Likewise.
37785 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37786 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37787 * sysdeps/sparc/bits/mathdef.h: Likewise.
37789 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37792 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37793 Clean up HAS_* macros.
37794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37795 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37800 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37802 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37805 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37807 * elf/tst-unique3.cc (gets): Remove declaration.
37808 * elf/tst-unique3lib.cc (gets): Likewise.
37809 * elf/tst-unique3lib2.cc (gets): Likewise.
37810 * elf/tst-unique4.cc (gets): Likewise.
37812 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37814 * include/stdio.h: Add C++ protection. Add gets declarations and
37816 * debug/tst-chk1.c: Don't declare gets here.
37817 * stdio-common/tst-gets.c: Likewise.
37819 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37821 * posix/glob: Remove directory.
37823 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37825 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37827 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37829 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37830 of the non-standard EPFNOSUPPORT.
37832 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37834 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37835 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37836 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37838 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37840 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37842 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37844 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37846 * nscd/grpcache.c (cache_addgr): Likewise.
37847 * nscd/hstcache.c (cache_addhst): Likewise.
37848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37849 * nscd/pwdcache.c (cache_addpw): Likewise.
37850 * nscd/servicescache.c (cache_addserv): Likewise.
37852 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37854 * malloc/malloc.c: Various cleanups.
37855 * malloc/hooks.c: Likewise.
37857 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37858 * stdlib/bug-fmtmsg1.c: New file.
37860 * stdlib/fmtmsg.c (init): Add missing unlock.
37861 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37863 2012-01-12 Marek Polacek <polacek@redhat.com>
37865 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37868 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37870 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37871 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37872 macro to ensure uniqueness of label name.
37873 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37874 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37876 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37878 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37880 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37881 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37882 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37885 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37887 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37889 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37890 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37891 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37893 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37895 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37896 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37897 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37900 * math/bits/math-finite.h: Add ldexp support.
37902 2012-01-10 Marek Polacek <polacek@redhat.com>
37904 * locale/programs/localedef.h (show_archive_content): Add noreturn
37907 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37909 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37911 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37913 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37915 * io/Makefile (headers): Add bits/poll2.h.
37917 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37920 typo #include statement.
37922 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37924 * include/sys/cdefs.h: Define __attribute_alloc_size.
37925 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37926 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37927 * elf/pldd.c: Likewise.
37928 * iconv/iconv_charmap.c: Likewise.
37929 * iconv/iconvconfig.c: Likewise.
37930 * iconv/strtab.c: Likewise.
37931 * locale/programs/locale.c: Likewise.
37932 * locale/programs/localedef.h: Likewise.
37933 * locale/programs/simple-hash.c: Likewise.
37934 * nscd/nscd.h: Likewise.
37935 * nss/makedb.c: Likewise.
37936 * sysdeps/generic/ldconfig.h: Likewise.
37937 * locale/programs/localedef.c: Remove xmalloc prototype.
37938 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37940 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37942 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37945 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37947 * math/Makefile (tests): Add tst-CMPLX.
37948 * math/tst-CMPLX.c: New file.
37950 * math/complex.h (CMPLXL): Fix typo.
37952 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37953 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37955 * debug/tst-chk1.c: Add poll and ppoll tests.
37956 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37957 * include/sys/poll.h: Add hidden proto for ppoll.
37958 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37959 * sysdeps/mach/hurd/ppoll.c: Likewise.
37960 * io/ppoll.c: Likewise.
37961 * debug/poll_chk.c: New file.
37962 * debug/ppoll_chk.c: New file.
37963 * include/bits/poll2.h: New file.
37964 * io/bits/poll2.h: New file.
37967 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37969 * configure.in: static is always set to yes. Remove.
37970 * config.make.in: Don't set build-static.
37971 * Makeconfig: Remove use of build-static.
37972 * dlfcn/Makefile: Likewise.
37973 * elf/Makefile: Likewise.
37974 * math/Makefile: Likewise.
37975 * misc/Makefile: Likewise.
37976 * nptl/Makefile: Likewise.
37977 * sysdeps/mach/hurd/Makefile: Likewise.
37979 * configure.in: PWD_P is not used anymore.
37980 * config.make.in: Remove PWD_P entry.
37982 * configure.in: Remove last remnants of RANLIB.
37983 No need to check for signed size_t anymore.
37984 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37986 Remove __builtin_expect test because we require at least gcc 3.4.
37987 * aclocal.m4: Likewise.
37989 * wcsmbs/mbrtoc16.c: Implement using towc function.
37990 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37991 * wcsmbs/wcsmbsload.c: Likewise.
37992 * iconv/gconv_simple.c: Likewise.
37993 * iconv/gconv_int.h: Likewise.
37994 * iconv/gconv_builtin.h: Likewise.
37995 * iconv/iconv_prog.c: Remove CHAR16 handling.
37997 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37999 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38001 * configure.in: Remove --with-elf and --enable-bounded options.
38002 Dont set base_machine for ia64. More non-ELF conditions removed.
38003 Remove testing and setting of leading underscore information.
38004 * config.make.in (build-bounded): Set to no.
38005 * config.h.in: Remove NO_UNDERSCORES entry.
38006 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38008 * csu/start.c: Remove !NO_UNDERSCORE code.
38009 * locale/localeinfo.h: Likewise.
38010 * sysdeps/generic/machine-gmon.h: Likewise.
38011 * sysdeps/generic/sysdep.h: Likewise.
38012 * sysdeps/i386/sysdep.h: Likewise.
38013 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38014 * sysdeps/mach/sysdep.h: Likewise.
38015 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38016 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38017 * sysdeps/sh/sysdep.h: Likewise.
38018 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38019 * sysdeps/unix/i386/sysdep.S: Likewise.
38020 * sysdeps/unix/sparc/start.c: Likewise.
38021 * sysdeps/unix/sparc/sysdep.S: Likewise.
38022 * sysdeps/unix/sparc/sysdep.h: Likewise.
38023 * sysdeps/unix/start.c: Likewise.
38024 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38025 * sysdeps/x86_64/sysdep.h: Likewise.
38027 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38030 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38032 * argp/argp-fmtstream.h: Use const instead __const.
38033 * argp/argp.h: Likewise.
38034 * assert/assert.h: Likewise.
38035 * bits/fenv.h: Likewise.
38036 * bits/sched.h: Likewise.
38037 * bits/sigset.h: Likewise.
38038 * bits/sigthread.h: Likewise.
38039 * catgets/nl_types.h: Likewise.
38040 * conform/data/pthread.h-data: Likewise.
38041 * crypt/crypt-private.h: Likewise.
38042 * crypt/crypt.h: Likewise.
38043 * crypt/crypt_util.c: Likewise.
38044 * ctype/ctype.h: Likewise.
38045 * debug/execinfo.h: Likewise.
38046 * debug/mbsnrtowcs_chk.c: Likewise.
38047 * debug/mbsrtowcs_chk.c: Likewise.
38048 * debug/wcsnrtombs_chk.c: Likewise.
38049 * debug/wcsrtombs_chk.c: Likewise.
38050 * debug/wcstombs_chk.c: Likewise.
38051 * dirent/dirent.h: Likewise.
38052 * dlfcn/dlfcn.h: Likewise.
38053 * elf/neededtest4.c: Likewise.
38054 * grp/grp.h: Likewise.
38055 * gshadow/gshadow.h: Likewise.
38056 * iconv/gconv.h: Likewise.
38057 * iconv/gconv_int.h: Likewise.
38058 * iconv/gconv_simple.c: Likewise.
38059 * iconv/iconv.h: Likewise.
38060 * iconv/loop.c: Likewise.
38061 * iconv/skeleton.c: Likewise.
38062 * include/aio.h: Likewise.
38063 * include/aliases.h: Likewise.
38064 * include/argz.h: Likewise.
38065 * include/arpa/inet.h: Likewise.
38066 * include/assert.h: Likewise.
38067 * include/dirent.h: Likewise.
38068 * include/dlfcn.h: Likewise.
38069 * include/execinfo.h: Likewise.
38070 * include/fcntl.h: Likewise.
38071 * include/fenv.h: Likewise.
38072 * include/glob.h: Likewise.
38073 * include/grp.h: Likewise.
38074 * include/libintl.h: Likewise.
38075 * include/mntent.h: Likewise.
38076 * include/netdb.h: Likewise.
38077 * include/pwd.h: Likewise.
38078 * include/rpc/netdb.h: Likewise.
38079 * include/sched.h: Likewise.
38080 * include/search.h: Likewise.
38081 * include/shadow.h: Likewise.
38082 * include/signal.h: Likewise.
38083 * include/stdio.h: Likewise.
38084 * include/stdlib.h: Likewise.
38085 * include/string.h: Likewise.
38086 * include/sys/socket.h: Likewise.
38087 * include/sys/stat.h: Likewise.
38088 * include/sys/statfs.h: Likewise.
38089 * include/sys/statvfs.h: Likewise.
38090 * include/sys/syslog.h: Likewise.
38091 * include/sys/time.h: Likewise.
38092 * include/sys/uio.h: Likewise.
38093 * include/time.h: Likewise.
38094 * include/unistd.h: Likewise.
38095 * include/utmp.h: Likewise.
38096 * include/wchar.h: Likewise.
38097 * include/wctype.h: Likewise.
38098 * inet/aliases.h: Likewise.
38099 * inet/arpa/inet.h: Likewise.
38100 * inet/netinet/ether.h: Likewise.
38101 * inet/netinet/in.h: Likewise.
38102 * intl/libintl.h: Likewise.
38103 * io/bits/fcntl2.h: Likewise.
38104 * io/fcntl.h: Likewise.
38105 * io/ftw.h: Likewise.
38106 * io/sys/poll.h: Likewise.
38107 * io/sys/stat.h: Likewise.
38108 * io/sys/statfs.h: Likewise.
38109 * io/sys/statvfs.h: Likewise.
38110 * io/utime.h: Likewise.
38111 * libio/bits/stdio.h: Likewise.
38112 * libio/bits/stdio2.h: Likewise.
38113 * libio/libio.h: Likewise.
38114 * libio/libioP.h: Likewise.
38115 * libio/stdio.h: Likewise.
38116 * locale/lc-ctype.c: Likewise.
38117 * locale/locale.h: Likewise.
38118 * login/utmp.h: Likewise.
38119 * malloc/arena.c: Likewise.
38120 * malloc/malloc.c: Likewise.
38121 * malloc/malloc.h: Likewise.
38122 * malloc/mcheck.c: Likewise.
38123 * malloc/mtrace.c: Likewise.
38124 * math/bits/mathcalls.h: Likewise.
38125 * math/fenv.h: Likewise.
38126 * math/math_private.h: Likewise.
38127 * misc/bits/error.h: Likewise.
38128 * misc/bits/syslog.h: Likewise.
38129 * misc/err.h: Likewise.
38130 * misc/error.h: Likewise.
38131 * misc/fstab.h: Likewise.
38132 * misc/mntent.h: Likewise.
38133 * misc/regexp.h: Likewise.
38134 * misc/search.h: Likewise.
38135 * misc/sgtty.h: Likewise.
38136 * misc/sys/mman.h: Likewise.
38137 * misc/sys/syslog.h: Likewise.
38138 * misc/sys/uio.h: Likewise.
38139 * misc/sys/xattr.h: Likewise.
38140 * misc/ttyent.h: Likewise.
38141 * nis/rpcsvc/ypclnt.h: Likewise.
38142 * nss/nss.h: Likewise.
38143 * posix/bits/unistd.h: Likewise.
38144 * posix/fnmatch.h: Likewise.
38145 * posix/glob.h: Likewise.
38146 * posix/sched.h: Likewise.
38147 * posix/spawn.h: Likewise.
38148 * posix/sys/wait.h: Likewise.
38149 * posix/unistd.h: Likewise.
38150 * posix/wordexp.h: Likewise.
38151 * pwd/pwd.h: Likewise.
38152 * resolv/netdb.h: Likewise.
38153 * resource/sys/resource.h: Likewise.
38154 * rt/aio.h: Likewise.
38155 * rt/bits/mqueue2.h: Likewise.
38156 * rt/mqueue.h: Likewise.
38157 * shadow/shadow.h: Likewise.
38158 * signal/signal.h: Likewise.
38159 * socket/send.c: Likewise.
38160 * socket/sendto.c: Likewise.
38161 * socket/sys/socket.h: Likewise.
38162 * stdio-common/printf.h: Likewise.
38163 * stdlib/bits/stdlib.h: Likewise.
38164 * stdlib/fmtmsg.h: Likewise.
38165 * stdlib/monetary.h: Likewise.
38166 * stdlib/stdlib.h: Likewise.
38167 * stdlib/ucontext.h: Likewise.
38168 * streams/stropts.h: Likewise.
38169 * string/argz.h: Likewise.
38170 * string/bits/string2.h: Likewise.
38171 * string/string.h: Likewise.
38172 * string/strings.h: Likewise.
38173 * sunrpc/rpc/auth.h: Likewise.
38174 * sunrpc/rpc/auth_des.h: Likewise.
38175 * sunrpc/rpc/clnt.h: Likewise.
38176 * sunrpc/rpc/netdb.h: Likewise.
38177 * sunrpc/rpc/pmap_clnt.h: Likewise.
38178 * sunrpc/rpc/xdr.h: Likewise.
38179 * sysdeps/generic/inttypes.h: Likewise.
38180 * sysdeps/generic/net/if.h: Likewise.
38181 * sysdeps/generic/sys/swap.h: Likewise.
38182 * sysdeps/gnu/net/if.h: Likewise.
38183 * sysdeps/gnu/utmpx.h: Likewise.
38184 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38185 * sysdeps/i386/i486/bits/string.h: Likewise.
38186 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38187 * sysdeps/s390/bits/string.h: Likewise.
38188 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38189 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38190 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38191 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38192 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38193 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38194 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38195 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38196 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38197 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38198 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38199 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38200 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38201 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38202 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38203 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38204 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38206 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38207 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38208 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38209 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38210 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38211 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38212 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38213 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38214 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38216 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38217 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38218 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38219 * sysvipc/sys/ipc.h: Likewise.
38220 * sysvipc/sys/msg.h: Likewise.
38221 * sysvipc/sys/sem.h: Likewise.
38222 * sysvipc/sys/shm.h: Likewise.
38223 * termios/termios.h: Likewise.
38224 * time/sys/time.h: Likewise.
38225 * time/time.h: Likewise.
38226 * wcsmbs/bits/wchar2.h: Likewise.
38227 * wcsmbs/uchar.h: Likewise.
38228 * wcsmbs/wchar.h: Likewise.
38229 * wctype/wctype.h: Likewise.
38232 * Makeconfig: Remove all but ELF support including AIX support.
38233 * Makerules: Likewise.
38234 * config.h.in: Likewise.
38235 * config.make.in: Likewise.
38236 * configure: Likewise.
38237 * configure.in: Likewise.
38238 * csu/Makefile: Likewise.
38239 * csu/version.c: Likewise.
38240 * debug/Makefile: Likewise.
38241 * dlfcn/Makefile: Likewise.
38242 * elf/Makefile: Likewise.
38243 * extra-lib.mk: Likewise.
38244 * iconv/Makefile: Likewise.
38245 * include/libc-symbols.h: Likewise.
38246 * include/shlib-compat.h: Likewise.
38247 * resolv/Makefile: Likewise.
38248 * resolv/res_libc.c: Likewise.
38249 * rt/Makefile: Likewise.
38250 * sysdeps/i386/asm-syntax.h: Likewise.
38251 * sysdeps/i386/sysdep.h: Likewise.
38252 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38253 * sysdeps/mach/sysdep.h: Likewise.
38254 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38255 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38256 * sysdeps/s390/asm-syntax.h: Likewise.
38257 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38259 * sysdeps/sh/sysdep.h: Likewise.
38260 * sysdeps/unix/sparc/sysdep.h: Likewise.
38261 * sysdeps/wordsize-32/divdi3.c: Likewise.
38262 * sysdeps/x86_64/sysdep.h: Likewise.
38264 * argp/Versions: Remove _argp_unlock_xxx.
38267 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38268 * abilist/libBrokenLocale.abilist: Likewise.
38269 * abilist/libanl.abilist: Likewise.
38270 * abilist/libc.abilist: Likewise.
38271 * abilist/libcrypt.abilist: Likewise.
38272 * abilist/libdl.abilist: Likewise.
38273 * abilist/libm.abilist: Likewise.
38274 * abilist/libnsl.abilist: Likewise.
38275 * abilist/libpthread.abilist: Likewise.
38276 * abilist/libresolv.abilist: Likewise.
38277 * abilist/librt.abilist: Likewise.
38278 * abilist/libthread_db.abilist: Likewise.
38279 * abilist/libutil.abilist: Likewise.
38280 * abilist/libnss_db.abilist: New file.
38282 * scripts/abilist.awk: Add support for indirect functions.
38284 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38286 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38288 * shlib-versions: Remove entries for ports architectures.
38290 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38292 * elf/stackguard-macros.h: Remove support for IA-64.
38293 * elf/tst-auditmod1.c: Likewise.
38294 * sysdeps/generic/ldsodefs.h: Likewise.
38296 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38297 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38301 * configure.in: Remove --enable-omitfp support.
38303 * config.make.in: Likewise.
38304 * Makeconfig: Likewise.
38305 * manual/install.texi: Likewise.
38307 In case anyone cares, the IA-64 architecture could move to ports.
38308 * sysdeps/ia64/*: Removed.
38309 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38310 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38313 * configure.in: Remove entries for unsupported architectures.
38316 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38317 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38319 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38320 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38321 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38322 fall back to using wcrtomb.
38323 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38324 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38326 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38327 * wcsmbs/tst-c16c32-1.c: New file.
38329 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38332 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38334 * elf/tst-unique3.cc: Add explicit declaration of gets.
38335 * elf/tst-unique3lib.cc: Likewise.
38336 * elf/tst-unique3lib2.cc: Likewise.
38337 * elf/tst-unique4.cc: Likewise.
38339 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38341 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38344 * assert/assert.h (static_assert): Don't define for C++.
38345 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38346 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38348 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38350 * iconv/loop.c (single loop): Fix assertion in storing of
38353 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38355 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38357 * posix/getconf.c: Update copyright year.
38358 * nss/getent.c: Likewise.
38359 * nss/makedb.c: Likewise.
38360 * iconv/iconvconfig.c: Likewise.
38361 * iconv/iconv_prog.c: Likewise.
38362 * elf/ldconfig.c: Likewise.
38363 * elf/pldd.c: Likewise.
38364 * elf/sotruss.ksh: Likewise.
38365 * catgets/gencat.c: Likewise.
38366 * csu/version.c: Likewise.
38367 * elf/ldd.bash.in: Likewise.
38368 * elf/sprof.c (print_version): Likewise.
38369 * locale/programs/locale.c: Likewise.
38370 * locale/programs/localedef.c: Likewise.
38371 * login/programs/pt_chown.c: Likewise.
38372 * nscd/nscd.c (print_version): Likewise.
38373 * debug/xtrace.sh: Likewise.
38374 * malloc/memusage.sh: Likewise.
38375 * malloc/mtrace.pl: Likewise.
38376 * debug/catchsegv.sh: Likewise.
38378 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38380 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38383 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38386 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38387 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38389 * iconv/gconv_int.h: Likewise.
38390 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38391 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38392 from libc for GLIBC_2.16.
38393 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38394 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38395 * wcsmbs/uchar.h: Really define mbstate_t.
38396 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38397 * wcsmbs/c16rtomb.c: New file.
38398 * wcsmbs/mbrtoc16.c: New file.
38399 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38400 for C/POSIX locale.
38401 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38402 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38404 * wcsmbs/wchar.h: Add missing __restrict.
38406 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38409 * time/Makefile (routines): Add timespec_get.
38410 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38411 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38412 timespec for ISO C11.
38413 * time/timespec_get.c: New file.
38414 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38415 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38418 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38419 * stdlib/stdlib.h: Declare aligned_alloc.
38420 * Versions.def: Add GLIBC_2.16 for libc.
38421 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38424 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38427 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38431 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38434 * assert/assert.h (static_assert): Define.
38436 * version.h: Update for 2.16 development version.
38439 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38442 * version.h (RELEASE): Bump for 2.15 release.
38443 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38445 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38446 Patch by Marek Polacek <mpolacek@redhat.com>.
38448 * bits/byteswap.h: Protect long long constants with __extension__.
38449 * sysdeps/i386/bits/byteswap.h: Likewise.
38450 * sysdeps/ia64/bits/byteswap.h: Likewise.
38451 * sysdeps/s390/bits/byteswap.h: Likewise.
38452 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38454 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38457 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38458 destination buffer.
38459 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38461 2011-12-23 Marek Polacek <polacek@redhat.com>
38463 * elf/dl-addr.c (determine_info): Add inline keyword.
38464 * elf/tst-auditmod4b.c (check_avx): Likewise.
38465 * elf/tst-auditmod6b.c (check_avx): Likewise.
38466 * elf/tst-auditmod6c.c (check_avx): Likewise.
38467 * elf/tst-auditmod7b.c (check_avx): Likewise.
38469 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38471 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38474 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38477 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38478 processing for last bytes.
38480 2011-08-06 Bruno Haible <bruno@clisp.org>
38483 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38484 U+0385, not to U+1FEE.
38487 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38488 entry for U+00A5 U+0301.
38490 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38493 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38494 buffer for the output is too small.
38496 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38500 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38501 SSE flags if possible.
38503 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38507 processing for last bytes.
38509 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38511 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38512 (syscall-list-default-options, syscall-list-default-condition)
38513 (syscall-list-includes): Define.
38514 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38515 list of ABIs and options and #if conditions for each ABI. Do not
38516 handle common syscalls between ABIs specially.
38517 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38519 (syscall-list-variants, syscall-list-32bit-options)
38520 (syscall-list-32bit-condition, syscall-list-64bit-options)
38521 (syscall-list-64bit-condition): Define.
38522 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38523 (syscall-list-variants, syscall-list-32bit-options)
38524 (syscall-list-32bit-condition, syscall-list-64bit-options)
38525 (syscall-list-64bit-condition): Define.
38526 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
38533 (syscall-list-variants, syscall-list-32bit-options)
38534 (syscall-list-32bit-condition, syscall-list-64bit-options)
38535 (syscall-list-64bit-condition): Define.
38537 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38539 * locale/iso-639.def: Add brx entry.
38542 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38543 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38545 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38546 __feraiseexcept_renamed.
38548 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38551 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38552 EPOLLET with unsigned values.
38553 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38554 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38556 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38557 to large cancellation.
38558 * math/s_cacoshf.c: Likewise.
38559 * math/s_cacoshl.c: Likewise.
38561 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38565 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38566 * math/s_cacoshf.c: Likewise.
38567 * math/s_cacoshl.c: Likewise.
38569 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38572 * iconv/gconv.h: Define __GCONV_SWAP.
38573 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38574 * iconvdata/utf-16.c: Likewise.
38575 * iconvdata/utf-32.c: Likewise.
38577 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38581 numerator after shifting it by one limb.
38583 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38585 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38586 under [__USE_EXTERN_INLINES].
38588 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38591 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38593 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38595 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38596 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38598 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38599 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38600 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38601 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38602 for strncasecmp/strncasecmp_l compilation.
38603 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38604 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38606 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38609 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38612 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38615 * time/tzfile.c (__tzfile_read): Check values from file header.
38617 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38619 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38620 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38621 * powerpc/powerpc32/dl-start.S: Likewise.
38622 * powerpc/powerpc32/elf/start.S: Likewise.
38623 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38624 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38625 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38626 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38627 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38628 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38629 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38630 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38631 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38632 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38633 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38634 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38635 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38636 * powerpc/powerpc32/memset.S: Likewise.
38637 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38638 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38639 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38640 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38641 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38642 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38643 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38644 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38645 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38646 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38647 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38648 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38649 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38651 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38653 * math/libm-test.inc: Added more nearbyint tests.
38654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38655 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38657 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38659 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38661 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38664 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38666 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38667 Add wcscpy-ssse3 wcscpy-c.
38668 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38669 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38670 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38671 * sysdeps/x86_64/wcschr.S: New file.
38672 * sysdeps/x86_64/wcsrchr.S: New file.
38673 * string/test-strcmp.c: Remove checking of wcscmp function for
38675 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38676 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38677 wcsrchr-sse2 wcsrchr-c.
38678 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38679 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38680 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38681 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38682 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38683 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38684 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38685 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38686 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38687 * wcsmbc/wcschr.c (WCSCHR): New macro.
38689 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38691 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38692 * wcsmbs/test-wcsrchr.c: New file.
38693 * string/test-strrchr.c: Add wcsrchr support.
38695 * wcsmbs/test-wcscpy.c: New file.
38696 * string/test-strcpy.c: Add wcscpy support.
38699 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38701 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38704 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38707 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38709 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38711 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38712 Minor optimizations.
38714 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38715 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38716 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38718 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38720 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38721 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38722 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38723 for gcc to avoid warnings.
38724 * inet/Makefile (tests): Add tst-checks.
38725 * inet/tst-checks.c: New file.
38727 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38730 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38733 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38734 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38736 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38738 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38740 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38743 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38745 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38747 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38748 conditional on GCC version.
38749 (__arch_compare_and_exchange_val_8_acq)
38750 (__arch_compare_and_exchange_val_16_acq)
38751 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38752 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38753 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38755 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38757 * sysdeps/sh/backtrace.c: New file.
38759 2011-12-02 Andreas Schwab <schwab@redhat.com>
38761 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38764 2011-12-01 Andreas Schwab <schwab@redhat.com>
38766 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38767 falling back to utime.
38769 2011-11-30 Andreas Schwab <schwab@redhat.com>
38771 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38772 expectations for float.
38774 2011-11-29 Andreas Schwab <schwab@redhat.com>
38776 * locale/weight.h (findidx): Add parameter len.
38777 * locale/weightwc.h (findidx): Likewise.
38778 * posix/fnmatch_loop.c (FCT): Adjust caller.
38779 * posix/regcomp.c (build_equiv_class): Likewise.
38780 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38781 * posix/regexec.c (check_node_accept_bytes): Likewise.
38782 * string/strcoll_l.c (STRCOLL): Likewise.
38783 * string/strxfrm_l.c (STRXFRM): Likewise.
38785 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38787 * Makefile.in: Remove CVSOPT handling.
38788 * configure.in: Remove use of AC_REVISION.
38789 * iconvdata/Makefile (distribute): No need to filter out CVS.
38790 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38793 2011-11-16 Andreas Schwab <schwab@redhat.com>
38795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38796 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38797 [USE_AS_STRNCASECMP_L]: Likewise.
38798 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38799 NO_TLS_DIRECT_SEG_REFS.
38800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38801 Fix argument offsets for non-PIC.
38802 [USE_AS_STRNCASECMP_L]: Likewise.
38803 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38804 NO_TLS_DIRECT_SEG_REFS.
38806 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38808 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38810 * locale/loadlocale.c (_nl_load_locale): Likewise.
38812 2011-11-15 Andreas Schwab <schwab@redhat.com>
38814 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38815 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38816 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38817 (SYSCALL_GETTIME): Set errno on error.
38819 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38820 count references to noai6ai_cached.
38822 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38824 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38826 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38827 FD_CLOEXEC for /proc/self/maps.
38829 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38830 FD_CLOEXEC for /proc/meminfo.
38832 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38835 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38836 FD_CLOEXEC for given file.
38838 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38840 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38841 FD_CLOEXEC for /etc/hosts.
38842 (_gethtent): Likewise.
38844 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38846 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38847 cancellation and set FD_CLOEXEC for /etc/netgroup.
38849 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38850 reading /etc/publickey.
38852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38853 allow cancellation when reading /etc/group.
38855 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38857 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38859 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38860 when using data file.
38862 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38864 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38865 (write_nis_obj): Use "c" and "e" in fopen.
38867 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38869 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38871 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38873 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38875 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38878 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38880 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38882 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38884 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38885 file parsing and set FD_CLOEXEC.
38887 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38889 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38891 2011-11-14 Andreas Schwab <schwab@redhat.com>
38893 * malloc/arena.c (arena_get2): Don't call reused_arena when
38894 _int_new_arena failed.
38896 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38898 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38899 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38900 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38901 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38902 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38903 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38904 to compile strcasecmp and strncasecmp.
38905 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38906 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38910 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38912 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38913 locale-defines.sym to gen-as-const-headers.
38914 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38915 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38917 to compile strcasecmp and strncasecmp.
38918 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38919 strcasecmp_l and strncasecmp_l.
38920 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38921 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38922 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38923 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38924 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38925 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38926 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38927 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38928 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38929 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38930 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38932 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38934 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38935 result of SYSDEP_GETTIME_CPU to retval.
38936 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38937 parameter list to macro. Remove trailing semicolon. Adjust users.
38939 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38942 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38944 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38946 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38947 from unused variable.
38949 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38951 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38954 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38957 * sunrpc/rpc_prot.c (rejected): Fix case value.
38959 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38960 unsigned long long int to avoid warnings in shift.
38962 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38964 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38967 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38968 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38969 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38971 * nis/nis_table.c (nis_list): Use variable of correct type for
38972 result of __follow_path call.
38974 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38976 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38977 of math functions ceil, trunc, floor, round, and sqrt, when
38978 avaliable on the platform.
38979 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38981 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38982 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38983 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38985 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38987 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38988 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38990 2011-11-11 Roland McGrath <roland@hack.frob.com>
38992 * include/unistd.h: Fix __readlink return type.
38993 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38995 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38997 * stdlib/ucontext.h: Undo last change for makecontext.
38999 2011-11-11 Andreas Schwab <schwab@redhat.com>
39001 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39003 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39004 * setjmp/setjmp.h: Mark functions as non-leaf.
39005 * setjmp/bits/setjmp2.h: Likewise.
39006 * stdlib/ucontext.h: Likewise.
39008 2011-11-10 Andreas Schwab <schwab@redhat.com>
39010 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39011 (reused_arena): Don't check arena limit.
39012 (arena_get2): Atomically check arena limit.
39014 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39016 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39017 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39022 2011-11-07 Andreas Schwab <schwab@redhat.com>
39024 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39025 handler when locking.
39027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39028 Fix size of allocated buffer.
39030 2011-11-04 Andreas Schwab <schwab@redhat.com>
39033 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39034 declarations for long double functions.
39035 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39037 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39039 2011-11-03 Andreas Schwab <schwab@redhat.com>
39041 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39044 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39047 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39049 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39051 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39053 * include/alloca.h (stackinfo_alloca_round): Define.
39054 (extend_alloca): Use it.
39055 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39056 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39059 * scripts/check-local-headers.sh: Ignore libaudit.h.
39061 * nscd/Makefile (extra-objs): Make recursively expanded.
39063 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39065 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39068 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39069 * posix/tst-rfc3484-2.c: Likewise.
39070 * posix/tst-rfc3484-3.c: Likewise.
39072 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39074 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39076 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39077 process_vm_writev from libc using GLIBC_2.15 version.
39079 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39081 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39083 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39086 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39089 * nss/getent.c (initgroups_keys): Show error message in case no group
39092 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39093 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39094 __bump_nl_timestamp.
39095 * nscd/connections (nscd_init): When host database is served open
39096 netlink socket and request notification about configuration changes.
39097 (main_loop_poll): Track netlink file descriptor and bump timestamp
39098 in case data becomes available.
39099 (main_loop_epoll): Likewise.
39100 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39101 (database_pers_head): Add extra_data fileds.
39102 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39103 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39104 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39106 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39107 in6ai data, call __free_in6ai.
39108 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39109 Add -DHAVE_NETLINK.
39110 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39111 interface information. Reuse previous data if netlink timestamp
39113 (__bump_nl_timestamp): New function.
39114 (__free_in6ai): New function.
39116 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39118 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39119 close_not_cancel_no_status here.
39120 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39122 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39125 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39128 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39129 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39130 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39132 2011-07-03 Andreas Jaeger <aj@suse.de>
39135 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39136 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39137 * math/libm-test.inc (sin_test): Add test case.
39139 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39142 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39143 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39145 * elf/chroot_canon.c (chroot_canon): Cleanups.
39147 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39150 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39151 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39153 * string/test-strchr.c: Make usable for strchrnul testing.
39154 * string/test-strchrnul.c: New file.
39155 * string/Makefile (strop-tests): Add strchrnul.
39157 * po/it.po: Update from translation team.
39158 * po/es.po: Likewise.
39160 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39162 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39163 the three constants needed as parameters. Drop the others.
39164 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39165 __m128i_strloadu_tolower.
39166 Create and initialize variable zero and use it in all the places
39167 where _mm_setzero_si128 was used.
39169 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39170 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39171 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39174 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39175 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39176 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39177 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39178 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39179 __mpranred, __mptan.
39180 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39181 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39182 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39183 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39184 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39185 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39187 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39188 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39190 2011-10-28 Andreas Schwab <schwab@redhat.com>
39192 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39193 redefine if SHARED.
39194 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39197 wide char related routines to wcsmbs subdir.
39199 2011-10-27 Andreas Schwab <schwab@redhat.com>
39202 * misc/sys/cdefs.h (__THROWNL): Define.
39203 * posix/unistd.h: Use __THREADNL instead of __THREAD
39204 for memory synchronization functions.
39206 2011-10-26 Roland McGrath <roland@hack.frob.com>
39209 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39211 * manual/stdio.texi (Obstack Streams): Node removed.
39213 2011-10-26 Andreas Schwab <schwab@redhat.com>
39215 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39216 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39217 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39219 * math/math_private.h (math_force_eval): Allow non-addressable
39221 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39223 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39225 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39226 file is not needed.
39228 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39235 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39237 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39238 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39239 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39240 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39241 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39242 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39243 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39244 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39245 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39246 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39247 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39248 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39250 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39251 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39252 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39253 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39254 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39255 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39257 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39258 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39261 place. Use VEX encoding when compiling for AVX.
39263 2011-10-25 Andreas Schwab <schwab@redhat.com>
39265 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39266 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39268 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39270 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39272 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39273 useless if() expression.
39274 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39279 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39280 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39283 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39284 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39285 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39290 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39292 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39294 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39296 2011-10-25 Andreas Schwab <schwab@redhat.com>
39298 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39300 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39302 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39304 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39305 .text section. Avoid duplicate constants.
39306 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39308 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39314 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39315 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39316 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39317 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39318 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39319 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39320 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39321 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39322 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39323 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39326 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39327 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39329 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39330 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39331 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39332 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39333 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39334 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39335 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39336 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39337 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39338 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39339 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39340 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39341 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39342 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39343 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39344 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39345 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39346 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39347 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39348 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39349 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39350 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39352 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39354 * sysdeps/x86_64/dla.h: Move to ...
39355 * sysdeps/x86_64/fpu/dla.h: ...here.
39356 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39357 situations. Use __builtin_fma only for gcc 4.6 and up.
39359 * config.make.in: Add have-mfma4 entry.
39360 * configure.in: Substitute libc_cv_cc_fma4.
39361 * math/Makefile (dbl-only-routines): Add sincostab.
39362 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39363 Use __sincostab not sincos.
39364 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39366 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39371 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39372 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39373 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39374 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39376 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39377 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39379 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39380 define aliases when function name is a macro.
39381 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39382 sysdeps/ieee754/dbl-64/sincos.tbl.
39383 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39384 fma4-enabled routines.
39385 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39386 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39387 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39388 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39389 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39390 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39391 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39392 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39393 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39394 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39395 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39396 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39397 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39398 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39400 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39401 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39402 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39403 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39404 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39405 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39406 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39407 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39408 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39410 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39411 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39412 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39413 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39414 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39416 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39427 2011-10-24 Andreas Schwab <schwab@redhat.com>
39429 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39431 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39433 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39435 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39437 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39439 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39440 Remove unused variable magic_bits.
39441 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39443 * string/strnlen.c: Define and use STRNLEN macro.
39444 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39445 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39446 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39447 * wcsmbs/wcslen.c: Define and use WCSLEN.
39448 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39449 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39450 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39451 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39452 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39453 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39454 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39456 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39459 strnlen-sse2-no-bsf.
39460 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39461 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39462 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39463 Add strnlen support.
39464 (USE_AS_STRNLEN): New macro.
39465 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39466 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39467 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39468 * sysdeps/x86_64/wcslen.S: New file.
39470 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39472 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39473 XMM-moves are used for copying on small sizes.
39475 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39477 * wcsmbs/Makefile (strop-tests): Add wcschr.
39478 * wcsmbs/test-wcschr.c: New file.
39479 * string/test-strchr.c: Update.
39480 Add wcschr support.
39483 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39485 * wcsmbs/Makefile (strop-tests): Add wcslen.
39486 * wcsmbs/test-wcslen.c: New file.
39487 * string/test-strlen.c: Update.
39488 Add wcslen support.
39491 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39493 * po/it.po: Update from translation team.
39495 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39497 * sysdeps/x86_64/wcscmp.S: Update.
39498 Fix wrong comparison semantics.
39499 wcscmp shall use signed comparison not unsigned.
39500 Don't use substraction to avoid overflow bug.
39501 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39502 * wcsmbc/wcscmp.c: Likewise.
39503 * string/test-strcmp.c: Likewise.
39504 Add new tests to check cases with negative values.
39506 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39508 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39509 * sysdeps/x86_64/dla.h: ...here. New file.
39510 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39520 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39523 __ynl_finite aliases.
39525 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39529 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39531 [DLA_FMA] (EMULV): Use DLA_FMA.
39532 [DLA_FMA] (MUL12): Use EMULV.
39533 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39534 that are not needed.
39535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39539 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39543 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39545 * math/s_nan.c: Undef __nan.
39546 * math/s_nanf.c: Undef __nanf.
39547 * math/s_nanl.c: Undef __nanl.
39548 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39551 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39553 * math/s_catan.c: Add branch predictions.
39554 * math/s_catanf.c: Likewise.
39555 * math/s_catanh.c: Likewise.
39556 * math/s_catanhf.c: Likewise.
39557 * math/s_catanhl.c: Likewise.
39558 * math/s_catanl.c: Likewise.
39559 * math/s_cexp.c: Likewise.
39560 * math/s_cexpf.c: Likewise.
39561 * math/s_cexpl.c: Likewise.
39562 * math/s_clog.c: Likewise.
39563 * math/s_clog10.c: Likewise.
39564 * math/s_clog10f.c: Likewise.
39565 * math/s_clog10l.c: Likewise.
39566 * math/s_clogf.c: Likewise.
39567 * math/s_clogl.c: Likewise.
39568 * math/s_csqrt.c: Likewise.
39569 * math/s_csqrtf.c: Likewise.
39570 * math/s_csqrtl.c: Likewise.
39571 * math/s_ctanf.c: Likewise.
39572 * math/s_ctanh.c: Likewise.
39573 * math/s_ctanhf.c: Likewise.
39574 * math/s_ctanhl.c: Likewise.
39575 * math/s_ctanl.c: Likewise.
39577 * math/math_private.h: Define __nan, __nanf, __nanl.
39578 * math/s_cacosh.c: Include <math_private.h>.
39579 * math/s_cacoshl.c: Likewise.
39580 * math/s_casinh.c: Likewise.
39581 * math/s_casinhf.c: Likewise.
39582 * math/s_casinhl.c: Likewise.
39583 * math/s_ccos.c: Rely entire on ccosh.
39584 * math/s_ccosf.c: Rely entire on ccoshf.
39585 * math/s_ccosl.c: Rely entirely on ccoshl.
39586 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39587 Remove tests for FE_INVALID.
39588 * math/s_ccoshf.c: Likewise.
39589 * math/s_ccoshl.c: Likewise.
39590 * math/s_csin.c: Likewise.
39591 * math/s_csinf.c: Likewise.
39592 * math/s_csinh.c Likewise.
39593 * math/s_csinhf.c: Likewise.
39594 * math/s_csinhl.c: Likewise.
39595 * math/s_csinl.c: Likewise.
39596 * math/s_ctan.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39598 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39599 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39601 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39604 compilation problems.
39606 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39609 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39611 * sysdeps/i386/configure.in: Test for -mfma4 option.
39612 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39613 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39614 COMMON_CPUID_INDEX_80000001.
39615 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39616 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39617 use it if FMA3 is not supported.
39618 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39620 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39621 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39623 2011-10-20 Andreas Schwab <schwab@redhat.com>
39626 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39627 it would create a cycle with a link time dependency.
39629 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39631 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39633 * string/Makefile (strop-tests): Add rawmemchr.
39634 * string/test-rawmemchr.c: New file.
39636 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39637 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39638 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39639 when compiling str{,n}casecmp and when AVX is available. Hook up
39640 new optimized code in initializers.
39642 2011-10-19 Andreas Schwab <schwab@redhat.com>
39644 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39645 __feraiseexcept instead of feraiseexcept.
39647 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39649 * math/math_private.h: Define defaults for libc_fetestexcept and
39651 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39652 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39653 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39654 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39655 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39656 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39657 libc_fetestexcept and libc_feupdateenv.
39659 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39660 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39661 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39662 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39663 libc_feholdexcept_setround.
39665 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39666 Add s_nearbyint-c and s_nearbyintf-c.
39667 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39668 nearbyintf inlines.
39669 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39670 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39671 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39672 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39674 * math/math_private.h: Define defaults for libc_fegetround,
39675 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39676 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39677 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39678 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39679 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39680 standard functions.
39681 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39682 Remove comments and hacks for old compiler versions.
39683 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39684 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39685 libc_feholdexceptl.
39687 2011-10-18 Andreas Schwab <schwab@redhat.com>
39689 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39690 (__feraiseexcept_renamed): Add __NTH.
39691 (feraiseexcept): Add __NTH. Rename local variables to fix
39692 namespace violations.
39694 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39696 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39698 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39700 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39701 recently added interfaces.
39702 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39704 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39705 about macro parameter expansion.
39707 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39708 __NO_MATH_INLINES is defined. Cleanups.
39710 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39711 and __floorf is target has SSE4.1.
39712 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39713 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39714 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39715 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39717 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39719 (floorf): Likewise.
39721 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39723 2011-10-17 Andreas Schwab <schwab@redhat.com>
39725 * misc/sys/cdefs.h: Fix last change.
39727 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39730 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39732 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39734 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39735 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39740 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39742 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39743 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39744 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39745 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39746 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39747 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39748 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39749 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39750 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39751 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39752 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39753 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39754 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39755 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39757 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39758 ceil, ceilf, floor, floorf.
39760 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39761 Perform IRELATIVE relocations last.
39763 * elf/do-rel.h: Add another parameter nrelative, replacing the
39764 local variable with the same name. Change name of the function
39765 to end in Rel or Rela (uppercase).
39766 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39767 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39768 elf_dynamic_do_##reloc function.
39770 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39772 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39773 is sufficient, at least on modern CPUs.
39775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39777 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39778 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39780 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39782 * math/bits/math-finite.h: Add entries for exp.
39783 * math/e_expl.c: Add __*_finite alias.
39784 * sysdeps/i386/fpu/e_exp.S: Likewise.
39785 * sysdeps/i386/fpu/e_expf.S: Likewise.
39786 * sysdeps/i386/fpu/e_expl.c: Likewise.
39787 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39788 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39791 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39792 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39793 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39795 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39796 is sufficient, at least on modern CPUs.
39798 * ctype/ctype-info.c (__ctype_init): Define.
39799 * include/ctype.h (__ctype_init): Declare.
39800 (__ctype_b_loc): The variable is always initialized.
39801 (__ctype_toupper_loc): Likewise.
39802 (__ctype_tolower_loc): Likewise.
39803 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39804 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39806 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39808 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39810 * configure.in: Also look in $cxxmachine/include for C++ system
39813 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39815 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39816 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39817 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39818 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39819 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39820 (USE_AS_WMEMCMP): New macro.
39822 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39823 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39824 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39825 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39827 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39828 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39829 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39830 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39831 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39832 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39833 (USE_AS_WMEMCMP): New macro.
39834 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39835 * sysdeps/string/test-memcmp.c: Update.
39836 Fix simple_wmemcmp.
39838 * wcsmbs/wmemcmp.c: Update.
39839 (WMEMCMP): New macro.
39842 2011-10-12 Andreas Jaeger <aj@suse.de>
39845 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39847 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39849 * libio/iofwide.c (do_length): Avoid warning.
39851 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39853 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39855 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39857 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39858 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39859 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39860 * sysdeps/i386/i686/fpu/e_log.S: New file.
39861 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39862 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39864 * ctype/ctype.h: Add support for inlined isXXX functions when
39865 compiling C++ code.
39867 2011-10-14 Andreas Schwab <schwab@redhat.com>
39869 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39871 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39873 2011-10-13 Roland McGrath <roland@hack.frob.com>
39876 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39878 2011-10-13 Andreas Schwab <schwab@redhat.com>
39880 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39881 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39884 * sysdeps/x86_64/memrchr.S: Check for zero size.
39886 * string/stratcliff.c: Add memrchr tests.
39888 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39891 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39892 rawmemchr-sse2 rawmemchr-sse2-bsf.
39893 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39894 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39895 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39896 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39897 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39898 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39899 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39900 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39901 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39902 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39903 * string/memrchr.c (MEMRCHR): New macro.
39905 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39907 Add integration with gcc's -ffinite-math-only and optimize wrapper
39909 * Versions.def: Define GLIBC_2.15 version for libm.
39910 * math/Makefile (headers): Add bits/math-finite.h.
39911 * math/bits/math-finite.h: New file.
39912 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39913 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39914 * math/e_acoshl.c: Add __*_finite alias.
39915 * math/e_acosl.c: Likewise.
39916 * math/e_asinl.c: Likewise.
39917 * math/e_atan2l.c: Likewise.
39918 * math/e_atanhl.c: Likewise.
39919 * math/e_coshl.c: Likewise.
39920 * math/e_exp10.c: Likewise.
39921 * math/e_exp10f.c: Likewise.
39922 * math/e_exp10l.c: Likewise.
39923 * math/e_exp2l.c: Likewise.
39924 * math/e_fmodl.c: Likewise.
39925 * math/e_gammal_r.c: Likewise.
39926 * math/e_hypotl.c: Likewise.
39927 * math/e_j0l.c: Likewise.
39928 * math/e_j1l.c: Likewise.
39929 * math/e_jnl.c: Likewise.
39930 * math/e_lgammal_r.c: Likewise.
39931 * math/e_log10l.c: Likewise.
39932 * math/e_log2l.c: Likewise.
39933 * math/e_logl.c: Likewise.
39934 * math/e_powl.c: Likewise.
39935 * math/e_sinhl.c: Likewise.
39936 * math/e_sqrtl.c: Likewise.
39937 * math/e_scalb.c: Completely rewritten and optimized.
39938 * math/e_scalbf.c: Likewise.
39939 * math/e_scalbl.c: Likewise.
39940 * math/w_acos.c: Likewise.
39941 * math/w_acosf.c: Likewise.
39942 * math/w_acosl.c: Likewise.
39943 * math/w_acosh.c: Likewise.
39944 * math/w_acoshf.c: Likewise.
39945 * math/w_acoshl.c: Likewise.
39946 * math/w_asin.c: Likewise.
39947 * math/w_asinf.c: Likewise.
39948 * math/w_asinl.c: Likewise.
39949 * math/w_atan2.c: Likewise.
39950 * math/w_atan2f.c: Likewise.
39951 * math/w_atan2l.c: Likewise.
39952 * math/w_atanh.c: Likewise.
39953 * math/w_atanhf.c: Likewise.
39954 * math/w_atanhl.c: Likewise.
39955 * math/w_exp10.c: Likewise.
39956 * math/w_exp10f.c: Likewise.
39957 * math/w_exp10l.c: Likewise.
39958 * math/w_fmod.c: Likewise.
39959 * math/w_fmodf.c: Likewise.
39960 * math/w_fmodl.c: Likewise.
39961 * math/w_j0.c: Likewise.
39962 * math/w_j0f.c: Likewise.
39963 * math/w_j0l.c: Likewise.
39964 * math/w_j1.c: Likewise.
39965 * math/w_j1f.c: Likewise.
39966 * math/w_j1l.c: Likewise.
39967 * math/w_jn.c: Likewise.
39968 * math/w_jnf.c: Likewise.
39969 * math/w_log.c: Likewise.
39970 * math/w_logf.c: Likewise.
39971 * math/w_logl.c: Likewise.
39972 * math/w_log10.c: Likewise.
39973 * math/w_log10f.c: Likewise.
39974 * math/w_log10l.c: Likewise.
39975 * math/w_log2.c: Likewise.
39976 * math/w_log2f.c: Likewise.
39977 * math/w_log2l.c: Likewise.
39978 * math/w_pow.c: Likewise.
39979 * math/w_powf.c: Likewise.
39980 * math/w_powl.c: Likewise.
39981 * math/w_remainder.c: Likewise.
39982 * math/w_remainderf.c: Likewise.
39983 * math/w_remainderl.c: Likewise.
39984 * math/w_scalb.c: Likewise.
39985 * math/w_scalbf.c: Likewise.
39986 * math/w_scalbl.c: Likewise.
39987 * math/w_sqrt.c: Likewise.
39988 * math/w_sqrtf.c: Likewise.
39989 * math/w_sqrtl.c: Likewise.
39990 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39991 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39993 * math/math_private.h: Declare __kernel_standard_f.
39994 * math/w_cosh.c: Remove cruft and optimize a bit.
39995 * math/w_coshf.c: Likewise.
39996 * math/w_coshl.c: Likewise.
39997 * math/w_exp2.c: Likewise.
39998 * math/w_exp2f.c: Likewise.
39999 * math/w_exp2l.c: Likewise.
40000 * math/w_hypot.c: Likewise.
40001 * math/w_hypotf.c: Likewise.
40002 * math/w_hypotl.c: Likewise.
40003 * math/w_lgamma.c: Likewise.
40004 * math/w_lgamma_r.c: Likewise.
40005 * math/w_lgammaf.c: Likewise.
40006 * math/w_lgammaf_r.c: Likewise.
40007 * math/w_lgammal.c: Likewise.
40008 * math/w_lgammal_r.c: Likewise.
40009 * math/w_sinh.c: Likewise.
40010 * math/w_sinhf.c: Likewise.
40011 * math/w_sinhl.c: Likewise.
40012 * math/w_tgamma.c: Likewise.
40013 * math/w_tgammaf.c: Likewise.
40014 * math/w_tgammal.c: Likewise.
40015 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40016 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40017 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40018 Minor optimizations. Pretty printing. Remove cruft.
40019 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40020 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40021 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40022 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40023 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40024 * sysdeps/i386/fpu/e_asin.S: Likewise.
40025 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40026 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40027 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40028 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40029 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40030 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40031 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40032 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40033 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40034 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40035 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40036 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40037 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40038 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40039 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40040 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40041 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40042 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40043 * sysdeps/i386/fpu/e_log.S: Likewise.
40044 * sysdeps/i386/fpu/e_log10.S: Likewise.
40045 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40046 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40047 * sysdeps/i386/fpu/e_log2.S: Likewise.
40048 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40049 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40050 * sysdeps/i386/fpu/e_logf.S: Likewise.
40051 * sysdeps/i386/fpu/e_logl.S: Likewise.
40052 * sysdeps/i386/fpu/e_pow.S: Likewise.
40053 * sysdeps/i386/fpu/e_powf.S: Likewise.
40054 * sysdeps/i386/fpu/e_powl.S: Likewise.
40055 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40056 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40057 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40058 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40059 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40060 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40061 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40062 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40063 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40064 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40065 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40067 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40068 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40069 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40070 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40071 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40072 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40073 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40074 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40075 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40078 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40080 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40081 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40082 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40084 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40085 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40086 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40087 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40088 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40089 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40090 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40091 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40092 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40093 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40094 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40095 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40096 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40097 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40098 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40099 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40100 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40102 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40103 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40104 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40105 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40149 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40155 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40156 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40157 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40158 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40159 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40160 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40161 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40162 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40163 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40164 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40165 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40166 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40167 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40168 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40169 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40170 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40172 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40173 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40174 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40175 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40176 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40177 (__isnanf): Likewise.
40178 (__isinf_ns): Likewise.
40179 (__isinf_nsf): Likewise.
40180 (__finite): Likewise.
40181 (__finitef): Likewise.
40182 (__ieee754_sqrt): Define as macro.
40183 (__ieee754_sqrtf): Define as macro.
40184 (__ieee754_sqrtl): Define as macro.
40185 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40187 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40188 __FINITE_MATH_ONLY__ consistent.
40189 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40191 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40193 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40196 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40198 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40200 * po/ja.po: Update from translation team.
40202 2011-10-08 Roland McGrath <roland@hack.frob.com>
40204 * locale/programs/locarchive.c (prepare_address_space): New function.
40205 (create_archive, enlarge_archive, open_archive): Use it.
40207 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40208 inside [SHARED], where it is used.
40210 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40212 * nss/getent.c (netgroup_keys): Remove unused variable.
40213 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40215 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40217 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40218 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40219 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40220 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40221 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40222 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40223 * math/Makefile (libm-calls): Add s_isinf_ns.
40224 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40225 * math/multc3.c: Likewise.
40226 * math/s_casin.c: Likewise.
40227 * math/s_casinf.c: Likewise.
40228 * math/s_casinl.c: Likewise.
40229 * math/s_ccos.c: Likewise.
40230 * math/s_ccosf.c: Likewise.
40231 * math/s_ccosl.c: Likewise.
40232 * math/s_ctan.c: Likewise.
40233 * math/s_ctanf.c: Likewise.
40234 * math/s_ctanh.c: Likewise.
40235 * math/s_ctanhf.c: Likewise.
40236 * math/s_ctanhl.c: Likewise.
40237 * math/s_ctanl.c: Likewise.
40238 * math/w_fmod.c: Likewise.
40239 * math/w_fmodf.c: Likewise.
40240 * math/w_fmodl.c: Likewise.
40241 * math/w_remainder.c: Likewise.
40242 * math/w_remainderf.c: Likewise.
40243 * math/w_remainderl.c: Likewise.
40244 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40245 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40246 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40248 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40249 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40250 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40251 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40253 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40255 * stdio-common/printf_fphex.c: Likewise.
40256 * stdio-common/printf_size.c: Likewise.
40258 * math/e_exp10.c: Include math_private.h using <...> not "...".
40259 * math/e_exp10f.c: Likewise.
40260 * math/e_exp10l.c: Likewise.
40261 * math/e_exp2l.c: Likewise.
40262 * math/e_j0l.c: Likewise.
40263 * math/e_j1l.c: Likewise.
40264 * math/e_jnl.c: Likewise.
40265 * math/e_lgammal_r.c: Likewise.
40266 * math/e_rem_pio2l.c: Likewise.
40267 * math/e_scalb.c: Likewise.
40268 * math/e_scalbf.c: Likewise.
40269 * math/e_scalbl.c: Likewise.
40270 * math/k_cosl.c: Likewise.
40271 * math/k_sinl.c: Likewise.
40272 * math/k_tanl.c: Likewise.
40273 * math/s_cacoshf.c: Likewise.
40274 * math/s_catan.c: Likewise.
40275 * math/s_catanf.c: Likewise.
40276 * math/s_catanh.c: Likewise.
40277 * math/s_catanhf.c: Likewise.
40278 * math/s_catanhl.c: Likewise.
40279 * math/s_catanl.c: Likewise.
40280 * math/s_ccosh.c: Likewise.
40281 * math/s_ccoshf.c: Likewise.
40282 * math/s_ccoshl.c: Likewise.
40283 * math/s_cexp.c: Likewise.
40284 * math/s_cexpf.c: Likewise.
40285 * math/s_cexpl.c: Likewise.
40286 * math/s_clog.c: Likewise.
40287 * math/s_clog10.c: Likewise.
40288 * math/s_clog10f.c: Likewise.
40289 * math/s_clog10l.c: Likewise.
40290 * math/s_clogf.c: Likewise.
40291 * math/s_clogl.c: Likewise.
40292 * math/s_csin.c: Likewise.
40293 * math/s_csinf.c: Likewise.
40294 * math/s_csinh.c: Likewise.
40295 * math/s_csinhf.c: Likewise.
40296 * math/s_csinhl.c: Likewise.
40297 * math/s_csinl.c: Likewise.
40298 * math/s_csqrt.c: Likewise.
40299 * math/s_csqrtf.c: Likewise.
40300 * math/s_csqrtl.c: Likewise.
40301 * math/s_ctan.c: Likewise.
40302 * math/s_ctanf.c: Likewise.
40303 * math/s_ctanh.c: Likewise.
40304 * math/s_ctanhf.c: Likewise.
40305 * math/s_ctanhl.c: Likewise.
40306 * math/s_ctanl.c: Likewise.
40307 * math/s_ldexp.c: Likewise.
40308 * math/s_ldexpf.c: Likewise.
40309 * math/s_ldexpl.c: Likewise.
40310 * math/s_significand.c: Likewise.
40311 * math/s_significandf.c: Likewise.
40312 * math/s_significandl.c: Likewise.
40313 * math/w_acos.c: Likewise.
40314 * math/w_acosf.c: Likewise.
40315 * math/w_acosh.c: Likewise.
40316 * math/w_acoshf.c: Likewise.
40317 * math/w_acoshl.c: Likewise.
40318 * math/w_acosl.c: Likewise.
40319 * math/w_asin.c: Likewise.
40320 * math/w_asinf.c: Likewise.
40321 * math/w_asinl.c: Likewise.
40322 * math/w_atan2.c: Likewise.
40323 * math/w_atan2f.c: Likewise.
40324 * math/w_atan2l.c: Likewise.
40325 * math/w_atanh.c: Likewise.
40326 * math/w_atanhf.c: Likewise.
40327 * math/w_atanhl.c: Likewise.
40328 * math/w_cosh.c: Likewise.
40329 * math/w_coshf.c: Likewise.
40330 * math/w_coshl.c: Likewise.
40331 * math/w_dremf.c: Likewise.
40332 * math/w_exp10.c: Likewise.
40333 * math/w_exp10f.c: Likewise.
40334 * math/w_exp10l.c: Likewise.
40335 * math/w_exp2.c: Likewise.
40336 * math/w_exp2f.c: Likewise.
40337 * math/w_fmod.c: Likewise.
40338 * math/w_fmodf.c: Likewise.
40339 * math/w_fmodl.c: Likewise.
40340 * math/w_hypot.c: Likewise.
40341 * math/w_hypotf.c: Likewise.
40342 * math/w_hypotl.c: Likewise.
40343 * math/w_j0.c: Likewise.
40344 * math/w_j0f.c: Likewise.
40345 * math/w_j0l.c: Likewise.
40346 * math/w_j1.c: Likewise.
40347 * math/w_j1f.c: Likewise.
40348 * math/w_j1l.c: Likewise.
40349 * math/w_jn.c: Likewise.
40350 * math/w_jnf.c: Likewise.
40351 * math/w_jnl.c: Likewise.
40352 * math/w_lgamma.c: Likewise.
40353 * math/w_lgamma_r.c: Likewise.
40354 * math/w_lgammaf.c: Likewise.
40355 * math/w_lgammaf_r.c: Likewise.
40356 * math/w_lgammal.c: Likewise.
40357 * math/w_lgammal_r.c: Likewise.
40358 * math/w_log.c: Likewise.
40359 * math/w_log10.c: Likewise.
40360 * math/w_log10f.c: Likewise.
40361 * math/w_log10l.c: Likewise.
40362 * math/w_log2.c: Likewise.
40363 * math/w_log2f.c: Likewise.
40364 * math/w_log2l.c: Likewise.
40365 * math/w_logf.c: Likewise.
40366 * math/w_logl.c: Likewise.
40367 * math/w_pow.c: Likewise.
40368 * math/w_powf.c: Likewise.
40369 * math/w_powl.c: Likewise.
40370 * math/w_remainder.c: Likewise.
40371 * math/w_remainderf.c: Likewise.
40372 * math/w_remainderl.c: Likewise.
40373 * math/w_scalb.c: Likewise.
40374 * math/w_scalbf.c: Likewise.
40375 * math/w_scalbl.c: Likewise.
40376 * math/w_sinh.c: Likewise.
40377 * math/w_sinhf.c: Likewise.
40378 * math/w_sinhl.c: Likewise.
40379 * math/w_sqrt.c: Likewise.
40380 * math/w_sqrtf.c: Likewise.
40381 * math/w_sqrtl.c: Likewise.
40382 * math/w_tgamma.c: Likewise.
40383 * math/w_tgammaf.c: Likewise.
40384 * math/w_tgammal.c: Likewise.
40386 * po/ja.po: Update from translation team.
40388 2011-09-29 Andreas Jaeger <aj@suse.de>
40391 * sunrpc/netname.c (netname2host): Fix logic.
40395 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40397 * math/w_remainder.c (__remainder): Likewise.
40398 * math/w_remainderf.c (__remainderf): Likewise.
40399 * math/libm-test.inc (remainder_test): Add test cases.
40401 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40403 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40406 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40408 * string/test-memcmp.c: Avoid unncessary #defines.
40409 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40411 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40413 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40414 Use new sse2 version for core i3 - i7 as it's faster
40415 than sse42 version.
40416 (bit_Prefer_PMINUB_for_stringop): New.
40417 * sysdeps/x86_64/rawmemchr.S: Update.
40418 Replace with faster SSE2 version.
40419 * sysdeps/x86_64/memrchr.S: New file.
40420 * sysdeps/x86_64/memchr.S: Update.
40421 Replace with faster SSE2 version.
40423 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40425 * elf/dl-load.c (lose): Add cast to avoid warning.
40427 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40429 * po/ca.po: Update from translation team.
40431 * inet/getnetgrent_r.c: Hook up nscd.
40432 * nscd/Makefile (routines): Add nscd_netgroup.
40433 (nscd-modules): Add netgroupcache.
40434 (CFLAGS-netgroupcache.c): Define.
40435 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40436 (cache_search): Add const to second parameter.
40437 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40439 (dbs): Add netgrdb entry.
40440 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40441 (verify_persistent_db): Handle netgrdb.
40442 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40443 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40445 (netgroup_response_header): Define.
40446 (innetgroup_response_header): Define.
40447 (datahead): Add netgroup_response_header and innetgroup_response_header
40449 * nscd/nscd.conf: Add entries for netgroup cache.
40450 * nscd/nscd.h (dbtype): Add netgrdb.
40451 (_PATH_NSCD_NETGROUP_DB): Define.
40452 (netgroup_iov_disabled): Declare.
40453 (xmalloc, xcalloc, xrealloc): Move declarations here.
40454 (cache_search): Adjust prototype.
40455 Add netgroup-related prototypes.
40456 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40457 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40458 (__nscd_innetgr): Declare.
40459 * nscd/selinux.c (perms): Use access_vector_t as element type and
40460 add netgroup-related initializers.
40461 * nscd/netgroupcache.c: New file.
40462 * nscd/nscd_netgroup.c: New file.
40463 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40464 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40465 For four parameters use innetgr.
40466 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40467 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40468 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40469 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40471 * nscd/connections.c (register_traced_file): Don't register file
40472 for disabled databases.
40474 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40476 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40478 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40479 from tree and freeing node.
40481 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40483 * nss/nsswitch.c (__nss_database_lookup): Handle
40484 nss_parse_service_list out of memory case.
40486 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40488 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40489 out of memory case.
40491 2011-10-04 Andreas Schwab <schwab@redhat.com>
40493 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40494 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40496 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40497 elf_machine_rela, elf_machine_lazy_rel.
40498 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40499 (ELF_DYNAMIC_DO_REL): Likewise.
40500 (ELF_DYNAMIC_DO_RELA): Likewise.
40501 (ELF_DYNAMIC_RELOCATE): Likewise.
40502 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40503 to ELF_DYNAMIC_DO_REL.
40504 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40505 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40506 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40508 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40509 skip_ifunc, don't call ifunc function if non-zero.
40510 (elf_machine_rela): Likewise.
40511 (elf_machine_lazy_rel): Likewise.
40512 (elf_machine_lazy_rela): Likewise.
40513 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40514 (elf_machine_lazy_rel): Likewise.
40515 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40517 (elf_machine_lazy_rel): Likewise.
40518 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40520 (elf_machine_lazy_rel): Likewise.
40521 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40522 (elf_machine_lazy_rel): Likewise.
40523 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40524 (elf_machine_lazy_rel): Likewise.
40525 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40526 (elf_machine_lazy_rel): Likewise.
40527 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40528 (elf_machine_lazy_rel): Likewise.
40529 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40530 (elf_machine_lazy_rel): Likewise.
40531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40532 (elf_machine_lazy_rel): Likewise.
40534 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40536 * nss/nss_files/files-init.c (_nss_files_init): Use static
40537 initialization for all the *_traced_file variables.
40539 2011-09-28 Andreas Schwab <schwab@redhat.com>
40541 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40543 2011-09-27 Roland McGrath <roland@hack.frob.com>
40546 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40548 2011-09-27 Andreas Schwab <schwab@redhat.com>
40550 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40551 Reread the line before reparsing it.
40553 2011-09-26 Andreas Schwab <schwab@redhat.com>
40555 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40557 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40558 Maxim Kuvyrkov <maxim@codesourcery.com>
40559 Joseph Myers <joseph@codesourcery.com>
40561 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40562 if needed for __stack_chk_guard.
40564 2011-09-19 Roland McGrath <roland@hack.frob.com>
40566 * sysdeps/posix/spawni.c (script_execute): Always define it.
40567 It will be optimized away if unused.
40568 (maybe_script_execute): New function.
40569 (__spawni): Call it.
40571 * Makerules: Don't include tls.make.
40572 (config-tls): Always set to thread.
40573 * tls.make.c: File removed.
40575 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40577 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40578 * config.make.in (CPPFLAGS-config): New substituted variable.
40580 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40582 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40585 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40586 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40588 2011-09-15 Roland McGrath <roland@hack.frob.com>
40590 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40591 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40592 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40593 (CALL_FAIL): Likewise.
40594 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40595 (CALL_FAIL): Macro removed.
40596 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40598 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40600 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40601 for __FINITE_MATH_ONLY__ == 1.
40603 2011-09-15 Andreas Schwab <schwab@redhat.com>
40605 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40606 __ieee754_sqrt instead of sqrt.
40607 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40608 __ieee754_sqrtf instead of sqrtf.
40609 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40610 __floorf instead of floorf.
40611 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40612 __floorf, __truncf instead of floorf, truncf.
40614 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40616 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40618 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40619 __extern_always_inline.
40620 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40623 2011-09-14 Andreas Schwab <schwab@redhat.com>
40625 * elf/rtld.c (dl_main): Also relocate in dependency order when
40626 doing symbol dependency testing.
40628 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40631 Always define `refsym'.
40633 2011-09-13 Andreas Schwab <schwab@redhat.com>
40635 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40636 (__FD_ELT): Renamed from __FDELT.
40637 * misc/bits/select2.h (__FD_ELT): Likewise.
40638 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40639 __FD_MASK instead of __FDELT, __FDMASK.
40640 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40642 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40645 * elf/Makefile (gen-ldd): Fix pattern.
40647 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40648 (init_tls): Likewise.
40650 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40652 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40654 2011-09-12 Andreas Schwab <schwab@redhat.com>
40656 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40657 `struct cmsghdr *' instead of `void *'.
40658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40661 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40663 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40665 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40666 ldd_rewrite_script.
40668 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40670 * configure.in: Remove --with-tls option.
40671 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40672 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40673 out in case it is missing.
40674 * sysdeps/ia64/elf/configure.in: Likewise.
40675 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40676 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40677 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40678 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40679 * sysdeps/sh/elf/configure.in: Likewise.
40680 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40681 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40682 * sysdeps/x86_64/elf/configure.in: Likewise.
40683 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40684 * sysdeps/mach/hurd/tls.h: Likewise.
40687 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40690 * configure.in: Fix use of AC_INIT.
40692 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40694 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40696 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40698 * malloc/hooks.c: Likewise.
40701 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40702 variables statically.
40703 (narenas): Initialize.
40704 (list_lock): Initialize.
40705 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40706 initializtion of main_arena and list_lock. Small cleanups.
40707 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40708 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40709 Add initializers to main_arena and mp_.
40710 (malloc_state): Remove pagesize member. Change all users to use
40713 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40714 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40715 is always initialized.
40717 * malloc/malloc.c: Removed unused configurations and dead code.
40718 * malloc/arena.c: Likewise.
40719 * malloc/hooks.c: Likewise.
40720 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40722 * include/tls.h: Removed. USE___THREAD must always be defined.
40723 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40724 * elf/dl-libc.c: Likewise.
40725 * elf/dl-tsd.c: Likewise.
40726 * include/errno.h: Likewise.
40727 * include/netdb.h: Likewise.
40728 * include/resolv.h: Likewise.
40729 * inet/herrno-loc.c: Likewise.
40730 * inet/herrno.c: Likewise.
40731 * malloc/arena.c: Likewise.
40732 * malloc/hooks.c: Likewise.
40733 * malloc/malloc.c: Likewise.
40734 * resolv/res-state.c: Likewise.
40735 * resolv/res_libc.c: Likewise.
40736 * sysdeps/i386/dl-machine.h: Likewise.
40737 * sysdeps/ia64/dl-machine.h: Likewise.
40738 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40739 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40740 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40741 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40742 * sysdeps/sh/dl-machine.h: Likewise.
40743 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40744 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40745 * sysdeps/unix/i386/sysdep.S: Likewise.
40746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40747 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40748 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40750 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40752 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40756 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40757 * sysdeps/x86_64/dl-machine.h: Likewise.
40758 * tls.make.c: Likewise.
40760 * configure.in: Remove --with-__thread option. Make tests for
40761 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40762 tls_model attribute fail if no support is available. Remove
40764 * Makeconfig: Adjust for dropped configure option. All features are
40766 * Makerules: Likewise.
40767 * Versions.def: Likewise.
40768 * argp/argp-fmtstream.c: Likewise.
40769 * argp/argp-fmtstream.h: Likewise.
40770 * argp/argp-help.c: Likewise.
40771 * assert/assert.c: Likewise.
40772 * config.h.in: Likewise.
40773 * config.make.in: Likewise.
40774 * configure: Likewise.
40775 * configure.in: Likewise.
40776 * csu/Versions: Likewise.
40777 * csu/init.c: Likewise.
40778 * elf/tst-audit2.c: Likewise.
40779 * elf/tst-tls10.c: Likewise.
40780 * elf/tst-tls10.h: Likewise.
40781 * elf/tst-tls11.c: Likewise.
40782 * elf/tst-tls12.c: Likewise.
40783 * elf/tst-tls14.c: Likewise.
40784 * elf/tst-tlsmod11.c: Likewise.
40785 * elf/tst-tlsmod12.c: Likewise.
40786 * elf/tst-tlsmod13.c: Likewise.
40787 * elf/tst-tlsmod13a.c: Likewise.
40788 * elf/tst-tlsmod14a.c: Likewise.
40789 * elf/tst-tlsmod15b.c: Likewise.
40790 * elf/tst-tlsmod16a.c: Likewise.
40791 * elf/tst-tlsmod16b.c: Likewise.
40792 * elf/tst-tlsmod7.c: Likewise.
40793 * elf/tst-tlsmod8.c: Likewise.
40794 * elf/tst-tlsmod9.c: Likewise.
40795 * gmon/gmon.c: Likewise.
40796 * grp/fgetgrent_r.c: Likewise.
40797 * grp/putgrent.c: Likewise.
40798 * hurd/fopenport.c: Likewise.
40799 * include/libc-symbols.h: Likewise.
40800 * include/tls.h: Likewise.
40801 * intl/gettextP.h: Likewise.
40802 * intl/loadinfo.h: Likewise.
40803 * locale/global-locale.c: Likewise.
40804 * locale/localeinfo.h: Likewise.
40805 * mach/devstream.c: Likewise.
40806 * malloc/arena.c: Likewise.
40807 * malloc/set-freeres.c: Likewise.
40808 * misc/err.c: Likewise.
40809 * misc/getttyent.c: Likewise.
40810 * misc/mntent_r.c: Likewise.
40811 * posix/getopt.c: Likewise.
40812 * posix/wordexp.c: Likewise.
40813 * pwd/fgetpwent_r.c: Likewise.
40814 * resolv/Versions: Likewise.
40815 * resolv/res_hconf.c: Likewise.
40816 * shadow/fgetspent_r.c: Likewise.
40817 * shadow/putspent.c: Likewise.
40818 * stdio-common/printf_fphex.c: Likewise.
40819 * stdio-common/tmpfile.c: Likewise.
40820 * stdlib/abort.c: Likewise.
40821 * stdlib/fmtmsg.c: Likewise.
40822 * sunrpc/auth_unix.c: Likewise.
40823 * sunrpc/clnt_perr.c: Likewise.
40824 * sunrpc/clnt_tcp.c: Likewise.
40825 * sunrpc/clnt_udp.c: Likewise.
40826 * sunrpc/clnt_unix.c: Likewise.
40827 * sunrpc/openchild.c: Likewise.
40828 * sunrpc/svc_simple.c: Likewise.
40829 * sunrpc/svc_tcp.c: Likewise.
40830 * sunrpc/svc_udp.c: Likewise.
40831 * sunrpc/svc_unix.c: Likewise.
40832 * sunrpc/xdr.c: Likewise.
40833 * sunrpc/xdr_array.c: Likewise.
40834 * sunrpc/xdr_rec.c: Likewise.
40835 * sunrpc/xdr_ref.c: Likewise.
40836 * sunrpc/xdr_stdio.c: Likewise.
40838 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40840 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40842 2011-07-03 Andreas Jaeger <aj@suse.de>
40844 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40845 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40846 regenerate with gen-libm-tests.pl.
40848 2010-05-12 Petr Baudis <pasky@suse.cz>
40851 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40852 around j0() zero points by switching to j1().
40853 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40854 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40858 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40860 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40862 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40865 Patch in part by Pavel Roskin <proski@gnu.org>.
40868 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40870 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40871 Free memory block if necessary.
40874 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40875 be NULL. Don't lock in this case.
40877 2011-09-09 Roland McGrath <roland@hack.frob.com>
40879 * elf/elf.h (ELFOSABI_GNU): New macro.
40880 (ELFOSABI_LINUX): Define to that.
40882 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40884 * string/strncat.c (strncat): Undef the symbol in case it has been
40885 defined in bits/string.h.
40887 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40889 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40891 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40894 2011-08-17 Andreas Jaeger <aj@suse.de>
40896 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40898 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40899 Ian Lance Taylor <iant@google.com>
40901 * math/libm-test.inc (lround_test): New testcase.
40902 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40904 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40906 * Makefile: Remove support for automatic cvs check-ins.
40907 * Makerules: Likewise.
40908 * config.make.in: Likewise.
40909 * configure.in: Likewise.
40910 * intl/Makefile: Likewise.
40911 * locale/Makefile: Likewise.
40912 * po/Makefile: Likewise.
40913 * posix/Makefile: Likewise.
40914 * sysdeps/gnu/Makefile: Likewise.
40915 * sysdeps/mach/hurd/Makefile: Likewise.
40916 * sysdeps/sparc/sparc32/Makefile: Likewise.
40919 * posix/Makefile (bug-regex32-ENV): Define.
40920 Patch by John Stanley <jpsinthemix@verizon.net>.
40922 * misc/Makefile (headers): Add bits/select2.h.
40923 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40924 * misc/bits/select2.h: New file.
40925 * include/bits/select2.h: New file.
40926 * debug/Makefile (routines): Add fdelt_chk.
40927 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40928 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40930 * debug/fdelt_chk.c: New file.
40932 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40933 * wcsmbs/test-wmemcmp.c: Likewise.
40934 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40935 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40937 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40939 * string/Makefile (strop-tests): Add memcmp.
40940 * string/test-wmemcmp.c: New file.
40941 * string/test-memcmp.c: Add wmemcmp support.
40943 2011-09-08 Roland McGrath <roland@hack.frob.com>
40946 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40949 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40950 garbage value in a __mach_port_mod_refs call in the cases of the
40951 task-self and thread-self ports.
40953 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40955 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40957 2011-09-08 Andreas Schwab <schwab@redhat.com>
40959 * elf/dl-load.c (lose): Check for non-null L.
40961 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40963 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40965 * elf/dl-libc.c (dlerror_run): Pass back error code from
40969 * elf/dl-load.c (lose): Free l_origin if it is valid.
40971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40973 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40974 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40976 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40977 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40978 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40980 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40982 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40983 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40984 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40985 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40986 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40987 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40988 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40989 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40990 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40991 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40993 2011-08-15 Alan Modra <amodra@gmail.com>
40996 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40997 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40998 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40999 ppc_mcount to static-only-routines.
41000 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41002 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41003 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41005 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41007 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41008 for finite and infinity parameters.
41010 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41012 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41013 and add nop instructions for throughput optimization.
41014 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41016 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41018 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41019 aligned copy for power7 with vector-scalar instructions.
41020 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41022 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41024 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41027 2011-09-07 Andreas Schwab <schwab@redhat.com>
41030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41033 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41035 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41036 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41037 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41038 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41041 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41043 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41044 Forgot to demangle the pointer.
41046 * sysdeps/i386/sysdep.h: Define atom_text_section.
41047 * sysdeps/x86_64/sysdep.h: Likewise.
41048 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41049 section with atom_text_section.
41050 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41051 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41052 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41054 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41056 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41057 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41058 already be defined. Change to take two parameters and don't assign
41059 result to variable. Adjust all users.
41060 Define INTERNAL_GETTIME if not already defined.
41061 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41064 HAVE_CLOCK_GETTIME_VSYSCALL.
41065 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41068 gettimeofday vsyscall, just use time.
41070 2011-09-06 Andreas Schwab <schwab@redhat.com>
41072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41075 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41077 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41079 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41081 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41082 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41083 syscall if possible.
41085 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41087 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41088 e_ident. Don't pass to find_mapsXX.
41089 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41091 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41094 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41095 * sysdeps/x86_64/multiarch/strchr.S: Update.
41096 Check bit_slow_BSF bit.
41097 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41098 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41099 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41101 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41104 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41106 (tryshell): Define.
41107 (__spawni): Change last parameter to be flag. Test
41108 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41109 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41110 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41111 * posix/spawni.c: Likewise.
41112 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41113 * posix/spawnp.c: Likewise. Change normal version to use
41114 SPAWN_XFLAGS_USE_PATH.
41115 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41116 SPAWN_XFLAGS_TRY_SHELL.
41119 * posix/glob.h: Remove gcc 1.x support.
41122 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41124 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41127 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41129 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41130 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41131 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41132 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41133 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41134 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41136 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41138 * sysdeps/x86_64/wcscmp.S: New file.
41140 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41141 wcscmp-c wcscmp-sse2
41142 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41143 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41144 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41145 * wcsmbs/wcscmp.c: Allow renaming.
41147 2011-09-05 David S. Miller <davem@davemloft.net>
41149 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41150 stack slot, rather than the struct return pointer slot.
41151 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41152 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41154 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41156 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41158 * po/ja.po: Update from translation team.
41161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41162 kernel in 64-bit binaries.
41164 2011-09-01 David S. Miller <davem@davemloft.net>
41166 * elf/elf.h (HWCAP_SPARC_*): Move to..
41167 * sysdeps/sparc/sysdep.h: this new file and add new values.
41168 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41169 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41170 _DL_HWCAP_COUNT to 24.
41171 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41173 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41174 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41175 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41177 instead of magic constants.
41178 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41180 2011-08-31 David S. Miller <davem@davemloft.net>
41182 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41184 Reimplement to do errno handling inline.
41185 (SYSCALL_ERROR_HANDLER): New macro.
41186 (__SYSCALL_STRING): Do not do errno handling in asm.
41187 (__CLONE_SYSCALL_STRING): Delete.
41188 (__INTERNAL_SYSCALL_STRING): Delete.
41189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41190 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41191 (PSEUDO): Reimplement to do errno handling inline.
41192 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41193 (SYSCALL_ERROR_HANDLER): New macro.
41194 (__SYSCALL_STRING): Do not do errno handling in asm.
41195 (__CLONE_SYSCALL_STRING): Delete.
41196 (__INTERNAL_SYSCALL_STRING): Delete.
41197 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41198 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41200 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41201 (inline_syscall*): Add 'err' argument.
41202 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41203 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41204 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41205 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41207 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41208 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41210 2011-08-30 Andreas Schwab <schwab@redhat.com>
41212 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41214 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41216 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41219 2011-08-24 David S. Miller <davem@davemloft.net>
41221 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41223 2011-08-24 Andreas Schwab <schwab@redhat.com>
41225 * elf/Makefile: Add rules to build and run unload8 test.
41226 * elf/unload8.c: New file.
41227 * elf/unload8mod1.c: New file.
41228 * elf/unload8mod1x.c: New file.
41229 * elf/unload8mod2.c: New file.
41230 * elf/unload8mod3.c: New file.
41232 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41235 2011-08-23 David S. Miller <davem@davemloft.net>
41237 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41238 subtract stack bias.
41239 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41240 %sp not %fp in calculations.
41241 (_JMPBUF_UNWINDS_ADJ): Likewise.
41243 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41244 (aio_suspend): Call it to force an exception region around the
41245 AIO_MISC_WAIT() invocation.
41247 2011-08-23 Andreas Schwab <schwab@redhat.com>
41249 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41252 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41254 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41256 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41257 and <dl-machine.h>.
41258 (Elf64_FuncDesc): Remove.
41260 2011-08-22 David S. Miller <davem@davemloft.net>
41262 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41263 sigaltstack check, add missing cfi directives.
41264 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41265 missing cfi directives, and sigaltstack handling.
41267 2011-08-16 Andreas Schwab <schwab@redhat.com>
41270 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41271 object is seen twice.
41272 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41274 * elf/Makefile (distribute): Add tst-initorder2.c.
41275 (tests): Add tst-initorder2.
41276 (modules-names): Add tst-initorder2a tst-initorder2b
41277 tst-initorder2c tst-initorder2d. Add rules to build them.
41278 ($(objpfx)tst-initorder2.out): New rule.
41279 * elf/tst-initorder2.c: New file.
41280 * elf/tst-initorder2.exp: New file.
41282 2011-08-22 Andreas Schwab <schwab@redhat.com>
41284 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41286 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41287 dependencies back to end of function.
41289 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41290 $(elfobjdir)/ld.so.
41292 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41295 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41296 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41297 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41298 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41299 of __vdso_gettimeofday.
41300 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41301 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41303 (_libc_vdso_platform_setup): Remove initialization of
41304 __vdso_gettimeofday and __vdso_time.
41306 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41308 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41309 and fgetc_unlocked.
41310 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41313 * elf/dl-open.c (add_to_global): Report additions to the global scope
41314 for LD_DEBUG=scopes.
41315 (dl_open_worker): Also print scope of newly loaded dependencies.
41316 (_dl_show_scope): Indicate if there is no scope.
41319 * stdio-common/Makefile (tests): Add bug24.
41320 * stdio-common/bug24.c: New file.
41322 2011-08-19 Andreas Jaeger <aj@suse.de>
41325 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41326 non-existant file when using close-on-exec mode.
41328 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41331 the very first instruction.
41333 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41334 the CFI state in the end.
41335 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41336 inclusion of dl-trampoline.h.
41337 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41339 2011-08-19 Andreas Schwab <schwab@redhat.com>
41341 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41342 expectations for long double.
41344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41345 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41347 2011-08-14 David S. Miller <davem@davemloft.net>
41349 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41350 artificual limit depends upon the system page size.
41352 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41354 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41355 * resolv/Makefile: Define CFLAGS-libresolv.
41357 2011-08-17 Andreas Schwab <schwab@redhat.com>
41359 * nss/makedb.c (compute_tables): Make variables used in nested
41362 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41364 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41365 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41366 if buffer was too small.
41368 * elf/pldd.c (main): Attach to all threads in the process.
41369 Rewrite /proc handling to use *at functions.
41371 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41373 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41374 specifies first scope to show.
41375 (dl_open_worker): Update callers. Move printing scope of new
41376 object to before the relocation.
41377 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41378 * sysdeps/generic/ldsodefs.h: Update declaration.
41380 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41381 string for the scope number.
41383 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41385 * nscd/servicescache.c (cache_addserv): Make sure written is always
41388 2011-08-14 Roland McGrath <roland@hack.frob.com>
41390 * sysdeps/i386/i486/bits/atomic.h
41391 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41392 statement expression, so as to suppress "set but not used" warning.
41393 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41395 * string/strncat.c (STRNCAT): Use prototype definition.
41397 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41398 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41400 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41401 (localedef-modules): Add localedef.
41402 (locale-modules): Add locale.
41404 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41405 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41406 to avoid a warning.
41408 2011-08-14 David S. Miller <davem@davemloft.net>
41410 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41411 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41413 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41415 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41416 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41417 * elf/rtld.c (dl_main): Set l_name of vDSO.
41418 Call _dl_show_scope when DL_DEBUG_SCOPES.
41419 (process_dl_debug): Recognize scopes flag and also set it for all.
41420 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41421 Declare _dl_show_scope.
41423 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41424 (do_dlopen): Pass caller_dlopen to dl_open.
41425 (__libc_dlopen_mode): Initialize caller_dlopen.
41427 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41428 of libc. Make tolower call locale-independent. Optimize a bit by
41429 using isdigit instead of isalnum.
41430 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41432 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41434 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41435 was a dependency or dynamically loaded.
41437 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41439 * intl/l10nflist.c: Allow architecture-specific pop function.
41440 * sysdeps/x86_64/l10nflist.c: New file.
41442 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41445 2011-08-10 Andreas Schwab <schwab@redhat.com>
41447 * include/dirent.h: Add libc_hidden_proto for scandirat and
41448 scandirat64. Don't declare __scandirat64.
41449 * dirent/scandirat.c: Add libc_hidden_def.
41450 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41451 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41453 2011-08-10 David S. Miller <davem@davemloft.net>
41455 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41457 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41458 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41459 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41461 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41463 * Versions.def [libc]: Add GLIBC_2.15.
41464 * dirent/Makefile (routines): Add scandirat and scandirat64.
41465 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41467 * dirent/dirent.h: Declare scandirat and scandirat64.
41468 * dirent/scandirat.c: New file.
41469 * dirent/scandirat64.c: New file.
41470 * sysdeps/wordsize-64/scandirat.c: New file.
41471 * sysdeps/wordsize-64/scandirat64.c: New file.
41472 * dirent/opendir.c: Define opendirat.
41473 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41475 * dirent/scandir64.c: Adjust for scandir.c change.
41476 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41477 __scandirat64, and __scandir_cancel_handler.
41478 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41479 additional parameter and use openat instead of open (outside of ld.so).
41480 Add new __opendir as wrapper around __opendirat.
41481 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41482 here without requiring old scandirat implementation.
41484 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41486 * dirent/scandir.c (cancel_handler): Renamed to
41487 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41488 defined. Adjust users.
41489 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41490 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41492 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41494 * string/test-string.h (IMPL): Use __STRING to expand name and then
41497 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41500 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41502 * string/Makefile: Update.
41503 (strop-tests): Append strncat.
41504 * string/test-wcscmp.c: New file.
41505 New comprehensive test for wcscmp.
41506 * string/test-strcmp.c: Update.
41507 (WIDE): New define.
41509 2011-07-22 Andreas Schwab <schwab@redhat.com>
41511 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41514 2011-07-26 Andreas Schwab <schwab@redhat.com>
41516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41517 encoding to ACE if AI_IDN.
41519 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41522 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41524 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41526 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41527 Fix overflow bug in strncat.
41528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41530 * string/test-strncat.c: Update.
41531 Add new tests for checking overflow bugs.
41533 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41536 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41537 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41538 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41540 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41541 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41542 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41543 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41546 (USE_AS_STRCAT): Define.
41547 Add strcat and strncat support.
41548 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41550 2011-07-25 Andreas Schwab <schwab@redhat.com>
41552 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41553 __n bigger than INT_MAX+1.
41554 (__strncmp_g): Likewise.
41556 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41558 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41559 * libio/stido.h: Likewise.
41561 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41566 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41568 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41569 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41573 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41578 (_dl_x86_64_save_sse): Likewise.
41580 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41584 (_dl_x86_64_save_sse): Likewise.
41586 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41588 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41590 2011-07-21 Andreas Schwab <schwab@redhat.com>
41592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41594 (_dl_x86_64_save_sse): Use correct AVX check.
41596 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41599 bug in strncpy/strncat.
41600 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41602 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41604 * string/tester.c (test_strcat): Add tests for different alignments
41605 of source and destination.
41606 (test_strncat): Likewise.
41608 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41611 * posix/glob.c (glob): Check passed in values before using them in
41612 expressions to avoid some overflows.
41613 (glob_in_dir): Likewise.
41616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41617 check for AVX enablement so that we don't crash with old kernels and
41619 * elf/tst-audit4.c: Add same checks here.
41620 * elf/tst-audit6.c: Likewise.
41622 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41624 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41626 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41628 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41630 * po/cs.po: Update from translation team.
41631 * po/bg.po: Likewise.
41633 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41635 * misc/sys/cdefs.h: Add support for const attribute.
41636 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41637 to gnu_dev_{major,minor,makedev} functions.
41639 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41641 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41643 2011-07-20 Andreas Schwab <schwab@redhat.com>
41645 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41648 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41651 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41652 register in order to avoid conflicts with the soft frame pointer
41653 being held in r11 when necessary.
41654 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41655 (INTERNAL_VSYSCALL_NCS): Likewise.
41657 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41659 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41660 * elf/dl-fini.c (_dl_fini): Adjust caller.
41661 * elf/dl-close.c (_dl_close_worker): Likewise.
41662 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41664 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41666 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41667 "aux_cache->nlibs < 0".
41669 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41670 in the reload-count case.
41672 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41675 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41676 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41677 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41678 * sysdeps/x86_64/multiarch/strcat.S: New file.
41679 * sysdeps/x86_64/multiarch/strncat.S: New file.
41680 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41681 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41682 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41683 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41685 (USE_AS_STRCAT): Define.
41686 Add strcat and strncat support.
41687 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41688 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41689 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41690 * string/strncat.c: Update.
41691 (USE_AS_STRNCAT): Define.
41692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41693 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41695 * sysdeps/x86_64/multiarch/init-arch.h
41696 (bit_Prefer_PMINUB_for_stringop): New.
41697 (index_Prefer_PMINUB_for_stringop): Likewise.
41698 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41699 bit_Prefer_PMINUB_for_stringop.
41701 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41703 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41705 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41706 of casting of buffer.
41707 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41708 buffer32 and buffer64.
41709 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41710 writes instead of casting of buffer.
41711 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41713 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41716 2011-07-19 Andreas Schwab <schwab@redhat.com>
41718 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41720 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41722 * nscd/nscd.c (termination_handler): Don't do anything for a database
41723 if it has not yet been initialized.
41725 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41727 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41729 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41731 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41733 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41735 * po/nl.po: Update from translation team.
41736 * po/sv.po: Likewise.
41738 2011-07-16 Roland McGrath <roland@hack.frob.com>
41740 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41741 now disallowed by GCC.
41743 * configure.in (use-default-link): Default to yes if a test -shared
41744 link meets our qualifications.
41745 * configure: Regenerated.
41747 * config.make.in (output-format): New variable.
41748 * configure.in: Check for ld --print-output-format support.
41749 * configure: Regenerated.
41750 * Makerules ($(common-objpfx)format.lds)
41751 [$(output-format) != unknown]: Just use $(output-format),
41752 instead of the linker-script munging.
41754 2011-07-14 Roland McGrath <roland@hack.frob.com>
41756 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41757 of $(common-objpfx)shlib.lds.
41758 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41760 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41761 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41763 * configure.in (-z relro check): Adjust test code to add a large
41764 writable data section after it.
41765 * configure: Regenerated.
41767 2011-07-11 Roland McGrath <roland@hack.frob.com>
41769 * configure.in (-z relro check): Fix test code to make the variable
41771 * configure: Regenerated.
41773 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41775 * nscd/nscd.h (struct traced_file): Define.
41776 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41777 elements. Add traced_files.
41778 (inotify_fd): Declare.
41779 (register_traced_file): Declare.
41780 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41781 (inotify_fd): Export.
41782 (resolv_conf_descr): Remove.
41783 (nscd_init): Move inotify descriptor creation to main.
41784 Don't register files for notification here.
41785 (register_traced_file): New function.
41786 (invalidate_cache): Don't use reset_res to determine whether to call
41787 res_init, go through the list of registered files.
41788 (main_loop_poll): The inotify descriptors are now stored in the
41789 structures for the traced files.
41790 (main_loop_epoll): Likewise
41791 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41792 to __nss_disable_nscd.
41793 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41794 for a database anymore. Check the records for all the registered
41796 * nss/Makefile (libnss_files-routines): Add files-init.
41797 (libnss_db-routines): Add db-init.
41798 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41799 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41800 * nss/nss_db/db-init.c: New file.
41801 * nss/nss_files/files-init.c: New file.
41802 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41803 __nss_lookup_function.
41804 (__nss_lookup_function): Call nss_load_library.
41805 (nss_load_all_libraries): New function.
41806 (__nss_disable_nscd): Take parameter with callback function for files
41807 to register. Set is_nscd. Load all the DSOs for the NSS modules
41808 used for the cached services.
41809 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41810 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41811 options for features to all the files in nscd.
41813 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41815 2011-07-10 Roland McGrath <roland@hack.frob.com>
41817 * csu/elf-init.c (__libc_csu_init): Comment typo.
41819 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41821 * po/pl.po: Update from translation team.
41822 * po/ja.po: Likewise.
41823 * po/ru.po: Likewise.
41824 * po/ko.po: Likewise.
41825 * po/fr.po: Likewise.
41827 2011-07-09 Roland McGrath <roland@hack.frob.com>
41829 * configure.in (.ctors/.dtors header and trailer check):
41830 Use an empirical test on a built program.
41831 * configure: Regenerated.
41833 * configure.in (-z relro check): Use an empirical test on a built DSO.
41834 Detect, but do not require, on ia64.
41835 * configure: Regenerated.
41837 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41838 Update tests that use readelf to use $READELF instead.
41839 * configure: Regenerated.
41841 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41843 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41844 if the result is not used.
41846 2011-07-05 Andreas Jaeger <aj@suse.de>
41849 * stdlib/tst-strtod.c: Add testcase.
41851 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41853 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41854 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41855 The latter has a higher limit. Take additional parameter to pass to
41857 (__pathconf): Pass file to __statfs_link_max.
41858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41860 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41864 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41865 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41867 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41868 (__statfs_filesize_max): Likewise.
41869 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41871 2011-07-05 Andreas Jaeger <aj@suse.de>
41873 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41875 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41877 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41879 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41882 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41884 * Makefile (strop-tests): Add strncat.
41885 * string/test-strncat.c: New file.
41887 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41889 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41891 2011-06-21 Andreas Jaeger <aj@suse.de>
41893 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41894 Copy rule from iconvdata/Makefile.
41896 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41899 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41900 but no long options are defined, just return 'W'.
41902 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41905 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41907 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41909 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41911 (innetgr): Likewise.
41913 2011-07-05 Roland McGrath <roland@hack.frob.com>
41915 * config.make.in (install_root): Default to $(DESTDIR).
41917 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41919 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41921 2011-07-02 Roland McGrath <roland@hack.frob.com>
41923 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41925 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41926 containing directory rather than embedding absolute directory names.
41928 * scripts/check-local-headers.sh: Rewritten using awk.
41929 Match by word, not by line. Print error messages for matches.
41930 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41932 * Makerules [shlib-lds-flags empty]:
41933 ($(common-objpfx)libc_pic.opts): New target.
41934 ($(common-objpfx)libc_pic.os.clean): New target.
41935 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41937 * config.make.in (OBJCOPY): New variable.
41938 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41939 * configure: Regenerated.
41941 * config.make.in (use-default-link): New variable.
41942 * configure.in (use_default_link): Grok --with-default-link to set it.
41943 * configure: Regenerated.
41944 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41945 (shlib-lds, shlib-lds-flags): Define to empty.
41947 * Makerules (shlib-lds): New variable.
41948 (shlib-lds-flags): New variable.
41949 (build-shlib, build-moduile, build-module-asneeded): Use it.
41950 ($(common-objpfx)libc.so): Use $(shlib-lds).
41951 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41952 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41954 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41955 DT_FLAGS/DT_FLAGS_1 with zero flags.
41957 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41958 linker script munging.
41960 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41962 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41964 * crypt/sha512.c (sha512_process_block): Perform total addition using
41965 128-bit if possible.
41966 (__sha512_finish_ctx): Likewise.
41967 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41969 * crypt/sha256.c (SWAP64): Define.
41970 (sha256_process_block): Perform total addition using 64-bit if
41972 (__sha256_finish_ctx): Likewise.
41974 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41976 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41977 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41978 * nscd/hstcache.c (cache_addhst): Likewise.
41979 * nscd/grpcache.c (cache_addgr): Likewise.
41980 * nscd/aicache.c (addhstaiX): Likewise
41981 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41983 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41985 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
41991 2011-07-01 Andreas Schwab <schwab@redhat.com>
41993 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41994 domain only when needed.
41996 2011-06-30 Andreas Schwab <schwab@redhat.com>
41998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41999 is always restored.
42001 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42003 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42004 are re-adding the entry.
42005 * nscd/servicescache.c (cache_addserv): Likewise.
42007 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42009 * sysdeps/generic/dl-irel.h: fix protection against multiple
42011 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42013 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42016 * malloc/memusage.sh: Fix quoting in message.
42017 * debug/xtrace.sh: Likewise.
42019 * configure.in: Remove support for --experimental-malloc option, make
42021 * config.make.in: Likewise.
42022 * malloc/Makefile: Likewise.
42024 2011-06-27 Andreas Schwab <schwab@redhat.com>
42026 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42027 two-byte characters.
42029 2011-06-27 Roland McGrath <roland@hack.frob.com>
42031 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42032 AC_CACHE_CHECK invocation.
42033 * configure: Regenerated.
42035 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42037 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42040 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42041 bit from old_res_options.
42043 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42045 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42046 value type for setfct.
42048 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42050 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42051 __gettimeofday instead of gettimeofday.
42053 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42055 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42057 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42059 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42064 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42067 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42068 strcpy-sse2-unaligned strncpy-sse2-unaligned
42069 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42070 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42071 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42072 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42073 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42074 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42076 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42077 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42078 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42079 (STRCPY): Support SSE2 and SSSE3 versions.
42081 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42084 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42085 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42086 kernels which artificially limit size of requests.
42088 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42091 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42092 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42093 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42094 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42095 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42096 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42097 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42098 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42099 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42100 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42101 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42102 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42103 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42104 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42106 Enable unaligned load optimization for Intel Core i3, i5 and i7
42108 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42110 (index_Fast_Unaligned_Load): Define.
42111 (HAS_FAST_UNALIGNED_LOAD): Define.
42113 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42115 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42117 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42121 until it is clear that the information is realy needed.
42122 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42124 2011-06-22 Andreas Schwab <schwab@redhat.com>
42126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42128 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42131 /sys/devices/system/cpu/online if it is usable.
42133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42134 reading the information from the /proc filesystem to once a second.
42136 2011-06-21 Andreas Jaeger <aj@suse.de>
42138 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42139 NULL after inclusion of kernel headers.
42141 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42143 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42144 calls to internal_setent.
42147 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42148 addresses using gethostbyname4_r ignore IPv4 addresses.
42150 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42151 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42153 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42155 2011-06-20 David S. Miller <davem@davemloft.net>
42157 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42159 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42161 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42162 (elf_irel): Use it.
42163 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42164 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42165 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42166 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42167 * sysdeps/x86_64/dl-irel.h: Likewise.
42169 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42170 * elf/dl-sym.c: Likewise.
42172 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42174 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42175 need to dereference resplen2.
42177 2011-06-14 Andreas Schwab <schwab@redhat.com>
42179 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42181 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42183 * Makeconfig: Define vardbdir and inst_vardbdir.
42184 * nss/Makefile: Add rules to install db-Makefile.
42186 * nss/nss_db/db-XXX.c: Cleanup.
42188 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42189 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42191 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42192 * nss/makedb.c: Implement -g option to specify that value strings
42193 are generated and should not be added to table iterated over for
42195 * nss/nss_db/db-initgroups.c: New file.
42197 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42200 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42201 (internal_getgrouplist): Adjust to name change.
42202 Update use_initgroups_entry if this is not the first call.
42203 * nss/databases.def: Add initgroups entry.
42205 * nss/makedb.c (compute_tables): Check result of multiple hash table
42206 sizes to minimize maximum chain length.
42208 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42210 * Versions.def: Add entry for libnss_db.
42211 * shlib-versions: Likewise.
42212 * nss/Makefile: Add rules to build libnss_db.
42213 * nss/Versions: Add libnss_db information. Organize libnss_files
42215 * nss/db-Makefile: Add gshadow support. Change rules for the new
42216 makedb progra. Some minor improvements to generate smaller files.
42217 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42219 * nss/makedb.c: ...here.
42220 Improve database format to be smaller and require less memory at
42222 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42224 * nss/nss_db/db-netgrp.c: Likewise.
42225 * nss/nss_db/db-open.c: Likewise.
42226 * nss/nss_files/flies-XXX.x: Adjust comments.
42227 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42228 * nss/nss_files/files-grp.c: Likewise.
42229 * nss/nss_files/files-hosts.c: Likewise.
42230 * nss/nss_files/files-network.c: Likewise.
42231 * nss/nss_files/files-proto.c: Likewise.
42232 * nss/nss_files/files-pwd.c: Likewise.
42233 * nss/nss_files/files-rpc.c: Likewise.
42234 * nss/nss_files/files-service.c: Likewise.
42235 * nss/nss_files/files-sgrp.c: Likewise.
42236 * nss/nss_files/files-spwd.c: Likewise.
42237 * nss/nss_db/db-alias.c: Removed.
42238 * nss/nss_db/dummy-db.h: Removed.
42240 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42242 * nss/makedb.c: Rewritten to not use database library.
42243 * nss/Makefile: Update to build new makedb program.
42245 2011-06-14 Andreas Jaeger <aj@suse.de>
42247 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42248 memset declaration.
42250 2011-06-10 Andreas Schwab <schwab@redhat.com>
42252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42255 2011-06-10 Roland McGrath <roland@hack.frob.com>
42257 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42258 * elf/Makefile ($(objpfx)ld.so): Likewise.
42260 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42261 Don't list ld.so twice in dependencies.
42263 * posix/bug-regex31.c: Include <stdlib.h>.
42265 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42267 * nis/nss_compat/compat-spwd.c
42268 (getspent_next_nss_netgr): Remove unused variable.
42269 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42271 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42272 nonmembers" output to use the right array.
42274 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42276 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42278 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42279 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42280 * catgets/gencat.c (read_input_file): Likewise.
42281 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42283 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42284 variable definition inside #if's controlling its use.
42286 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42288 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42290 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42292 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42295 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42297 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42298 * configure: Regenerated.
42300 * Makerules: Revert last change.
42301 * elf/Makefile: Likewise.
42303 2011-06-09 Roland McGrath <roland@hack.frob.com>
42305 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42306 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42307 (reloc-link): Likewise.
42309 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42311 * elf/Makefile: Add rules to build pldd.
42312 * elf/pldd.c: New file.
42313 * elf/pldd-xx.c: New file.
42315 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42317 * version.h: Update for 2.15 development version.
42319 2011-06-07 David S. Miller <davem@davemloft.net>
42321 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42323 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42324 elf_machine_lazy_rel): Likewise.
42325 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42327 elf_machine_lazy_rel): Likewise.
42328 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42329 dl_hwcap via passed in argument.
42330 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42333 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42335 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42337 2011-06-06 Roland McGrath <roland@hack.frob.com>
42340 * manual/fdl-1.1.texi: New file, verbatim from:
42341 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42342 * manual/lgpl-2.1.texi: New file, verbatim from:
42343 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42344 * manual/Makefile (licenses): New variable, list those new file names.
42346 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42348 * manual/fdl.texi: File removed.
42349 * manual/lesser.texi: File removed.
42350 * manual/libc.texinfo (Copying, Documentation License):
42351 Use new @include file names, put @appendix directive before @include.
42353 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42356 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42357 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42358 (mq_open): Add __NTH.
42360 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42363 Assume Intel Core i3/i5/i7 processor if AVX is available.
42365 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42370 2011-05-31 Andreas Schwab <schwab@redhat.com>
42372 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42373 memory. Use alloca_account. Fix memory leak when retrying.
42375 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42377 * version.h (RELEASE): Bump for 2.14 release.
42378 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42380 * config.make.in (RANLIB): Remove entry.
42382 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42384 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42385 (libc.pot): Work around missing support for .ksh extension in xgettext.
42388 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42389 if both request failed.
42390 (send_dg): In case of server errors clear resplen or *resplen2.
42393 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42394 when there are multiple maps.
42395 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42396 (_dl_fini): Remove test here.
42398 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42400 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42403 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42404 bit from old_res_options.
42405 (gaih_inet): Likewise.
42408 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42411 * resolv/res_init.c (res_setoptions): Make the code more compact.
42414 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42418 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42420 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42423 * malloc/malloc.h: Declare malloc hook variables as volatile.
42425 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42429 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42430 raise in the comment.
42431 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42432 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42433 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42435 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42438 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42439 grow the buffers more if it already has to be sufficient.
42440 (build_wcs_upper_buffer): Likewise.
42441 * posix/regexec.c (check_matching): Likewise.
42442 (clean_state_log_if_needed): Likewise.
42443 (extend_buffers): Don't enlarge buffers beyond size of the input
42445 Patches mostly by Emil Wojak <emil@wojak.eu>.
42446 * posix/bug-regex32.c: New file.
42447 * posix/Makefile (tests): Add bug-regex32.
42449 * locale/findlocale.c (_nl_find_locale): Return right away if
42450 _nl_explode_name failed.
42451 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42453 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42455 * debug/xtrace.sh: Unify messages.
42456 * malloc/memusage.sh: Likewise.
42459 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42460 time symbol from vDSO. Substitute with vsyscall if not available.
42461 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42464 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42465 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42466 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42467 Add sendmmsg and internal_sendmmsg.
42468 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42469 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42470 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42472 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42473 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42476 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42479 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42480 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42486 * iconvdata/Makefile (tests): Add bug-iconv9.
42487 * iconvdata/bug-iconv9.c: New file.
42489 2011-05-27 Andreas Schwab <schwab@redhat.com>
42492 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42494 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42496 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42497 (struct user_regs_struct): Change intcs field back to cs.
42499 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42501 * po/ja.po: Update from translation team.
42503 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42506 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42507 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42509 2011-05-20 Andreas Schwab <schwab@redhat.com>
42511 * stdlib/longlong.h: Update from GCC.
42513 2011-05-23 Andreas Schwab <schwab@redhat.com>
42515 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42517 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42518 Add parameter name.
42519 (__sysconf): Pass it down.
42521 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42524 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42526 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42527 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42528 add in in __libc_use_alloca calls. Adjust callers.
42529 (glob): Use malloc in some situations.
42531 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42532 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42535 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42537 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42538 and CLOCK_BOOTTIME_ALARM.
42541 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42544 * string/_strerror.c (__strerror_r): Print negative errors as signed
42548 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42549 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42550 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42552 * configure.in: Fix typo in redirection and correct removal of test
42553 files in two cases.
42556 * locale/setlocale.c (new_composite_name): Fix test to check for
42557 identical name of all categories.
42560 * libio/filedoalloc.c (local_isatty): New function.
42561 (_IO_file_doallocate): Use local_isatty.
42562 * stdio-common/perror.c (perror): In case a new stream is used
42563 forward the stream error.
42564 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42567 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42572 * include/alloca.h (extend_alloca_account): Define.
42575 * posix/regex.h: Fix comments with documentation of user-accessible
42576 fields after compilation and describe correct free'ing of pattern
42577 after re_compile_pattern.
42578 Patch by Reuben Thomas <rrt@sc3d.org>.
42580 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42582 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42583 and -mno-altivec to prevent the compiler from using Altivec and/or
42584 VSX instructions when the corresponding registers are not available.
42586 2011-05-19 Andreas Schwab <schwab@redhat.com>
42588 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42590 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42592 * libio/freopen.c (freopen): Use __dup2, not dup2.
42593 * libio/freopen64.c (freopen64): Likewise.
42595 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42598 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42599 * math/Makefile (tests): Add test-powl.
42600 (CFLAGS-test-powl.c): Define.
42601 * math/test-powl.c: New file.
42603 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42605 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42607 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42610 * iconvdata/gb18030.c: Update to GB18020-2005.
42612 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42614 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42615 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42616 Patch by Aharon Robbins <arnold@skeeve.com>.
42619 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42623 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42624 through underflows.
42627 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42628 point to strings before performing equality test for error_one_per_line
42632 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42636 (struct user_fpregs_struct): Avoid __uint*_t types.
42639 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42640 symbol info. Use it instead of calling _dl_addr locally.
42641 (lock_and_info): New function.
42642 (tr_freehook): Call lock_and_info and pass symbol info as additional
42643 parameter to tr_where.
42644 (tr_mallochook): Likewise.
42645 (tr_reallochook): Likewise.
42646 (tr_memalignhook): Likewise.
42648 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42649 used and couldn't be at all thread-safe.
42651 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42653 * libio/freopen.c (freopen): Don't close old file descriptor
42654 before the new one is opened. Instead dup the new file descriptor
42655 to the old one after the new stream is created.
42656 * libio/freopen64.c (freopen64): Likewise.
42657 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42658 * libio/fileops.c (_IO_new_file_close_it): Handle new
42659 _IO_FLAGS2_NOCLOSE flag.
42660 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42661 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42662 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42663 _IO_FLAGS2_NOCLOSE flag.
42664 * include/unistd.h: Add hidden_proto for dup3.
42665 Define __have_dup3.
42666 * io/dup3.c: Define hidden symbol.
42667 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42670 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42671 when an incomplete long option is used.
42672 * posix/tst-getopt_long1.c: New file.
42673 * posix/Makefile (tests): Add tst-getopt_long1.
42676 * scripts/config.guess: Update from autoconf-2.68.
42677 * scripts/config.sub: Likewise.
42680 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42682 (has_cpuclock): ...this. New function.
42683 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42684 macro here based on has_cpuclock code.
42687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42688 First byte (not low byte) is now always NUL.
42689 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42692 Use non-cancelable interfaces.
42695 * locale/iso-639.def: Add entry for Sorani.
42698 * include/stdlib.h: Move include protection to the right place.
42699 Define abort_msg_s. Declare __abort_msg with it.
42700 * stdlib/abort.c (__abort_msg): Adjust type.
42701 * assert/assert.c (__assert_fail_base): New function. Majority
42702 of code from __assert_fail. Allocate memory for __abort_msg with
42704 (__assert_fail): Now call __assert_fail_base.
42705 * assert/assert-perr.c: Remove bulk of implementation. Use
42706 __assert_fail_base.
42707 * include/assert.hL Declare __assert_fail_base.
42708 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42710 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42712 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42716 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42717 until all modules are registered in the DTV.
42718 * elf/Makefile: Add rules to build and run tst-tls19.
42719 * elf/tst-tls19.c: New file.
42720 * elf/tst-tls19mod1.c: New file.
42721 * elf/tst-tls19mod2.c: New file.
42722 * elf/tst-tls19mod3.c: New file.
42723 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42726 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42730 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42731 two-byte sequence errors.
42732 * iconvdata/Makefile (tests): Add bug-iconv8.
42733 * iconvdata/bug-iconv8.c: New file.
42736 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42739 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42742 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42743 (dummy_getcfa): New function.
42744 (init): Get _Unwind_GetCFA address, use dummy if not found.
42745 (backtrace_helper): In recursion check, also check whether CFA changes.
42746 (__backtrace): Completely initialize arg.
42748 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42749 storing incomplete byte sequence in state object. Avoid testing for
42750 guaranteed too small input if we know there is enough data available.
42752 2011-05-11 Andreas Schwab <schwab@redhat.com>
42754 * Makeconfig (+link-pie): Indent.
42755 * Rules (binaries-pie): Define if $(have-fpie) and
42757 (binaries-shared): Also filter out $(binaries-pie).
42758 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42759 * nscd/Makefile (others-pie): Add nscd.
42760 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42761 ($(objpfx)nscd): Remove command override.
42762 * login/Makefile (others-pie): Add pt_chown.
42763 ($(objpfx)pt_chown): Remove command override.
42764 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42765 remove command overrides.
42767 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42769 * libio/tst_putwc.c: Fix error messages.
42772 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42773 currently writing and seek to current position when not.
42774 * libio/Makefile (tests): Add bug-fclose1.
42775 * libio/bug-fclose1.c: New file.
42777 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42780 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42781 don't set DF_1_NODELETE here.
42782 (do_lookup_x): When entering new entry test for copy relocation
42783 and if necessary set DF_1_NODELETE flag.
42784 * elf/tst-unique4.cc: New file.
42785 * elf/tst-unique4.h: New file.
42786 * elf/tst-unique4lib.cc: New file.
42787 * elf/Makefile: Add rules to build and run tst-unique4.
42788 Patch by Piotr Bury <pbury@goahead.com>.
42790 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42793 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42796 * misc/mntent_r.c (addmntent): Flush the stream after the output
42799 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42800 (is_trusted_path_normalize): Skip initial colon. Append slash
42801 to empty buffer. Duplicate is_trusted_path code but allow
42802 constructed patch to be prefix.
42803 (is_dst): Allow $ORIGIN followed by /.
42804 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42805 Correct testing of result of is_trusted_path_normalize
42806 (decompose_rpath): Fix warning.
42808 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42811 * grp/initgroups.c (internal_getgrouplist): When we found the service
42812 list through the initgroups entry in nsswitch.conf do not always
42813 continue on a successful lookup. Don't always use the
42814 __nss_group_database value if it is set.
42815 * nss/nsswitch.conf (initgroups): Change action for successful db
42816 lookup to continue for compatibility.
42818 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42821 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42823 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42825 * iconvdata/tst-tables.sh: Likewise.
42826 * iconvdata/cp770.c: New file.
42827 * iconvdata/cp771.c: New file.
42828 * iconvdata/cp772.c: New file.
42829 * iconvdata/cp773.c: New file.
42830 * iconvdata/cp774.c: New file.
42831 * iconvdata/testdata/CP770: New file.
42832 * iconvdata/testdata/CP770..UTF8: New file.
42833 * iconvdata/testdata/CP771: New file.
42834 * iconvdata/testdata/CP771..UTF8: New file.
42835 * iconvdata/testdata/CP772: New file.
42836 * iconvdata/testdata/CP772..UTF8: New file.
42837 * iconvdata/testdata/CP773: New file.
42838 * iconvdata/testdata/CP773..UTF8: New file.
42839 * iconvdata/testdata/CP774: New file.
42840 * iconvdata/testdata/CP774..UTF8: New file.
42842 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42844 * iconvdata/gen-8bit-gap.sh: Likewise.
42845 * iconvdata/gen-8bit.sh: Likewise.
42847 * locale/iso-639.def: Add ary entry.
42850 * locale/C-translit.h.in: Add U20A1 transliteration.
42853 * locale/iso-639.def: Add wae entry.
42854 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42857 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42861 * locale/C-translit.h.in: Add entry for U20B9.
42862 Patch by pravin.d.s@gmail.com.
42864 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42867 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42868 ENAMETOOLONG use generic getcwd.
42869 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42870 in rtld. Use *stat64.
42871 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42872 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42873 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42874 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42875 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42876 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42877 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42878 __fstatat64 macros.
42879 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42880 * dirent/rewinddir.c: Add libc_hidden_def.
42881 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42882 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42884 * include/dirent.h (__alloc_dir): Add flags parameter.
42885 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42886 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42888 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42889 from fdopendir if O_CLOEXEC is already set.
42891 2011-03-15 Alan Modra <amodra@gmail.com>
42893 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42894 l_tls_firstbyte_offset non-zero. Save padding offset in
42895 l_tls_firstbyte_offset for later use.
42896 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42897 freeing static tls block.
42899 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42901 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42902 where #ifdef was intended. The intent is to prevent ARG_MAX from
42903 being defined by the kernel headers.
42905 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42908 * resolv/resolv.h: Define RES_NOTLDQUERY.
42909 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42910 no-tld-query and set RES_NOTLDQUERY.
42911 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42912 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42913 modern BIND to search name as TLD unless forbidden.
42915 2011-05-07 Petr Baudis <pasky@suse.cz>
42916 Ulrich Drepper <drepper@gmail.com>
42919 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42920 (is_trusted_path): ...to here.
42921 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42922 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42923 using is_trusted_path_normalize() in setuid scripts.
42925 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42927 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42928 __BEGIN/__END_DECLS.
42930 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42932 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42933 NSS_STATUS_NOTFOUND if no record was found.
42935 2011-05-05 Andreas Schwab <schwab@redhat.com>
42937 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42938 (headers-not-in-tirpc): Remove rpc/netdb.h
42939 * resolv/netdb.h: Revert last change.
42941 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42943 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42944 circular dependency between libgcc.a and libc.a.
42946 2011-05-05 Andreas Schwab <schwab@redhat.com>
42948 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42949 * nis/Makefile: Don't install rpcsvc/*.
42950 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42951 instead of <rpc/types.h>.
42952 (MAXHOSTNAMELEN): Define.
42954 2011-05-03 Andreas Schwab <schwab@redhat.com>
42956 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42958 2011-04-28 Maciej Babinski <mbabinski@google.com>
42961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42962 gethostbyname4_r when IPv6 results are possible.
42964 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42967 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42968 _PC_PIPE_BUF handling.
42970 2011-04-30 Bruno Haible <bruno@clisp.org>
42973 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42974 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42976 * inet/getnameinfo.c (getnameinfo): Likewise.
42978 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42980 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42981 to groups setting in database lookup.
42982 * nss/nsswitch.conf: Add initgroups entry.
42984 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42987 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42989 Patch by Eric Blake <eblake@redhat.com>.
42991 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42993 * sunrpc/Makefile (need-export-routines): Add svc_run.
42994 (routines): Remove svc_run.
42995 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42996 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42997 * sunrpc/svc_run.c (svc_run): Likewise.
42998 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43000 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43002 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43003 problem in reallocation in last patch.
43005 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43007 * sunrpc/Makefile: Move inclusion of Rules.
43009 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43011 * nss/nss_files/files-initgroups.c: New file.
43012 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43013 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43014 _nss_files_initgroups_dyn.
43016 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43018 * elf/elf.h (R_ARM_IRELATIVE): Define.
43020 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43022 * po/ru.po: Update from translation team.
43024 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43026 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43029 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43032 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43033 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43034 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43038 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43040 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43042 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43043 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43044 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43046 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43049 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43051 * stdlib/bug-getcontext.c: New file.
43052 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43054 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43056 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43057 instructions into .machine "z9-109".
43058 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43059 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43061 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43063 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43064 between environment variables and auxiliary vector.
43066 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43068 * Makefile: Add rules to build linkobj/libc.so.
43069 * include/libc-symbols.h: Define libc_hidden_nolink.
43070 * include/rpc/auth.h: Mark functions which are to be hidden.
43071 * include/rpc/auth_des.h: Likewise.
43072 * include/rpc/auth_unix.h: Likewise.
43073 * include/rpc/clnt.h: Likewise.
43074 * include/rpc/des_crypt.h: Likewise.
43075 * include/rpc/key_prot.h: Likewise.
43076 * include/rpc/pmap_clnt.h: Likewise.
43077 * include/rpc/pmap_prot.h: Likewise.
43078 * include/rpc/pmap_rmt.h: Likewise.
43079 * include/rpc/rpc_msg.h: Likewise.
43080 * include/rpc/svc.h: Likewise.
43081 * include/rpc/svc_auth.h: Likewise.
43082 * include/rpc/xdr.h: Likewise.
43083 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43084 * nss/Makefile: Likewise.
43085 * sunrpc/Makefile: Don't install headers. Build library with normal
43086 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43087 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43088 for the compat linking library. Remove use of INTDEF/INTUSE.
43089 * sunrpc/auth_none.c: Likewise.
43090 * sunrpc/auth_unix.c: Likewise.
43091 * sunrpc/authdes_prot.c: Likewise.
43092 * sunrpc/authuxprot.c: Likewise.
43093 * sunrpc/clnt_gen.c: Likewise.
43094 * sunrpc/clnt_perr.c: Likewise.
43095 * sunrpc/clnt_raw.c: Likewise.
43096 * sunrpc/clnt_simp.c: Likewise.
43097 * sunrpc/clnt_tcp.c: Likewise.
43098 * sunrpc/clnt_udp.c: Likewise.
43099 * sunrpc/clnt_unix.c: Likewise.
43100 * sunrpc/des_crypt.c: Likewise.
43101 * sunrpc/des_soft.c: Likewise.
43102 * sunrpc/get_myaddr.c: Likewise.
43103 * sunrpc/key_call.c: Likewise.
43104 * sunrpc/key_prot.c: Likewise.
43105 * sunrpc/netname.c: Likewise.
43106 * sunrpc/pm_getmaps.c: Likewise.
43107 * sunrpc/pm_getport.c: Likewise.
43108 * sunrpc/pmap_clnt.c: Likewise.
43109 * sunrpc/pmap_prot.c: Likewise.
43110 * sunrpc/pmap_prot2.c: Likewise.
43111 * sunrpc/pmap_rmt.c: Likewise.
43112 * sunrpc/publickey.c: Likewise.
43113 * sunrpc/rpc_cmsg.c: Likewise.
43114 * sunrpc/rpc_common.c: Likewise.
43115 * sunrpc/rpc_dtable.c: Likewise.
43116 * sunrpc/rpc_prot.c: Likewise.
43117 * sunrpc/rpc_thread.c: Likewise.
43118 * sunrpc/rtime.c: Likewise.
43119 * sunrpc/svc.c: Likewise.
43120 * sunrpc/svc_auth.c: Likewise.
43121 * sunrpc/svc_authux.c: Likewise.
43122 * sunrpc/svc_raw.c: Likewise.
43123 * sunrpc/svc_run.c: Likewise.
43124 * sunrpc/svc_simple.c: Likewise.
43125 * sunrpc/svc_tcp.c: Likewise.
43126 * sunrpc/svc_udp.c: Likewise.
43127 * sunrpc/svc_unix.c: Likewise.
43128 * sunrpc/svcauth_des.c: Likewise.
43129 * sunrpc/xcrypt.c: Likewise.
43130 * sunrpc/xdr.c: Likewise.
43131 * sunrpc/xdr_array.c: Likewise.
43132 * sunrpc/xdr_float.c: Likewise.
43133 * sunrpc/xdr_intXX_t.c: Likewise.
43134 * sunrpc/xdr_mem.c: Likewise.
43135 * sunrpc/xdr_rec.c: Likewise.
43136 * sunrpc/xdr_ref.c: Likewise.
43137 * sunrpc/xdr_sizeof.c: Likewise.
43138 * sunrpc/xdr_stdio.c: Likewise.
43140 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43143 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43144 * sysdeps/ia64/dl-tls.h: Likewise.
43145 * sysdeps/powerpc/dl-tls.h: Likewise.
43146 * sysdeps/s390/dl-tls.h: Likewise.
43147 * sysdeps/sh/dl-tls.h: Likewise.
43148 * sysdeps/sparc/dl-tls.h: Likewise.
43149 * sysdeps/x86_64/dl-tls.h: Likewise.
43150 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43152 2011-03-14 Andreas Schwab <schwab@redhat.com>
43154 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43155 rpath element also skip the following colon.
43156 (expand_dynamic_string_token): Add is_path parameter and pass
43157 down to DL_DST_REQUIRED and _dl_dst_substitute.
43158 (decompose_rpath): Call expand_dynamic_string_token with
43159 non-zero is_path. Ignore empty rpaths.
43160 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43163 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43168 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43171 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43172 Patch by Filipe David Manana <fdmanana@apache.org>.
43174 2011-04-07 Andreas Schwab <schwab@redhat.com>
43176 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43177 Maintain aligned stack.
43178 (CHECK_RSP): Remove unused macro.
43180 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43182 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43183 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43185 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43187 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43189 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43191 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43194 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43195 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43196 * sysdeps/x86_64/memmove.c: New file.
43197 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43198 (memcpy): Renamed to ...
43199 (__new_memcpy): This.
43200 (memcpy): Provide GLIBC_2_14 memcpy.
43201 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43202 (memcpy): Provide GLIBC_2_2_5 memcpy.
43204 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43207 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43209 2011-03-30 Andreas Schwab <schwab@redhat.com>
43211 * misc/syncfs.c: New file.
43212 * misc/Makefile (routines): Add syncfs.
43213 * posix/unistd.h: Declare syncfs.
43214 * sysdeps/unix/syscalls.list: Add syncfs.
43216 2011-04-01 Andreas Schwab <schwab@redhat.com>
43218 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43225 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43228 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43231 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43232 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43238 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43239 sync_file_range.c with -fexceptions.
43240 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43241 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43242 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43243 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43244 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43245 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43246 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43247 sync_file_range as cancellation point
43248 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43249 now a wrapper around __call_sync_file_range with cancellation handling.
43250 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43251 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43252 function name to __call_sync_file_range.
43253 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43254 Add call_sync_file_range.
43256 2011-04-01 Andreas Schwab <schwab@redhat.com>
43258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43261 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43263 * iconv/iconv.h: Fix typo in comment.
43264 * io/fcntl.h: Likewise.
43265 * libio/stdio.h: Likewise.
43266 * posix/spawn.h: Likewise.
43267 * posix/unistd.h: Likewise.
43268 * stdlib/stdlib.h: Likewise.
43269 * time/time.h: Likewise.
43270 * wcsmbs/wchar.h: Likewise.
43272 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43273 open_by_handle): Add.
43274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43275 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43276 Augment a few comments.
43277 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43282 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43285 * io/fcntl.h (AT_EMPTY_PATH): Define.
43287 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43289 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43290 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43291 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43293 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43294 * Versions.def: Add GLIBC_2.14.
43295 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43298 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43300 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43302 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43304 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43307 * string/test-strncmp.c (do_page_test): New function.
43308 (check2): Likewise.
43309 (test_main): Call check2.
43310 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43312 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43315 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43316 Handle cache information in CPU leaf 4.
43317 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43319 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43322 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43323 character representation.
43324 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43326 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43328 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43329 END(__isnan) to END(__isnanf) to match function entry point/label
43330 EALIGN(__isnanf,...).
43332 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43334 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43336 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43339 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43340 copy from the symbol referenced in the relocation to initialize the
43342 Patch by Piotr Bury <pbury@goahead.com>.
43343 * elf/Makefile: Add rules to build and tst-unique3.
43344 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43345 * elf/tst-unique3.cc: New file.
43346 * elf/tst-unique3.h: New file.
43347 * elf/tst-unique3lib.cc: New file.
43348 * elf/tst-unique3lib2.cc: New file.
43350 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43352 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43354 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43355 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43358 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43360 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43361 to-be-loaded object along a path to loader is ld.so.
43363 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43364 Ulrich Drepper <drepper@gmail.com>
43366 * sysdeps/x86_64/memset.S: After aligning destination, code
43367 branches to different locations depending on the value of
43368 misalignment, when multiarch is enabled. Fix this.
43370 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43372 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43373 Set _x86_64_preferred_memory_instruction for AMD processsors.
43374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43375 Set bit_Prefer_SSE_for_memop for AMD processors.
43377 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43379 * libio/fmemopen.c (fmemopen): Optimize a bit.
43381 2011-03-03 Andreas Schwab <schwab@redhat.com>
43383 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43385 2011-03-03 Roland McGrath <roland@redhat.com>
43387 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43389 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43391 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43392 __bzero_ultra1 instead of __memset_ultra1.
43394 2011-02-23 Andreas Schwab <schwab@redhat.com>
43395 Ulrich Drepper <drepper@gmail.com>
43398 * include/link.h (struct link_map): Add l_orig_initfini.
43399 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43400 returning unsuccessfully.
43401 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43402 close of a file loaded at startup, restore the original l_initfini
43404 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43405 list, store the pointer.
43406 * elf/Makefile ($(objpfx)noload-mem): New rule.
43407 (noload-ENV): Define.
43408 (tests): Add $(objpfx)noload-mem.
43409 * elf/noload.c: Include <memcheck.h>.
43410 (main): Call mtrace. Close all opened handles.
43412 2011-02-17 Andreas Schwab <schwab@redhat.com>
43415 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43416 dependencies are missing.
43418 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43420 Fix __if_freereq crash: Unlike the generic version which uses free,
43422 * sysdeps/mach/hurd/ifreq.h: New file.
43424 2011-01-27 Petr Baudis <pasky@suse.cz>
43425 Ulrich Drepper <drepper@gmail.com>
43428 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43429 to extend_alloca().
43430 * stdio-common/bug23.c: New file.
43431 * stdio-common/Makefile (tests): Add bug23.
43433 2010-09-28 Andreas Schwab <schwab@redhat.com>
43434 Ulrich Drepper <drepper@gmail.com>
43437 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43438 before performing relro protection. At old place add assertion
43439 to make sure nothing changed.
43441 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43442 Glauber de Oliveira Costa <glommer@gmail.com>
43444 * elf/elf.h: Add new ARM TLS relocs.
43446 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43449 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43451 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43453 * sysdeps/wordsize-64/tst-writev.c: New file.
43455 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43457 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43458 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43459 insns in _dl_start to prevent a TOC reference before relocs are
43462 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43465 * Makeconfig: Remove RANLIB definition.
43466 * Makerules: Don't use RANLIB.
43467 * aclocal.m4: Remove ranlib test.
43468 * configure.in: No need to check for ranlib.
43469 * elf/rtld-Rules: Don't use RANLIB.
43471 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43473 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43475 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43476 inclusion protection macro.
43478 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43479 SIGRTMIN and SIGRTMAX and print information in that case only when
43480 SIGRTMIN is defined.
43482 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43484 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43485 arginfo fn returning -1.
43487 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43488 and thousands string is zero terminated.
43490 2011-02-03 Andreas Schwab <schwab@redhat.com>
43492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43493 sysdeps/unix/sysv/linux/bits/socket.h.
43495 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43497 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43498 (__CPU_COUNT): Remove old macros.
43499 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43500 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43501 (__CPU_ALLOC, __CPU_FREE): Add macros.
43502 (__sched_cpualloc, __sched_cpufree): Add declarations.
43504 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43506 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43507 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43508 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43509 (readdhstai): Return value of addhstaiX call.
43510 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43511 (addgrbyX): Return value returned by cache_addgr.
43512 (readdgrbyname): Return value returned by addgrbyX.
43513 (readdgrbygid): Likewise.
43514 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43515 (addpwbyX): Return value returned by cache_addpw.
43516 (readdpwbyname): Return value returned by addhstbyX.
43517 (readdpwbyuid): Likewise.
43518 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43519 (addservbyX): Return value returned by cache_addserv.
43520 (readdservbyname): Return value returned by addservbyX:
43521 (readdservbyport): Likewise.
43522 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43523 (addhstbyX): Return value returned by cache_addhst.
43524 (readdhstbyname): Return value returned by addhstbyX.
43525 (readdhstbyaddr): Likewise.
43526 (readdhstbynamev6): Likewise.
43527 (readdhstbyaddrv6): Likewise.
43528 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43529 (readdinitgroups): Return value returned by addinitgroupsX.
43530 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43531 (prune_cache): Keep track of timeout value of re-added entries.
43532 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43533 * nscd/nscd.h: Adjust prototypes of readd* functions.
43535 2011-02-04 Roland McGrath <roland@redhat.com>
43537 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43538 (nis_stats): Likewise.
43539 * nis/nis_modify.c (nis_modify): Likewise.
43540 * nis/nis_remove.c (nis_remove): Likewise.
43541 * nis/nis_add.c (nis_add): Likewise.
43543 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43545 * posix/fnmatch_loop.c: Add some consts.
43547 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43549 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43552 * config.make.in (config-cflags-novzeroupper): Define.
43553 * configure.in: Substitute libc_cv_cc_novzeroupper.
43554 * elf/Makefile (AVX-CFLAGS): Define.
43555 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43556 (CFLAGS-tst-auditmod4a.c): Likewise.
43557 (CFLAGS-tst-auditmod4b.c): Likewise.
43558 (CFLAGS-tst-auditmod6b.c): Likewise.
43559 (CFLAGS-tst-auditmod6c.c): Likewise.
43560 (CFLAGS-tst-auditmod7b.c): Likewise.
43561 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43563 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43565 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43566 function to the callback.
43567 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43569 2011-02-02 Andreas Schwab <schwab@redhat.com>
43571 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43574 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43577 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43579 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43581 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43584 * elf/Makefile: Add rules to build and run new test.
43585 * elf/tst-initorder.c: New file.
43586 * elf/tst-initorder.exp: New file.
43587 * elf/tst-initordera1.c: New file.
43588 * elf/tst-initordera2.c: New file.
43589 * elf/tst-initordera3.c: New file.
43590 * elf/tst-initordera4.c: New file.
43591 * elf/tst-initorderb1.c: New file.
43592 * elf/tst-initorderb2.c: New file.
43593 * elf/tst-order-a1.c: New file.
43594 * elf/tst-order-a2.c: New file.
43595 * elf/tst-order-a3.c: New file.
43596 * elf/tst-order-a4.c: New file.
43597 * elf/tst-order-b1.c: New file.
43598 * elf/tst-order-b2.c: New file.
43599 * elf/tst-order-main.c: New file.
43600 New test case by George Gensure <werkt0@gmail.com>.
43602 2010-10-01 Andreas Schwab <schwab@redhat.com>
43604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43605 decoding ACE if AI_CANONIDN.
43607 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43609 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43611 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43613 * version.h (RELEASE): Bump for 2.13 release.
43614 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43616 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43618 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43620 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43621 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43623 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43625 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43627 * posix/getconf.c: Update copyright year.
43628 * catgets/gencat.c: Likewise.
43629 * csu/version.c: Likewise.
43630 * debug/catchsegv.sh: Likewise.
43631 * debug/xtrace.sh: Likewise.
43632 * elf/ldconfig.c: Likewise.
43633 * elf/ldd.bash.in: Likewise.
43634 * elf/sprof.c (print_version): Likewise.
43635 * iconv/iconv_prog.c: Likewise.
43636 * iconv/iconvconfig.c: Likewise.
43637 * locale/programs/locale.c: Likewise.
43638 * locale/programs/localedef.c: Likewise.
43639 * malloc/memusage.sh: Likewise.
43640 * malloc/mtrace.pl: Likewise.
43641 * nscd/nscd.c (print_version): Likewise.
43642 * nss/getent.c: Likewise.
43644 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43645 PF_CAIF, and PF_ALG.
43646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43648 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43650 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43651 (modules-names): Use them.
43652 (ifunc-test-modules, ifunc-pie-tests): Define.
43653 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43654 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43655 (test-extras): Likewise.
43656 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43657 $(compile-command.c).
43658 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43659 (all-built-dso): Define.
43660 (check-textrel.out, check-execstack.out): Depend on it.
43662 * configure.in: Don't override --enable-multi-arch.
43664 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43667 * nscd/hstcache.c (tryagain): Define.
43668 (cache_addhst): Return tryagain not notfound for temporary errors.
43669 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43672 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43675 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43676 to make the syscall.
43677 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43680 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43681 and fall back to matching as normal character if the string ends before
43682 the matching ']' is found. This is what POSIX requires.
43683 * posix/testfnm.c: Adjust test result.
43684 * posix/globtest.sh: Adjust test result. Add new test.
43685 * posix/tst-fnmatch.input: Likewise.
43686 * posix/tst-fnmatch2.c: Add new test.
43688 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43690 * elf/Makefile (check-execstack): Revert last change. Depend on
43692 (check-execstack.h): New target.
43693 (generated): Add check-execstack.h.
43694 * elf/check-execstack.c: Include "check-execstack.h".
43695 (main): Revert last change.
43696 (handle_file): Return zero if GNU_STACK is absent and
43697 DEFAULT_STACK_PERMS doesn't include PF_X.
43699 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43701 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43702 in child fails because the descriptor is already closed.
43703 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43704 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43705 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43708 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43712 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43713 temporary buffer used to handle multi lookups locally.
43714 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43716 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43718 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43721 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43723 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43724 alignment for SSE2.
43726 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43729 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43730 characters. When rounding increased number of integer digits recompute
43732 * stdio-common/tst-grouping.c: New file.
43733 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43735 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43737 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43738 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43740 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43742 * bits/select.h: Likewise.
43744 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43746 * po/ja.po: Update from translation team.
43748 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43751 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43752 implementation just like for lxstat, fxstatat, et al.
43754 2010-12-27 Jim Meyering <meyering@redhat.com>
43757 * posix/regexec.c (build_trtable): Return failure indication upon
43758 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43760 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43763 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43764 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43765 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43766 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43769 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43772 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43773 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43775 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43777 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43778 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43779 script has SORT_BY_INIT_PRIORITY.
43780 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43781 NO_CTORS_DTORS_SECTIONS is defined.
43782 * elf/soinit.c: Likewise.
43783 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43784 NO_CTORS_DTORS_SECTIONS is defined.
43785 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43786 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43787 * sysdeps/sh/init-first.c: Likewise.
43788 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43790 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43792 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43793 always use the slow path.
43795 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43797 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43798 similar rule which adds the sysdep directories to the header search in
43799 order to pick up the correct platform stackinfo.h.
43800 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43801 perform test if it is, otherwise return successfully without testing.
43802 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43803 DEFAULT_STACK_PERMS define in stackinfo.h.
43804 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43805 defined in stackinfo.h.
43806 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43807 DEFAULT_STACK_PERMS defined in stackinfo.h.
43808 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43809 * sysdeps/ia64/stackinfo.h: Likewise.
43810 * sysdeps/s390/stackinfo.h: Likewise.
43811 * sysdeps/sh/stackinfo.h: Likewise.
43812 * sysdeps/sparc/stackinfo.h: Likewise.
43813 * sysdeps/x86_64/stackinfo.h: Likewise.
43814 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43815 PF_X for powerpc64. Retain PF_X for powerpc32.
43817 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43819 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43821 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43822 GETDENTS_64BIT_ALIGNED.
43824 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43826 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43828 2010-12-10 Andreas Schwab <schwab@redhat.com>
43830 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43833 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43834 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43836 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43837 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43839 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43842 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43845 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43847 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43849 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43851 * po/it.po: Update from translation team.
43853 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43858 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43860 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43862 2010-11-24 Andreas Schwab <schwab@redhat.com>
43864 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43866 (gaih_getanswer_slice): Likewise.
43868 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43872 2010-05-31 Petr Baudis <pasky@suse.cz>
43875 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43876 silently even in the chroot mode.
43878 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43880 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43881 last patch a bit. Pretty printing
43883 2010-05-31 Petr Baudis <pasky@suse.cz>
43886 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43887 initialization of skip_initgroups_dyn.
43889 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43891 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43892 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43894 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43896 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43898 2010-11-11 Andreas Schwab <schwab@redhat.com>
43900 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43901 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43902 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43903 ($(objpfx)tst-fnmatch-mem): New rule.
43904 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43905 * posix/tst-fnmatch.c (main): Call mtrace.
43907 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43910 Support Intel processor model 6 and model 0x2c.
43912 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43914 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43917 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43920 * string/test-strncasecmp.c (check_result): New function.
43921 (do_one_test): Use it.
43922 (check1): New function.
43923 (test_main): Use it.
43924 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43925 Support strcasecmp and strncasecmp.
43927 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43930 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43931 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43933 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43935 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43939 * sysdeps/x86_64/multiarch/bzero.S: New file.
43940 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43941 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43942 * sysdeps/x86_64/multiarch/memset.S: New file.
43943 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43945 Set bit_Prefer_SSE_for_memop for Intel processors.
43946 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43948 (index_Prefer_SSE_for_memop): Define.
43949 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43951 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43953 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43954 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43956 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43959 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43960 (__x86_64_raw_data_cache_size_half): Likewise.
43961 (__x86_64_raw_shared_cache_size): Likewise.
43962 (__x86_64_raw_shared_cache_size_half): Likewise.
43964 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43965 (__x86_64_raw_data_cache_size_half): Likewise.
43966 (__x86_64_raw_shared_cache_size): Likewise.
43967 (__x86_64_raw_shared_cache_size_half): Likewise.
43968 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43969 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43970 and __x86_64_raw_shared_cache_size_half. Round
43971 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43972 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43973 to multiple of 256 bytes.
43975 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43978 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43979 of inacessible symlinks. Verify result of symlink before returning it.
43980 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43981 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43983 2010-10-28 Erich Ritz <erichritz@gmail.com>
43985 * math/math.h (isinf): Fix typo in comment.
43987 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43989 * po/da.po: Update from translation team.
43991 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43993 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43994 is added to the list.
43996 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43997 Ulrich Drepper <drepper@gmail.com>
43999 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44000 the global list here. Move code to...
44001 (_dl_add_to_namespace_list): ...here. New function.
44002 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44003 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44004 * elf/dl-load.c (lose): Don't remove the element from the list.
44005 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44006 (_dl_map_object): Likewise.
44008 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44011 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44012 into all bytes of SSE register.
44013 Patch by Richard Li <richardpku@gmail.com>.
44015 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44018 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44021 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44023 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44024 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44025 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44026 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44031 2010-10-22 Andreas Schwab <schwab@redhat.com>
44033 * include/dlfcn.h (__RTLD_SECURE): Define.
44034 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44035 mode & __RTLD_SECURE instead.
44036 (open_path): Rename preloaded parameter to secure.
44037 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44038 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44039 * elf/dl-deps.c (openaux): Likewise.
44040 * elf/rtld.c (struct map_args): Remove is_preloaded.
44041 (map_doit): Don't use it.
44042 (dl_main): Likewise.
44043 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44044 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44046 2010-09-09 Andreas Schwab <schwab@redhat.com>
44048 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44049 (sysd-rules-targets): Remove duplicates.
44050 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44051 rtld-%.$o dependency.
44053 2010-10-18 Andreas Schwab <schwab@redhat.com>
44055 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44056 _dl_map_object do it.
44058 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44060 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44061 fast fma builtins, define the macros in the C99 standard.
44062 (FP_FAST_FMAF): Likewise.
44063 (FP_FAST_FMAL): Likewise.
44064 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44066 * bits/mathdef.h: Update copyright year.
44067 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44069 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44071 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44072 builtins, define the macros in the C99 standard.
44073 (FP_FAST_FMAF): Likewise.
44074 (FP_FAST_FMAL): Likewise.
44075 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44077 (FP_FAST_FMAF): Likewise.
44079 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44082 * math/libm-test.inc (fma_test): Some new testcases.
44083 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44084 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44085 y and infinite z. Do multiplication by C already in long double.
44086 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44088 y and infinite z. Do bitwise or of inexact bit into u.d.
44089 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44090 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44091 * sysdeps/i386/fpu/s_fma.S: Removed.
44092 * sysdeps/i386/fpu/s_fmal.S: Removed.
44094 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44097 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44099 computation is not scheduled after fetestexcept. Fix value
44100 of minimum denormal long double.
44102 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44105 * math/libm-test.inc (fma_test): Add some more tests.
44106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44109 2010-10-15 Andreas Schwab <schwab@redhat.com>
44111 * scripts/data/localplt-s390-linux-gnu.data: New file.
44112 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44114 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44117 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44118 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44120 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44122 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44124 if one of x and y is very large and the other is subnormal.
44125 * sysdeps/s390/fpu/s_fmaf.c: New file.
44126 * sysdeps/s390/fpu/s_fma.c: New file.
44127 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44128 * sysdeps/powerpc/fpu/s_fma.S: New file.
44129 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44130 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44131 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44133 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44136 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44138 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44139 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44140 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44141 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44142 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44143 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44146 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44149 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44150 * posix/bug-regex31.input: Add test case.
44152 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44154 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44155 * posix/bug-regex31.input: New file.
44158 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44159 (parse_sub_exp): Fix last change, use postorder.
44161 * posix/bug-regex31.c: New file.
44162 * posix/Makefile: Add rules to build and run bug-regex31.
44164 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44167 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44170 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44171 to have entries in sys_siglist.
44174 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44177 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44180 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44181 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44182 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44183 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44184 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44185 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44186 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44187 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44188 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44189 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44190 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44191 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44192 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44193 * math/ftestexcept.c (fetestexcept): Likewise.
44194 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44195 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44196 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44197 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44198 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44199 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44200 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44202 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44205 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44208 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44210 * string/bug-strstr1.c: New file.
44211 * string/Makefile: Add rules to build and run bug-strstr1.
44213 2010-10-05 Eric Blake <eblake@redhat.com>
44216 * string/str-two-way.h (two_way_long_needle): Always clear memory
44217 when skipping input due to the shift table.
44219 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44222 * malloc/mcheck.c: Handle large requests.
44225 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44226 for strncmp and strncasecmp.
44227 * string/stratcliff.c: Add tests for strcmp and strncmp.
44228 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44230 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44232 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44235 2010-09-30 Andreas Jaeger <aj@suse.de>
44237 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44238 (CGROUP_SUPER_MAGIC): Define.
44239 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44240 Handle btrfs and cgroup file systems.
44241 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44244 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44246 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44247 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44249 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44252 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44253 trying to locate the ELF header.
44255 2010-09-27 Andreas Schwab <schwab@redhat.com>
44258 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44259 Mask out sign-bit copies when constructing f_fsid.
44261 2010-09-24 Petr Baudis <pasky@suse.cz>
44263 * debug/stack_chk_fail_local.c: Add missing licence exception.
44264 * debug/warning-nop.c: Likewise.
44266 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44268 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44269 implementing getdents64 using getdents syscall, set d_type if
44270 __ASSUME_GETDENTS32_D_TYPE.
44272 2010-09-16 Andreas Schwab <schwab@redhat.com>
44274 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44275 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44277 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44280 * posix/unistd.h: Undo change of feature selection for ftruncate from
44283 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44285 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44288 2010-09-20 Andreas Schwab <schwab@redhat.com>
44290 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44292 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44294 2010-09-14 Andreas Schwab <schwab@redhat.com>
44296 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44297 variables after CHECK_SP call.
44298 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44300 2010-09-13 Andreas Schwab <schwab@redhat.com>
44301 Ulrich Drepper <drepper@redhat.com>
44303 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44304 re-relocationg ld.so.
44305 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44306 _dl_init_paths call.
44307 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44310 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44312 * resolv/res_init.c (__res_vinit): Count the default server we added.
44314 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44315 Ulrich Drepper <drepper@redhat.com>
44318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44319 (____longjmp_chk): Use %ebx for saving value across system call.
44322 2010-09-06 Andreas Schwab <schwab@redhat.com>
44324 * manual/Makefile: Don't mix pattern rules with normal rules.
44326 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44328 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44330 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44331 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44332 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44333 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44334 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44337 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44340 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44341 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44343 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44345 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44346 * sysdeps/x86_64/addmul_1.S: Likewise.
44347 * sysdeps/x86_64/lshift.S: Likewise.
44348 * sysdeps/x86_64/mul_1.S: Likewise.
44349 * sysdeps/x86_64/rshift.S: Likewise.
44350 * sysdeps/x86_64/sub_n.S: Likewise.
44351 * sysdeps/x86_64/submul_1.S: Likewise.
44353 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44355 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44356 Define __sched_param instead of SCHED_* and sched_param when
44357 <bits/sched.h> is included with __need_schedparam defined.
44358 * bits/sched.h [__need_schedparam]
44359 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44360 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44361 (__defined_schedparam): Define to 1.
44362 (__sched_param): New structure, identical to sched_param.
44363 (__need_schedparam): Undefine.
44365 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44367 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44368 (epoll_create1): Declare.
44370 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44372 2010-08-31 Andreas Schwab <schwab@redhat.com>
44375 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44376 shifting retval into place.
44378 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44380 * nis/rpcsvc/nis.h: Update copyright notice.
44381 * nis/rpcsvc/nis.x: Likewise.
44382 * nis/rpcsvc/nis_callback.h: Likewise.
44383 * nis/rpcsvc/nis_callback.x: Likewise.
44384 * nis/rpcsvc/nis_object.x: Likewise.
44385 * nis/rpcsvc/nis_tags.h: Likewise.
44386 * nis/rpcsvc/yp.h: Likewise.
44387 * nis/rpcsvc/yp.x: Likewise.
44388 * nis/rpcsvc/ypupd.h: Likewise.
44389 * nis/yp_xdr.c: Likewise.
44390 * nis/ypupdate_xdr.c: Likewise.
44392 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44393 mainly the body of pmap_getport. Add parameters to specify timeouts.
44394 (pmap_getport): Use __libc_rpc_getport.
44395 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44396 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44397 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44399 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44404 2010-08-27 Roland McGrath <roland@redhat.com>
44406 * sysdeps/i386/i686/multiarch/Makefile
44407 (CFLAGS-varshift.c): New variable.
44409 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44411 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44412 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44416 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44418 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44420 * sysdeps/x86_64/strlen.S: Unroll the loop.
44421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44422 strlen-sse2 strlen-sse2-bsf.
44423 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44424 __strlen_no_bsf if bit_Slow_BSF is set.
44425 (__strlen_sse42): Removed.
44426 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44427 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44429 2010-08-25 Roland McGrath <roland@redhat.com>
44431 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44432 * sysdeps/x86_64/multiarch/varshift.c: New file.
44433 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44434 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44435 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44436 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44438 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44441 strlen-sse2 strlen-sse2-bsf.
44442 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44443 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44444 (__strlen_sse2): Removed.
44445 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44446 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44448 bit_Slow_BSF for Atom.
44449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44450 (index_Slow_BSF): Define.
44451 (HAS_SLOW_BSF): Define.
44453 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44456 * resolv/res_init.c (__res_vinit): When no server address at all
44457 is given default to loopback.
44459 2010-08-24 Roland McGrath <roland@redhat.com>
44461 * configure.in: Remove config-name.h generation.
44462 * configure: Regenerated.
44463 * config-name.in: File removed.
44464 * scripts/config-uname.sh: New file.
44465 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44466 ($(objdir)config-name.h): New target.
44468 * sunrpc/rpc_parse.h: Avoid nested comment.
44470 2010-08-24 Richard Henderson <rth@redhat.com>
44471 Ulrich Drepper <drepper@redhat.com>
44472 H.J. Lu <hongjiu.lu@intel.com>
44474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44476 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44477 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44478 _mm_alignr_epi8 with _mm_loadu_si128.
44479 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44480 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44481 (__m128i_shift_right): Removed.
44482 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44483 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44484 * sysdeps/x86_64/multiarch/varshift.h: New file.
44485 * sysdeps/x86_64/multiarch/varshift.S: New file.
44487 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44489 * configure.in: Move assembler checks to before sysdep dir checking.
44491 2010-08-20 Petr Baudis <pasky@suse.cz>
44493 * LICENSES: Sync the sunrpc license.
44495 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44497 * sunrpc/auth_des.c: Update copyright notice once again.
44498 * sunrpc/auth_none.c: Likewise.
44499 * sunrpc/auth_unix.c: Likewise.
44500 * sunrpc/authdes_prot.c: Likewise.
44501 * sunrpc/authuxprot.c: Likewise.
44502 * sunrpc/bindrsvprt.c: Likewise.
44503 * sunrpc/clnt_gen.c: Likewise.
44504 * sunrpc/clnt_perr.c: Likewise.
44505 * sunrpc/clnt_raw.c: Likewise.
44506 * sunrpc/clnt_simp.c: Likewise.
44507 * sunrpc/clnt_tcp.c: Likewise.
44508 * sunrpc/clnt_udp.c: Likewise.
44509 * sunrpc/clnt_unix.c: Likewise.
44510 * sunrpc/des_crypt.c: Likewise.
44511 * sunrpc/des_soft.c: Likewise.
44512 * sunrpc/get_myaddr.c: Likewise.
44513 * sunrpc/getrpcport.c: Likewise.
44514 * sunrpc/key_call.c: Likewise.
44515 * sunrpc/key_prot.c: Likewise.
44516 * sunrpc/openchild.c: Likewise.
44517 * sunrpc/pm_getmaps.c: Likewise.
44518 * sunrpc/pm_getport.c: Likewise.
44519 * sunrpc/pmap_clnt.c: Likewise.
44520 * sunrpc/pmap_prot.c: Likewise.
44521 * sunrpc/pmap_prot2.c: Likewise.
44522 * sunrpc/pmap_rmt.c: Likewise.
44523 * sunrpc/rpc/auth.h: Likewise.
44524 * sunrpc/rpc/auth_unix.h: Likewise.
44525 * sunrpc/rpc/clnt.h: Likewise.
44526 * sunrpc/rpc/des_crypt.h: Likewise.
44527 * sunrpc/rpc/key_prot.h: Likewise.
44528 * sunrpc/rpc/netdb.h: Likewise.
44529 * sunrpc/rpc/pmap_clnt.h: Likewise.
44530 * sunrpc/rpc/pmap_prot.h: Likewise.
44531 * sunrpc/rpc/pmap_rmt.h: Likewise.
44532 * sunrpc/rpc/rpc.h: Likewise.
44533 * sunrpc/rpc/rpc_des.h: Likewise.
44534 * sunrpc/rpc/rpc_msg.h: Likewise.
44535 * sunrpc/rpc/svc.h: Likewise.
44536 * sunrpc/rpc/svc_auth.h: Likewise.
44537 * sunrpc/rpc/types.h: Likewise.
44538 * sunrpc/rpc/xdr.h: Likewise.
44539 * sunrpc/rpc_clntout.c: Likewise.
44540 * sunrpc/rpc_cmsg.c: Likewise.
44541 * sunrpc/rpc_common.c: Likewise.
44542 * sunrpc/rpc_cout.c: Likewise.
44543 * sunrpc/rpc_dtable.c: Likewise.
44544 * sunrpc/rpc_hout.c: Likewise.
44545 * sunrpc/rpc_main.c: Likewise.
44546 * sunrpc/rpc_parse.c: Likewise.
44547 * sunrpc/rpc_parse.h: Likewise.
44548 * sunrpc/rpc_prot.c: Likewise.
44549 * sunrpc/rpc_sample.c: Likewise.
44550 * sunrpc/rpc_scan.c: Likewise.
44551 * sunrpc/rpc_scan.h: Likewise.
44552 * sunrpc/rpc_svcout.c: Likewise.
44553 * sunrpc/rpc_tblout.c: Likewise.
44554 * sunrpc/rpc_util.c: Likewise.
44555 * sunrpc/rpc_util.h: Likewise.
44556 * sunrpc/rpcinfo.c: Likewise.
44557 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44558 * sunrpc/rpcsvc/key_prot.x: Likewise.
44559 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44560 * sunrpc/rpcsvc/mount.x: Likewise.
44561 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44562 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44563 * sunrpc/rpcsvc/rex.x: Likewise.
44564 * sunrpc/rpcsvc/rstat.x: Likewise.
44565 * sunrpc/rpcsvc/rusers.x: Likewise.
44566 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44567 * sunrpc/rpcsvc/spray.x: Likewise.
44568 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44569 * sunrpc/rtime.c: Likewise.
44570 * sunrpc/svc.c: Likewise.
44571 * sunrpc/svc_auth.c: Likewise.
44572 * sunrpc/svc_authux.c: Likewise.
44573 * sunrpc/svc_raw.c: Likewise.
44574 * sunrpc/svc_run.c: Likewise.
44575 * sunrpc/svc_simple.c: Likewise.
44576 * sunrpc/svc_tcp.c: Likewise.
44577 * sunrpc/svc_udp.c: Likewise.
44578 * sunrpc/svc_unix.c: Likewise.
44579 * sunrpc/svcauth_des.c: Likewise.
44580 * sunrpc/xcrypt.c: Likewise.
44581 * sunrpc/xdr.c: Likewise.
44582 * sunrpc/xdr_array.c: Likewise.
44583 * sunrpc/xdr_float.c: Likewise.
44584 * sunrpc/xdr_mem.c: Likewise.
44585 * sunrpc/xdr_rec.c: Likewise.
44586 * sunrpc/xdr_ref.c: Likewise.
44587 * sunrpc/xdr_sizeof.c: Likewise.
44588 * sunrpc/xdr_stdio.c: Likewise.
44590 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44593 2010-08-19 Andreas Schwab <schwab@redhat.com>
44595 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44597 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44599 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44600 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44601 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44602 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44603 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44604 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44605 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44606 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44608 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44609 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44610 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44611 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44612 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44614 2010-07-26 Anton Blanchard <anton@samba.org>
44616 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44617 * malloc/arena.c (heap_trim): Likewise.
44619 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44621 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44623 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44624 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44626 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44628 * sysdeps/i386/elf/Makefile: New file.
44630 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44632 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44633 from fanotify_init.
44634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44637 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44639 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44641 * sysdeps/multiarch/strcmp.S: Likewise.
44643 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44645 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44646 strncase_l-nonascii.
44647 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44648 Add strncase_l-ssse3.
44649 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44650 * sysdeps/x86_64/strcmp.S: Likewise.
44651 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44652 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44653 * sysdeps/x86_64/strncase.S: New file.
44654 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44655 * sysdeps/x86_64/strncase_l.S: New file.
44656 * string/Makefile (strop-tests): Add strncasecmp.
44657 * string/test-strncasecmp.c: New file.
44659 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44662 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44663 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44665 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44667 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44669 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44671 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44672 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44673 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44675 2010-05-01 Alan Modra <amodra@gmail.com>
44677 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44678 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44679 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44680 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44681 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44682 tidying. Don't tail-call __sigjmp_save for static lib.
44683 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44685 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44686 (CALL_MCOUNT): Add eh info, and nop after bl.
44687 (TAIL_CALL_SYSCALL_ERROR): New macro.
44688 (PSEUDO_RET): Use it.
44689 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44690 Correct save location of integer regs and cr.
44691 (_dl_profile_resolve): Correct cr save location. Delete nops
44692 after bl when SHARED. Reduce cfi size a little by better
44693 placement of cfi directives.
44694 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44695 make a stack frame. Instead use parm save area as a temp.
44696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44697 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44699 Don't make a stack frame for parent, use parm save area.
44700 Increase child stack frame to 112 bytes. Don't save unused reg,
44701 and adjust reg usage. Set up cfi on error recovery and
44702 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44704 (__makecontext): Add dummy nop after jump to exit.
44705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44706 Use correct parm save area and cr save, reduce stack frame.
44707 Correct cfi for possible PSEUDO_RET frame setup.
44708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44709 Branch to local label emitted by PSEUDO_RET rather than
44712 2010-08-12 Andreas Schwab <schwab@redhat.com>
44715 * locale/programs/locale.c (print_assignment): New function.
44716 (show_locale_vars): Use it.
44718 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44720 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44722 (struct statfs64): Likewise.
44723 (_STATFS_F_FLAGS): Define.
44724 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44726 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44727 (ST_VALID): Define locally.
44728 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44729 __statvfs_getflags, use the provided value.
44730 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44731 __ASSUME_STATFS_F_FLAGS.
44733 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44735 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44736 Add sys/fanotify.h.
44737 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44738 fanotify_mask for GLIBC_2.13.
44739 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44740 fanotify_init and fanotify_mark.
44741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44742 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44744 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44746 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44747 prlimit64 for GLIBC_2.13.
44748 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44753 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44754 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44755 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44758 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44761 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44762 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44764 * nss/Makefile: Add rules to build and run tst-nss-test1.
44765 * shlib-versions: Add entry for libnss_test1.
44766 * nss/nss_test1.c: New file.
44767 * nss/tst-nss-test1.c: New file.
44769 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44770 (__nss_configure_lookup): Set appropriate entry in
44771 __nss_configure_lookup to true.
44772 * nss/nsswitch.h: Define enum with indeces of databases in
44773 databases and __nss_database_custom arrays. Declare
44774 __nss_database_custom.
44775 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44776 to avoid using nscd when custom rules are installed.
44777 * nss/getXXbyYY_r.c: Likewise.
44778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44780 * nss/nss_files/files-parse.c: Whitespace fixes.
44782 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44785 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44786 * posix/fnmatch_loop.c: Likewise.
44788 2010-07-17 Andi Kleen <ak@linux.intel.com>
44790 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44791 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44792 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44793 * Versions.def [GLIBC_2.13]: Add.
44795 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44797 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44798 Also fail if tpwd after pwuid call is NULL.
44800 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44802 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44803 when converting to ms.
44805 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44807 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44808 EOPNOTSUPP errors with ENOTTY.
44809 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44810 EOPNOTSUPP errors with ENOTTY.
44812 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44814 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44815 Add strcasecmp_l-ssse3.
44816 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44818 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44819 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44820 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44822 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44824 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44826 * string/Makefile (strop-tests): Add strcasecmp.
44827 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44828 strcasecmp_l-nonascii.
44829 (gen-as-const-headers): Add locale-defines.sym.
44830 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44831 * sysdeps/x86_64/strcasecmp.S: New file.
44832 * sysdeps/x86_64/strcasecmp_l.S: New file.
44833 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44834 * sysdeps/x86_64/locale-defines.sym: New file.
44835 * string/test-strcasecmp.c: New file.
44837 * string/test-strcasestr.c: Test both ends of the range of characters.
44838 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44840 2010-07-29 Roland McGrath <roland@redhat.com>
44843 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44845 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44847 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44850 2010-07-27 Andreas Schwab <schwab@redhat.com>
44852 * manual/memory.texi (Malloc Tunable Parameters): Document
44855 2010-07-26 Roland McGrath <roland@redhat.com>
44858 * configure.in (-fgnu89-inline check): Set and substitute
44859 gnu89_inline, not libc_cv_gnu89_inline.
44860 * configure: Regenerated.
44861 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44863 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44865 * string/test-strnlen.c: New file.
44866 * string/Makefile (strop-tests): Add strnlen.
44867 * string/tester.c (test_strnlen): Add a few more test cases.
44868 * string/tst-strlen.c: Better error reporting.
44870 * sysdeps/x86_64/strnlen.S: New file.
44872 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44874 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44875 lower-latency instructions.
44877 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44879 * string/test-strcasestr.c: New file.
44880 * string/test-strstr.c: New file.
44881 * string/Makefile (strop-tests): Add strstr and strcasestr.
44882 * string/str-two-way.h: Don't undefine MAX.
44883 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44885 2010-07-21 Andreas Schwab <schwab@redhat.com>
44887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44888 strcasestr-nonascii.
44889 (CFLAGS-strcasestr-nonascii.c): Define.
44890 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44892 Remove unused attribute.
44894 2010-07-20 Roland McGrath <roland@redhat.com>
44896 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44897 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44898 ld.so.cache was broken. With it, there is no way to disable dsocaps
44899 like LD_HWCAP_MASK can disable hwcaps.
44901 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44903 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44905 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44907 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44908 call in strcasestr.
44909 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44910 __strcasestr_sse42_nonascii.
44911 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44912 strcasestr-nonascii.c.
44913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44915 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44917 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44918 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44919 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44920 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44922 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44924 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44927 2010-07-06 Andreas Schwab <schwab@redhat.com>
44930 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44933 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44935 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44936 _PC_PIPE_BUF using F_GETPIPE_SZ.
44938 2010-07-05 Roland McGrath <roland@redhat.com>
44940 * manual/arith.texi (Rounding Functions): Fix rint description
44941 implicit in round description.
44943 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44945 * elf/Makefile: Fix linking for a few tests to make recent linker
44948 2010-06-30 Andreas Schwab <schwab@redhat.com>
44950 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44951 $(common-objpfx)libc_nonshared.a.
44953 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44955 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44956 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44957 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44958 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44959 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44960 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44961 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44962 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44977 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44978 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44979 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44980 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44981 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44982 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44983 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44984 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44985 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44986 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44987 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44988 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45004 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45006 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45007 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45008 * string/memmove.c (memmove): Renamed to ...
45009 (MEMMOVE): ...this. Default to memmove.
45010 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45011 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45014 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45015 mempcpy-ssse3-back memmove-ssse3-back.
45016 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45019 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45020 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45021 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45022 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45023 * sysdeps/x86_64/multiarch/memmove.c: New file.
45024 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45025 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45026 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45027 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45028 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45031 (index_Fast_Copy_Backward): Define.
45032 (HAS_ARCH_FEATURE): Define.
45033 (HAS_FAST_REP_STRING): Define.
45034 (HAS_FAST_COPY_BACKWARD): Define.
45036 2010-06-21 Andreas Schwab <schwab@redhat.com>
45038 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45039 Restore proper fallback handling.
45041 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45044 * posix/group_member.c (__group_member): Correct checking loop.
45046 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45047 OOM in getpwuid_r correctly. Return error number when the caller
45048 should return, otherwise -1.
45049 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45050 call returning > 0 value.
45051 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45053 2010-06-07 Andreas Schwab <schwab@redhat.com>
45055 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45056 libc_nonshared.a from targets in modules-names.
45058 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45060 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45063 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45065 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45066 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45067 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45068 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45070 2010-06-02 Andreas Schwab <schwab@redhat.com>
45072 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45074 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45076 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45078 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45081 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45083 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45085 2010-06-14 Roland McGrath <roland@redhat.com>
45087 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45089 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45091 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45092 __REDIRECT followed by __THROW.
45093 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45094 * posix/getopt.h (getopt): Likewise.
45096 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45098 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45099 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45100 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45102 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45103 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45105 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45107 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45109 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45113 Properly check family and model.
45115 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45117 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45119 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45121 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45123 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45125 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45128 2010-05-19 Andreas Schwab <schwab@redhat.com>
45130 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45133 2010-05-21 Andreas Schwab <schwab@redhat.com>
45135 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45136 and internal_recvmmsg.
45137 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45138 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45139 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45140 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45142 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45143 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45144 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45146 2010-05-20 Andreas Schwab <schwab@redhat.com>
45148 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45150 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45152 POWER7 optimizations.
45153 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45154 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45156 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45158 * version.h: Update for 2.13 development version.
45160 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45162 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45163 exceptions. Return 0.
45165 2010-05-07 Roland McGrath <roland@redhat.com>
45167 * elf/ldconfig.c (main): Add a const.
45169 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45171 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45172 (args_options): Add no-idn option.
45173 (ahosts_keys_int): Add idn_flags to ai_flags.
45174 (parse_option): Handle 'i' option to clear idn_flags.
45176 * malloc/malloc.c (_int_free): Possible race in the most recently
45177 added check. Only act on the data if no current modification
45180 See ChangeLog.17 for earlier changes.