1 2014-06-02 Wilco <wdijkstr@arm.com>
3 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6 2014-06-02 Wilco <wdijkstr@arm.com>
9 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10 Rewrite to reduce FPCR/FPSR accesses.
12 2014-06-01 David S. Miller <davem@davemloft.net>
14 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16 2014-05-31 David S. Miller <davem@davemloft.net>
18 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19 to occur in round to nearest mode when |x| >= 2.0
21 2014-05-30 Richard Henderson <rth@twiddle.net>
23 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
24 (PSEUDO_RET_NOERRNO): Remove.
25 (ret): Don't redefine.
26 (ret_NOERRNO): Define in terms of ret.
27 (ret_ERRVAL): Likewise.
29 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30 use of PSEUDO_RET; perform the error check directly.
32 2014-05-30 Marko Myllynen <myllynen@redhat.com>
34 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * malloc/malloc (malloc_info): Fix formatting.
41 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42 Roland McGrath <roland@hack.frob.com>
44 * malloc/malloc (malloc_info): Also print mmapped statistics.
46 2014-05-30 Roland McGrath <roland@hack.frob.com>
48 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
53 * malloc/malloc.c (malloc_info): Inline mi_arena.
55 2014-05-29 Richard Henderson <rth@twiddle.net>
57 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
58 Remove comma before expanding ASM_ARGS_##nr.
59 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
60 Make _x0 a strict output; make _x8 a strict input; adjust expansion
62 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
63 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
64 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
65 (ASM_ARGS_1): Add leading comma.
67 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
68 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
70 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
71 Remove the expected plt for __errno_location.
73 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
74 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
77 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
78 Always allocate 64 bytes of stack frame. Use ldp/stp to create
80 (DOCARGS_0, DOCARGS_1): Do nothing.
81 (DOCARGS_2): Update to store into the new stack frame.
82 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
83 (UNDOCARGS_1): Update to restore from the new stack frame.
84 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
85 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
87 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
88 (SINGLE_THREAD_P): New parameter for result regno.
89 (PSEUDO): Update to match; use cbz instead of beq.
91 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
92 Use ENTRY to define the _nocancel entry point. Share the syscall
93 and syscall error check paths with the cancel path.
96 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
97 whitespace; tabs before and after asm mnemonics.
99 2014-05-29 Eric Wong <normalperson@yhbt.net>
102 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
103 Call fstat64 or stat64 internally, depending on arguments passed.
104 Replace stat buffer argument with file descriptor argument.
105 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
106 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
107 Pass fd to __internal_statvfs instead of calling fstat64.
108 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
109 Pass fd to __internal_statvfs64 instead of calling fstat64.
110 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
111 Pass -1 to __internal_statvfs instead of calling stat64.
112 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
113 Pass -1 to __internal_statvfs64 instead of calling stat64.
115 2014-05-28 Roland McGrath <roland@hack.frob.com>
117 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
118 that was previously under [RESET_PID].
119 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
121 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
122 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
124 2014-05-27 Roland McGrath <roland@hack.frob.com>
126 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
128 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
129 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
131 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
133 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
135 2014-05-27 Andreas Schwab <schwab@suse.de>
137 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
139 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
140 * elf/rtld.c (init_tls, dl_main): Likewise.
141 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
142 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
143 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
144 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
145 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
146 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
147 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
148 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
149 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
150 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
151 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
152 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
153 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
154 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
155 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
156 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
157 * sysdeps/generic/tls.h: Update description.
159 2014-05-27 Will Newton <will.newton@linaro.org>
162 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
163 and restore r2 rather than just restoring.
165 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
168 * libio/tst-ftell-append.c: New test case.
169 * libio/Makefile (tests): Add test case.
170 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
172 * libio/wfileops.c (do_ftell_wide): Likewise.
174 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
178 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
182 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
183 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
184 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
185 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
186 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
187 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
194 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
195 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
196 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
197 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
198 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
200 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
201 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
203 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
205 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
207 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
208 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
209 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
211 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
212 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
213 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
214 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
237 conditional [RESET_PID].
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
246 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
247 (__libc_vfork): New strong alias.
248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
255 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
256 (__libc_vfork): New strong alias.
257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
262 2014-05-26 Carlos O'Donell <carlos@redhat.com>
264 * malloc/malloc.c (mi_arena): New function.
265 (malloc_info): Remove nested function mi_arena. Call non-nosted
268 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
270 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
272 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
273 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
274 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
275 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
276 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
277 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
278 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
280 2014-05-26 Andreas Schwab <schwab@suse.de>
283 * locale/programs/repertoire.c (repertoire_read): Add slash
284 between I18NPATH element and file name.
285 * locale/programs/locfile.c (locfile_read): Likewise.
287 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
289 * nptl/pthread_mutexattr_settype.c
290 (__pthread_mutexattr_settype):
291 Disable lock elision for PTHREAD_MUTEX_NORMAL.
293 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
295 * nptl/tst-mutex5 (do_test):
296 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
298 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
300 * benchtests/README: Document 'init' directive.
301 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
303 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
304 (parse_file): Recognize 'init' directive.
306 2014-05-26 Kyle McMartin <kyle@redhat.com>
309 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
310 alignment of struct pthread.
312 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
315 * nscd/netgroupcache.c (addgetnetgrentX): Look for
316 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
317 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
318 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
320 2014-05-25 Richard Henderson <rth@twiddle.net>
322 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
323 (SINGLE_THREAD_P_PIC): Remove.
324 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
325 (SINGLE_THREAD_P_PIC): Remove.
327 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
328 branch to syscall error ...
330 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
331 from __local_syscall_error to .Lsyscall_error.
332 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
333 (SYSCALL_ERROR): Update label name.
335 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
336 Do not use DOARGS/UNDOARGS.
337 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
338 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
339 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
340 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
341 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
343 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
346 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
347 define if !NOT_IN_libc.
348 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
349 define with non-default symbol versions.
351 2014-05-23 Richard Henderson <rth@twiddle.net>
353 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
354 (vfork, __vfork): Define via compat_symbol.
356 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
357 [!HAVE_IFUNC] (vfork_compat): Remove.
358 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
360 2014-05-23 Joseph Myers <joseph@codesourcery.com>
363 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
364 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
367 2014-05-23 Richard Henderson <rth@twiddle.net>
369 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
370 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
371 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
372 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
374 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
375 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
376 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
377 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
378 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
379 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
380 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
381 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
382 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
383 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
384 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
385 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
386 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
387 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
388 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
389 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
390 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
391 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
392 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
393 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
394 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
395 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
396 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
397 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
398 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
399 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
400 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
401 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
402 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
403 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
404 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
405 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
406 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
408 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
410 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
411 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
412 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
413 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
414 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
415 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
416 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
417 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
418 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
419 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
420 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
421 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
423 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
425 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
426 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
427 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
428 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
429 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
431 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
432 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
433 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
434 before exiting on error.
435 (__libc_vfork): New strong alias.
436 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
437 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
439 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
440 that was previously under [RESET_PID].
441 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
443 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
445 2014-05-23 Joseph Myers <joseph@codesourcery.com>
448 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
449 value when x - 1 is zero.
450 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
451 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
452 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
453 0.0L for an argument of 1.0L.
454 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
456 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
457 value when x - 1 is zero.
458 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
459 * sysdeps/i386/fpu/libm-test-ulps: Update.
460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
462 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
464 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
465 alphasort and versionsort.
467 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
469 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
471 [copysignf]: Likewise.
473 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
475 * crypt/md5-crypt.c: Fix formatting.
477 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
479 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
480 (b64_from_24bit): New function.
482 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
484 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
485 libc_hidden_builtin_def to ifunc.
486 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
487 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
489 2014-05-21 Roland McGrath <roland@hack.frob.com>
491 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
492 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
494 2014-05-21 Joseph Myers <joseph@codesourcery.com>
496 * nscd/Depend (linuxthreads): Remove.
498 * resolv/Depend (linuxthreads): Remove.
499 * rt/Depend (linuxthreads): Remove.
501 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
502 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
503 $(common-objpfx)elf/.
504 (link-libc-before-gnulib): Likewise.
505 (elfobjdir): Remove variable.
506 * Makefile (install): Use $(elf-objpfx) instead of
507 $(common-objpfx)elf/.
508 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
510 (link-libc-deps): Likewise.
511 ($(common-objpfx)libc.so): Likewise.
512 ($(common-objpfx)linkobj/libc.so): Likewise.
513 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
514 instead of $(common-objpfx)elf/.
515 (symbolic-link-list): Likewise.
516 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
517 [$(cross-compiling) = no]: Likewise.
518 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
520 (static-gnulib-arch): Likewise.
521 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
522 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
523 $(common-objpfx)elf/.
525 2014-05-21 Richard Henderson <rth@redhat.com>
527 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
528 (SINGLE_THREAD_P): Use the correct width load. Fold
531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
532 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
534 2014-05-20 Joseph Myers <joseph@codesourcery.com>
536 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
537 (libgcc_s_resume): Use __attribute_used__.
538 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
541 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
543 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
544 optimization when used with float constants.
546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
548 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
551 * locale/nl_langinfo_l.c: Make direct reference to every
552 _nl_current_CATEGORY symbol.
553 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
554 (tests-static): Add tst-langinfo-static.
555 (tests-special): Add tst-langinfo-static.out.
556 ($(objpfx)tst-langinfo.out): Redirect output.
557 ($(objpfx)tst-langinfo-static.out): New.
558 * localedata/tst-langinfo.sh: Send output to stdout.
559 * localedata/tst-langinfo-static.c: New file.
562 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
563 when the shift amount is modulo the limb size.
565 2014-05-20 Richard Henderson <rth@redhat.com>
568 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
569 Change type of sa_flags from unsigned int to int.
572 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
574 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
576 2014-05-20 Will Newton <will.newton@linaro.org>
578 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
579 Test the return value of the system call in the nocancel case.
581 2014-05-20 Will Newton <will.newton@linaro.org>
582 Yvan Roux <yvan.roux@linaro.org>
584 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
585 #include of asm/ptrace.h.
586 (PTRACE_GET_THREAD_AREA): Remove #undef.
587 (PTRACE_GETHBPREGS): Likewise.
588 (PTRACE_SETHBPREGS): Likewise.
589 (struct user_regs_struct): New structure.
590 (struct user_fpsimd_struct): New structure.
591 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
592 #include of asm/ptrace.h and second #include of sys/user.h.
593 (PTRACE_GET_THREAD_AREA): Remove #undef.
594 (PTRACE_GETHBPREGS): Likewise.
595 (PTRACE_SETHBPREGS): Likewise.
596 (ELF_NGREG): Use new struct user_regs_struct.
597 (elf_fpregset_t): Use new struct user_fpsimd_struct.
599 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
601 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
604 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
607 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
608 membar to avoid block loads/stores to overlap previous stores.
610 2014-05-17 Richard Henderson <rth@redhat.com>
612 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
613 Create the __##syscall_name##_nocancel entry point.
614 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
615 Remove; let the sysdep-cancel.h code create it.
617 2014-05-17 David S. Miller <davem@davemloft.net>
619 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
620 Protect with __USE_GNU.
621 (TIOCSET_TEMPT): Likewise.
622 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
623 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
624 these are already provided in bits/ioctl-types.h
626 2014-05-16 Roland McGrath <roland@hack.frob.com>
628 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
629 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
631 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
632 Use wait4 regardless of [__NR_waitpid].
634 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
637 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
638 (_FP_NANSIGN_Q): Set the quiet bit.
640 2014-05-16 Joseph Myers <joseph@codesourcery.com>
642 * benchtests/Makefile
643 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
644 not $(common-objpfx)math/libm.so.
645 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
646 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
647 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
648 $(common-objpfx)dlfcn/libdl.so.
649 ($(objpfx)tst-audit8): Depend on $(libm), not
650 $(common-objpfx)math/libm.so.
651 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
652 not $(common-objpfx)dlfcn/libdl.so.
654 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
655 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
656 [$(build-shared) = yes].
657 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
658 $(common-objpfx)nptl/libpthread.so.
659 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
660 $(common-objpfx)math/libm.so$(libm.so-version) or
661 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
662 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
663 $(common-objpfx)dlfcn/libdl.so.
664 * setjmp/Makefile (link-libm): Remove variable.
665 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
666 * stdio-common/Makefile (link-libm): Remove variable.
667 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
668 * stdlib/Makefile (link-libm): Remove variable.
669 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
670 ($(objpfx)tst-strtod-round): Likewise.
671 ($(objpfx)tst-tininess): Likewise.
672 ($(objpfx)tst-strtod-underflow): Likewise.
673 ($(objpfx)tst-strtod6): Likewise.
674 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
675 $(libdl), not $(common-objpfx)nptl/libpthread.so and
676 $(common-objpfx)dlfcn/libdl.so.
678 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
680 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
681 BSD terminal modes definitions.
683 2014-05-16 Roland McGrath <roland@hack.frob.com>
685 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
686 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
688 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
689 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
690 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
691 Don't do #include_next.
692 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
693 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
694 Don't do #include_next.
695 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
696 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
697 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
698 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
700 2014-05-16 Allan McRae <allan@archlinux.org>
702 * po/sv.po: Update Swedish translation from translation project.
704 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
707 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
710 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
711 errno if the TIOCGPTN ioctl fails with an error different than
713 * login/tst-ptsname.c: New file.
714 * login/Makefile (tests): Add tst-ptsname.
717 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
720 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
724 herrno to return EAI_AGAIN.
726 2014-05-14 Roland McGrath <roland@hack.frob.com>
728 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
729 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
730 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
732 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
734 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
736 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
738 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
740 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
742 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
744 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
746 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
748 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
750 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
752 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
754 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
756 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
757 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
759 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
764 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
776 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
780 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
786 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
788 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
790 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
793 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
795 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
797 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
799 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
801 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
803 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
805 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
807 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
814 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
816 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
818 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
819 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
820 (libpthread-sysdep_routines): Add elision-related stuff here instead.
821 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
822 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
823 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
824 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
825 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
826 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
827 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
828 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
829 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
830 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
831 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
832 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
833 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
834 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
835 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
836 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
837 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
838 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
839 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
840 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
841 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
842 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
843 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
844 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
845 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
846 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
847 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
848 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
850 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
851 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
853 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
854 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
855 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
856 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
857 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
858 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
860 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
863 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
864 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
866 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
867 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
869 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
870 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
871 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
872 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
874 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
875 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
876 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
878 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
880 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
883 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
884 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
886 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
888 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
889 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
891 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
896 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
898 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
900 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
902 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
903 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
905 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
908 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
911 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
912 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
914 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
915 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
916 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
917 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
919 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
920 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
921 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
922 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
923 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
924 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
925 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
928 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
929 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
933 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
934 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
935 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
936 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
941 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
943 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
944 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
945 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
946 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
947 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
948 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
949 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
950 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
951 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
952 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
954 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
955 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
957 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
958 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
960 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
961 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
963 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
964 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
965 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
966 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
967 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
968 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
970 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
971 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
972 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
973 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
974 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
975 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
976 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
977 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
979 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
980 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
982 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
984 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
985 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
986 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
987 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
992 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
994 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
995 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
996 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
997 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
998 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
999 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1000 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1001 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1002 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1003 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1004 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1006 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1007 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1009 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1010 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1012 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1013 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1014 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1015 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1016 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1017 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1018 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1020 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1022 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1024 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1026 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1028 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1031 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1032 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1033 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1034 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1036 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1038 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1040 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1042 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1045 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1048 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1050 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1052 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1054 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1056 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1058 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1059 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1060 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1061 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1062 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1063 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1064 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1067 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1068 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1069 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1070 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1072 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1073 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1074 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1075 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1076 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1077 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1078 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1079 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1080 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1081 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1086 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1087 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1089 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1090 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1091 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1092 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1093 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1094 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1095 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1096 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1097 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1098 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1099 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1120 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1121 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1122 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1124 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1125 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1126 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1127 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1128 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1129 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1130 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1131 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1132 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1133 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1134 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1137 that was previously under [RESET_PID].
1138 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1139 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1140 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1142 * sysdeps/i386/nptl/Implies: New file.
1143 * sysdeps/x86_64/nptl/Implies: New file.
1144 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1145 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1146 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1147 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1149 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1150 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1151 (__libc_vfork): New strong alias.
1152 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1153 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1155 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1156 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1157 (__libc_vfork): New strong alias.
1158 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1159 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1161 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1162 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1163 (__libc_vfork): New strong alias.
1164 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1165 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1166 * nptl/pt-vfork.c: New file.
1167 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1168 (libpthread: GLIBC_2.20): New version set (empty).
1170 2014-05-14 Will Newton <will.newton@linaro.org>
1172 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1175 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1178 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1179 arguments with exponent 65 or above.
1180 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1181 arguments 0x1p113L or above.
1182 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1183 to arguments 0x1p107L or above.
1184 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1185 positive arguments with exponent 65 or above.
1186 * math/auto-libm-test-in: Add more tests of log1p.
1187 * math/auto-libm-test-out: Regenerated.
1190 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1191 non-finite arguments is +0.
1192 * math/s_cacosf.c (__cacosf): Likewise.
1193 * math/s_cacosl.c (__cacosl): Likewise.
1194 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1195 * sysdeps/i386/fpu/libm-test-ulps: Update.
1196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1201 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1202 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1203 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1204 for explicit high bit of mantissa when testing for argument equal
1206 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1207 * sysdeps/i386/fpu/libm-test-ulps: Update.
1208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1211 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1212 (__erf): Scale by 16 instead of 8 in potentially underflowing
1213 case. Ensure exception if result actually underflows.
1214 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1215 (__erff): Scale by 16 instead of 8 in potentially underflowing
1216 case. Ensure exception if result actually underflows.
1217 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1218 (efx8): Remove variable.
1219 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1220 case. Ensure exception if result actually underflows.
1221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1222 (efx8): Remove variable.
1223 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1224 case. Ensure exception if result actually underflows.
1225 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1226 (efx8): Remove variable.
1227 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1228 case. Ensure exception if result actually underflows.
1229 * math/auto-libm-test-in: Add more tests of erf.
1230 * math/auto-libm-test-out: Regenerated.
1232 2014-05-14 Andreas Schwab <schwab@suse.de>
1234 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1235 Remove code conditionalized on USE___THREAD.
1237 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1238 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1241 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1243 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1244 Define unconditionally.
1245 (__ASSUME_O_CLOEXEC): Likewise.
1246 (__ASSUME_SOCK_CLOEXEC): Likewise.
1247 (__ASSUME_IN_NONBLOCK): Likewise.
1248 (__ASSUME_PIPE2): Likewise.
1249 (__ASSUME_EVENTFD2): Likewise.
1250 (__ASSUME_SIGNALFD4): Likewise.
1251 (__ASSUME_DUP3): Likewise.
1252 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1253 (__ASSUME_DUP3): Do not define.
1254 (__ASSUME_EVENTFD2): Likewise.
1255 (__ASSUME_IN_NONBLOCK): Likewise.
1256 (__ASSUME_O_CLOEXEC): Likewise.
1257 (__ASSUME_PIPE2): Likewise.
1258 (__ASSUME_SIGNALFD4): Likewise.
1259 (__ASSUME_SOCK_CLOEXEC): Likewise.
1260 (__ASSUME_UTIMES): Undefine.
1261 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1262 (__ASSUME_UTIMES): Do not define.
1263 (__ASSUME_O_CLOEXEC): Likewise.
1264 (__ASSUME_SOCK_CLOEXEC): Likewise.
1265 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1266 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1268 (__ASSUME_PIPE2): Likewise.
1269 (__ASSUME_EVENTFD2): Likewise.
1270 (__ASSUME_SIGNALFD4): Likewise.
1271 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1272 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1274 (__ASSUME_EVENTFD2): Likewise.
1275 (__ASSUME_SIGNALFD4): Likewise.
1276 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1277 (__ASSUME_32BITUIDS): Likewise.
1278 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1279 (__ASSUME_IPC64): Likewise.
1280 (__ASSUME_ST_INO_64_BIT): Likewise.
1281 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1282 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1283 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1284 (__ASSUME_UTIMES): Do not define.
1285 (__ASSUME_PSELECT): Likewise.
1286 (__ASSUME_PPOLL): Likewise.
1287 (__ASSUME_O_CLOEXEC): Likewise.
1288 (__ASSUME_SOCK_CLOEXEC): Likewise.
1289 (__ASSUME_IN_NONBLOCK): Likewise.
1290 (__ASSUME_PIPE2): Likewise.
1291 (__ASSUME_EVENTFD2): Likewise.
1292 (__ASSUME_SIGNALFD4): Likewise.
1293 (__ASSUME_DUP3): Likewise.
1294 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1295 (__ASSUME_UTIMES): Likewise.
1296 (__ASSUME_O_CLOEXEC): Likewise.
1297 (__ASSUME_SOCK_CLOEXEC): Likewise.
1298 (__ASSUME_IN_NONBLOCK): Likewise.
1299 (__ASSUME_PIPE2): Likewise.
1300 (__ASSUME_EVENTFD2): Likewise.
1301 (__ASSUME_SIGNALFD4): Likewise.
1302 (__ASSUME_DUP3): Likewise.
1303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1304 (__ASSUME_UTIMES): Likewise.
1305 (__ASSUME_O_CLOEXEC): Likewise.
1306 (__ASSUME_SOCK_CLOEXEC): Likewise.
1307 (__ASSUME_IN_NONBLOCK): Likewise.
1308 (__ASSUME_PIPE2): Likewise.
1309 (__ASSUME_EVENTFD2): Likewise.
1310 (__ASSUME_SIGNALFD4): Likewise.
1311 (__ASSUME_DUP3): Likewise.
1312 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1314 (__ASSUME_UTIMES): Likewise.
1315 (__ASSUME_EVENTFD2): Likewise.
1316 (__ASSUME_SIGNALFD4): Likewise.
1317 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1318 (__ASSUME_O_CLOEXEC): Likewise.
1319 (__ASSUME_SOCK_CLOEXEC): Likewise.
1320 (__ASSUME_IN_NONBLOCK): Likewise.
1321 (__ASSUME_PIPE2): Likewise.
1322 (__ASSUME_EVENTFD2): Likewise.
1323 (__ASSUME_SIGNALFD4): Likewise.
1324 (__ASSUME_DUP3): Likewise.
1325 (__ASSUME_UTIMES): Undefine.
1327 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1328 feclearexcept. Remove symbol versioning code.
1329 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1330 symbol versioning code.
1331 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1332 symbol versioning code.
1333 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1334 feupdateenv. Remove symbol versioning code.
1335 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1336 fegetexceptflag. Remove symbol versioning code.
1337 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1338 fesetexceptflag. Remove symbol versioning code.
1339 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1340 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1341 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1342 (__posix_fadvise64_l32): Remove prototype.
1343 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1346 2014-05-13 Roland McGrath <roland@hack.frob.com>
1348 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1349 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1350 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1351 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1353 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1355 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1356 current working directory
1358 2014-05-13 Roland McGrath <roland@hack.frob.com>
1360 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1361 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1362 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1363 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1364 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1365 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1366 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1375 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1381 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1389 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1393 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1394 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1395 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1396 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1397 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1398 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1399 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1400 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1401 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1403 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1404 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1406 * sysdeps/unix/sysv/linux/arm/Makefile
1407 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1408 Add rt-aeabi_unwind_cpp_pr1.
1409 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1410 Add nptl-aeabi_unwind_cpp_pr1.
1411 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1412 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1413 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1414 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1415 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1416 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1418 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1419 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1420 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1421 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1423 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1424 Deconditionalize the code that was previously under [RESET_PID].
1425 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1427 * sysdeps/generic/exit-thread.h: New file.
1428 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1429 * include/unistd.h (__exit_thread): Remove declaration.
1430 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1431 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1432 * csu/libc-start.c: Include <exit-thread.h>.
1433 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1434 * nptl/pthread_create.c: Include <exit-thread.h>.
1435 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1436 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1437 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1438 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1439 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1440 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1441 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1442 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1443 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1444 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1445 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1446 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1447 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1448 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1449 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1450 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1451 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1453 2014-05-13 Andreas Schwab <schwab@suse.de>
1455 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1457 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1459 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1460 (__ASSUME_UTIMES): Do not condition on kernel version.
1461 (__ASSUME_PSELECT): Define unconditionally.
1462 (__ASSUME_PPOLL): Likewise.
1463 (__ASSUME_ATFCTS): Likewise.
1464 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1465 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1466 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1467 (__ASSUME_UTIMENSAT): Define unconditionally.
1468 (__ASSUME_PRIVATE_FUTEX): Likewise.
1469 (__ASSUME_FALLOCATE): Likewise.
1470 (__ASSUME_O_CLOEXEC): Likewise.
1471 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1472 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1473 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1474 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1475 (__ASSUME_IN_NONBLOCK): Likewise.
1476 (__ASSUME_PIPE2): Likewise.
1477 (__ASSUME_EVENTFD2): Likewise.
1478 (__ASSUME_SIGNALFD4): Likewise.
1479 (__ASSUME_DUP3): Likewise.
1480 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1481 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1482 (__ASSUME_AT_RANDOM): Likewise.
1483 (__ASSUME_PREADV): Likewise.
1484 (__ASSUME_PWRITEV): Likewise.
1485 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1486 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1487 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1488 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1489 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1491 (__ASSUME_O_CLOEXEC): Define unconditionally.
1492 (__ASSUME_PSELECT): Do not undefine conditionally.
1493 (__ASSUME_PPOLL): Likewise.
1494 (__ASSUME_ATFCTS): Likewise.
1495 (__ASSUME_SET_ROBUST_LIST): Likewise.
1496 (__ASSUME_UTIMENSAT): Likewise.
1497 (__ASSUME_FDATASYNC): Define unconditionally.
1498 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1499 (__ASSUME_SIGFRAME_V2): Likewise.
1500 )__ASSUME_EVENTFD2): Likewise.
1501 (__ASSUME_SIGNALFD4): Likewise.
1502 (__ASSUME_PSELECT): Do not undefine conditionally.
1503 (__ASSUME_PPOLL): Likewise.
1504 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1505 (__ASSUME_PSELECT): Define unconditionally.
1506 (__ASSUME_PPOLL): Likewise.
1507 (__ASSUME_O_CLOEXEC): Likewise.
1508 (__ASSUME_SOCK_CLOEXEC): Likewise.
1509 (__ASSUME_IN_NONBLOCK): Likewise.
1510 (__ASSUME_PIPE2): Likewise.
1511 (__ASSUME_EVENTFD2): Likewise.
1512 (__ASSUME_SIGNALFD4): Likewise.
1513 (__ASSUME_DUP3): Likewise.
1514 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1515 (__ASSUME_O_CLOEXEC): Likewise.
1516 (__ASSUME_SOCK_CLOEXEC): Likewise.
1517 (__ASSUME_IN_NONBLOCK): Likewise.
1518 (__ASSUME_PIPE2): Likewise.
1519 (__ASSUME_EVENTFD2): Likewise.
1520 (__ASSUME_SIGNALFD4): Likewise.
1521 (__ASSUME_DUP3): Likewise.
1522 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1523 (__ASSUME_EVENTFD2): Likewise.
1524 (__ASSUME_SIGNALFD4): Likewise.
1525 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1527 2014-05-12 Andreas Schwab <schwab@suse.de>
1530 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1531 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1532 than maximum RPC packet size.
1533 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1534 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1535 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1536 (_nss_nis_getservbyport_r): Likewise.
1538 2014-05-12 Will Newton <will.newton@linaro.org>
1540 * malloc/Makefile (tests): Add tst-mallopt.
1541 * malloc/tst-mallopt.c: New file.
1543 2014-05-09 Roland McGrath <roland@hack.frob.com>
1545 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1546 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1548 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1550 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1551 (tst-tlsmod6.so): Likewise.
1553 2014-05-09 Roland McGrath <roland@hack.frob.com>
1555 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1557 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1560 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1561 and <dl-procinfo.h>.
1562 (__fegetenv): Save SSE state in envp->__eip if supported.
1563 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1564 envp->__eip if supported.
1565 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1566 and <dl-procinfo.h>.
1567 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1568 __data_offset and __data_selector in environment to 0. Set SSE
1570 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1572 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1574 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1576 2014-05-09 Will Newton <will.newton@linaro.org>
1578 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1579 and libc_relro_required for ARM.
1580 * sysdeps/arm/preconfigure: Regenerate.
1582 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1583 Stefan Liebler <stli@linux.vnet.ibm.com>
1585 * config.make.in (enable-lock-elision): New Makefile variable.
1586 * configure.ac: Likewise.
1587 * configure: Regenerate.
1588 * sysdeps/s390/configure.ac:
1589 Add check for gcc transactions support.
1590 * sysdeps/s390/configure: Regenerate.
1591 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1592 Build elision files if enabled.
1593 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1594 Add lock elision support for s390.
1595 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1596 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1597 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1598 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1599 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1600 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1601 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1603 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1605 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1607 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1609 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1610 (__lll_timedlock_elision, __lll_lock_elision)
1611 (__lll_unlock_elision, __lll_trylock_elision)
1612 (lll_timedlock_elision, lll_lock_elision)
1613 (lll_unlock_elision, lll_trylock_elision): Add.
1614 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1615 (pthread_mutex_t): Add lock elision support for s390.
1617 2014-05-14 Wilco <wdijkstr@arm.com>
1619 * sysdeps/arm/fclrexcpt.c: Cleanup.
1620 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1621 * sysdeps/arm/feenablxcpt.c: Cleanup.
1622 * sysdeps/arm/fegetenv.c: Cleanup.
1623 * sysdeps/arm/fegetexcept.c: Cleanup.
1624 * sysdeps/arm/fegetround.c: Cleanup.
1625 * sysdeps/arm/feholdexcpt.c: Cleanup.
1626 * sysdeps/arm/fesetenv.c: Cleanup.
1627 * sysdeps/arm/fesetround.c: Cleanup.
1628 * sysdeps/arm/feupdateenv.c: Cleanup.
1629 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1630 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1631 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1632 * sysdeps/arm/ftestexcept.c: Cleanup.
1633 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1634 * sysdeps/arm/setfpucw.c: Cleanup.
1636 2014-05-09 Will Newton <will.newton@linaro.org>
1638 * sysdeps/arm/armv7/strcmp.S: New file.
1639 * NEWS: Mention addition of ARMv7 optimized strcmp.
1641 2014-05-08 Roland McGrath <roland@hack.frob.com>
1643 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1644 look for %.ac rather than %.in.
1646 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1647 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1648 * sysdeps/mach/hurd/configure: Regenerated.
1649 * sysdeps/unix/sysv/linux/configure: Regenerated.
1651 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1653 2014-05-07 Steve Ellcey <sellcey@mips.com>
1656 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1660 2014-05-07 Andreas Schwab <schwab@suse.de>
1662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1663 when skipping over non-matching result from nscd.
1665 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1668 * nptl/sockperf.c (client): Check socket return value.
1671 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1672 nscd security class.
1674 2014-05-06 Roland McGrath <roland@hack.frob.com>
1676 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1677 * sysdeps/arm/unwind.h: ... here.
1679 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1682 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1685 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1687 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1688 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1689 multiarch strncpy for PPC64.
1690 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1691 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1693 multiarch optimizations.
1694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1695 (__libc_ifunc_impl_list): Likewise.
1696 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1697 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1698 multiarch stpncpy for PPC64.
1699 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1700 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1702 2014-05-06 Andreas Schwab <schwab@suse.de>
1705 * gmon/mcount.c (_MCOUNT_DECL): Use
1706 atomic_compare_and_exchange_bool_acq instead of
1707 catomic_compare_and_exchange_bool_acq.
1709 2014-05-05 Roland McGrath <roland@hack.frob.com>
1711 * elf/Makefile (others, install-bin): Remove pldd.
1712 (pldd-modules): Variable removed.
1713 ($(objpfx)pldd): Target removed.
1714 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1715 (others, install-bin): Append pldd here.
1716 ($(objpfx)pldd): New target.
1718 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1719 to 0, so the first #if test emitted later doesn't see it undefined.
1720 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1721 * sysdeps/gnu/errlist.c: Regenerated.
1723 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1726 [libc_hidden_builtin_def]: Define to empty value.
1727 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1728 [libc_hidden_builtin_def]: Likewise.
1729 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1730 [libc_hidden_builtin_def]: Likewise.
1731 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1732 [libc_hidden_builtin_def]: Likewise.
1733 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1734 __redirect_memcpy and define ifunc as default hidden symbol.
1735 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1736 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1738 2014-05-04 Adam Conrad <adconrad@0c3.net>
1740 * locale/iso-4217.def: Reintroduce XDR currency.
1742 2014-05-04 Allan McRae <allan@archlinux.org>
1744 * po/eo.po: Update Esperanto translation from translation project.
1746 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1748 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1749 and FEATURE_INDEX_MAX to 1.
1750 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1752 2014-05-01 Steve Ellcey <sellcey@mips.com>
1754 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1755 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1756 * iconvdata/big5.c (ONE_DIRECTION): Define.
1757 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1758 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1759 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1760 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1761 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1762 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1763 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1764 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1765 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1766 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1767 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1768 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1769 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1770 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1771 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1772 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1773 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1774 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1775 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1776 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1777 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1778 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1779 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1780 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1781 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1782 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1783 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1784 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1785 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1786 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1787 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1788 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1789 * iconvdata/johab.c (ONE_DIRECTION): Define.
1790 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1791 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1792 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1793 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1794 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1795 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1796 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1797 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1798 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1799 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1801 2014-05-01 Roland McGrath <roland@hack.frob.com>
1803 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1804 (_IO_JUMPS_OFFSET): Define to 0.
1806 * nptl/sysdeps/pthread/bits/libc-lock.h
1807 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1808 (__libc_lock_define_initialized_recursive): Always define using
1809 initializer. Modern compilers treat uninitialized (implicit zero) and
1810 explicit zero initializers the same (i.e. put the datum in bss).
1812 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1814 * nscd/nscd-client.h: Include <string.h>.
1816 2014-05-01 David S. Miller <davem@davemloft.net>
1819 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1820 multiple zero bytes exist at the end of a string.
1821 Reported by Aurelien Jarno <aurelien@aurel32.net>
1823 * string/test-strcmp.c (check): Add explicit test for situations where
1824 there are multiple zero bytes after the first.
1826 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1829 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1830 when compiling wprintf.
1831 * stdio-common/tstdiomisc.c (t3): New function.
1834 2014-05-01 Steve Ellcey <sellcey@mips.com>
1836 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1837 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1838 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1839 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1841 2014-05-01 Steve Ellcey <sellcey@mips.com>
1843 * stdlib/longlong.h: Updated from GCC.
1845 2014-05-01 Will Newton <will.newton@linaro.org>
1846 Bernard Ogden <bernie.ogden@linaro.org>
1848 * NEWS: Update fixed bug list.
1851 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1853 2014-04-30 David S. Miller <davem@davemloft.net>
1855 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1856 (libc_feholdexcept_setround_sparc_ctx): New function.
1857 (libc_fesetenv_sparc_ctx): Likewise.
1858 (libc_feupdateenv_sparc_ctx): Likewise.
1859 (libc_feholdsetround_sparc_ctx): Likewise.
1860 (libc_feholdexcept_setround_ctx): Define.
1861 (libc_feholdexcept_setroundf_ctx): Likewise.
1862 (libc_feholdexcept_setroundl_ctx): Likewise.
1863 (libc_fesetenv_ctx): Likewise.
1864 (libc_fesetenvf_ctx): Likewise.
1865 (libc_fesetenvl_ctx): Likewise.
1866 (libc_feupdateenv_ctx): Likewise.
1867 (libc_feupdateenvf_ctx): Likewise.
1868 (libc_feupdateenvl_ctx): Likewise.
1869 (libc_feresetround_ctx): Likewise.
1870 (libc_feresetroundf_ctx): Likewise.
1871 (libc_feresetroundl_ctx): Likewise.
1872 (libc_feholdsetround_ctx): Likewise.
1873 (libc_feholdsetroundf_ctx): Likewise.
1874 (libc_feholdsetroundl_ctx): Likewise.
1876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1877 with __USE_GNU instead of XOPEN cpp guards.
1879 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1883 with XOPEN cpp guards.
1885 2014-04-30 Julian Brown <julian@codesourcery.com>
1888 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1891 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1894 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1896 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1897 * sysdeps/unix/sysv/linux/configure: Regenerated.
1898 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1899 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1900 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1901 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1902 * README: Update reference to required Linux kernel version.
1903 * manual/install.texi (Linux): Update reference to required Linux
1904 kernel headers version.
1905 * INSTALL: Regenerated.
1907 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1909 [POSIX] (limits.h): Likewise.
1910 [POSIX] (math.h): Likewise.
1911 [POSIX] (sys/wait.h): Likewise.
1912 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1914 [POSIX] (stddef.h): Do not allow header inclusion.
1916 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1918 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1920 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1922 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1923 Return immediately after lll_futex_wake.
1925 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1928 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1930 (datahead_init_pos): Call datahead_init_common early.
1931 (datahead_init_neg): Likewise.
1933 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1934 datahead_init_neg): New functions.
1935 * nscd/aicache.c (addhstaiX): Use them.
1936 * nscd/grpcache.c (cache_addgr): Likewise.
1937 * nscd/hstcache.c (cache_addhst): Likewise.
1938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1939 * nscd/netgroupcache.c (do_notfound): Likewise.
1940 (addgetnetgrentX): Likewise.
1941 (addinnetgrX): Likewise.
1942 * nscd/pwdcache.c (cache_addpw): Likewise.
1943 * nscd/servicescache.c (cache_addserv): Likewise.
1945 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1946 Atsushi Onoe <atsushi@onoe.org>
1951 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1952 one response is valid.
1953 * resolv/res_send.c (send_dg): Check for validity of other
1954 response if the current response is a referral.
1956 2014-04-29 Steve Ellcey <sellcey@mips.com>
1958 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1960 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1963 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1964 Always divide by positive zero when computing -Inf result.
1965 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1966 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1968 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1970 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1971 FPSCR if value do not change.
1972 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1973 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1974 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1975 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1976 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1977 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1980 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1982 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1983 * sysdeps/unix/sysv/linux/hppa: Move directory from
1984 ports/systeps/unix/sysv/linux/hppa.
1985 * README: Update listing for hppa-*-linux-gnu.
1987 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1990 * manual/stdio.texi (Hook functions): Fix types of stream hook
1993 * socket/sys/socket.h: Fix typo in comment.
1995 2014-04-28 Wilco <wdijkstr@arm.com>
1997 * sysdeps/arm/fenv_private.h: New file.
1998 * sysdeps/arm/math_private.h: New file.
1999 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2001 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2003 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2005 (La_x86_64_retval): Likewise.
2007 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2009 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2010 fpsr if value didn't change.
2011 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2012 to fpcr if value didn't change.
2013 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2014 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2015 fpsr or fpcr if value didn't change.
2016 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2017 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2018 fpcr if value didn't change.
2019 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2020 to fpsr if value didn't change.
2022 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2024 * nptl/tst-sem3.c: Use test-skeleton.c
2025 (main): Rename to do_test. Use return instead of
2027 * nptl/tst-sem4.c: Use test-skeleton.c
2028 (main): Rename to do_test.
2030 2014-04-22 David S. Miller <davem@davemloft.net>
2032 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2033 (struct sigaction): New struct member __glibc_reserved0, change
2034 type of sa_flags to int.
2036 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2038 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2039 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2041 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2043 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2044 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2046 2014-04-22 Will Newton <will.newton@linaro.org>
2047 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2049 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2050 (__longjmp): Add longjmp and longjmp_target SystemTap
2052 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2053 (__sigsetjmp): Add setjmp SystemTap probe.
2055 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2057 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2060 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2062 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2064 * sysdeps/powerpc/fpu/fenv_private.h
2065 (libc_feholdexcept_setroundl_ctx): Define to
2066 libc_feholdexcept_setround_ppc_ctx.
2067 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2068 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2069 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2070 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2072 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2074 * sysdeps/aarch64/math-tests.h: New file.
2076 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2078 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2081 Check and set bit_AVX2_Usable.
2082 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2084 (bit_AVX2): Likewise.
2085 (index_AVX2_Usable): Likewise.
2086 (CPUID_AVX2): Likewise.
2087 (HAS_AVX2): Likewise.
2089 2014-04-17 Will Newton <will.newton@linaro.org>
2091 * manual/setjmp.texi (System V contexts): Add note that
2092 calling setcontext on a context created by a call to a
2093 signal handler is undefined. Update text to note that
2094 setcontext from a signal handler is possible but not
2098 * stdlib/tst-setcontext.c: Include signal.h.
2099 (main): Check that the signal stack before and
2100 after swapcontext is the same.
2102 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2103 Re-implement to restore registers in user code and avoid
2104 rt_sigreturn system call.
2106 2014-04-17 Wilco <wdijkstr@arm.com>
2108 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2109 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2110 * math/test-fenv.c: Skip exception trap tests on targets which only
2111 support non-stop mode.
2113 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2114 Wilco Dijkstra <wilco.dijkstra@arm.com>
2116 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2117 (libc_feholdsetround_aarch64_ctx)
2118 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2119 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2120 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2121 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2122 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2123 (libc_feresetround_noexl_ctx): Define.
2125 2014-04-16 Richard Henderson <rth@redhat.com>
2127 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2129 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2132 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2133 const from the non-libc, non-ldso copy.
2135 * sysdeps/alpha/libm-test-ulps: Regenerate.
2137 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2138 Wilco Dijkstra <wilco.dijkstra@arm.com>
2140 * sysdeps/aarch64/fpu/math_private.h: New file.
2142 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2144 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2146 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2148 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2149 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2151 Intel MPX bound registers before _dl_profile_fixup.
2152 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2153 registers after _dl_profile_fixup. Save and restore bound
2154 registers bnd0/bnd1 when calling _dl_call_pltexit.
2155 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2156 (LR_BND_OFFSET): Likewise.
2157 (LRV_BND0_OFFSET): Likewise.
2158 (LRV_BND1_OFFSET): Likewise.
2160 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2162 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2164 * sysdeps/mach/hurd/i386/tls.h: ... here.
2165 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2166 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2169 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2171 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2173 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2175 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2177 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2180 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2181 * sysdeps/s390/configure: Regenerate.
2184 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2185 Set round-to-nearest internally to reduce error accumulation.
2187 2014-04-16 Alan Modra <amodra@gmail.com>
2191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2192 * math/libm-test.inc (frexp_test_data): Add tests.
2193 * NEWS: Update fixed bug list.
2195 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2197 * benchtests/Makefile: Depend on libraries in build directory.
2198 (bench-math): Separate out math tests.
2199 (bench-pthread): Separate out pthread tests.
2200 (bench): Include math and pthread tests.
2202 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2205 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2206 _dl_debug_initialize.
2208 * configure.ac: Remove SELinux header check.
2209 * configure: Regenerate.
2210 * nscd/selinux.c (perms): Array of const char* to permission names.
2211 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2212 default policy. Call string_to_security_class and string_to_av_perm to
2213 translate strings. Enforce default policy and call avs_has_perm with
2214 results of translated strings.
2216 2014-04-13 David S. Miller <davem@davemloft.net>
2218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2220 2014-04-12 Allan McRae <allan@archlinux.org>
2223 * manual/string.texi (Collation Functions): Fix qsort argument
2225 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2227 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2229 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2230 Make the test a no-op if there are no exceptions defined.
2232 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2234 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2235 enable-hardcoded-path-in-tests
2237 2014-04-11 Will Newton <will.newton@linaro.org>
2239 * benchtests/Makefile (extra-objs): Add json-lib.o.
2240 (bench-func): Tidy up JSON output.
2241 * benchtests/bench-skeleton.c: Include json-lib.h.
2242 (main): Use JSON library functions to do output of
2244 * benchtests/bench-timing-type.c (main): Output the
2245 timing type simply, leaving formatting to the user.
2246 * benchtests/json-lib.c: New file.
2247 * benchtests/json-lib.h: Likewise.
2249 2014-04-11 Torvald Riegel <triegel@redhat.com>
2252 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2253 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2254 memory barriers. Add comments.
2255 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2256 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2257 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2258 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2259 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2260 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2262 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2264 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2265 * sysdeps/s390/s390-64/configure.ac: ... this ...
2266 * sysdeps/s390/configure.ac: ... to here.
2267 * sysdeps/s390/s390-32/configure: Delete file.
2268 * sysdeps/s390/s390-64/configure: Delete file.
2269 * sysdeps/s390/configure: Regenerate.
2271 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2273 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2275 2014-04-11 Will Newton <will.newton@linaro.org>
2277 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2278 to zero if it is not defined elsewhere. (mtrim): Test
2279 the value of MALLOC_DEBUG with #if rather than #ifdef.
2281 2014-04-10 Torvald Riegel <triegel@redhat.com>
2283 * benchtests/pthread_once-inputs: New file.
2284 * benchtests/pthread_once-source.c: New file.
2285 * benchtests/README: Update documentation.
2287 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2288 H.J. Lu <hongjiu.lu@intel.com>
2290 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2291 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2292 * sysdeps/x86_64/configure: Regenerated.
2293 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2295 (REGISTER_SAVE_RAX): Likewise.
2296 (REGISTER_SAVE_RCX): Likewise.
2297 (REGISTER_SAVE_RDX): Likewise.
2298 (REGISTER_SAVE_RSI): Likewise.
2299 (REGISTER_SAVE_RDI): Likewise.
2300 (REGISTER_SAVE_R8): Likewise.
2301 (REGISTER_SAVE_R9): Likewise.
2302 (REGISTER_SAVE_BND0): Likewise.
2303 (REGISTER_SAVE_BND1): Likewise.
2304 (REGISTER_SAVE_BND2): Likewise.
2305 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2306 bound registers when calling _dl_fixup.
2308 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2310 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2311 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2313 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2314 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2315 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2316 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2317 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2318 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2319 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2321 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2324 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2325 pathconf(_PC_NAME_MAX).
2327 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2329 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2331 (__PTHREAD_SPINS): Move definition to ...
2332 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2333 (__PTHREAD_SPINS): ... here.
2334 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2335 (__PTHREAD_SPIN): Likewise.
2336 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2337 (__PTHREAD_SPIN): Likewise.
2338 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2339 (__PTHREAD_SPIN): Likewise.
2340 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2341 (__PTHREAD_SPIN): Likewise.
2342 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2343 (__PTHREAD_SPIN): Likewise.
2344 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2345 (__PTHREAD_SPIN): Likewise.
2346 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2347 (__PTHREAD_SPIN): Likewise.
2348 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2349 (__PTHREAD_SPIN): Likewise.
2350 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2351 (__PTHREAD_SPIN): Likewise.
2352 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2353 (__PTHREAD_SPIN): Likewise.
2354 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2355 (__PTHREAD_SPIN): Likewise.
2356 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2357 (__PTHREAD_SPIN): Likewise.
2359 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2360 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2361 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2362 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2364 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2365 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2366 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2367 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2369 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2370 strlen symbol for non multi-arch builds.
2371 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2372 missing hidden_def and weak_alias.
2374 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2376 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2378 2014-04-07 Will Newton <will.newton@linaro.org>
2380 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2381 and contents. [!_LIBC] Remove #ifndef and contents.
2382 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2383 * string/memccpy.c (__memccpy): Use ANSI prototype.
2384 * string/memfrob.c (memfrob): Likewise.
2385 * string/strcoll.c (STRCOLL): Likewise.
2386 * string/strlen.c (strlen): Likewise.
2387 * string/strtok.c (STRTOK): Likewise.
2388 * string/strcat.c: Remove unused #include of memcopy.h.
2389 (strcat): Use ANSI prototype.
2390 * string/strchr.c: Remove unused #include of memcopy.h.
2391 (strchr): Use ANSI prototype.
2392 * string/strcmp.c: Remove unused #include of memcopy.h.
2393 (strcmp): Use ANSI prototype.
2394 * string/strcpy.c: Remove unused #include of memcopy.h.
2395 (strcpy): Use ANSI prototype.
2397 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2399 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2400 * config.make.in (config-extra-cppflags): Set it from
2401 libc_extra_cppflags.
2402 * configure.ac (libc_extra_cflags): Make it accumulate over
2403 configure fragments.
2404 (libc_extra_cppflags): New flag.
2405 * configure. Regenerate.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2407 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2408 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2413 result for FE_DOWNWARD rounding mode.
2414 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2418 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2420 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2421 in function argument name.
2423 2014-04-03 David Svoboda <svoboda@cert.org>
2426 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2429 2014-04-03 Roland McGrath <roland@hack.frob.com>
2431 * elf/dl-unmap-segments.h: New file.
2432 * sysdeps/generic/ldsodefs.h
2433 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2434 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2435 * elf/dl-fptr.c: Likewise.
2436 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2437 * sysdeps/aarch64/tlsdesc.c: Likewise.
2438 * sysdeps/arm/tlsdesc.c: Likewise.
2439 * sysdeps/i386/tlsdesc.c: Likewise.
2440 * sysdeps/tile/dl-runtime.c: Likewise.
2441 * sysdeps/x86_64/tlsdesc.c: Likewise.
2442 * elf/dl-load.h: New file.
2443 * elf/dl-load.c: Include it.
2444 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2445 Macros moved to dl-load.h.
2446 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2447 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2448 Use _dl_unmap_segments in place of __munmap.
2449 Break out segment-mapping loop into ...
2450 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2452 2014-04-03 Will Newton <will.newton@linaro.org>
2454 * elf/dl-lookup.c (do_lookup_x): Remove comment
2455 referring to nested function and move variable
2456 declarations down to before first use.
2458 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2462 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2464 * math/s_catanf.c (__catanf): Likewise.
2465 * math/s_catanh.c (__catanh): Likewise.
2466 * math/s_catanhf.c (__catanhf): Likewise.
2467 * math/s_catanhl.c (__catanhl): Likewise.
2468 * math/s_catanl.c (__catanl): Likewise.
2469 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2470 by positive zero when computing -Inf result.
2471 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2472 (catanh_test): Likewise.
2473 * sysdeps/i386/fpu/libm-test-ulps: Update.
2474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2477 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2478 instead of using underflowing value in computing result.
2479 * math/s_clog10.c (__clog10): Likewise.
2480 * math/s_clog10f.c (__clog10f): Likewise.
2481 * math/s_clog10l.c (__clog10l): Likewise.
2482 * math/s_clogf.c (__clogf): Likewise.
2483 * math/s_clogl.c (__clogl): Likewise.
2484 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2485 (clog10_test): Likewise.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2489 2014-04-02 Alan Modra <amodra@gmail.com>
2492 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2493 output when value is near a power of two. Use int64_t for lx and
2494 remove casts. Use decimal rather than hex exponent constants.
2495 Don't use long double multiplication when double will suffice.
2496 * math/libm-test.inc (nextafter_test_data): Add tests.
2497 * NEWS: Add 16739 and 16786 to bug list.
2499 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2501 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2503 2014-04-01 Will Newton <will.newton@linaro.org>
2505 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2506 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2508 2014-04-01 Florian Weimer <fweimer@redhat.com>
2511 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2512 * nptl/tst-setuid2.c: New file.
2513 * nptl/Makefile (xtests): Add tst-setuid2.
2515 2014-04-01 Alan Modra <amodra@gmail.com>
2518 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2520 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2524 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2525 set errno as appropriate.
2526 * math/w_scalbf.c (__scalbf): Likewise.
2527 * math/w_scalbl.c (__scalbl): Likewise.
2528 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2529 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2530 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2534 * math/w_atan2.c: Include <errno.h>.
2535 (__atan2): Set errno for result underflowing to zero.
2536 * math/w_atan2f.c: Include <errno.h>.
2537 (__atan2f): Set errno for result underflowing to zero.
2538 * math/w_atan2l.c: Include <errno.h>.
2539 (__atan2l): Set errno for result underflowing to zero.
2540 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2542 * math/auto-libm-test-out: Regenerated.
2544 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2547 Encode instruction correctly in little endian.
2548 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2550 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2552 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2554 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2557 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2560 * sysdeps/unix/sysv/linux/kernel-features.h
2561 [__sparc__ && !__arch64__ && !__sparc_v9__]
2562 (__ASSUME_SET_ROBUST_LIST): Do not define.
2563 [__sparc__ && !__arch64__ && !__sparc_v9__]
2564 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2565 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2567 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2568 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2569 (__ASSUME_REQUEUE_PI): Likewise.
2570 (__ASSUME_SET_ROBUST_LIST): Likewise.
2571 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2572 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2577 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2579 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2581 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2582 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2584 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2585 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2590 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2591 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2593 2014-03-31 Will Newton <will.newton@linaro.org>
2595 * benchtests/Makefile (bench): Add ffs and ffsll to list
2597 * benchtests/ffs-inputs: New file.
2598 * benchtests/ffsll-inputs: Likewise.
2600 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2603 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2604 too large before casting to int.
2605 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2606 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2607 * math/libm-test.inc (scalb_test_data): Add more tests.
2609 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2611 * benchtests/Makefile (DETAILED_OPT): New make option.
2612 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2614 * benchtests/bench-skeleton.c: Include stdbool.h.
2615 (main): Store and print timings per input.
2616 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2617 member to each argument value.
2618 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2619 (_print_arg_data): Initialize per-input timing to 0.
2621 * benchtests/Makefile (timing-type): New binary.
2622 (bench-clean): Also remove bench-timing-type.
2623 (bench): New target for timing-type.
2624 (bench-func): Print output in JSON format.
2625 * benchtests/bench-skeleton.c (main): Print output in JSON
2627 * benchtests/bench-timing-type.c: New file.
2628 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2629 (TIMING_PRINT_STATS): Remove.
2630 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2633 * benchtests/bench-modf.c: Remove.
2634 * benchtests/modf-inputs: New inputs file.
2636 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2639 * math/s_clog10.c (M_PI_LOG10E): New macro.
2640 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2641 imaginary parts are 0.
2642 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2643 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2644 imaginary parts are 0.
2645 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2646 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2647 imaginary parts are 0.
2648 * math/libm-test.inc (clog10_test_data): Update expected results
2649 for when real and imaginary parts are 0.
2651 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2653 * elf/dl-load.c: Finish conversion of __builtin_expect into
2656 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2659 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2660 1+x for argument with exponent below -67.
2661 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2663 * math/auto-libm-test-in: Add more tests of exp.
2664 * math/auto-libm-test-out: Regenerated.
2666 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2669 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2670 (nscd_getnetgrent): Use it.
2673 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2676 2014-03-27 Andi Kleen <ak@linux.intel.com>
2678 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2679 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2680 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2681 (lll_robust_unlock): Remove out of line section. Use cfi
2683 (LLL_STUB_UNWIND_INFO*): Remove.
2684 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2685 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2686 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2687 (lll_robust_unlock): Remove out of line section. Use cfi
2689 (LLL_STUB_UNWIND_INFO*): Remove.
2691 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2694 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2697 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2699 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2701 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2704 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2706 * math/test-fenv-preserve.c: New file.
2707 * math/Makefile (tests): Add test-fenv-preserve.
2709 2014-03-26 Will Newton <will.newton@linaro.org>
2711 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2713 2014-03-25 Roland McGrath <roland@hack.frob.com>
2715 * scripts/versionlist.awk: Partition the version sets and emit all
2716 GLIBC_* (sorted) before all others (sorted).
2718 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2720 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2721 GLIBC_2.2.5 version.
2723 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2728 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2733 2014-03-25 Andreas Schwab <schwab@suse.de>
2735 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2736 label to be used after in6ailist is initialized.
2738 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2741 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2743 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2747 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2749 (fp_formats): Update initializers.
2750 (init_fp_formats): Initialize new field.
2751 (output_for_one_input_case): Allow underflow for results up to
2753 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2754 * math/auto-libm-test-in: Don't mark some underflows from asin and
2756 * math/auto-libm-test-out: Regenerated.
2757 * sysdeps/i386/fpu/libm-test-ulps: Update.
2758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2760 2014-03-25 Andreas Schwab <schwab@suse.de>
2762 * libio/Makefile (tst-ftell-partial-wide-ENV)
2763 (tst-ftell-active-handler-ENV): Define.
2765 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2767 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2769 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2771 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2773 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2775 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2776 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2777 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2779 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2782 * elf/dl-load.c (open_verify): Add mode parameter.
2783 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2784 (open_path): Change from boolean 'secure' to complete flag 'mode'
2785 (_dl_map_object): Adjust.
2786 * elf/Makefile (tests): Add tst-dlopen-aout.
2787 * elf/tst-dlopen-aout.c: New test.
2789 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2792 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2793 (struct stat): Rename member pad0 to __glibc_reserved0.
2796 * sysdeps/s390/s390-32/bits/wordsize.h
2797 (__WORDSIZE32_SIZE_ULONG): New define.
2798 * sysdeps/s390/s390-64/bits/wordsize.h
2799 (__WORDSIZE32_SIZE_ULONG): Likewise.
2800 * sysdeps/generic/stdint.h (SIZE_MAX):
2801 Define as UL if __WORDSIZE32_SIZE_ULONG.
2804 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2805 (__glibc_reserved0): New variable.
2806 (sa_flags): Change type to int.
2808 * posix/Makefile (before-compile): Use += before-compile instead
2811 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2812 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2814 2014-03-20 Andreas Schwab <schwab@suse.de>
2817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2818 non-matching result from nscd.
2820 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2822 * scripts/bench.py: Moved to ...
2823 * benchtests/scripts/bench.py: ... here.
2824 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2826 2014-03-24 Andreas Schwab <schwab@suse.de>
2829 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2830 alloca_account and account alloca use for struct in6ailist.
2832 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2835 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2836 rounding mode to recompute results that overflow to infinity or
2838 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2840 * math/auto-libm-test-out: Regenerated.
2841 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2842 (ccosh_test): Likewise.
2843 (csin_test_data): Use plus_oflow.
2844 (csin_test): Use ALL_RM_TEST.
2845 (csinh_test_data): Use plus_oflow.
2846 (csinh_test): Use ALL_RM_TEST.
2847 * sysdeps/i386/fpu/libm-test-ulps: Update.
2848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2850 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2852 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2853 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2854 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2857 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2859 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2860 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2861 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2862 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2864 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2865 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2867 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2868 * sysdeps/i386/fpu/libm-test-ulps: Update.
2869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2871 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2873 * scripts/bench.pl: Remove file.
2874 * scripts/bench.py: New benchmark script.
2875 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2876 * benchtests/README: Mention python dependency.
2877 * scripts/pylintrc: New file.
2878 * scripts/pylint: New file.
2880 * bits/mathdef.h: Use #ifdef instead of #if.
2881 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2882 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2883 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2884 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2885 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2886 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2888 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2889 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2891 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2893 and strpbrk-ppc64 objects.
2894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2895 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2896 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2897 multiarch strpbrk for POWER7.
2898 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2899 multiarch strpbrk for PPC64.
2900 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2902 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2905 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2907 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2908 (atan_test): Likewise.
2909 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2910 (atanh_test): Use ALL_RM_TEST.
2911 (atan2_test_data): Likewise.
2912 (cabs_test): Likewise.
2913 (cacosh_test): Likewise.
2914 (carg_test): Likewise.
2915 (casin_test): Likewise.
2916 (casinh_test): Likewise.
2917 (cbrt_test): Likewise.
2918 (csqrt_test): Likewise.
2919 (erf_test): Likewise.
2920 (erfc_test): Likewise.
2921 (pow10_test): Likewise.
2922 (exp2_test): Likewise.
2923 (hypot_test): Likewise.
2924 (j0_test): Likewise.
2925 (j1_test): Likewise.
2926 (lgamma_test): Likewise.
2927 (gamma_test): Likewise.
2928 (sincos_test): Likewise.
2929 (tanh_test): Likewise.
2930 (y0_test): Likewise.
2931 (y1_test): Likewise.
2932 * sysdeps/i386/fpu/libm-test-ulps: Update.
2933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2935 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2937 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2939 and strcspn-ppc64 objects.
2940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2941 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2942 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2943 multiarch strcspn for POWER7.
2944 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2945 multiarch strcspn for PPC64.
2946 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2948 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2951 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2953 * math/gen-libm-test.pl (generate_testfile): Expect only function
2954 name as argument to AUTO_TESTS_* and pass results for all rounding
2955 modes to parse_args.
2956 (parse_auto_input): Separate inputs of automatic tests from
2957 outputs before storing in %auto_tests.
2958 * math/libm-test.inc (acos_test_data): Update call to
2960 (acos_test): Use ALL_RM_TEST.
2961 (acos_tonearest_test_data): Remove.
2962 (acos_test_tonearest): Likewise.
2963 (acos_towardzero_test_data): Likewise.
2964 (acos_test_towardzero): Likewise.
2965 (acos_downward_test_data): Likewise.
2966 (acos_test_downward): Likewise.
2967 (acos_upward_test_data): Likewise.
2968 (acos_test_upward): Likewise.
2969 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2970 (asin_test_data): Likewise.
2971 (asin_test): Use ALL_RM_TEST.
2972 (asin_tonearest_test_data): Remove.
2973 (asin_test_tonearest): Likewise.
2974 (asin_towardzero_test_data): Likewise.
2975 (asin_test_towardzero): Likewise.
2976 (asin_downward_test_data): Likewise.
2977 (asin_test_downward): Likewise.
2978 (asin_upward_test_data): Likewise.
2979 (asin_test_upward): Likewise.
2980 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2981 (atan_test_data): Likewise.
2982 (atanh_test_data): Likewise.
2983 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2984 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2985 (carg_test_data): Likewise.
2986 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2987 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2988 (ccosh_test_data): Likewise.
2989 (cexp_test_data): Likewise.
2990 (clog_test_data): Likewise.
2991 (clog10_test_data): Likewise.
2992 (cos_test_data): Update call to AUTO_TESTS_f_f.
2993 (cos_test): Use ALL_RM_TEST.
2994 (cos_tonearest_test_data): Remove.
2995 (cos_test_tonearest): Likewise.
2996 (cos_towardzero_test_data): Likewise.
2997 (cos_test_towardzero): Likewise.
2998 (cos_downward_test_data): Likewise.
2999 (cos_test_downward): Likewise.
3000 (cos_upward_test_data): Likewise.
3001 (cos_test_upward): Likewise.
3002 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3003 (cosh_test): Use ALL_RM_TEST.
3004 (cosh_tonearest_test_data): Remove.
3005 (cosh_test_tonearest): Likewise.
3006 (cosh_towardzero_test_data): Likewise.
3007 (cosh_test_towardzero): Likewise.
3008 (cosh_downward_test_data): Likewise.
3009 (cosh_test_downward): Likewise.
3010 (cosh_upward_test_data): Likewise.
3011 (cosh_test_upward): Likewise.
3012 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3013 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3014 (ctan_test_data): Likewise.
3015 (ctan_test): Use ALL_RM_TEST.
3016 (ctan_tonearest_test_data): Remove.
3017 (ctan_test_tonearest): Likewise.
3018 (ctan_towardzero_test_data): Likewise.
3019 (ctan_test_towardzero): Likewise.
3020 (ctan_downward_test_data): Likewise.
3021 (ctan_test_downward): Likewise.
3022 (ctan_upward_test_data): Likewise.
3023 (ctan_test_upward): Likewise.
3024 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3025 (ctanh_test): Use ALL_RM_TEST.
3026 (ctanh_tonearest_test_data): Remove.
3027 (ctanh_test_tonearest): Likewise.
3028 (ctanh_towardzero_test_data): Likewise.
3029 (ctanh_test_towardzero): Likewise.
3030 (ctanh_downward_test_data): Likewise.
3031 (ctanh_test_downward): Likewise.
3032 (ctanh_upward_test_data): Likewise.
3033 (ctanh_test_upward): Likewise.
3034 (erf_test_data): Update call to AUTO_TESTS_f_f.
3035 (erfc_test_data): Likewise.
3036 (exp_test_data): Likewise.
3037 (exp_test): Use ALL_RM_TEST.
3038 (exp_tonearest_test_data): Remove.
3039 (exp_test_tonearest): Likewise.
3040 (exp_towardzero_test_data): Likewise.
3041 (exp_test_towardzero): Likewise.
3042 (exp_downward_test_data): Likewise.
3043 (exp_test_downward): Likewise.
3044 (exp_upward_test_data): Likewise.
3045 (exp_test_upward): Likewise.
3046 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3047 (exp10_test): Use ALL_RM_TEST.
3048 (exp10_tonearest_test_data): Remove.
3049 (exp10_test_tonearest): Likewise.
3050 (exp10_towardzero_test_data): Likewise.
3051 (exp10_test_towardzero): Likewise.
3052 (exp10_downward_test_data): Likewise.
3053 (exp10_test_downward): Likewise.
3054 (exp10_upward_test_data): Likewise.
3055 (exp10_test_upward): Likewise.
3056 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3057 (expm1_test_data): Likewise.
3058 (expm1_test): Use ALL_RM_TEST.
3059 (expm1_tonearest_test_data): Remove.
3060 (expm1_test_tonearest): Likewise.
3061 (expm1_towardzero_test_data): Likewise.
3062 (expm1_test_towardzero): Likewise.
3063 (expm1_downward_test_data): Likewise.
3064 (expm1_test_downward): Likewise.
3065 (expm1_upward_test_data): Likewise.
3066 (expm1_test_upward): Likewise.
3067 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3068 (fma_test): Use ALL_RM_TEST.
3069 (fma_towardzero_test_data): Remove.
3070 (fma_test_towardzero): Likewise.
3071 (fma_downward_test_data): Likewise.
3072 (fma_test_downward): Likewise.
3073 (fma_upward_test_data): Likewise.
3074 (fma_test_upward): Likewise.
3075 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3076 (j0_test_data): Update call to AUTO_TESTS_f_f.
3077 (j1_test_data): Likewise.
3078 (jn_test_data): Update call to AUTO_TESTS_if_f.
3079 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3080 (log_test_data): Update call to AUTO_TESTS_f_f.
3081 (log10_test_data): Likewise.
3082 (log1p_test_data): Likewise.
3083 (log2_test_data): Likewise.
3084 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3085 (pow_tonearest_test_data): Likewise.
3086 (sin_test_data): Update call to AUTO_TESTS_f_f.
3087 (sin_test): Use ALL_RM_TEST.
3088 (sin_tonearest_test_data): Remove.
3089 (sin_test_tonearest): Likewise.
3090 (sin_towardzero_test_data): Likewise.
3091 (sin_test_towardzero): Likewise.
3092 (sin_downward_test_data): Likewise.
3093 (sin_test_downward): Likewise.
3094 (sin_upward_test_data): Likewise.
3095 (sin_test_upward): Likewise.
3096 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3097 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3098 (sinh_test): Use ALL_RM_TEST.
3099 (sinh_tonearest_test_data): Remove.
3100 (sinh_test_tonearest): Likewise.
3101 (sinh_towardzero_test_data): Likewise.
3102 (sinh_test_towardzero): Likewise.
3103 (sinh_downward_test_data): Likewise.
3104 (sinh_test_downward): Likewise.
3105 (sinh_upward_test_data): Likewise.
3106 (sinh_test_upward): Likewise.
3107 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3108 (sqrt_test): Use ALL_RM_TEST.
3109 (sqrt_tonearest_test_data): Remove.
3110 (sqrt_test_tonearest): Likewise.
3111 (sqrt_towardzero_test_data): Likewise.
3112 (sqrt_test_towardzero): Likewise.
3113 (sqrt_downward_test_data): Likewise.
3114 (sqrt_test_downward): Likewise.
3115 (sqrt_upward_test_data): Likewise.
3116 (sqrt_test_upward): Likewise.
3117 (tan_test_data): Update call to AUTO_TESTS_f_f.
3118 (tan_test): Use ALL_RM_TEST.
3119 (tan_tonearest_test_data): Remove.
3120 (tan_test_tonearest): Likewise.
3121 (tan_towardzero_test_data): Likewise.
3122 (tan_test_towardzero): Likewise.
3123 (tan_downward_test_data): Likewise.
3124 (tan_test_downward): Likewise.
3125 (tan_upward_test_data): Likewise.
3126 (tan_test_upward): Likewise.
3127 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3128 (tgamma_test_data): Likewise.
3129 (y0_test_data): Likewise.
3130 (y1_test_data): Likewise.
3131 (yn_test_data): Update call to AUTO_TESTS_if_f.
3132 (main): Do not call removed functions.
3134 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3136 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3137 (ldexp_test_data): Remove.
3138 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3140 (scalb_test): Use ALL_RM_TEST.
3142 2014-03-19 Andreas Schwab <schwab@suse.de>
3144 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3146 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3149 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3150 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3151 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3153 (__ASSUME_PREADV): Undefine.
3154 (__ASSUME_PWRITEV): Likewise.
3156 2014-03-18 Roland McGrath <roland@hack.frob.com>
3158 * bits/mman-linux.h: Add comment about non-Linux use.
3159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3160 bits/mman-linux.h resting place.
3162 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3163 * bits/mman-linux.h: ... here.
3165 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167 * conform/conformtest.pl: Add standard definition when calling C
3168 preprocessor on data files.
3169 (checknamespace): Remove unused variable.
3171 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3173 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3174 minus_oflow, plus_uflow and minus_uflow in expected results.
3175 * math/libm-test.inc (scalbn_test_data): Add more tests of
3176 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3178 (scalbn_test): Use ALL_RM_TEST.
3179 (scalbln_test_data): Add more tests of negative arguments. Use
3180 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3181 (scalbln_test): Use ALL_RM_TEST.
3183 2014-03-18 Roland McGrath <roland@hack.frob.com>
3185 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3187 2014-03-18 Will Newton <will.newton@linaro.org>
3189 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3192 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3194 * Makerules [!subdir] (check-abi): Exit with error status if a
3197 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3199 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3200 for rint. Include results for all rounding modes.
3201 (nearbyint_test): Use ALL_RM_TEST.
3202 (rint_test_data): Include all tests used for nearbyint.
3204 2014-03-17 Will Newton <will.newton@linaro.org>
3206 * nptl/sysdeps/pthread/pthread.h: Revert previous
3209 * sysdeps/generic/ldsodefs.h: Revert previous
3212 * libio/genops.c: Revert previous change.
3213 * libio/libioP.h: Likewise.
3214 * stdio-common/vfprintf.c: Likewise.
3216 * sysdeps/generic/math_private.h: Revert previous
3219 * sysdeps/generic/math_private.h: Check whether
3220 HAVE_RM_CTX is defined with #ifdef rather
3223 * argp/argp-fmtstream.h: Check whether
3224 __STRICT_ANSI__ is defined with #ifdef rather
3226 * argp/argp.h: Likewise.
3228 * libio/genops.c: Check whether
3229 _IO_JUMPS_OFFSET is defined with #ifdef rather
3231 * libio/libioP.h: Likewise.
3232 * stdio-common/vfprintf.c: Likewise.
3234 * sysdeps/generic/ldsodefs.h: Check whether
3235 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3238 * nptl/sysdeps/pthread/pthread.h: Check
3239 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3242 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3244 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3246 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3250 * libio/fileops.c (_IO_file_open): Seek to end of file but
3251 don't cache the offset.
3252 (get_file_offset): Remove function.
3253 (do_ftell): Use cached offset when available.
3254 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3255 don't cache the offset.
3256 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3258 (do_one_test): Call it.
3259 (do_ftell_test): Fix up expected old offset for a+ mode.
3260 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3263 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3264 up test status with function return status.
3265 (do_write_test): Likewise.
3266 (do_append_test): Likewise.
3268 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3269 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3272 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3274 * math/gen-libm-test.pl (parse_args): Handle results specified for
3275 each rounding mode separately.
3276 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3277 tests and results from lrint_tonearest_test_data,
3278 lrint_towardzero_test_data, lrint_downward_test_data and
3279 lrint_upward_test_data.
3280 (lrint_test): Use ALL_RM_TEST.
3281 (lrint_tonearest_test_data): Remove.
3282 (lrint_test_tonearest): Likewise.
3283 (lrint_towardzero_test_data): Likewise.
3284 (lrint_test_towardzero): Likewise.
3285 (lrint_downward_test_data): Likewise.
3286 (lrint_test_downward): Likewise.
3287 (lrint_upward_test_data): Likewise.
3288 (lrint_test_upward): Likewise.
3289 (llrint_test_data): Merge in per-rounding-mode tests and results
3290 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3291 llrint_downward_test_data and llrint_upward_test_data.
3292 (llrint_test): Use ALL_RM_TEST.
3293 (llrint_tonearest_test_data): Remove.
3294 (llrint_test_tonearest): Likewise.
3295 (llrint_towardzero_test_data): Likewise.
3296 (llrint_test_towardzero): Likewise.
3297 (llrint_downward_test_data): Likewise.
3298 (llrint_test_downward): Likewise.
3299 (llrint_upward_test_data): Likewise.
3300 (llrint_test_upward): Likewise.
3301 (rint_test_data): Merge in per-rounding-mode tests and results
3302 from rint_tonearest_test_data, rint_towardzero_test_data,
3303 rint_downward_test_data and rint_upward_test_data. Add
3304 per-rounding-mode results for tests not in those arrays.
3305 (rint_test): Use ALL_RM_TEST.
3306 (rint_tonearest_test_data): Remove.
3307 (rint_test_tonearest): Likewise.
3308 (rint_towardzero_test_data): Likewise.
3309 (rint_test_towardzero): Likewise.
3310 (rint_downward_test_data): Likewise.
3311 (rint_test_downward): Likewise.
3312 (rint_upward_test_data): Likewise.
3313 (rint_test_upward): Likewise.
3314 (main): Don't call removed functions.
3316 2014-03-14 Roland McGrath <roland@hack.frob.com>
3318 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3319 "Compiled on ..." crapola. It is anti-useful.
3321 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3323 * scripts/evaluate-test.sh: Handle fourth argument to determine
3324 whether test run should stop on failure.
3325 * Makeconfig (stop-on-test-failure): New variable.
3326 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3327 $(stop-on-test-failure).
3328 * Makefile (tests): Give a summary of results from testing and
3329 exit with failure status if they include an ERROR or FAIL.
3331 * manual/install.texi (Configuring and compiling): Mention
3332 stop-on-test-failure=y.
3333 * INSTALL: Regenerated.
3335 2014-03-14 Roland McGrath <roland@hack.frob.com>
3337 * scripts/versionlist.awk: New file.
3338 * Makerules [$(build-shared) = yes]
3339 (postclean-generated): Add Versions.def, not Versions.def.v and
3341 ($(common-objpfx)Versions.def.v.i): Target removed.
3342 ($(common-objpfx)Versions.def): New target.
3343 ($(common-objpfx)Versions.all): Depend on that rather that
3344 $(common-objpfx)Versions.def.v.
3345 * Versions.def: File removed.
3347 * Makeconfig (+gccwarn): Add -Wundef.
3348 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3349 a dl-sysdep.h breaking its contract.
3350 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3351 * include/stackinfo.h: New file.
3352 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3353 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3354 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3355 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3356 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3357 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3358 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3359 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3360 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3361 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3362 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3363 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3364 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3365 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3366 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3368 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3373 * math/libm-test.inc (round_test_data): Add more tests.
3376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3378 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3381 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3383 * math/libm-test.inc (ceil_test_data): Add more tests.
3385 * math/libm-test.inc (trunc_test_data): Add more tests related to
3388 2014-03-14 Roland McGrath <roland@hack.frob.com>
3390 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3391 with #if rather than #ifdef.
3392 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3394 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3396 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3397 first. Disable AVX-512 GCC support if assembler doesn't support
3399 * sysdeps/x86_64/configure: Regenerated.
3401 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3403 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3404 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3405 (__old_pthread_attr_setstack): Likewise.
3406 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3407 [!_STACK_GROWS_DOWN]: Likewise.
3409 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3411 * config.make.in (have-bash2): Delete.
3412 * configure.ac (libc_cv_have_bash2): Delete.
3413 * configure: Regenerate.
3414 * elf/Makefile (common-ldd-rewrite): Rename to ...
3415 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3416 (sh-ldd-rewrite): Delete.
3417 (bash-ldd-rewrite): Delete.
3418 (have-bash2): Delete checks.
3419 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3422 * config.make.in (have-ksh): Delete.
3424 * configure.ac (libc_cv_have_ksh): Delete.
3425 * configure: Regenerate.
3427 * elf/Makefile: Delete $(have-ksh) check.
3428 ($(objpfx)sotruss): Change KSH to BASH.
3429 * elf/sotruss.ksh: Rename to ...
3430 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3431 function style to match POSIX. Drop ksh vim mode setting.
3433 * manual/time.texi (Specifying the Time Zone with TZ): Change
3434 Tuesday to Thursday.
3436 * debug/tst-longjmp_chk2.c: Update header comment.
3437 (stackoverflow_handler): Add comment. Call assert on pass value.
3439 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3441 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3442 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3443 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3444 (La_x86_64_vector): Add zmm.
3445 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3446 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3447 ($(objpfx)tst-audit10): New target.
3448 ($(objpfx)tst-audit10.out): Likewise.
3449 (tst-audit10-ENV): New.
3450 (AVX512-CFLAGS): Likewise.
3451 (CFLAGS-tst-audit10.c): Likewise.
3452 (CFLAGS-tst-auditmod10a.c): Likewise.
3453 (CFLAGS-tst-auditmod10b.c): Likewise.
3454 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3455 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3456 * sysdeps/x86_64/configure: Regenerated.
3457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3458 AVX-512 zmm register support.
3459 (_dl_x86_64_save_sse): Likewise.
3460 (_dl_x86_64_restore_sse): Likewise.
3461 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3462 size vector registers.
3463 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3464 (ZMM_SIZE): Likewise.
3465 * sysdeps/x86_64/tst-audit10.c: New file.
3466 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3467 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3469 2014-03-13 Roland McGrath <roland@hack.frob.com>
3471 * configure.ac (HAVE_EHDR_START): New check.
3472 * configure: Regenerated.
3473 * config.h.in (HAVE_EHDR_START): New #undef.
3474 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3475 assuming the lowest-addressed segment maps the start of the file.
3477 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3479 * INSTALL: Regenerated.
3481 2014-03-13 Will Newton <will.newton@linaro.org>
3483 * manual/setjmp.texi (System V contexts): Improve
3484 clarity and grammar of documentation.
3486 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3489 * elf/Makefile (tests): Add tst-pie2.
3490 (tests-pie): Add tst-pie2.
3491 * elf/tst-pie2.c: New file.
3492 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3494 * elf/rtld.c (map_doit): Load executable as lt_executable.
3495 (dl_main): Likewise.
3497 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3501 (__ASSUME_PSELECT): Undefine.
3503 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3506 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3507 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3509 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3510 selector for static builds.
3512 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3515 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3518 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3520 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3521 IFUNC selector for static builds.
3523 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3525 * sysdeps/mips/math_private.h [__mips_hard_float]
3526 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3527 libc_feresetround_mips_ctx.
3528 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3529 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3530 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3533 * math/s_nextafter.c (__nextafter): Do not return value from
3534 overflowing computation.
3535 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3536 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3537 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3541 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3542 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3544 2014-03-11 Roland McGrath <roland@hack.frob.com>
3546 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3547 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3548 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3549 the new mov targetting sp.
3551 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3555 Define it for static builds as well.
3556 (NO_BZERO_IMPL): Likewise.
3558 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3560 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3561 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3562 multiarch strspn for PPC64.
3563 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3564 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3566 (__libc_ifunc_impl_list): Likewise.
3567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3568 multiarch optimizations
3569 * string/strspn.c (strspn): Using macro to redefine symbol name.
3571 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3572 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3574 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3575 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3576 multiarch strncat for PPC64.
3577 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3578 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3580 (__libc_ifunc_impl_list): Likewise.
3581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3582 multiarch optimizations
3584 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3587 * nscd/nscd.service: Make service type forking.
3589 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3591 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3592 sign in non default rounding modes.
3593 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3595 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3597 * math/libm-test.inc (ALL_RM_TEST): New macro.
3598 (ceil_test): Use ALL_RM_TEST.
3599 (cimag_test): Likewise.
3600 (conj_test): Likewise.
3601 (copysign_test): Likewise.
3602 (cproj_test): Likewise.
3603 (creal_test): Likewise.
3604 (fabs_test): Likewise.
3605 (floor_test): Likewise.
3606 (fmax_test): Likewise.
3607 (fmin_test): Likewise.
3608 (fmod_test): Likewise.
3609 (fpclassify_test): Likewise.
3610 (frexp_test): Likewise.
3611 (ilogb_test): Likewise.
3612 (isfinite_test): Likewise.
3613 (finite_test): Likewise.
3614 (isgreater_test): Likewise.
3615 (isgreaterequal_test): Likewise.
3616 (isinf_test): Likewise.
3617 (isless_test): Likewise.
3618 (islessequal_test): Likewise.
3619 (islessgreater_test): Likewise.
3620 (isnan_test): Likewise.
3621 (isnormal_test): Likewise.
3622 (issignaling_test): Likewise.
3623 (isunordered_test): Likewise.
3624 (logb_test): Likewise.
3625 (logb_downward_test_data): Remove.
3626 (logb_test_downward): Likewise.
3627 (lround_test): Use ALL_RM_TEST.
3628 (llround_test): Likewise.
3629 (modf_test): Likewise.
3630 (nexttoward_test): Likewise.
3631 (remainder_test): Likewise.
3632 (drem_test): Likewise.
3633 (remainder_tonearest_test_data): Likewise.
3634 (remainder_test_tonearest): Likewise.
3635 (drem_test_tonearest): Likewise.
3636 (remainder_towardzero_test_data): Likewise.
3637 (remainder_test_towardzero): Likewise.
3638 (drem_test_towardzero): Likewise.
3639 (remainder_downward_test_data): Likewise.
3640 (remainder_test_downward): Likewise.
3641 (drem_test_downward): Likewise.
3642 (remainder_upward_test_data): Likewise.
3643 (remainder_test_upward): Likewise.
3644 (drem_test_upward): Likewise.
3645 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3646 (round_test): Use ALL_RM_TEST.
3647 (signbit_test): Likewise.
3648 (trunc_test): Likewise.
3649 (significand_test): Likewise.
3650 (main): Don't call removed functions.
3652 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3655 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3657 (ILL_ILLOPN): Likewise.
3658 (ILL_ILLADR): Likewise.
3659 (ILL_ILLTRP): Likewise.
3660 (ILL_PRVOPC): Likewise.
3661 (ILL_PRVREG): Likewise.
3662 (ILL_COPROC): Likewise.
3663 (ILL_BADSTK): Likewise.
3664 (FPE_INTDIV): Likewise.
3665 (FPE_INTOVF): Likewise.
3666 (FPE_FLTDIV): Likewise.
3667 (FPE_FLTOVF): Likewise.
3668 (FPE_FLTUND): Likewise.
3669 (FPE_FLTRES): Likewise.
3670 (FPE_FLTINV): Likewise.
3671 (FPE_FLTSUB): Likewise.
3672 (SEGV_MAPERR): Likewise.
3673 (SEGV_ACCERR): Likewise.
3674 (BUS_ADRALN): Likewise.
3675 (BUS_ADRERR): Likewise.
3676 (BUS_OBJERR): Likewise.
3677 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3678 (TRAP_TRACE): Likewise.
3679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3681 (CLD_KILLED): Likewise.
3682 (CLD_DUMPED): Likewise.
3683 (CLD_TRAPPED): Likewise.
3684 (CLD_STOPPED): Likewise.
3685 (CLD_CONTINUED): Likewise.
3686 (POLL_IN): Likewise.
3687 (POLL_OUT): Likewise.
3688 (POLL_MSG): Likewise.
3689 (POLL_ERR): Likewise.
3690 (POLL_PRI): Likewise.
3691 (POLL_HUP): Likewise.
3692 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3694 (ILL_ILLOPN): Likewise.
3695 (ILL_ILLADR): Likewise.
3696 (ILL_ILLTRP): Likewise.
3697 (ILL_PRVOPC): Likewise.
3698 (ILL_PRVREG): Likewise.
3699 (ILL_COPROC): Likewise.
3700 (ILL_BADSTK): Likewise.
3701 (FPE_INTDIV): Likewise.
3702 (FPE_INTOVF): Likewise.
3703 (FPE_FLTDIV): Likewise.
3704 (FPE_FLTOVF): Likewise.
3705 (FPE_FLTUND): Likewise.
3706 (FPE_FLTRES): Likewise.
3707 (FPE_FLTINV): Likewise.
3708 (FPE_FLTSUB): Likewise.
3709 (SEGV_MAPERR): Likewise.
3710 (SEGV_ACCERR): Likewise.
3711 (BUS_ADRALN): Likewise.
3712 (BUS_ADRERR): Likewise.
3713 (BUS_OBJERR): Likewise.
3714 (BUS_MCEERR_AR): Likewise.
3715 (BUS_MCEERR_AO): Likewise.
3716 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3717 (TRAP_TRACE): Likewise.
3718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3720 (CLD_KILLED): Likewise.
3721 (CLD_DUMPED): Likewise.
3722 (CLD_TRAPPED): Likewise.
3723 (CLD_STOPPED): Likewise.
3724 (CLD_CONTINUED): Likewise.
3725 (POLL_IN): Likewise.
3726 (POLL_OUT): Likewise.
3727 (POLL_MSG): Likewise.
3728 (POLL_ERR): Likewise.
3729 (POLL_PRI): Likewise.
3730 (POLL_HUP): Likewise.
3731 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3732 (ILL_ILLOPN): Likewise.
3733 (ILL_ILLADR): Likewise.
3734 (ILL_ILLTRP): Likewise.
3735 (ILL_PRVOPC): Likewise.
3736 (ILL_PRVREG): Likewise.
3737 (ILL_COPROC): Likewise.
3738 (ILL_BADSTK): Likewise.
3739 (FPE_INTDIV): Likewise.
3740 (FPE_INTOVF): Likewise.
3741 (FPE_FLTDIV): Likewise.
3742 (FPE_FLTOVF): Likewise.
3743 (FPE_FLTUND): Likewise.
3744 (FPE_FLTRES): Likewise.
3745 (FPE_FLTINV): Likewise.
3746 (FPE_FLTSUB): Likewise.
3747 (SEGV_MAPERR): Likewise.
3748 (SEGV_ACCERR): Likewise.
3749 (BUS_ADRALN): Likewise.
3750 (BUS_ADRERR): Likewise.
3751 (BUS_OBJERR): Likewise.
3752 (BUS_MCEERR_AR): Likewise.
3753 (BUS_MCEERR_AO): Likewise.
3754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3755 (TRAP_TRACE): Likewise.
3756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3758 (CLD_KILLED): Likewise.
3759 (CLD_DUMPED): Likewise.
3760 (CLD_TRAPPED): Likewise.
3761 (CLD_STOPPED): Likewise.
3762 (CLD_CONTINUED): Likewise.
3763 (POLL_IN): Likewise.
3764 (POLL_OUT): Likewise.
3765 (POLL_MSG): Likewise.
3766 (POLL_ERR): Likewise.
3767 (POLL_PRI): Likewise.
3768 (POLL_HUP): Likewise.
3769 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3771 (ILL_ILLOPN): Likewise.
3772 (ILL_ILLADR): Likewise.
3773 (ILL_ILLTRP): Likewise.
3774 (ILL_PRVOPC): Likewise.
3775 (ILL_PRVREG): Likewise.
3776 (ILL_COPROC): Likewise.
3777 (ILL_BADSTK): Likewise.
3778 (ILL_BADIADDR): Likewise.
3779 (ILL_BREAK): Likewise.
3780 (FPE_INTDIV): Likewise.
3781 (FPE_INTOVF): Likewise.
3782 (FPE_FLTDIV): Likewise.
3783 (FPE_FLTOVF): Likewise.
3784 (FPE_FLTUND): Likewise.
3785 (FPE_FLTRES): Likewise.
3786 (FPE_FLTINV): Likewise.
3787 (FPE_FLTSUB): Likewise.
3788 (FPE_DECOVF): Likewise.
3789 (FPE_DECDIV): Likewise.
3790 (FPE_DECERR): Likewise.
3791 (FPE_INVASC): Likewise.
3792 (FPE_INVDEC): Likewise.
3793 (SEGV_MAPERR): Likewise.
3794 (SEGV_ACCERR): Likewise.
3795 (SEGV_PSTKOVF): Likewise.
3796 (BUS_ADRALN): Likewise.
3797 (BUS_ADRERR): Likewise.
3798 (BUS_OBJERR): Likewise.
3799 (BUS_MCEERR_AR): Likewise.
3800 (BUS_MCEERR_AO): Likewise.
3801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3802 (TRAP_TRACE): Likewise.
3803 (TRAP_BRANCH): Likewise.
3804 (TRAP_HWBKPT): Likewise.
3805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3807 (CLD_KILLED): Likewise.
3808 (CLD_DUMPED): Likewise.
3809 (CLD_TRAPPED): Likewise.
3810 (CLD_STOPPED): Likewise.
3811 (CLD_CONTINUED): Likewise.
3812 (POLL_IN): Likewise.
3813 (POLL_OUT): Likewise.
3814 (POLL_MSG): Likewise.
3815 (POLL_ERR): Likewise.
3816 (POLL_PRI): Likewise.
3817 (POLL_HUP): Likewise.
3818 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3819 (ILL_ILLOPN): Likewise.
3820 (ILL_ILLADR): Likewise.
3821 (ILL_ILLTRP): Likewise.
3822 (ILL_PRVOPC): Likewise.
3823 (ILL_PRVREG): Likewise.
3824 (ILL_COPROC): Likewise.
3825 (ILL_BADSTK): Likewise.
3826 (FPE_INTDIV): Likewise.
3827 (FPE_INTOVF): Likewise.
3828 (FPE_FLTDIV): Likewise.
3829 (FPE_FLTOVF): Likewise.
3830 (FPE_FLTUND): Likewise.
3831 (FPE_FLTRES): Likewise.
3832 (FPE_FLTINV): Likewise.
3833 (FPE_FLTSUB): Likewise.
3834 (SEGV_MAPERR): Likewise.
3835 (SEGV_ACCERR): Likewise.
3836 (BUS_ADRALN): Likewise.
3837 (BUS_ADRERR): Likewise.
3838 (BUS_OBJERR): Likewise.
3839 (BUS_MCEERR_AR): Likewise.
3840 (BUS_MCEERR_AO): Likewise.
3841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3842 (TRAP_TRACE): Likewise.
3843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3845 (CLD_KILLED): Likewise.
3846 (CLD_DUMPED): Likewise.
3847 (CLD_TRAPPED): Likewise.
3848 (CLD_STOPPED): Likewise.
3849 (CLD_CONTINUED): Likewise.
3850 (POLL_IN): Likewise.
3851 (POLL_OUT): Likewise.
3852 (POLL_MSG): Likewise.
3853 (POLL_ERR): Likewise.
3854 (POLL_PRI): Likewise.
3855 (POLL_HUP): Likewise.
3856 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3857 (ILL_ILLOPN): Likewise.
3858 (ILL_ILLADR): Likewise.
3859 (ILL_ILLTRP): Likewise.
3860 (ILL_PRVOPC): Likewise.
3861 (ILL_PRVREG): Likewise.
3862 (ILL_COPROC): Likewise.
3863 (ILL_BADSTK): Likewise.
3864 (FPE_INTDIV): Likewise.
3865 (FPE_INTOVF): Likewise.
3866 (FPE_FLTDIV): Likewise.
3867 (FPE_FLTOVF): Likewise.
3868 (FPE_FLTUND): Likewise.
3869 (FPE_FLTRES): Likewise.
3870 (FPE_FLTINV): Likewise.
3871 (FPE_FLTSUB): Likewise.
3872 (SEGV_MAPERR): Likewise.
3873 (SEGV_ACCERR): Likewise.
3874 (BUS_ADRALN): Likewise.
3875 (BUS_ADRERR): Likewise.
3876 (BUS_OBJERR): Likewise.
3877 (BUS_MCEERR_AR): Likewise.
3878 (BUS_MCEERR_AO): Likewise.
3879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3880 (TRAP_TRACE): Likewise.
3881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3883 (CLD_KILLED): Likewise.
3884 (CLD_DUMPED): Likewise.
3885 (CLD_TRAPPED): Likewise.
3886 (CLD_STOPPED): Likewise.
3887 (CLD_CONTINUED): Likewise.
3888 (POLL_IN): Likewise.
3889 (POLL_OUT): Likewise.
3890 (POLL_MSG): Likewise.
3891 (POLL_ERR): Likewise.
3892 (POLL_PRI): Likewise.
3893 (POLL_HUP): Likewise.
3894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3895 (ILL_ILLOPN): Likewise.
3896 (ILL_ILLADR): Likewise.
3897 (ILL_ILLTRP): Likewise.
3898 (ILL_PRVOPC): Likewise.
3899 (ILL_PRVREG): Likewise.
3900 (ILL_COPROC): Likewise.
3901 (ILL_BADSTK): Likewise.
3902 (FPE_INTDIV): Likewise.
3903 (FPE_INTOVF): Likewise.
3904 (FPE_FLTDIV): Likewise.
3905 (FPE_FLTOVF): Likewise.
3906 (FPE_FLTUND): Likewise.
3907 (FPE_FLTRES): Likewise.
3908 (FPE_FLTINV): Likewise.
3909 (FPE_FLTSUB): Likewise.
3910 (SEGV_MAPERR): Likewise.
3911 (SEGV_ACCERR): Likewise.
3912 (BUS_ADRALN): Likewise.
3913 (BUS_ADRERR): Likewise.
3914 (BUS_OBJERR): Likewise.
3915 (BUS_MCEERR_AR): Likewise.
3916 (BUS_MCEERR_AO): Likewise.
3917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3918 (TRAP_TRACE): Likewise.
3919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3921 (CLD_KILLED): Likewise.
3922 (CLD_DUMPED): Likewise.
3923 (CLD_TRAPPED): Likewise.
3924 (CLD_STOPPED): Likewise.
3925 (CLD_CONTINUED): Likewise.
3926 (POLL_IN): Likewise.
3927 (POLL_OUT): Likewise.
3928 (POLL_MSG): Likewise.
3929 (POLL_ERR): Likewise.
3930 (POLL_PRI): Likewise.
3931 (POLL_HUP): Likewise.
3932 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3933 (ILL_ILLOPN): Likewise.
3934 (ILL_ILLADR): Likewise.
3935 (ILL_ILLTRP): Likewise.
3936 (ILL_PRVOPC): Likewise.
3937 (ILL_PRVREG): Likewise.
3938 (ILL_COPROC): Likewise.
3939 (ILL_BADSTK): Likewise.
3940 (ILL_DBLFLT): Likewise.
3941 (ILL_HARDWALL): Likewise.
3942 (FPE_INTDIV): Likewise.
3943 (FPE_INTOVF): Likewise.
3944 (FPE_FLTDIV): Likewise.
3945 (FPE_FLTOVF): Likewise.
3946 (FPE_FLTUND): Likewise.
3947 (FPE_FLTRES): Likewise.
3948 (FPE_FLTINV): Likewise.
3949 (FPE_FLTSUB): Likewise.
3950 (SEGV_MAPERR): Likewise.
3951 (SEGV_ACCERR): Likewise.
3952 (BUS_ADRALN): Likewise.
3953 (BUS_ADRERR): Likewise.
3954 (BUS_OBJERR): Likewise.
3955 (BUS_MCEERR_AR): Likewise.
3956 (BUS_MCEERR_AO): Likewise.
3957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3958 (TRAP_TRACE): Likewise.
3959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3961 (CLD_KILLED): Likewise.
3962 (CLD_DUMPED): Likewise.
3963 (CLD_TRAPPED): Likewise.
3964 (CLD_STOPPED): Likewise.
3965 (CLD_CONTINUED): Likewise.
3966 (POLL_IN): Likewise.
3967 (POLL_OUT): Likewise.
3968 (POLL_MSG): Likewise.
3969 (POLL_ERR): Likewise.
3970 (POLL_PRI): Likewise.
3971 (POLL_HUP): Likewise.
3972 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3973 (ILL_ILLOPN): Likewise.
3974 (ILL_ILLADR): Likewise.
3975 (ILL_ILLTRP): Likewise.
3976 (ILL_PRVOPC): Likewise.
3977 (ILL_PRVREG): Likewise.
3978 (ILL_COPROC): Likewise.
3979 (ILL_BADSTK): Likewise.
3980 (FPE_INTDIV): Likewise.
3981 (FPE_INTOVF): Likewise.
3982 (FPE_FLTDIV): Likewise.
3983 (FPE_FLTOVF): Likewise.
3984 (FPE_FLTUND): Likewise.
3985 (FPE_FLTRES): Likewise.
3986 (FPE_FLTINV): Likewise.
3987 (FPE_FLTSUB): Likewise.
3988 (SEGV_MAPERR): Likewise.
3989 (SEGV_ACCERR): Likewise.
3990 (BUS_ADRALN): Likewise.
3991 (BUS_ADRERR): Likewise.
3992 (BUS_OBJERR): Likewise.
3993 (BUS_MCEERR_AR): Likewise.
3994 (BUS_MCEERR_AO): Likewise.
3995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3996 (TRAP_TRACE): Likewise.
3997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3999 (CLD_KILLED): Likewise.
4000 (CLD_DUMPED): Likewise.
4001 (CLD_TRAPPED): Likewise.
4002 (CLD_STOPPED): Likewise.
4003 (CLD_CONTINUED): Likewise.
4004 (POLL_IN): Likewise.
4005 (POLL_OUT): Likewise.
4006 (POLL_MSG): Likewise.
4007 (POLL_ERR): Likewise.
4008 (POLL_PRI): Likewise.
4009 (POLL_HUP): Likewise.
4010 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4011 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4014 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4015 before #include of <time.h>.
4016 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4017 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4018 (test-xfail-UNIX98/sched.h/conform): Likewise.
4020 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4022 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4023 error absence of trapping exception support.
4024 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4026 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4028 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4029 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4030 * timezone/Makefile (testdata): Move definition above include of
4032 (test-zones): New variable.
4033 (tests-special): Add zone files.
4034 (build-testdata): Use $(evaluate-test).
4036 * elf/Makefile (tests-special): Rename tests to end with .out.
4037 ($(objpfx)noload-mem): Likewise.
4038 ($(objpfx)tst-leaks1-mem): Likewise.
4039 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4040 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4041 $(objpfx)test-iconvconfig.out.
4042 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4043 set -e inside subshell and redirect output to file.
4044 * iconvdata/Makefile (generated): Rename tests to end with .out.
4046 (tests-special): Rename tests to end with .out.
4047 ($(objpfx)mtrace-tst-loading): Likewise.
4048 * intl/Makefile (generated): Likewise.
4049 (tests-special): Likewise.
4050 ($(objpfx)mtrace-tst-gettext): Likewise.
4051 * misc/Makefile (generated): Likewise.
4052 (tests-special): Likewise.
4053 ($(objpfx)tst-error1-mem): Likewise.
4054 * nptl/Makefile (tests-special): Likewise.
4055 ($(objpfx)tst-stack3-mem): Likewise.
4056 (generated): Likewise.
4057 * posix/Makefile (generated): Likewise.
4058 (tests-special): Likewise.
4059 (xtests-special): Likewise.
4060 ($(objpfx)tst-fnmatch-mem): Likewise.
4061 ($(objpfx)bug-regex2-mem): Likewise.
4062 ($(objpfx)bug-regex14-mem): Likewise.
4063 ($(objpfx)bug-regex21-mem): Likewise.
4064 ($(objpfx)bug-regex31-mem): Likewise.
4065 ($(objpfx)tst-vfork3-mem): Likewise.
4066 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4067 ($(objpfx)tst-pcre-mem): Likewise.
4068 ($(objpfx)tst-boost-mem): Likewise.
4069 ($(objpfx)bug-ga2-mem): Likewise.
4070 ($(objpfx)bug-glob2-mem): Likewise.
4071 * resolv/Makefile (generate): Likewise.
4072 (tests-special): Likewise.
4073 (xtests-special): Likewise.
4074 (generated): Likewise.
4075 ($(objpfx)mtrace-tst-leaks): Likewise.
4076 ($(objpfx)mtrace-tst-leaks2): Likewise.
4078 * scripts/merge-test-results.sh: New file.
4079 * Makefile (tests-special-notdir): New variable.
4080 (tests): Run merge-test-results.sh.
4082 * Rules (tests-special-notdir): New variable.
4083 (xtests-special-notdir): Likewise.
4084 (tests): Run merge-test-results.sh
4087 * Makeconfig (test-xfail-name): New variable.
4088 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4089 compute variable name for expected failures.
4090 * conform/Makefile (conformtest-headers-data): New variable.
4091 (conformtest-standards): Likewise.
4092 (conformtest-headers-ISO): Likewise.
4093 (conformtest-headers-ISO99): Likewise.
4094 (conformtest-headers-ISO11): Likewise.
4095 (conformtest-headers-POSIX): Likewise.
4096 (conformtest-headers-XPG3): Likewise.
4097 (conformtest-headers-XPG4): Likewise.
4098 (conformtest-headers-UNIX98): Likewise.
4099 (conformtest-headers-XOPEN2K): Likewise.
4100 (conformtest-headers-POSIX2008): Likewise.
4101 (conformtest-headers-XOPEN2K8): Likewise.
4102 (conformtest-header-list-base): Likewise.
4103 (conformtest-header-list-tests): Likewise.
4104 (conformtest-header-base): Likewise.
4105 (conformtest-header-tests): Likewise.
4106 (tests-special): Add $(conformtest-header-list-tests). If
4107 [$(fast-check) && !$(cross-compiling)], add
4108 $(conformtest-header-tests) instead of
4109 $(objpfx)run-conformtest.out.
4110 (generated): Add $(conformtest-header-list-base). If
4111 [$(fast-check) && !$(cross-compiling)], add
4112 $(conformtest-header-base). Remove previous setting.
4113 ($(conformtest-header-list-tests)): New target.
4114 (test-xfail-run-conformtest): Remove variable.
4115 ($(objpfx)run-conformtest.out): Remove target.
4116 (test-xfail-ISO11/complex.h/conform): New variable.
4117 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4118 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4119 (test-xfail-XPG3/varargs.h/conform): Likewise.
4120 (test-xfail-XPG4/varargs.h/conform): Likewise.
4121 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4122 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4123 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4124 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4125 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4126 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4127 (test-xfail-XPG3/ftw.h/conform): Likewise.
4128 (test-xfail-XPG3/grp.h/conform): Likewise.
4129 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4130 (test-xfail-XPG3/limits.h/conform): Likewise.
4131 (test-xfail-XPG3/pwd.h/conform): Likewise.
4132 (test-xfail-XPG3/search.h/conform): Likewise.
4133 (test-xfail-XPG3/signal.h/conform): Likewise.
4134 (test-xfail-XPG3/stdio.h/conform): Likewise.
4135 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4136 (test-xfail-XPG3/string.h/conform): Likewise.
4137 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4138 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4139 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4140 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4141 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4142 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4143 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4144 (test-xfail-XPG3/termios.h/conform): Likewise.
4145 (test-xfail-XPG3/time.h/conform): Likewise.
4146 (test-xfail-XPG3/unistd.h/conform): Likewise.
4147 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4148 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4149 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4150 (test-xfail-XPG4/netdb.h/conform): Likewise.
4151 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4152 (test-xfail-XPG4/signal.h/conform): Likewise.
4153 (test-xfail-XPG4/stdio.h/conform): Likewise.
4154 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4155 (test-xfail-XPG4/stropts.h/conform): Likewise.
4156 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4157 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4158 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4159 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4160 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4161 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4162 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4163 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4164 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4165 (test-xfail-XPG4/termios.h/conform): Likewise.
4166 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4167 (test-xfail-XPG4/unistd.h/conform): Likewise.
4168 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4169 (test-xfail-POSIX/sched.h/conform): Likewise.
4170 (test-xfail-POSIX/signal.h/conform): Likewise.
4171 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4172 (test-xfail-POSIX/tar.h/conform): Likewise.
4173 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4174 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4175 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4176 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4177 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4178 (test-xfail-UNIX98/sched.h/conform): Likewise.
4179 (test-xfail-UNIX98/signal.h/conform): Likewise.
4180 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4181 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4182 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4183 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4184 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4185 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4186 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4187 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4188 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4189 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4190 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4191 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4192 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4193 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4194 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4195 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4196 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4197 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4198 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4199 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4200 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4201 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4202 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4203 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4204 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4205 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4206 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4207 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4208 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4209 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4210 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4211 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4212 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4213 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4214 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4215 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4216 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4217 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4218 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4219 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4220 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4221 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4222 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4223 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4224 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4225 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4226 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4227 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4228 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4229 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4230 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4231 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4232 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4233 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4234 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4235 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4236 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4237 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4238 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4239 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4240 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4241 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4242 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4243 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4244 (conformtest-cc-flags): Likewise.
4245 ($(conformtest-header-tests): New target.
4246 * conform/check-header-lists.sh: New file.
4247 * conform/run-conformtest.sh: Remove.
4249 * conform/conformtest.pl: Allow ' and \ in values given for
4251 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4253 [POSIX] (sys/types.h): Likewise.
4254 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4256 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4258 * conform/data/signal.h-data (SIGIO): Remove expectation.
4259 [XPG3] (SIGBUS): Do not expect.
4260 [POSIX || XPG3] (SIGPOLL): Likewise.
4261 [POSIX || XPG3] (SIGPROF): Likewise.
4262 [POSIX || XPG3] (SIGSYS): Likewise.
4263 [XPG3] (SIGTRAP): Likewise.
4264 [POSIX || XPG3] (SIGURG): Likewise.
4265 [POSIX || XPG3] (SIGVTALRM): Likewise.
4266 [POSIX || XPG3] (SIGXCPU): Likewise.
4267 [POSIX || XPG3] (SIGXFSZ): Likewise.
4268 [POSIX] (SA_SIGINFO): Expect.
4269 [XPG3] (siginfo_t): Do not expect type or contents.
4270 [POSIX] (si_pid): Do not expect element.
4271 [POSIX] (si_uid): Likewise.
4272 [POSIX] (si_addr): Likewise.
4273 [POSIX] (si_status): Likewise.
4274 [POSIX] (si_band): Likewise.
4275 [XPG4] (si_value): Likewise.
4276 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4277 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4278 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4279 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4280 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4281 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4282 [POSIX || XPG3] (ILL_COPROC): Likewise.
4283 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4284 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4285 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4286 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4287 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4288 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4289 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4290 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4291 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4292 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4293 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4294 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4295 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4296 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4297 [POSIX || XPG3] (CLD_EXITED): Likewise.
4298 [POSIX || XPG3] (CLD_KILLED): Likewise.
4299 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4300 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4301 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4302 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4303 [POSIX || XPG3] (POLL_IN): Likewise.
4304 [POSIX || XPG3] (POLL_OUT): Likewise.
4305 [POSIX || XPG3] (POLL_MSG): Likewise.
4306 [POSIX || XPG3] (POLL_ERR): Likewise.
4307 [POSIX || XPG3] (POLL_PRI): Likewise.
4308 [POSIX || XPG3] (POLL_HUP): Likewise.
4309 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4310 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4311 (SIG*): Do not allow.
4312 [XPG3] (si_*): Likewise.
4313 [XPG3] (SI_*): Likewise.
4314 [XPG3 || XPG4] (sigev_*): Likewise.
4315 [XPG3 || XPG4] (SIGEV_*): Likewise.
4316 [XPG3 || XPG4] (sival_*): Likewise.
4317 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4318 [POSIX || XPG3] (BUS_*): Likewise.
4319 [POSIX || XPG3] (CLD_*): Likewise.
4320 [POSIX || XPG3] (FPE_*): Likewise.
4321 [POSIX || XPG3] (ILL_*): Likewise.
4322 [POSIX || XPG3] (POLL_*): Likewise.
4323 [POSIX || XPG3] (SEGV_*): Likewise.
4324 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4325 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4326 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4327 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4328 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4329 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4330 Specify type and value.
4331 (TVERSLEN): Likewise.
4332 (REGTYPE): Likewise.
4333 (AREGTYPE): Likewise.
4334 (LNKTYPE): Likewise.
4335 (SYMTYPE): Likewise.
4336 (CHRTYPE): Likewise.
4337 (BLKTYPE): Likewise.
4338 (DIRTYPE): Likewise.
4339 (FIFOTYPE): Likewise.
4340 (CONTTYPE): Likewise.
4345 (TUWRITE): Likewise.
4348 (TGWRITE): Likewise.
4351 (TOWRITE): Likewise.
4353 [POSIX] (TSVTX): Expect constant.
4355 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4357 * Makefile (tests): Change dependencies to ....
4358 (tests-special): ... additions to this variable.
4359 (tests): Depend on $(tests-special).
4360 * Makerules (check-abi-list): New variable.
4361 (check-abi): Depend on $(check-abi-list).
4362 [$(subdir) = elf] (tests-special): Add
4363 $(objpfx)check-abi-libc.out.
4364 [$(build-shared) = yes && subdir] (tests-special): Add
4366 [$(build-shared) = yes && subdir] (tests): Do not depend on
4368 * Rules (tests): Depend on $(tests-special).
4369 (xtests): Depend on $(xtests-special).
4370 * catgets/Makefile (tests): Change dependencies to ....
4371 (tests-special): ... additions to this variable.
4372 * conform/Makefile (tests): Change dependencies to ....
4373 (tests-special): ... additions to this variable.
4374 * elf/Makefile (tests): Change dependencies to ....
4375 (tests-special): ... additions to this variable.
4376 * grp/Makefile (tests): Change dependencies to ....
4377 (tests-special): ... additions to this variable.
4378 * iconv/Makefile (xtests): Change dependencies to ....
4379 (xtests-special): ... additions to this variable.
4380 * iconvdata/Makefile (tests): Change dependencies to ....
4381 (tests-special): ... additions to this variable.
4382 * intl/Makefile (tests): Change dependencies to ....
4383 (tests-special): ... additions to this variable. Also add
4384 $(objpfx)tst-gettext.out.
4385 * io/Makefile (tests): Change dependencies to ....
4386 (tests-special): ... additions to this variable.
4387 * libio/Makefile (tests): Change dependencies to ....
4388 (tests-special): ... additions to this variable.
4389 * malloc/Makefile (tests): Change dependencies to ....
4390 (tests-special): ... additions to this variable.
4391 * misc/Makefile (tests): Change dependencies to ....
4392 (tests-special): ... additions to this variable.
4393 * nptl/Makefile (tests): Change dependencies to ....
4394 (tests-special): ... additions to this variable.
4395 * nptl_db/Makefile (tests): Change dependencies to ....
4396 (tests-special): ... additions to this variable.
4397 * posix/Makefile (tests): Change dependencies to ....
4398 (tests-special): ... additions to this variable.
4399 (xtests): Change dependencies to ....
4400 (xtests-special): ... additions to this variable.
4401 * resolv/Makefile (tests): Change dependencies to ....
4402 (tests-special): ... additions to this variable.
4403 (xtests): Change dependencies to ....
4404 (xtests-special): ... additions to this variable.
4405 * stdio-common/Makefile (tests): Change dependencies to ....
4406 (tests-special): ... additions to this variable.
4407 (do-tst-unbputc): Remove target.
4408 (do-tst-printf): Likewise.
4409 * stdlib/Makefile (tests): Change dependencies to ....
4410 (tests-special): ... additions to this variable.
4411 * string/Makefile (tests): Change dependencies to ....
4412 (tests-special): ... additions to this variable.
4413 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4414 (tests-special): ... additions to this variable.
4416 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4418 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4420 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4421 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4423 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4424 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4425 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4426 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4427 * conform/data/libgen.h-data [XPG3]: Likewise.
4428 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4429 * conform/data/ndbm.h-data [XPG3]: Likewise.
4430 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4431 * conform/data/netdb.h-data [XPG3]: Likewise.
4432 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4433 * conform/data/poll.h-data [XPG3]: Likewise.
4434 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4435 * conform/data/strings.h-data [XPG3]: Likewise.
4436 * conform/data/stropts.h-data [XPG3]: Likewise.
4437 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4438 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4439 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4441 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4442 * conform/data/sys/time.h-data [XPG3]: Likewise.
4443 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4444 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4445 * conform/data/sys/un.h-data [XPG3]: Likewise.
4446 * conform/data/syslog.h-data [XPG3]: Likewise.
4447 * conform/data/ucontext.h-data [XPG3]: Likewise.
4448 * conform/data/utmpx.h-data [XPG3]: Likewise.
4449 * conform/data/varargs.h-data [UNIX98]: Enable file.
4451 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4453 * math/libm-test.inc (struct test_f_f_data): Move expected results
4454 into structure for each rounding mode.
4455 (struct test_ff_f_data): Likewise.
4456 (struct test_ff_f_data_nexttoward): Likewise.
4457 (struct test_fi_f_data): Likewise.
4458 (struct test_fl_f_data): Likewise.
4459 (struct test_if_f_data): Likewise.
4460 (struct test_fff_f_data): Likewise.
4461 (struct test_c_f_data): Likewise.
4462 (struct test_f_f1_data): Likewise.
4463 (struct test_fF_f1_data): Likewise.
4464 (struct test_ffI_f1_data): Likewise.
4465 (struct test_c_c_data): Likewise.
4466 (struct test_cc_c_data): Likewise.
4467 (struct test_f_i_data): Likewise.
4468 (struct test_ff_i_data): Likewise.
4469 (struct test_f_l_data): Likewise.
4470 (struct test_f_L_data): Likewise.
4471 (struct test_fFF_11_data): Likewise.
4473 (RM_FE_DOWNWARD): Likewise.
4474 (RM_FE_TONEAREST): Likewise.
4475 (RM_FE_TOWARDZERO): Likewise.
4476 (RM_FE_UPWARD): Likewise.
4477 (RUN_TEST_LOOP_f_f): Update references to expected results.
4478 (RUN_TEST_LOOP_2_f): Likewise.
4479 (RUN_TEST_LOOP_fff_f): Likewise.
4480 (RUN_TEST_LOOP_c_f): Likewise.
4481 (RUN_TEST_LOOP_f_f1): Likewise.
4482 (RUN_TEST_LOOP_fF_f1): Likewise.
4483 (RUN_TEST_LOOP_fI_f1): Likewise.
4484 (RUN_TEST_LOOP_ffI_f1): Likewise.
4485 (RUN_TEST_LOOP_c_c): Likewise.
4486 (RUN_TEST_LOOP_cc_c): Likewise.
4487 (RUN_TEST_LOOP_f_i): Likewise.
4488 (RUN_TEST_LOOP_f_i_tg): Likewise.
4489 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4490 (RUN_TEST_LOOP_f_b): Likewise.
4491 (RUN_TEST_LOOP_f_b_tg): Likewise.
4492 (RUN_TEST_LOOP_f_l): Likewise.
4493 (RUN_TEST_LOOP_f_L): Likewise.
4494 (RUN_TEST_LOOP_fFF_11): Likewise.
4495 * math/gen-libm-test.pl (parse_args): Output four copies of
4496 expected results for each test.
4498 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4499 (__ASSUME_UTIMES): Remove.
4500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4501 (__ASSUME_UTIMES): Likewise.
4503 * math/gen-auto-libm-tests.c: Update comment on output format.
4504 (output_for_one_input_case): Generate before-rounding and
4505 after-rounding information as conditions on output flags not
4506 floating-point format.
4507 * math/auto-libm-test-out: Regenerated.
4508 * math/gen-libm-test.pl (cond_value): New function.
4509 (or_cond_value): Use cond_value.
4510 (generate_testfile): Handle conditional exceptions.
4512 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4514 * math/libm-test.inc (max_valid_error): New variable.
4515 (init_max_error): Take new argument specifying whether function
4516 results are exactly determined. Set max_valid_error and bound
4517 other variables for errors based on this argument.
4518 (set_max_error): Do not record results above max_valid_error.
4519 (check_float_internal): Only accept errors of up to 0.5ulps if
4520 also at most max_valid_error.
4521 (START): Take new argument EXACT and pass it to init_max_error.
4522 (acos_test): Update call to START.
4523 (acos_test_tonearest): Likewise.
4524 (acos_test_towardzero): Likewise.
4525 (acos_test_downward): Likewise.
4526 (acos_test_upward): Likewise.
4527 (acosh_test): Likewise.
4528 (asin_test): Likewise.
4529 (asin_test_tonearest): Likewise.
4530 (asin_test_towardzero): Likewise.
4531 (asin_test_downward): Likewise.
4532 (asin_test_upward): Likewise.
4533 (asinh_test): Likewise.
4534 (atan_test): Likewise.
4535 (atanh_test): Likewise.
4536 (atan2_test): Likewise.
4537 (cabs_test): Likewise.
4538 (cacos_test): Likewise.
4539 (cacosh_test): Likewise.
4540 (carg_test): Likewise.
4541 (casin_test): Likewise.
4542 (casinh_test): Likewise.
4543 (catan_test): Likewise.
4544 (catanh_test): Likewise.
4545 (cbrt_test): Likewise.
4546 (ccos_test): Likewise.
4547 (ccosh_test): Likewise.
4548 (ceil_test): Likewise.
4549 (cexp_test): Likewise.
4550 (cimag_test): Likewise.
4551 (clog_test): Likewise.
4552 (clog10_test): Likewise.
4553 (conj_test): Likewise.
4554 (copysign_test): Likewise.
4555 (cos_test): Likewise.
4556 (cos_test_tonearest): Likewise.
4557 (cos_test_towardzero): Likewise.
4558 (cos_test_downward): Likewise.
4559 (cos_test_upward): Likewise.
4560 (cosh_test): Likewise.
4561 (cosh_test_tonearest): Likewise.
4562 (cosh_test_towardzero): Likewise.
4563 (cosh_test_downward): Likewise.
4564 (cosh_test_upward): Likewise.
4565 (cpow_test): Likewise.
4566 (cproj_test): Likewise.
4567 (creal_test): Likewise.
4568 (csin_test): Likewise.
4569 (csinh_test): Likewise.
4570 (csqrt_test): Likewise.
4571 (ctan_test): Likewise.
4572 (ctan_test_tonearest): Likewise.
4573 (ctan_test_towardzero): Likewise.
4574 (ctan_test_downward): Likewise.
4575 (ctan_test_upward): Likewise.
4576 (ctanh_test): Likewise.
4577 (ctanh_test_tonearest): Likewise.
4578 (ctanh_test_towardzero): Likewise.
4579 (ctanh_test_downward): Likewise.
4580 (ctanh_test_upward): Likewise.
4581 (erf_test): Likewise.
4582 (erfc_test): Likewise.
4583 (exp_test): Likewise.
4584 (exp_test_tonearest): Likewise.
4585 (exp_test_towardzero): Likewise.
4586 (exp_test_downward): Likewise.
4587 (exp_test_upward): Likewise.
4588 (exp10_test): Likewise.
4589 (exp10_test_tonearest): Likewise.
4590 (exp10_test_towardzero): Likewise.
4591 (exp10_test_downward): Likewise.
4592 (exp10_test_upward): Likewise.
4593 (pow10_test): Likewise.
4594 (exp2_test): Likewise.
4595 (expm1_test): Likewise.
4596 (expm1_test_tonearest): Likewise.
4597 (expm1_test_towardzero): Likewise.
4598 (expm1_test_downward): Likewise.
4599 (expm1_test_upward): Likewise.
4600 (fabs_test): Likewise.
4601 (fdim_test): Likewise.
4602 (floor_test): Likewise.
4603 (fma_test): Likewise.
4604 (fma_test_towardzero): Likewise.
4605 (fma_test_downward): Likewise.
4606 (fma_test_upward): Likewise.
4607 (fmax_test): Likewise.
4608 (fmin_test): Likewise.
4609 (fmod_test): Likewise.
4610 (fpclassify_test): Likewise.
4611 (frexp_test): Likewise.
4612 (hypot_test): Likewise.
4613 (ilogb_test): Likewise.
4614 (isfinite_test): Likewise.
4615 (finite_test): Likewise.
4616 (isgreater_test): Likewise.
4617 (isgreaterequal_test): Likewise.
4618 (isinf_test): Likewise.
4619 (isless_test): Likewise.
4620 (islessequal_test): Likewise.
4621 (islessgreater_test): Likewise.
4622 (isnan_test): Likewise.
4623 (isnormal_test): Likewise.
4624 (issignaling_test): Likewise.
4625 (isunordered_test): Likewise.
4626 (j0_test): Likewise.
4627 (j1_test): Likewise.
4628 (jn_test): Likewise.
4629 (ldexp_test): Likewise.
4630 (lgamma_test): Likewise.
4631 (gamma_test): Likewise.
4632 (lrint_test): Likewise.
4633 (lrint_test_tonearest): Likewise.
4634 (lrint_test_towardzero): Likewise.
4635 (lrint_test_downward): Likewise.
4636 (lrint_test_upward): Likewise.
4637 (llrint_test): Likewise.
4638 (llrint_test_tonearest): Likewise.
4639 (llrint_test_towardzero): Likewise.
4640 (llrint_test_downward): Likewise.
4641 (llrint_test_upward): Likewise.
4642 (log_test): Likewise.
4643 (log10_test): Likewise.
4644 (log1p_test): Likewise.
4645 (log2_test): Likewise.
4646 (logb_test): Likewise.
4647 (logb_test_downward): Likewise.
4648 (lround_test): Likewise.
4649 (llround_test): Likewise.
4650 (modf_test): Likewise.
4651 (nearbyint_test): Likewise.
4652 (nextafter_test): Likewise.
4653 (nexttoward_test): Likewise.
4654 (pow_test): Likewise.
4655 (pow_test_tonearest): Likewise.
4656 (pow_test_towardzero): Likewise.
4657 (pow_test_downward): Likewise.
4658 (pow_test_upward): Likewise.
4659 (remainder_test): Likewise.
4660 (drem_test): Likewise.
4661 (remainder_test_tonearest): Likewise.
4662 (drem_test_tonearest): Likewise.
4663 (remainder_test_towardzero): Likewise.
4664 (drem_test_towardzero): Likewise.
4665 (remainder_test_downward): Likewise.
4666 (drem_test_downward): Likewise.
4667 (remainder_test_upward): Likewise.
4668 (drem_test_upward): Likewise.
4669 (remquo_test): Likewise.
4670 (rint_test): Likewise.
4671 (rint_test_tonearest): Likewise.
4672 (rint_test_towardzero): Likewise.
4673 (rint_test_downward): Likewise.
4674 (rint_test_upward): Likewise.
4675 (round_test): Likewise.
4676 (scalb_test): Likewise.
4677 (scalbn_test): Likewise.
4678 (scalbln_test): Likewise.
4679 (signbit_test): Likewise.
4680 (sin_test): Likewise.
4681 (sin_test_tonearest): Likewise.
4682 (sin_test_towardzero): Likewise.
4683 (sin_test_downward): Likewise.
4684 (sin_test_upward): Likewise.
4685 (sincos_test): Likewise.
4686 (sinh_test): Likewise.
4687 (sinh_test_tonearest): Likewise.
4688 (sinh_test_towardzero): Likewise.
4689 (sinh_test_downward): Likewise.
4690 (sinh_test_upward): Likewise.
4691 (sqrt_test): Likewise.
4692 (sqrt_test_tonearest): Likewise.
4693 (sqrt_test_towardzero): Likewise.
4694 (sqrt_test_downward): Likewise.
4695 (sqrt_test_upward): Likewise.
4696 (tan_test): Likewise.
4697 (tan_test_tonearest): Likewise.
4698 (tan_test_towardzero): Likewise.
4699 (tan_test_downward): Likewise.
4700 (tan_test_upward): Likewise.
4701 (tanh_test): Likewise.
4702 (tgamma_test): Likewise.
4703 (trunc_test): Likewise.
4704 (y0_test): Likewise.
4705 (y1_test): Likewise.
4706 (yn_test): Likewise.
4707 (significand_test): Likewise.
4709 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4710 individual tests in comment.
4711 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4712 (prev_max_error): New variable.
4713 (prev_real_max_error): Likewise.
4714 (prev_imag_max_error): Likewise.
4715 (compare_ulp_data): Don't refer to test names in comment.
4716 (find_test_ulps): Remove function.
4717 (find_function_ulps): Likewise.
4718 (find_complex_function_ulps): Likewise.
4719 (init_max_error): Take function name as argument. Look up ulps
4721 (print_ulps): Remove function.
4722 (print_max_error): Use prev_max_error instead of calling
4724 (print_complex_max_error): Use prev_real_max_error and
4725 prev_imag_max_error instead of calling find_complex_function_ulps.
4726 (check_float_internal): Take max_ulp parameter instead of calling
4727 find_test_ulps. Don't call print_ulps.
4728 (check_float): Update call to check_float_internal.
4729 (check_complex): Update calls to check_float_internal.
4730 (START): Pass argument to init_max_error.
4731 * math/gen-libm-test.pl (%results): Don't include "kind"
4733 (parse_ulps): Don't handle ulps of individual tests.
4734 (print_ulps_file): Likewise.
4735 (output_ulps): Likewise.
4736 * math/README.libm-test: Update.
4737 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4739 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4740 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4741 * sysdeps/arm/libm-test-ulps: Likewise.
4742 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4743 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4744 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4745 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4746 * sysdeps/microblaze/libm-test-ulps: Likewise.
4747 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4748 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4750 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4751 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4752 * sysdeps/sh/libm-test-ulps: Likewise.
4753 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4754 * sysdeps/tile/libm-test-ulps: Likewise.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4757 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4759 * math/libm-test.inc (print_complex_max_error): Check separately
4760 whether real and imaginary errors are within allowed range and
4761 pass 0 to print_complex_function_ulps instead of value within
4764 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4766 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4768 (get_handles_fopen): Likewise.
4769 (do_write_test): Likewise.
4771 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4773 * libio/fileops.c (do_ftell): Use cached offset when
4775 * libio/iofwide.c (do_ftell_wide): Likewise.
4776 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4778 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4781 * libio/libioP.h (get_file_offset): New function.
4782 * libio/fileops.c (get_file_offset): Likewise.
4783 (do_ftell): Likewise.
4784 (_IO_new_file_seekoff): Split out ftell logic.
4785 * libio/wfileops.c (do_ftell_wide): Likewise.
4786 (_IO_wfile_seekoff): Split out ftell logic.
4787 * libio/tst-ftell-active-handler.c: New test case.
4788 * libio/Makefile (tests): Add it.
4790 2014-03-03 Roland McGrath <roland@hack.frob.com>
4792 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4793 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4795 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4798 * nscd/connections.c (nscd_init): Call do_exit.
4799 (start_threads): Call do_exit and notify_parent.
4800 (begin_drop_privileges): Call do_exit.
4801 (finish_drop_privileges): Likewise.
4802 * nscd/selinux.c (preserve_capabilities): Likewise.
4803 (install_real_capabilities): Likewise.
4804 (nscd_selinux_enabled): Likewise.
4805 (avc_create_thread): Likewise.
4806 (avc_alloc_lock): Likewise.
4807 (nscd_avc_init): Likewise.
4808 * nscd/nscd.c (parent_fd): New static variable.
4809 (main): Create a pipe between parent and child processes.
4810 Skip closing parent_fd.
4811 (monitor_child): New function.
4812 (do_exit): Likewise.
4813 (notify_parent): Likewise.
4814 * nscd/nscd.h (notify_parent): Likewise.
4815 (do_exit): Likewise.
4817 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4819 * malloc/malloc.c (__libc_calloc): Revert last change.
4821 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4825 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4827 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4831 (__libc_ifunc_impl_list): Likewise.
4832 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4833 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4834 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4835 * string/strrchr.c: Define STRRCHR.
4837 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4839 * benchtest/bench-strtok.c (simple_strtok): Delete.
4840 (strtok_string): Use as benchmark.
4841 * string/strtok (STRTOK): New macro.
4843 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4845 * manual/threads.texi: Add header and standard comments to all
4848 * elf/dl-lookup.c (check_match): New function.
4849 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4850 (do_lookup_x): Remove nested function check_match. Use non-nested
4851 function check_match.
4853 2014-02-28 Roland McGrath <roland@hack.frob.com>
4855 * csu/Makefile (generated, before-compile): Use += rather than =.
4856 * catgets/Makefile (generated, generated-dirs): Likewise.
4857 * debug/Makefile (generated): Likewise.
4858 * dlfcn/Makefile (generated): Likewise.
4859 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4860 * iconvdata/Makefile (before-compile, generated): Likewise.
4861 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4862 * libio/Makefile (generated): Likewise.
4863 * malloc/Makefile (generated): Likewise.
4864 * manual/Makefile (generated, generated-dirs): Likewise.
4865 * misc/Makefile (generated): Likewise.
4866 * posix/Makefile (generated): Likewise.
4867 * resolv/Makefile (generated): Likewise.
4868 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4869 * timezone/Makefile (generated, generated-dirs): Likewise.
4871 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4873 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4876 power8 implementation.
4877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4878 file: POWER8 llround ifunc implementation.
4879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4880 (__lllround): Add POWER8 implementation.
4881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4882 POWER8 llround implementation.
4884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4885 power8 implementation.
4886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4887 file: POWER8 llrint ifunc implementation.
4888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4889 Add POWER8 implementation.
4890 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4891 POWER8 llrint implementation.
4893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4894 power8 implementation.
4895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4896 file: POWER8 finite ifunc implementation.
4897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4898 Add POWER8 implementation.
4899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4901 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4902 POWER8 finite implementation.
4903 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4906 power8 implementation.
4907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4908 file: POWER8 isinf ifunc implementation.
4909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4910 POWER8 implementation.
4911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4914 isinf implementation.
4915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4917 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4918 (INIT_ARCH): Add hwcap2 initialization.
4919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4920 power8 implementation.
4921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4922 file: POWER8 isnan ifunc implementation.
4923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4924 POWER8 implementation.
4925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4927 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4928 isnan implementation.
4929 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4931 2014-02-27 Joey Ye <joey.ye@arm.com>
4933 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4934 (_FP_NANFRAC_Q): Set to zero.
4936 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4939 * math/auto-libm-test-in: New test inputs.
4940 * math/auto-libm-test-out: Regenerate.
4941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4946 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4948 * scripts/evaluate-test.sh: Take new argument indicating whether
4949 failure is expected.
4950 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4951 indicating whether failure is expected.
4952 * conform/Makefile (test-xfail-run-conformtest): New variable.
4953 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4955 * posix/Makefile (test-xfail-annexc): New variable.
4956 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4958 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4960 * argp/Makefile: Include Makeconfig immediately after defining
4962 * assert/Makefile: Likewise.
4963 * benchtests/Makefile: Likewise.
4964 * catgets/Makefile: Likewise.
4965 * conform/Makefile: Likewise.
4966 * crypt/Makefile: Likewise.
4967 * csu/Makefile: Likewise.
4968 (all): Remove target.
4969 * ctype/Makefile: Include Makeconfig immediately after defining
4971 * debug/Makefile: Likewise.
4972 * dirent/Makefile: Likewise.
4973 * dlfcn/Makefile: Likewise.
4974 * gmon/Makefile: Likewise.
4975 * gnulib/Makefile: Likewise.
4976 * grp/Makefile: Likewise.
4977 * gshadow/Makefile: Likewise.
4978 * hesiod/Makefile: Likewise.
4979 * hurd/Makefile: Likewise.
4980 (all): Remove target.
4981 * iconvdata/Makefile: Include Makeconfig immediately after
4983 * inet/Makefile: Likewise.
4984 * intl/Makefile: Likewise.
4985 * io/Makefile: Likewise.
4986 * libio/Makefile: Likewise.
4987 (all): Remove target.
4988 * locale/Makefile: Include Makeconfig immediately after defining
4990 * login/Makefile: Likewise.
4991 * mach/Makefile: Likewise.
4992 (all): Remove target.
4993 * malloc/Makefile: Include Makeconfig immediately after defining
4995 (all): Remove target.
4996 * manual/Makefile: Include Makeconfig immediately after defining
4998 * math/Makefile: Likewise.
4999 * misc/Makefile: Likewise.
5000 * nis/Makefile: Likewise.
5001 * nss/Makefile: Likewise.
5002 * po/Makefile: Likewise.
5003 (all): Remove target.
5004 * posix/Makefile: Include Makeconfig immediately after defining
5006 * pwd/Makefile: Likewise.
5007 * resolv/Makefile: Likewise.
5008 * resource/Makefile: Likewise.
5009 * rt/Makefile: Likewise.
5010 * setjmp/Makefile: Likewise.
5011 * shadow/Makefile: Likewise.
5012 * signal/Makefile: Likewise.
5013 * socket/Makefile: Likewise.
5014 * soft-fp/Makefile: Likewise.
5015 * stdio-common/Makefile: Likewise.
5016 * stdlib/Makefile: Likewise.
5017 * streams/Makefile: Likewise.
5018 * string/Makefile: Likewise.
5019 * sunrpc/Makefile: Likewise.
5020 (all): Remove target.
5021 * sysvipc/Makefile: Include Makeconfig immediately after defining
5023 * termios/Makefile: Likewise.
5024 * time/Makefile: Likewise.
5025 * timezone/Makefile: Likewise.
5026 (all): Remove target.
5027 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5029 * wctype/Makefile: Likewise.
5031 2014-02-26 Steve Ellcey <sellcey@mips.com>
5033 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5034 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5035 (libc_feholdexcept_setround_mips): Ditto.
5036 (libc_feholdsetround): New.
5037 (libc_feholdsetroundf): New.
5038 (libc_feholdsetroundl): New.
5039 (libc_feupdateenv_test_mips): New.
5040 (libc_feupdateenv_test): New.
5041 (libc_feupdateenv_testf): New.
5042 (libc_feupdateenv_testl): New.
5043 (libc_feresetround): New.
5044 (libc_feresetroundf): New.
5045 (libc_feresetroundl): New.
5046 (libc_fetestexcept_mips): New.
5047 (libc_fetestexcept): New.
5048 (libc_fetestexceptf): New.
5049 (libc_fetestexceptl): New.
5051 (libc_feholdexcept_setround_mips_ctx): New.
5052 (libc_feholdexcept_setround_ctx): New.
5053 (libc_feholdexcept_setroundf_ctx): New.
5054 (libc_feholdexcept_setroundl_ctx): New.
5055 (libc_fesetenv_mips_ctx): New.
5056 (libc_fesetenv_ctx): New.
5057 (libc_fesetenv_ctxf): New.
5058 (libc_fesetenv_ctxl): New.
5059 (libc_feupdateenv_mips_ctx): New.
5060 (libc_feupdateenv_ctx): New.
5061 (libc_feupdateenvf_ctx): New.
5062 (libc_feupdateenvl_ctx): New.
5063 (libc_feholdsetround_mips_ctx): New.
5064 (libc_feholdsetround_ctx): New.
5065 (libc_feholdsetroundf_ctx): New.
5066 (libc_feholdsetroundl_ctx): New.
5067 (libc_feresetround_mips_ctx): New.
5068 (libc_feresetround_ctx): New.
5069 (libc_feresetroundf_ctx): New.
5070 (libc_feresetroundl_ctx): New.
5072 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5074 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5076 * manual/ipc.texi: New file.
5077 * manual/Makefile (chapters): Add ipc.
5078 * manual/job.texi: Add "Inter-Process Communication" to next.
5079 * manual/process.texi: Add "Inter-Process Communication" to prev.
5081 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5085 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5087 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5089 * manual/arith.texi: Fix spaces after sentences.
5090 * manual/charset.texi: Likewise.
5091 * manual/errno.texi: Likewise.
5092 * manual/install.texi: Likewise.
5093 * manual/llio.texi: Likewise.
5094 * manual/locale.texi: Likewise.
5095 * manual/maint.texi: Likewise.
5096 * manual/math.texi: Likewise.
5097 * manual/memory.texi: Likewise.
5098 * manual/message.texi: Likewise.
5099 * manual/probes.texi: Likewise.
5100 * manual/resource.texi: Likewise.
5101 * manual/signal.texi: Likewise.
5102 * manual/socket.texi: Likewise.
5103 * manual/stdio.texi: Likewise.
5104 * manual/string.texi: Likewise.
5105 * manual/time.texi: Likewise.
5106 * manual/users.texi: Likewise.
5108 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5111 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5112 _DEFAULT_SOURCE is defined.
5114 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5115 Carlos O'Donell <carlos@redhat.com>
5118 * elf/dl-tls.c (_dl_count_modids): New function.
5119 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5120 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5121 audit library and increment generation counter.
5122 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5123 * elf/tst-audit9.c: New file.
5124 * elf/tst-auditmod9a.c: New file.
5125 * elf/tst-auditmod9b.c: New file.
5126 * elf/Makefile: Add rules to build and run tst-audit9.
5128 2014-02-25 Florian Weimer <fweimer@redhat.com>
5131 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5133 2014-02-25 Will Newton <will.newton@linaro.org>
5135 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5136 (__longjmp): Restore sp and lr before restoring callee
5137 saved registers. Add longjmp and longjmp_target
5138 SystemTap probe point.
5139 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5140 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5141 Define to zero to match jmpbuf layout.
5142 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5143 (__sigsetjmp): Save sp and lr before saving callee
5144 saved registers. Add setjmp SystemTap probe point.
5146 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5148 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5150 2014-02-24 Andreas Schwab <schwab@suse.de>
5153 * elf/pldd.c (wait_for_ptrace_stop): New function.
5154 (main): Call it after attaching.
5156 2014-02-22 Roland McGrath <roland@hack.frob.com>
5158 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5159 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5160 Versions files is now verboten.
5161 * hurd/Versions (libc: GLIBC_2.0):
5162 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5163 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5164 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5165 * mach/Versions: Likewise.
5167 * csu/Versions: Remove unused %include.
5168 * resolv/Versions: Likewise.
5170 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5172 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5173 ($(objpfx)check-local-headers.out): Likewise.
5174 ($(objpfx)begin-end-check.out): Likewise.
5175 * Makerules (check-abi-%.out): Likewise.
5176 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5177 ($(objpfx)test2.cat): Likewise.
5178 ($(objpfx)de/libc.cat): Likewise.
5179 ($(objpfx)test-gencat.out): Likewise.
5180 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5181 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5182 ($(objpfx)noload-mem): Likewise.
5183 ($(objpfx)tst-pathopt.out): Likewise.
5184 ($(objpfx)tst-rtld-load-self.out): Likewise.
5185 ($(objpfx)tst-array1-cmp.out): Likewise.
5186 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5187 ($(objpfx)tst-array2-cmp.out): Likewise.
5188 ($(objpfx)tst-array3-cmp.out): Likewise.
5189 ($(objpfx)tst-array4-cmp.out): Likewise.
5190 ($(objpfx)tst-array5-cmp.out): Likewise.
5191 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5192 ($(objpfx)check-textrel.out): Likewise.
5193 ($(objpfx)check-execstack.out): Likewise.
5194 ($(objpfx)check-localplt.out): Likewise.
5195 ($(objpfx)order2-cmp.out): Likewise.
5196 ($(objpfx)tst-leaks1-mem): Likewise.
5197 ($(objpfx)tst-leaks1-static-mem): Likewise.
5198 ($(objpfx)tst-initorder-cmp.out): Likewise.
5199 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5200 ($(objpfx)tst-unused-dep.out): Likewise.
5201 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5202 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5203 * iconv/Makefile (test-iconvconfig): Likewise.
5204 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5205 ($(objpfx)iconv-test.out): Likewise.
5206 ($(objpfx)tst-tables.out): Likewise.
5207 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5208 ($(objpfx)tst-gettext.out): Likewise.
5209 ($(objpfx)tst-translit.out): Likewise.
5210 ($(objpfx)tst-gettext2.out): Likewise.
5211 ($(objpfx)tst-gettext4.out): Likewise.
5212 ($(objpfx)tst-gettext6.out): Likewise.
5213 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5214 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5215 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5216 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5217 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5218 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5219 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5220 ($(objpfx)wordexp-tst.out): Likewise.
5221 ($(objpfx)annexc.out): Likewise.
5222 ($(objpfx)tst-fnmatch-mem): Likewise.
5223 ($(objpfx)bug-regex2-mem): Likewise.
5224 ($(objpfx)bug-regex14-mem): Likewise.
5225 ($(objpfx)bug-regex21-mem): Likewise.
5226 ($(objpfx)bug-regex31-mem): Likewise.
5227 ($(objpfx)tst-vfork3-mem): Likewise.
5228 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5229 ($(objpfx)tst-pcre-mem): Likewise.
5230 ($(objpfx)tst-boost-mem): Likewise.
5231 ($(objpfx)tst-getconf.out): Likewise.
5232 ($(objpfx)bug-ga2-mem): Likewise.
5233 ($(objpfx)bug-glob2-mem): Likewise.
5234 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5235 ($(objpfx)mtrace-tst-leaks2): Likewise.
5236 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5237 ($(objpfx)tst-printf.out): Likewise.
5238 ($(objpfx)tst-setvbuf1.out): Likewise.
5239 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5240 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5241 ($(objpfx)tst-fmtmsg.out): Likewise.
5242 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5243 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5245 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5246 * bits/sigaction.h [__USE_MISC]: Likewise.
5247 * bits/waitstatus.h: Update #endif comments.
5248 * ctype/ctype.h: Likewise.
5249 * dirent/dirent.h: Likewise.
5250 [__USE_MISC]: Remove redundant conditionals.
5251 * grp/grp.h: Update #endif comments.
5252 [__USE_GNU]: Remove redundant conditionals.
5253 [__USE_MISC]: Likewise.
5254 * inet/netinet/in.h [__USE_GNU]: Likewise.
5255 * io/sys/stat.h [__USE_MISC]: Likewise.
5256 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5257 * libio/bits/stdio.h: Update #endif comments.
5258 [__USE_MISC]: Remove redundant conditionals.
5259 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5260 * libio/stdio.h: Update #endif comments.
5261 [__USE_MISC]: Remove redundant conditionals.
5262 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5263 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5264 * math/math.h: Update #else and #endif comments.
5265 [__USE_MISC]: Remove redundant conditionals.
5266 * misc/sys/uio.h: Update #endif comments.
5267 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5268 * posix/glob.h [__USE_MISC]: Likewise.
5269 * posix/sys/types.h: Update #endif comments.
5270 [__USE_MISC]: Remove redundant conditionals.
5271 * posix/sys/wait.h: Update #endif comments.
5272 [__USE_MISC]: Remove redundant conditionals.
5273 * posix/unistd.h: Update #endif comments.
5274 [__USE_MISC]: Remove redundant conditionals.
5275 * pwd/pwd.h [__USE_GNU]: Likewise.
5276 [__USE_MISC]: Likewise.
5277 * resolv/netdb.h [__USE_GNU]: Likewise.
5278 * signal/signal.h: Update #endif comments.
5279 [__USE_MISC]: Remove redundant conditionals.
5280 * stdlib/stdlib.h: Update #else and #endif comments.
5281 [__USE_MISC]: Remove redundant conditionals.
5282 [__USE_GNU]: Likewise.
5283 * string/bits/string2.h [__USE_MISC]: Likewise.
5284 * string/string.h: Update #endif comments.
5285 [__USE_MISC]: Remove redundant conditionals.
5286 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5288 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5289 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5290 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5292 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5296 [__USE_MISC]: Remove redundant conditionals.
5297 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5298 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5299 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5300 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5301 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5303 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5304 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5306 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5307 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5309 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5311 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5314 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5316 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5317 * sysdeps/x86/bits/string.h: Update #endif comments.
5318 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5320 * time/sys/time.h: Update #endif comments.
5321 * time/time.h: Likewise.
5322 [__USE_MISC]: Remove redundant conditionals.
5324 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5327 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5329 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5331 * Versions.def (librt): Add GLIBC_2.17.
5333 2014-02-21 Adam Conrad <adconrad@0c3.net>
5335 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5336 synonym for _SYS_AUXV_H to allow direct inclusion.
5337 * sysdeps/sparc/bits/hwcap.h: Likewise.
5338 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5339 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5340 * sysdeps/sparc/sysdep.h: Likewise.
5342 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5344 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5346 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5348 * benchtests/bench-strrchr.c: Print length instead of position.
5350 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5353 * sysdeps/unix/sysv/linux/kernel-features.h
5354 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5355 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5356 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5357 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5359 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5360 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5361 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5362 (__ASSUME_SENDMMSG): Define instead of using previous
5363 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5364 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5365 (__ASSUME_SENDMMSG_SYSCALL): Define.
5366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5367 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5369 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5370 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5372 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5373 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5375 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5376 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5377 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5378 [__ASSUME_SENDMMSG]: Change conditionals to
5379 [__ASSUME_SENDMMSG_SOCKETCALL].
5380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5381 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5383 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5384 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5386 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5387 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5388 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5389 [!__ASSUME_SENDMMSG]: Change conditional to
5390 [!__ASSUME_SENDMMSG_SOCKETCALL].
5391 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5392 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5396 * sysdeps/unix/sysv/linux/kernel-features.h
5397 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5398 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5399 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5400 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5401 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5402 [__i386__ || __sparc__]
5403 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5404 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5405 (__ASSUME_RECVMMSG): Define instead of using previous
5406 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5408 (__ASSUME_RECVMMSG_SYSCALL): Define.
5409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5410 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5412 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5413 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5415 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5416 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5418 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5419 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5420 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5421 [__ASSUME_RECVMMSG]: Change condition to
5422 [__ASSUME_RECVMMSG_SOCKETCALL].
5423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5424 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5426 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5427 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5428 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5430 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5431 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5432 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5433 [!__ASSUME_RECVMMSG]: Change condition to
5434 [!__ASSUME_RECVMMSG_SOCKETCALL].
5435 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5436 (__ASSUME_RECVMMSG_SYSCALL): Define.
5439 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5440 __powerpc__ || __s390__ || __sh__ || __sparc__]
5441 (__ASSUME_SOCKETCALL): Define.
5442 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5443 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5444 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5445 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5446 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5447 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5448 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5449 (__ASSUME_ACCEPT4): Define instead of using previous
5450 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5451 __powerpc__ || __sparc__ || __s390__)] condition.
5452 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5453 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5454 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5455 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5456 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5457 [!__ASSUME_ACCEPT4]: Change condition to
5458 [!__ASSUME_ACCEPT4_SOCKETCALL].
5459 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5460 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5461 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5462 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5463 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5464 __ASSUME_ACCEPT4_SYSCALL.
5465 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5466 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5467 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5468 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5469 __ASSUME_ACCEPT4_SYSCALL.
5470 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5471 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5472 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5473 [__ASSUME_ACCEPT4]: Change condition to
5474 [__ASSUME_ACCEPT4_SOCKETCALL].
5475 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5476 (__ASSUME_SOCKETCALL): Define.
5477 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5479 (__ASSUME_SOCKETCALL): Define.
5480 (__ASSUME_ACCEPT4): Remove.
5481 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5483 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5484 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5486 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5487 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5489 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5491 (HWCAP_ARM_LPAE): Likewise.
5492 (HWCAP_ARM_EVTSTRM): Likewise.
5493 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5494 Add vpfd32, lpae and evtstrm.
5495 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5498 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5500 * math/auto-libm-test-in: Add tests of clog10.
5501 * math/auto-libm-test-out: Regenerated.
5502 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5503 * sysdeps/i386/fpu/libm-test-ulps: Update.
5504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5506 2014-02-18 Andreas Schwab <schwab@suse.de>
5509 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5510 Store non-zero if the second buffer was newly allocated.
5511 (send_dg): Likewise.
5512 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5513 to send_vc and send_dg.
5514 (res_nsend): Pass NULL for ansp2_malloced.
5515 * resolv/res_query.c (__libc_res_nquery): Add parameter
5516 answerp2_malloced and pass it down to __libc_res_nsend.
5517 (res_nquery): Pass additional NULL to __libc_res_nquery.
5518 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5519 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5520 second answer buffer if answerp2_malloced was set.
5521 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5522 (__libc_res_nquerydomain): Add parameter
5523 answerp2_malloced and pass it down to __libc_res_nquery.
5524 (res_nquerydomain): Pass additional NULL to
5525 __libc_res_nquerydomain.
5526 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5527 additional NULL to __libc_res_nsend and __libc_res_nquery.
5528 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5529 additional NULL to __libc_res_nsearch.
5530 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5531 parameter of __libc_res_nsearch to check for separately allocated
5533 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5535 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5536 additional NULL to __libc_res_nquery.
5537 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5539 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5540 * include/resolv.h: Update prototypes of __libc_res_nquery,
5541 __libc_res_nsearch, __libc_res_nsend.
5543 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5545 * math/auto-libm-test-in: Add tests of fma.
5546 * math/auto-libm-test-out: Regenerated.
5547 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5548 (fma_towardzero_test_data): Likewise.
5549 (fma_downward_test_data): Likewise.
5550 (fma_upward_test_data): Likewise.
5551 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5553 (rounding_modes): Add values for new field.
5554 (func_calc_method): Add value mpfr_fff_f.
5555 (func_calc_desc): Add mpfr_fff_f union field.
5556 (test_function): Add field exact_args.
5557 (FUNC): Add macro argument EXACT_ARGS.
5558 (FUNC_mpfr_f_f): Update call to FUNC.
5559 (FUNC_mpfr_f_f): Likewise.
5560 (FUNC_mpfr_ff_f): Likewise.
5561 (FUNC_mpfr_if_f): Likewise.
5562 (FUNC_mpc_c_f): Likewise.
5563 (FUNC_mpc_c_c): Likewise.
5564 (test_functions): Add fma. Update calls to FUNC.
5565 (handle_input_arg): Add argument exact_args.
5566 (add_test): Update call to handle_input_arg.
5567 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5568 (output_for_one_input_case): Update call to calc_generic_results.
5569 Recalculate exact zero results in each rounding mode.
5571 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5572 non-negative before setting low bit.
5573 * math/auto-libm-test-in: Mark one asin test possibly having
5575 * math/auto-libm-test-out: Regenerated.
5576 * sysdeps/i386/fpu/libm-test-ulps: Update.
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5579 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5581 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5582 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5583 ports/sysdeps/unix/sysv/linux/microblaze.
5584 * README: Add missing listing for microblaze*-*-linux-gnu.
5586 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5588 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5589 * sysdeps/unix/sysv/linux/ia64: Move directory from
5590 ports/sysdeps/unix/sysv/linux/ia64.
5591 * README: Update listing for ia64-*-linux-gnu.
5593 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5594 Joseph Myers <joseph@codesourcery.com>
5596 * Makeconfig (test-name): New variable.
5597 (evaluate-test): Likewise.
5598 * Makerules (do-test-clean): Remove .test-result files.
5599 (common-mostlyclean): Likewise.
5600 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5601 * scripts/evaluate-test.sh: New file.
5603 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5605 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5606 separate $(objpfx)tst-fopenloc-cmp.out and
5607 $(objpfx)tst-fopenloc-mem.out targets.
5608 (tests): Update dependencies.
5609 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5610 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5611 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5612 (tst-rxspencer-no-utf8-ARGS): New variable.
5613 (tst-rxspencer-no-utf8-ENV): Likewise.
5614 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5615 instead of $(objpfx)tst-rxspencer-mem.
5616 ($(objpfx)tst-rxspencer-mem): Change target to
5617 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5618 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5619 * posix/tst-rxspencer-no-utf8.c: New file.
5621 * elf/Makefile ($(objpfx)order.out): Remove rule.
5622 [$(run-built-tests) = yes] (tests): Depend on
5623 $(objpfx)order-cmp.out.
5624 ($(objpfx)order-cmp.out): New rule.
5625 [$(run-built-tests) = yes] (tests): Depend on
5626 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5627 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5628 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5629 $(objpfx)tst-array5-static-cmp.out.
5630 ($(objpfx)tst-array1.out): Remove rule.
5631 ($(objpfx)tst-array1-cmp.out): New rule.
5632 ($(objpfx)tst-array1-static.out): Remove rule.
5633 ($(objpfx)tst-array1-static-cmp.out): New rule.
5634 ($(objpfx)tst-array2.out): Remove rule.
5635 ($(objpfx)tst-array2-cmp.out): New rule.
5636 ($(objpfx)tst-array3.out): Remove rule.
5637 ($(objpfx)tst-array3-cmp.out): New rule.
5638 ($(objpfx)tst-array4.out): Remove rule.
5639 ($(objpfx)tst-array4-cmp.out): New rule.
5640 ($(objpfx)tst-array5.out): Remove rule.
5641 ($(objpfx)tst-array5-cmp.out): New rule.
5642 ($(objpfx)tst-array5-static.out): Remove rule.
5643 ($(objpfx)tst-array5-static-cmp.out): New rule.
5644 [$(run-built-tests) = yes] (tests): Depend on
5645 $(objpfx)order2-cmp.out.
5646 ($(objpfx)order2.out): Remove rule.
5647 ($(objpfx)order2-cmp.out): New rule.
5648 ($(objpfx)tst-initorder.out): Remove rule.
5649 [$(run-built-tests) = yes] (tests): Depend on
5650 $(objpfx)tst-initorder-cmp.out.
5651 ($(objpfx)tst-initorder-cmp.out): New rule.
5652 ($(objpfx)tst-initorder2.out): Remove rule.
5653 [$(run-built-tests) = yes] (tests): Depend on
5654 $(objpfx)tst-initorder2-cmp.out.
5655 ($(objpfx)tst-initorder2-cmp.out): New rule.
5656 [$(run-built-tests) = yes] (tests): Depend on
5657 $(objpfx)tst-unused-dep-cmp.out.
5658 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5659 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5660 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5661 on $(objpfx)tst-setvbuf1-cmp.out.
5662 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5663 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5664 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5665 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5666 ($(objpfx)tst-svc.out): Remove rule.
5667 ($(objpfx)tst-svc-cmp.out): New rule.
5669 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5671 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5672 * ctype/ctype.h [__USE_MISC]: Likewise.
5673 * dirent/dirent.h [__USE_MISC]: Likewise.
5674 * grp/grp.h [__USE_MISC]: Likewise.
5675 * io/fcntl.h [__USE_MISC]: Likewise.
5676 * io/sys/stat.h [__USE_MISC]: Likewise.
5677 * libio/stdio.h [__USE_MISC]: Likewise.
5678 * posix/unistd.h [__USE_MISC]: Likewise.
5679 * pwd/pwd.h [__USE_MISC]: Likewise.
5680 * stdlib.h [__USE_MISC]: Likewise.
5681 * string/bits/string2.h [__USE_MISC]: Likewise.
5682 * string/string.h [__USE_MISC]: Likewise.
5683 * time/time.h [__USE_MISC]: Likewise.
5685 2014-02-13 Andreas Schwab <schwab@suse.de>
5688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5689 second answer buffer if it was separately allocated.
5691 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5693 * sysdeps/mips/math-tests.h: Include <features.h>.
5694 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5695 (ROUNDING_TESTS_long_double): Do not define.
5696 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5697 (EXCEPTION_TESTS_long_double): Likewise.
5698 * sysdeps/mips/mips64/libm-test-ulps: Update.
5700 * include/features.h (__USE_BSD): Remove macro definitions.
5701 (__USE_SVID): Likewise.
5702 (_BSD_SOURCE): Likewise.
5703 (_SVID_SOURCE): Likewise.
5704 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5705 from definition of _DEFAULT_SOURCE.
5706 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5708 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5709 * bits/mman.h [__USE_BSD]: Likewise.
5710 * bits/termios.h [__USE_BSD]: Likewise.
5711 * bits/waitstatus.h [__USE_BSD]: Likewise.
5712 * ctype/ctype.h [__USE_SVID]: Likewise.
5713 * dirent/dirent.h [__USE_BSD]: Likewise.
5714 * grp/grp.h [__USE_SVID]: Likewise.
5715 [__USE_BSD]: Likewise.
5716 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5717 * io/fcntl.h [__USE_BSD]: Likewise.
5718 * io/ftw.h [__USE_BSD]: Likewise.
5719 * io/sys/stat.h [__USE_BSD]: Likewise.
5720 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5721 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5722 * libio/stdio.h [__USE_SVID]: Likewise.
5723 [__USE_BSD]: Likewise.
5724 * math/math.h [__USE_SVID]: Likewise.
5725 [__USE_BSD]: Likewise.
5726 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5727 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5728 * misc/search.h [__USE_SVID]: Likewise.
5729 * misc/sys/mman.h [__USE_BSD]: Likewise.
5730 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5731 * misc/sys/uio.h [__USE_BSD]: Likewise.
5732 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5733 * posix/glob.h [__USE_BSD]: Likewise.
5734 * posix/regex.h [__USE_BSD]: Likewise.
5735 * posix/sys/types.h [__USE_BSD]: Likewise.
5736 [__USE_SVID]: Likewise.
5737 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5738 * posix/sys/wait.h [__USE_BSD]: Likewise.
5739 [__USE_SVID]: Likewise.
5740 * posix/unistd.h [__USE_BSD]: Likewise.
5741 [__USE_SVID]: Likewise.
5742 * pwd/pwd.h [__USE_SVID]: Likewise.
5743 * resolv/netdb.h [__USE_BSD]: Likewise.
5744 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5745 * signal/signal.h [__USE_BSD]: Likewise.
5746 [__USE_SVID]: Likewise.
5747 * socket/sys/socket.h [__USE_BSD]: Likewise.
5748 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5749 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5750 [__USE_SVID]: Likewise.
5751 * string/bits/string2.h [__USE_BSD]: Likewise.
5752 [__USE_SVID]: Likewise.
5753 * string/bits/string3.h [__USE_BSD]: Likewise.
5754 * string/endian.h [__USE_BSD]: Likewise.
5755 * string/string.h [__USE_SVID]: Likewise.
5756 [__USE_BSD]: Likewise.
5757 * string/strings.h [__USE_BSD]: Likewise.
5758 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5759 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5760 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5761 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5762 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5763 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5765 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5767 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5768 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5770 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5771 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5773 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5775 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5776 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5777 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5779 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5781 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5782 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5783 * termios/termios.h [__USE_BSD]: Likewise.
5784 * time/sys/time.h [__USE_BSD]: Likewise.
5785 * time/time.h [__USE_BSD]: Likewise.
5786 [__USE_SVID]: Likewise.
5788 * Makefile (subdir_targets): Remove subdir_lint.out.
5790 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5791 (do-tst-printf): Likewise.
5792 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5793 $(objpfx)tst-printf.out.
5795 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5797 * Makerules (check-abi-%): Change target to
5798 $(objpfx)check-abi-%.out.
5799 (check-abi target): Update dependencies.
5800 (check-abi-pattern variable): Redirect output of diff to $@.
5801 (check-abi variable): Likewise.
5802 * elf/Makefile (check-abi): Update dependencies.
5804 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5806 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5807 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5809 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5810 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5811 value has largest subnormal exponent.
5812 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5813 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5814 * sysdeps/aarch64/soft-fp/sfp-machine.h
5815 (_FP_TININESS_AFTER_ROUNDING): New macro.
5816 * sysdeps/alpha/soft-fp/sfp-machine.h
5817 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5818 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5820 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5821 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5822 * sysdeps/mips/soft-fp/sfp-machine.h
5823 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5824 * sysdeps/powerpc/soft-fp/sfp-machine.h
5825 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5826 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5828 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5829 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5830 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5831 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5832 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5835 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5838 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5841 2014-02-12 Richard Henderson <rth@redhat.com>
5843 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5844 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5845 * sysdeps/unix/sysv/linux/alpha: Move directory from
5846 ports/sysdeps/unix/sysv/linux/alpha.
5847 * README: Update listing for alpha-*-linux-gnu.
5849 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5851 * include/features.h: Update comment documenting feature test
5853 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5855 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5856 (_SVID_SOURCE): Likewise.
5857 (_DEFAULT_SOURCE): Update description of default features.
5858 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5860 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5861 (S_ISVTX): Likewise.
5862 * manual/math.texi (Mathematical Constants): Likewise.
5863 * manual/signal.texi (Interrupted Primitives): Likewise.
5864 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5865 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5866 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5867 Don't refer to _SVID_SOURCE in warning text.
5869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5871 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5873 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5874 * sysdeps/mips/dl-lookup.c: Remove.
5875 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5877 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5880 * math/auto-libm-test-in: Add testcase for expl.
5881 * math/auto-libm-test-out: Regenerate.
5882 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5883 calculation of unsafe.
5884 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5886 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5888 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5889 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5890 ports/sysdeps/unix/sysv/linux/aarch64.
5891 * README: Update listing for aarch64*-*-linux-gnu.
5893 2014-02-11 Will Newton <will.newton@linaro.org>
5895 * manual/probes.texi (Mathematical Function Probes): Use
5896 "triggered" instead of "hit".
5898 * manual/probes.texi (Internal Probes): Add documentation
5899 of setjmp, longjmp and longjmp_target probes.
5901 * include/stap-probe.h: Add comment about probe argument
5904 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5905 definition. (tr_where, tr_freehook, tr_mallochook,
5906 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5908 2014-02-11 David S. Miller <davem@davemloft.net>
5910 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5911 processing int_tests.
5913 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5915 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5916 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5917 * sysdeps/unix/sysv/linux/mips: Move directory from
5918 ports/sysdeps/unix/sysv/linux/mips.
5919 * README: Update listing for mips-*-linux-gnu and
5922 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5924 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5925 * sysdeps/unix/sysv/linux/m68k: Move directory from
5926 ports/sysdeps/unix/sysv/linux/m68k.
5927 * README: Update listing for m68k-*-linux-gnu.
5929 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5931 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5932 * sysdeps/unix/sysv/linux/generic: Move directory from
5933 ports/sysdeps/unix/sysv/linux/generic.
5934 * sysdeps/unix/sysv/linux/tile: Move directory from
5935 ports/sysdeps/unix/sysv/linux/tile.
5936 * README: Update listing for tile*-*-linux-gnu.
5938 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5940 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5942 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5943 * catgets/open_catalog.c (__open_catalog): Likewise.
5944 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5945 * debug/confstr_chk.c: Likewise.
5946 * debug/fread_chk.c (__fread_chk): Likewise.
5947 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5948 * debug/getgroups_chk.c: Likewise.
5949 * debug/mbsnrtowcs_chk.c: Likewise.
5950 * debug/mbsrtowcs_chk.c: Likewise.
5951 * debug/mbstowcs_chk.c: Likewise.
5952 * debug/memcpy_chk.c: Likewise.
5953 * debug/memmove_chk.c: Likewise.
5954 * debug/mempcpy_chk.c: Likewise.
5955 * debug/memset_chk.c: Likewise.
5956 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5957 * debug/strcat_chk.c (__strcat_chk): Likewise.
5958 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5959 * debug/strncat_chk.c (__strncat_chk): Likewise.
5960 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5961 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5962 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5963 * debug/wcpncpy_chk.c: Likewise.
5964 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5965 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5966 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5967 * debug/wcsncpy_chk.c: Likewise.
5968 * debug/wcsnrtombs_chk.c: Likewise.
5969 * debug/wcsrtombs_chk.c: Likewise.
5970 * debug/wcstombs_chk.c: Likewise.
5971 * debug/wmemcpy_chk.c: Likewise.
5972 * debug/wmemmove_chk.c: Likewise.
5973 * debug/wmempcpy_chk.c: Likewise.
5974 * debug/wmemset_chk.c: Likewise.
5975 * dirent/scandirat.c (SCANDIRAT): Likewise.
5976 * dlfcn/dladdr1.c (dladdr1): Likewise.
5977 * dlfcn/dladdr.c (dladdr): Likewise.
5978 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5979 * dlfcn/dlerror.c (__dlerror): Likewise.
5980 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5981 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5982 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5983 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5984 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5985 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5986 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5987 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5989 * elf/dl-conflict.c: Likewise.
5990 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5991 * elf/dl-dst.h: Likewise.
5992 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5993 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5994 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5995 * elf/dl-init.c (call_init, _dl_init): Likewise.
5996 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5997 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5998 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6000 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6002 * elf/dl-minimal.c (__libc_memalign): Likewise.
6003 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6004 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6005 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6006 * elf/dl-sym.c (do_sym): Likewise.
6007 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6008 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6009 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6010 * elf/dl-writev.h (_dl_writev): Likewise.
6011 * elf/ldconfig.c (search_dir): Likewise.
6012 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6013 (dl_main): Likewise.
6014 * elf/setup-vdso.h (setup_vdso): Likewise.
6015 * grp/compat-initgroups.c (compat_call): Likewise.
6016 * grp/fgetgrent.c (fgetgrent): Likewise.
6017 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6018 * grp/putgrent.c (putgrent): Likewise.
6019 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6021 * hurd/hurdinit.c: Likewise.
6022 * iconvdata/8bit-gap.c (struct): Likewise.
6023 * iconvdata/ansi_x3.110.c : Likewise.
6024 * iconvdata/big5.c : Likewise.
6025 * iconvdata/big5hkscs.c : Likewise.
6026 * iconvdata/cp1255.c: Likewise.
6027 * iconvdata/cp1258.c : Likewise.
6028 * iconvdata/cp932.c : Likewise.
6029 * iconvdata/euc-cn.c: Likewise.
6030 * iconvdata/euc-jisx0213.c : Likewise.
6031 * iconvdata/euc-jp.c: Likewise.
6032 * iconvdata/euc-jp-ms.c : Likewise.
6033 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6034 * iconvdata/gb18030.c : Likewise.
6035 * iconvdata/gbbig5.c (const): Likewise.
6036 * iconvdata/gbgbk.c: Likewise.
6037 * iconvdata/gbk.c : Likewise.
6038 * iconvdata/ibm1364.c : Likewise.
6039 * iconvdata/ibm930.c : Likewise.
6040 * iconvdata/ibm932.c: Likewise.
6041 * iconvdata/ibm933.c : Likewise.
6042 * iconvdata/ibm935.c : Likewise.
6043 * iconvdata/ibm937.c : Likewise.
6044 * iconvdata/ibm939.c : Likewise.
6045 * iconvdata/ibm943.c: Likewise.
6046 * iconvdata/iso_11548-1.c: Likewise.
6047 * iconvdata/iso-2022-cn.c : Likewise.
6048 * iconvdata/iso-2022-cn-ext.c : Likewise.
6049 * iconvdata/iso-2022-jp-3.c: Likewise.
6050 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6051 * iconvdata/iso-2022-kr.c : Likewise.
6052 * iconvdata/iso646.c (gconv_end): Likewise.
6053 * iconvdata/iso_6937-2.c : Likewise.
6054 * iconvdata/iso_6937.c : Likewise.
6055 * iconvdata/iso8859-1.c: Likewise.
6056 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6057 * iconvdata/shift_jisx0213.c : Likewise.
6058 * iconvdata/sjis.c : Likewise.
6059 * iconvdata/t.61.c : Likewise.
6060 * iconvdata/tcvn5712-1.c : Likewise.
6061 * iconvdata/tscii.c: Likewise.
6062 * iconvdata/uhc.c : Likewise.
6063 * iconvdata/unicode.c (gconv_end): Likewise.
6064 * iconvdata/utf-16.c (gconv_end): Likewise.
6065 * iconvdata/utf-32.c (gconv_end): Likewise.
6066 * iconvdata/utf-7.c (base64): Likewise.
6067 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6068 * iconv/gconv_close.c (__gconv_close): Likewise.
6069 * iconv/gconv_open.c (__gconv_open): Likewise.
6070 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6071 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6072 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6073 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6074 (ucs4le_internal_loop_single): Likewise.
6075 * iconv/iconv.c (iconv): Likewise.
6076 * iconv/iconv_close.c: Likewise.
6077 * iconv/loop.c (SINGLE): Likewise.
6078 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6079 * include/atomic.h: Likewise.
6080 * inet/inet6_option.c (option_alloc): Likewise.
6081 * intl/bindtextdom.c (set_binding_values): Likewise.
6082 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6083 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6084 * intl/localealias.c (read_alias_file): Likewise.
6085 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6086 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6087 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6088 * libio/fmemopen.c (fmemopen): Likewise.
6089 * libio/iofgets.c (_IO_fgets): Likewise.
6090 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6091 * libio/iofgetws.c (fgetws): Likewise.
6092 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6093 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6094 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6095 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6096 * locale/findlocale.c (_nl_find_locale): Likewise.
6097 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6098 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6100 * locale/setlocale.c (setlocale): Likewise.
6101 * login/programs/pt_chown.c (main): Likewise.
6102 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6103 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6104 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6105 (mmap, mmap64, mremap, munmap): Likewise.
6106 * math/e_exp2l.c: Likewise.
6107 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6108 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6109 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6110 * math/s_catan.c (__catan): Likewise.
6111 * math/s_catanf.c (__catanf): Likewise.
6112 * math/s_catanh.c (__catanh): Likewise.
6113 * math/s_catanhf.c (__catanhf): Likewise.
6114 * math/s_catanhl.c (__catanhl): Likewise.
6115 * math/s_catanl.c (__catanl): Likewise.
6116 * math/s_ccosh.c (__ccosh): Likewise.
6117 * math/s_ccoshf.c (__ccoshf): Likewise.
6118 * math/s_ccoshl.c (__ccoshl): Likewise.
6119 * math/s_cexp.c (__cexp): Likewise.
6120 * math/s_cexpf.c (__cexpf): Likewise.
6121 * math/s_cexpl.c (__cexpl): Likewise.
6122 * math/s_clog10.c (__clog10): Likewise.
6123 * math/s_clog10f.c (__clog10f): Likewise.
6124 * math/s_clog10l.c (__clog10l): Likewise.
6125 * math/s_clog.c (__clog): Likewise.
6126 * math/s_clogf.c (__clogf): Likewise.
6127 * math/s_clogl.c (__clogl): Likewise.
6128 * math/s_csin.c (__csin): Likewise.
6129 * math/s_csinf.c (__csinf): Likewise.
6130 * math/s_csinh.c (__csinh): Likewise.
6131 * math/s_csinhf.c (__csinhf): Likewise.
6132 * math/s_csinhl.c (__csinhl): Likewise.
6133 * math/s_csinl.c (__csinl): Likewise.
6134 * math/s_csqrt.c (__csqrt): Likewise.
6135 * math/s_csqrtf.c (__csqrtf): Likewise.
6136 * math/s_csqrtl.c (__csqrtl): Likewise.
6137 * math/s_ctan.c (__ctan): Likewise.
6138 * math/s_ctanf.c (__ctanf): Likewise.
6139 * math/s_ctanh.c (__ctanh): Likewise.
6140 * math/s_ctanhf.c (__ctanhf): Likewise.
6141 * math/s_ctanhl.c (__ctanhl): Likewise.
6142 * math/s_ctanl.c (__ctanl): Likewise.
6143 * math/w_pow.c: Likewise.
6144 * math/w_powf.c: Likewise.
6145 * math/w_powl.c: Likewise.
6146 * math/w_scalb.c (sysv_scalb): Likewise.
6147 * math/w_scalbf.c (sysv_scalbf): Likewise.
6148 * math/w_scalbl.c (sysv_scalbl): Likewise.
6149 * misc/error.c (error_tail): Likewise.
6150 * misc/pselect.c (__pselect): Likewise.
6151 * nis/nis_callback.c (__nis_create_callback): Likewise.
6152 * nis/nis_call.c (__nisfind_server): Likewise.
6153 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6154 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6155 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6156 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6157 * nis/nis_lookup.c (nis_lookup): Likewise.
6158 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6159 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6160 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6161 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6162 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6163 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6164 * nis/nss_compat/compat-initgroups.c (add_group)
6165 (internal_getgrent_r): Likewise.
6166 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6167 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6168 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6169 (internal_getspnam_r): Likewise.
6170 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6171 (_nss_nis_getaliasbyname_r): Likewise.
6172 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6173 (_nss_nis_getntohost_r): Likewise.
6174 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6175 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6176 (_nss_nis_getgrgid_r): Likewise.
6177 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6178 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6179 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6180 (_nss_nis_gethostbyname4_r): Likewise.
6181 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6182 (initgroups_netid): Likewise.
6183 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6184 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6185 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6186 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6187 (_nss_nis_getprotobynumber_r): Likewise.
6188 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6189 (_nss_nis_getsecretkey): Likewise.
6190 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6191 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6192 (_nss_nis_getpwuid_r): Likewise.
6193 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6194 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6195 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6196 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6197 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6198 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6199 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6201 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6202 (_nss_nisplus_getntohost_r): Likewise.
6203 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6204 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6205 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6206 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6208 * nis/nss_nisplus/nisplus-initgroups.c
6209 (_nss_nisplus_initgroups_dyn): Likewise.
6210 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6211 (_nss_nisplus_getnetbyaddr_r): Likewise.
6212 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6213 (_nss_nisplus_getprotobynumber_r): Likewise.
6214 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6215 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6216 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6218 * nis/nss_nisplus/nisplus-service.c
6219 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6220 (_nss_nisplus_getservbyport_r): Likewise.
6221 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6222 (_nss_nisplus_getspnam_r): Likewise.
6223 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6225 * nscd/aicache.c (addhstaiX): Likewise.
6226 * nscd/cache.c (cache_search, prune_cache): Likewise.
6227 * nscd/connections.c (register_traced_file, send_ro_fd)
6228 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6229 (main_loop_epoll): Likewise.
6230 * nscd/grpcache.c (addgrbyX): Likewise.
6231 * nscd/hstcache.c (addhstbyX): Likewise.
6232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6233 * nscd/mem.c (gc, mempool_alloc): Likewise.
6234 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6235 (addinnetgrX): Likewise.
6236 * nscd/nscd-client.h (__nscd_acquire_maplock)
6237 (__nscd_drop_map_ref): Likewise.
6238 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6239 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6240 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6242 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6243 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6244 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6245 (__nscd_get_map_ref): Likewise.
6246 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6247 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6249 * nscd/pwdcache.c (addpwbyX): Likewise.
6250 * nscd/selinux.c (preserve_capabilities): Likewise.
6251 * nscd/servicescache.c (addservbyX): Likewise.
6252 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6253 * posix/fnmatch.c (fnmatch): Likewise.
6254 * posix/getopt.c (_getopt_internal_r): Likewise.
6255 * posix/glob.c (glob, glob_in_dir): Likewise.
6256 * posix/wordexp.c (exec_comm_child): Likewise.
6257 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6258 (getanswer_r, gaih_getanswer_slice): Likewise.
6259 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6260 * resolv/res_init.c: Likewise.
6261 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6262 * resolv/res_query.c (__libc_res_nquery): Likewise.
6263 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6265 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6266 * stdio-common/perror.c (perror): Likewise.
6267 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6268 * stdio-common/tmpnam.c (tmpnam): Likewise.
6269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6270 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6271 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6273 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6274 * stdlib/putenv.c (putenv): Likewise.
6275 * stdlib/setenv.c (__add_to_environ): Likewise.
6276 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6277 * stdlib/strtol_l.c (INTERNAL): Likewise.
6278 * string/memmem.c (memmem): Likewise.
6279 * string/strerror.c (strerror): Likewise.
6280 * string/strnlen.c (__strnlen): Likewise.
6281 * string/test-memmem.c (simple_memmem): Likewise.
6282 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6283 * sunrpc/pm_getport.c (__get_socket): Likewise.
6284 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6285 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6286 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6287 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6289 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6290 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6291 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6292 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6293 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6294 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6296 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6298 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6299 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6300 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6301 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6302 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6304 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6305 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6306 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6307 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6308 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6309 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6311 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6313 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6315 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6317 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6318 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6319 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6320 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6321 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6330 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6332 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6334 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6336 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6338 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6340 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6342 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6343 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6344 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6345 * sysdeps/posix/sleep.c: Likewise.
6346 * sysdeps/posix/tempname.c: Likewise.
6347 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6348 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6350 * sysdeps/powerpc/powerpc32/dl-machine.h
6351 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6352 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6354 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6355 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6357 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6359 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6360 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6361 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6362 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6363 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6364 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6365 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6366 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6368 (elf_machine_lazy_rel): Likewise.
6369 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6371 (elf_machine_lazy_rel): Likewise.
6372 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6373 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6374 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6375 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6376 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6377 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6378 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6381 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6382 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6383 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6384 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6385 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6386 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6387 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6388 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6389 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6390 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6391 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6393 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6394 (__posix_fallocate64_l64): Likewise.
6395 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6396 (posix_fallocate): Likewise.
6397 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6399 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6400 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6401 (getifaddrs_internal): Likewise.
6402 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6403 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6404 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6405 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6406 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6407 (__posix_fallocate64_l64): Likewise.
6408 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6410 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6411 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6412 (__get_clockfreq): Likewise.
6413 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6414 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6415 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6418 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6419 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6420 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6422 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6423 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6424 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6425 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6426 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6427 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6428 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6430 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6431 (posix_fallocate): Likewise.
6432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6433 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6434 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6435 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6436 (elf_machine_rela, elf_machine_rela_relative)
6437 (elf_machine_lazy_rel): Likewise.
6438 * time/asctime.c (asctime_internal): Likewise.
6439 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6440 * time/tzset.c (__tzset_parse_tz): Likewise.
6441 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6442 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6443 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6444 * wcsmbs/wcsmbsload.h: Likewise.
6447 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6449 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6450 (arena_get2): Remove THREAD_STATS conditionals.
6451 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6452 (__malloc_stats, int): Likewise.
6454 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6456 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6457 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6459 * manual/setjmp.texi: Fix typos/grammar errors.
6461 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6462 Only return early when n is <= 0. Delete unused return statement.
6464 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6465 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6466 * debug/tst-longjmp_chk3.c: New file.
6468 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6469 (test_main): Replace code with set_fortify_handler call.
6470 * debug/test-strcpy_chk.c: Likewise.
6471 * debug/tst-chk1.c: Likewise.
6472 * debug/tst-longjmp_chk.c: Likewise.
6473 * test-skeleton.c: Include fcntl.h & paths.h
6474 (set_fortify_handler): Define.
6476 * debug/tst-longjmp_chk.c: Add header comment and include
6478 (do_test): Mark static.
6479 (TEST_FUNCTION): Define.
6481 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6482 (IP_PMTUDISC_INTERFACE): Likewise.
6483 (IP_MULTICAST_IF): Likewise.
6484 (IP_MULTICAST_TTL): Likewise.
6485 (IP_MULTICAST_LOOP): Likewise.
6486 (IP_ADD_MEMBERSHIP): Likewise.
6487 (IP_DROP_MEMBERSHIP): Likewise.
6488 (IP_UNBLOCK_SOURCE): Likewise.
6489 (IP_BLOCK_SOURCE): Likewise.
6490 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6491 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6492 (IP_MSFILTER): Likewise.
6493 (MCAST_JOIN_GROUP): Likewise.
6494 (MCAST_BLOCK_SOURCE): Likewise.
6495 (MCAST_UNBLOCK_SOURCE): Likewise.
6496 (MCAST_LEAVE_GROUP): Likewise.
6497 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6498 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6499 (MCAST_MSFILTER): Likewise.
6500 (IP_MULTICAST_ALL): Likewise.
6501 (IP_UNICAST_IF): Likewise.
6503 * timezone/Makefile: Delete $(have-ksh) check.
6504 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6505 * timezone/tzselect.ksh: Add +x mode bits.
6507 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6508 (ANON_INODE_FS_MAGIC): Likewise.
6509 (BDEVFS_MAGIC): Likewise.
6510 (BINFMTFS_MAGIC): Likewise.
6511 (BTRFS_TEST_MAGIC): Likewise.
6512 (CRAMFS_MAGIC_WEND): Likewise.
6513 (DEBUGFS_MAGIC): Likewise.
6514 (ECRYPTFS_SUPER_MAGIC): Likewise.
6515 (EXT3_SUPER_MAGIC): Likewise.
6516 (EXT4_SUPER_MAGIC): Likewise.
6517 (FUTEXFS_SUPER_MAGIC): Likewise.
6518 (HOSTFS_SUPER_MAGIC): Likewise.
6519 (HUGETLBFS_MAGIC): Likewise.
6520 (MINIX3_SUPER_MAGIC): Likewise.
6521 (MTD_INODE_FS_MAGIC): Likewise.
6522 (NILFS_SUPER_MAGIC): Likewise.
6523 (OPENPROM_SUPER_MAGIC): Likewise.
6524 (PIPEFS_MAGIC): Likewise.
6525 (PSTOREFS_MAGIC): Likewise.
6526 (QNX6_SUPER_MAGIC): Likewise.
6527 (RAMFS_MAGIC): Likewise.
6528 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6529 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6530 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6531 (SECURITYFS_MAGIC): Likewise.
6532 (SELINUX_MAGIC): Likewise.
6533 (SMACK_MAGIC): Likewise.
6534 (SOCKFS_MAGIC): Likewise.
6535 (SQUASHFS_MAGIC): Likewise.
6536 (STACK_END_MAGIC): Likewise.
6537 (TMPFS_MAGIC): Likewise.
6538 (USBDEVICE_SUPER_MAGIC): Likewise.
6539 (V9FS_MAGIC): Likewise.
6540 (XENFS_SUPER_MAGIC): Likewise.
6541 (CRAMFS_MAGIC): Fix typo in comment.
6542 (EXT2_SUPER_MAGIC): Update comment.
6543 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6545 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6547 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6548 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6549 * sysdeps/unix/sysv/linux/arm: Move directory from
6550 ports/sysdeps/unix/sysv/linux/arm.
6551 * README: Update listing for arm-*-linux-gnueabi.
6553 * README: Remove mention of am33.
6555 2014-02-07 Roland McGrath <roland@hack.frob.com>
6557 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6558 than the comma operator, to avoid "rhs of comma has no effect"
6560 (__sigfillset, __sigandset, __sigorset): Likewise.
6561 * include/signal.h (__sigemptyset): Likewise.
6562 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6564 2014-02-07 Allan McRae <allan@archlinux.org>
6566 * version.h (RELEASE): Set to "development".
6567 (VERSION): Set to "2.19.90"
6568 * NEWS: Add 2.20 section.
6570 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6573 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6575 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6577 * manual/contrib.texi: Update entry for Carlos O'Donell,
6578 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6580 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6582 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6584 * sysdeps/unix/sysv/linux/kernel-features.h
6585 [__LINUX_KERNEL_VERSION >= 0x020621]
6586 (__ASSUME_PROC_PID_TASK_COMM): Define.
6588 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6592 conversion when destination buffer does not have enough space.
6593 * libio/tst-ftell-partial-wide.c: New test case.
6594 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6596 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6597 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6598 Leonard and Allan McRae.
6600 2014-02-04 David S. Miller <davem@davemloft.net>
6602 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6605 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6634 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6636 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6637 * shlib-versions: Likewise.
6639 2014-02-04 Roland McGrath <roland@hack.frob.com>
6640 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6642 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6643 (abilist-pattern): New variable, set to %-le.abilist.
6645 * Makerules (abilist-pattern): New variable.
6646 (vpath): Use $(abilist-pattern) in place of %.abilist.
6647 (check-abi-% pattern rule): Likewise.
6648 (check-abi, update-abi): Likewise.
6650 2014-02-04 Eric Wong <normalperson@yhbt.net>
6652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6654 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6656 * manual/startup.texi: Add next, previous, and top entries for
6657 the `Program Arguments' and `Environment Variables' nodes.
6659 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6661 * manual/macros.texi: Add comments before MTASC-safety macros.
6663 * manual/users.texi: Document MTASC-safety properties.
6665 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6666 (pthread_getspecific, pthread_setspecific): Format with
6667 @deftypefun, and add @safety note.
6668 * manual/signal.texi: Move comments that analyze the above
6669 functions to their home place.
6671 2014-02-03 Allan McRae <allan@archlinux.org>
6673 * po/sl.po: Update Slovenian translation from translation project.
6675 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6677 * manual/time.texi (timegm): Add missing blank after @c.
6678 Reported by Joseph Myers <joseph@codesourcery.com>.
6680 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6682 * manual/check-safety.sh: New.
6683 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6685 * manual/terminal.texi: Document MTASC-safety properties.
6687 * manual/filesys.texi: Document MTASC-safety properties.
6689 * manual/errno.texi: Document MTASC-safety properties.
6691 * manual/intro.texi: Document safety identifiers and
6694 * manual/string.texi (wcstok): Fix prototype.
6695 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6697 * manual/time.texi: Document MTASC-safety properties.
6699 * manual/string.texi: Document MTASC-safety properties.
6701 * manual/threads.texi: Document MTASC-safety properties.
6703 * manual/stdio.texi: Document MTASC-safety properties.
6705 * manual/syslog.texi: Document MTASC-safety properties.
6707 * manual/sysinfo.texi: Document MTASC-safety properties.
6709 * manual/startup.texi: Document MTASC-safety properties.
6711 * manual/socket.texi: Document MTASC-safety properties.
6713 * manual/signal.texi: Document MTASC-safety properties.
6715 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6717 * manual/setjmp.texi: Document MTASC-safety properties.
6719 * manual/search.texi: Document MTASC-safety properties.
6721 * manual/resource.texi: Document MTASC-safety properties.
6723 * manual/process.texi: Document MTASC-safety properties.
6725 * manual/platform.texi: Document MTASC-safety properties.
6727 * manual/pipe.texi: Document MTASC-safety properties.
6729 * manual/pattern.texi: Document MTASC-safety properties.
6731 * manual/message.texi: Document MTASC-safety properties.
6734 * manual/memory.texi: Document MTASC-safety properties.
6736 * manual/math.texi: Document MTASC-safety properties.
6738 * manual/locale.texi: Document MTASC-safety properties.
6740 * manual/llio.texi: Document MTASC-safety properties.
6742 * manual/libdl.texi: New.
6744 * manual/lang.texi: Document MTASC-safety properties.
6746 * manual/job.texi: Document MTASC-safety properties.
6748 * manual/getopt.texi: Document MTASC-safety properties.
6750 * manual/ctype.texi: Document MTASC-safety properties.
6752 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6755 * csu/libc-tls.c (static_map): Remove variable.
6756 (__libc_setup_tls): Use main executable's link map for TLS data.
6757 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6758 casing for LM_ID_BASE and GL(dl_nns).
6759 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6760 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6761 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6762 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6763 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6765 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6768 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6770 * manual/debug.texi: Document MTASC-safety properties.
6772 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6775 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6776 of __x86_64__ when disabling x87 inline functions.
6778 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6780 * manual/charset.texi: Document MTASC-safety properties.
6782 * manual/crypt.texi: Document MTASC-safety properties.
6784 * manual/conf.texi: Document MTASC-safety properties.
6786 * manual/arith.texi: Document MTASC-safety properties.
6788 * manual/argp.texi: Document MTASC-safety properties.
6790 * manual/macros.texi: Introduce macros to document multi
6791 thread, asynchronous signal and asynchronous cancellation
6793 * manual/intro.texi: Introduce the properties themselves.
6795 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6797 * sysdeps/sh/sh4/Makefile: New file.
6799 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6801 * math/gen-libm-test.pl ($srcdir): New variable.
6802 ($auto_input): Use it.
6804 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6807 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6808 access beyond array bounds when parsing netgroups file.
6810 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6811 the old buffer before realloc.
6813 2014-01-27 Allan McRae <allan@archlinux.org>
6815 * po/fr.po: Update French translation from translation project.
6817 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6819 * sysdeps/sh/libm-test-ulps: Regenerate.
6821 2014-01-24 David S. Miller <davem@davemloft.net>
6823 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6825 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6827 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6828 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6830 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6833 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6834 string pointers after reallocation.
6836 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6838 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6839 __SH4A__ instead of __SH_FPU_ANY__.
6841 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6843 * sysdeps/sh/fpu_control.h: New file.
6844 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6845 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6846 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6847 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6848 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6849 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6850 * sysdeps/sh/sys/ucontext.h: Remove.
6851 * sysdeps/sh/sys: Remove directory.
6853 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6855 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6856 s390/sys/ucontext.h.
6857 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6858 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6860 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6863 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6865 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6869 Adjust the vDSO correctly for internal calls.
6870 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6872 2014-01-20 Allan McRae <allan@archlinux.org>
6874 * po/ca.po: Update Catalan translation from translation project.
6876 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6878 * sysdeps/s390/sotruss-lib.c: New file.
6880 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6884 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6885 local calls issues by not having a PLT stub required for IFUNC calls.
6886 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6888 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6890 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6891 * math/test-fpucw-static.c: Likewise.
6893 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6896 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6898 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6901 implementation for powerpc.
6903 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6906 * sysdeps/posix/system.c (__libc_system): Do not enable
6907 asynchronous cancellation.
6909 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6912 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6913 handling only for numbers special also in the IEEE case.
6915 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6917 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6919 2014-01-11 Allan McRae <allan@archlinux.org>
6921 * po/bg.po: Update Bulgarian translation from translation project.
6923 * po/de.po: Update German translation from translation project.
6925 2014-01-10 Roland McGrath <roland@hack.frob.com>
6927 * sysdeps/generic/gcc-compat.h: New file.
6929 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6931 * benchtests/asin-inputs: Correct slow inputs.
6932 * benchtests/acos-inputs: Likewise.
6934 2014-01-10 Allan McRae <allan@archlinux.org>
6936 * po:sv.po: Update Swedish translation from translation project.
6938 * po/vi.po: Update Vietnamese translation from translation project.
6940 * po/eo.po: Update Esperanto translation from translation project.
6942 * po/cs.po: Update Czech translation from translation project.
6944 * po/nl.po: Update Dutch translation from translation project.
6946 * po/pl.po: Update Polish translation from translation project.
6948 * po/ru.po: Update Russian translation from translation project.
6950 * po/uk.po: Update Ukrainian translation from translation project.
6952 2014-01-08 Brooks Moses <bmoses@google.com>
6954 * elf/dl-load.c: Fix comment typo.
6956 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6958 * po/header.pot: Rename to...
6959 * po/pot.header: ... this.
6960 * po/Makefile: Use pot.header.
6962 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6963 Maxim Kuvyrkov <maxim@kugelworks.com>
6966 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6967 SRC and DEST against LEN.
6969 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6972 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6974 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6976 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6980 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6983 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6984 for large positive arguments.
6986 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6988 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6990 * math/auto-libm-test-in: Mark various tests with
6991 xfail-rounding:ldbl-128ibm.
6992 * math/auto-libm-test-out: Regenerated.
6995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6996 Increase overflow threshold.
6998 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7001 * stdio-common/vfprintf.c: Check for integer overflow.
7003 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7005 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7006 the first argument and return value of __tls_get_addr_internal.
7008 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7010 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7011 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7013 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7015 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7016 * sysdeps/s390/rtld-global-offsets.sym: New file.
7017 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7019 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7020 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7021 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7023 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7024 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7030 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7031 halfs of GPRs for high_gprs contexts.
7032 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7033 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7035 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7037 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7039 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7040 for high GPRs (uc_high_gprs) and for future extensions
7042 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7043 for future extensions (__reserved).
7044 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7046 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7047 SC_HIGHGPRS offset definition.
7048 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7049 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7051 * Versions.def: Add GLIBC_2.19 for libpthread.
7052 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7053 siglongjmp for libpthread with GLIBC_2.19 symver.
7054 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7055 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7056 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7057 * sysdeps/s390/__longjmp.c: New file.
7058 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7059 * sysdeps/s390/longjmp.c: New file.
7060 * sysdeps/s390/setjmp.S: New file.
7061 * sysdeps/s390/sigjmp.S: New file.
7062 * sysdeps/s390/v1-longjmp.c: New file.
7063 * sysdeps/s390/v1-setjmp.h: New file.
7064 * sysdeps/s390/v1-sigjmp.c: New file.
7065 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7066 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7068 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7069 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7070 versioned symbols for ____longjmp_chk.
7071 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7081 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7082 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7083 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7084 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7085 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7086 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7087 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7088 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7089 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7090 * sysdeps/s390/rtld-__longjmp.c: New file.
7091 * sysdeps/s390/rtld-setjmp.S: New file.
7093 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7096 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7097 Return -__logl (x) for small positive arguments without evaluating
7100 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7102 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7104 (__ptrace_peeksiginfo_args): ... this.
7105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7109 2014-01-06 Allan McRae <allan@archlinux.org>
7111 * inet/netinet/in.h: Fix typo in comment.
7113 2014-01-05 Andreas Jaeger <aj@suse.de>
7115 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 2014-01-05 Allan McRae <allan@archlinux.org>
7119 * po/libc.pot: Regenerated.
7121 * malloc/memusagestat.c: Fix gettext call formatting.
7123 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7125 * nscd/nscd.c: Improve usage() output.
7127 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7129 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7130 * sysdeps/unix/sysv/linux/configure: Regenerated.
7131 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7132 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7134 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7137 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7138 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7140 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7143 extra tokens at end of #undef directive.
7144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7146 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7148 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7150 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7152 * math/auto-libm-test-in: Mark various tests with
7153 xfail-rounding:ldbl-128ibm.
7154 * math/auto-libm-test-out: Regenerated.
7156 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7159 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7160 numbers with subnormal high part when calculating exponent.
7163 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7169 (__ieee754_acoshl): Use __log1pl not __log1p.
7171 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7173 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7174 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7175 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7176 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7177 (reused_arena, arena_get2): Convert to GNU style.
7178 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7179 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7180 (memalign_check, __malloc_set_state): Likewise.
7181 * malloc/mallocbug.c (main): Likewise.
7182 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7183 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7184 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7185 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7186 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7187 (__posix_memalign, malloc_info): Likewise.
7188 * malloc/malloc.h: Likewise.
7189 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7190 (mallochook, memalignhook, reallochook, mabort): Likewise.
7191 * malloc/mcheck.h: Likewise.
7192 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7193 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7194 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7195 * malloc/morecore.c (__default_morecore): Likewise.
7196 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7197 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7198 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7199 (print_and_abort): Likewise.
7200 * malloc/obstack.h: Likewise.
7201 * malloc/set-freeres.c (__libc_freeres): Likewise.
7202 * malloc/tst-mallocstate.c (main): Likewise.
7203 * malloc/tst-mtrace.c (main): Likewise.
7204 * malloc/tst-realloc.c (do_test): Likewise.
7206 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7209 * nscd/netgroupcache.c (do_notfound): New function.
7210 (addgetnetgrentX): Use it.
7213 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7214 NSS_STATUS_NOTFOUND.
7216 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7218 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221 2014-01-01 Allan McRae <allan@archlinux.org>
7223 * scripts/update-copyrights: Update configure input file suffix.
7225 * NEWS: Update copyright year.
7226 * catgets/gencat.c: Likewise.
7227 * csu/version.c: Likewise.
7228 * debug/catchsegv.sh: Likewise.
7229 * debug/pcprofiledump.c: Likewise.
7230 * debug/xtrace.sh: Likewise.
7231 * elf/ldconfig.c: Likewise.
7232 * elf/ldd.bash.in: Likewise.
7233 * elf/pldd.c: Likewise.
7234 * elf/sotruss.ksh: Likewise.
7235 * elf/sprof.c: Likewise.
7236 * iconv/iconv_prog.c: Likewise.
7237 * iconv/iconvconfig.c: Likewise.
7238 * locale/programs/locale.c: Likewise.
7239 * locale/programs/localedef.c: Likewise.
7240 * login/programs/pt_chown.c: Likewise.
7241 * malloc/memusage.sh: Likewise.
7242 * malloc/memusagestat.c: Likewise.
7243 * malloc/mtrace.pl: Likewise.
7244 * manual/libc.texinfo: Likewise.
7245 * nscd/nscd.c: Likewise.
7246 * nss/getent.c: Likewise.
7247 * nss/makedb.c: Likewise.
7248 * posix/getconf.c: Likewise.
7249 * scripts/test-installation.pl: Likewise.
7251 * All files with FSF copyright notices: Update copyright dates
7252 using scripts/update-copyrights.
7253 * intl/plural.c: Regenerated.
7254 * locale/programs/charmap-kw.h: Likewise.
7255 * locale/programs/locfile-kw.h: Likewise.
7257 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7259 * sysdeps/unix/sysv/linux/configure: Regenerated.
7260 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7261 the linux/fanotify.h header.
7262 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7263 HAVE_LINUX_FANOTIFY_H is defined.
7265 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7267 * benchtests/cos-inputs: New inputs.
7268 * benchtests/sin-inputs: Likewise.
7270 * benchtests/atan-inputs: New inputs. Fix name of multiple
7271 precision fallback inputs.
7273 * benchtests/atanh-inputs: New inputs.
7274 * benchtests/tanh-inputs: Likewise.
7276 * benchtests/acosh-inputs: New inputs.
7277 * benchtests/asinh-inputs: Likewise.
7279 * benchtests/cosh-inputs: New inputs.
7280 * benchtests/sinh-inputs: Likewise.
7282 * benchtests/acos-inputs: Add more inputs.
7283 * benchtests/asin-inputs: Likewise.
7285 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7288 * manual/arith.texi: Fix spelling.
7289 * manual/charset.texi: Likewise.
7290 * manual/errno.texi: Likewise.
7291 * manual/filesys.texi: Likewise.
7292 * manual/lang.texi: Likewise.
7293 * manual/llio.texi: Likewise.
7294 * manual/locale.texi: Likewise.
7295 * manual/message.texi: Likewise.
7296 * manual/resource.texi: Likewise.
7297 * manual/search.texi: Likewise.
7298 * manual/setjmp.texi: Likewise.
7299 * manual/stdio.texi: Likewise.
7300 * manual/string.texi: Likewise.
7301 * manual/sysinfo.texi: Likewise.
7302 * manual/time.texi: Likewise.
7304 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7306 * po/sl.po: New file.
7308 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7310 * .gitignore: Add core/.gdbinit/.gdb_history.
7312 2013-12-27 Allan McRae <allan@archlinux.org>
7315 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7316 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7318 2013-12-24 Brooks Moses <bmoses@google.com>
7320 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7321 all compilers that claim C++98 compliance, not just GCC.
7322 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7325 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7327 * NEWS: Restore accidentally deleted bug-fix entries.
7329 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7330 Ondřej Bílka <neleai@seznam.cz>
7333 * malloc/malloc.c (_int_free): Perform sanity check only if we
7336 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7339 * manual/stdio.texi (String Input Conversions): Clarify that character
7340 classes are not supported.
7342 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7346 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7350 Calculate results for small negative arguments directly rather
7351 than using reflection formula with special underflow handling.
7353 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7354 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7355 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7356 (fchflags): Likewise.
7358 (setlogin): Likewise.
7359 (sigaltstack): Likewise.
7362 (sigsetmask): Likewise.
7364 (waitpid): Likewise.
7365 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7366 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7368 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7369 * sysdeps/unix/bsd/Makefile: ... here.
7370 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7371 * sysdeps/unix/bsd/Versions: ... here.
7372 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7373 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7374 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7375 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7376 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7377 * sysdeps/unix/bsd/sigblock.c: ... here.
7378 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7379 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7380 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7381 * sysdeps/unix/bsd/sigvec.c: ... here.
7382 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7383 * sysdeps/unix/bsd/tcdrain.c: ... here.
7384 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7385 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7386 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7387 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7388 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7389 * sysdeps/unix/bsd/wait.c: ... here.
7390 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7391 * sysdeps/unix/bsd/wait3.c: ... here.
7392 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7393 * sysdeps/unix/bsd/waitpid.c: ... here.
7395 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7398 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7399 round-to-nearest for [!USE_AS_EXPM1L].
7400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7401 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7402 more tests of exp and exp10. Expect some exp10 tests to miss
7403 exceptions or fail in directed rounding modes.
7404 * math/auto-libm-test-out: Regenerated.
7405 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7406 (exp10_test_tonearest): New function.
7407 (exp10_towardzero_test_data): New array.
7408 (exp10_test_towardzero): New function.
7409 (exp10_downward_test_data): New array.
7410 (exp10_test_downward): New function.
7411 (exp10_upward_test_data): New array.
7412 (exp10_test_upward): New function.
7413 (main): Call the new functions.
7414 * sysdeps/i386/fpu/libm-test-ulps: Update.
7415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7417 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7419 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7420 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7421 * math/auto-libm-test-out: Regenerated.
7422 * math/libm-test.inc (acosh_test_data): Add more tests.
7423 (atanh_test_data): Likewise.
7424 (ceil_test_data): Likewise.
7425 (copysign_test_data): Likewise.
7426 * sysdeps/i386/fpu/libm-test-ulps: Update.
7427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7429 * timezone/checktab.awk: Update from tzcode 2013i.
7430 * timezone/private.h: Likewise.
7431 * timezone/scheck.c: Likewise.
7432 * timezone/tzfile.h: Likewise.
7433 * timezone/tzselect.ksh: Likewise.
7434 * timezone/zdump.c: Likewise.
7435 * timezone/zic.c: Likewise.
7437 * math/auto-libm-test-in: Add tests of cpow.
7438 * math/auto-libm-test-out: Regenerated.
7439 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7440 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7442 (func_calc_desc): Add mpc_cc_c union field.
7443 (test_functions): Add cpow.
7444 (special_fill_2pi): New function.
7445 (special_real_inputs): Add 2pi.
7446 (calc_generic_results): Handle mpc_cc_c.
7447 * sysdeps/i386/fpu/libm-test-ulps: Update.
7448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7450 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7451 csqrt, ctan and ctanh.
7452 * math/auto-libm-test-out: Regenerated.
7453 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7454 (TEST_COND_x86): Likewise.
7455 (ccos_test_data): Use AUTO_TESTS_c_c.
7456 (ccosh_test_data): Likewise.
7457 (cexp_test_data): Likewise.
7458 (clog_test_data): Likewise.
7459 (csqrt_test_data): Likewise.
7460 (ctan_test_data): Likewise.
7461 (ctan_tonearest_test_data): Likewise.
7462 (ctan_towardzero_test_data): Likewise.
7463 (ctan_downward_test_data): Likewise.
7464 (ctan_upward_test_data): Likewise.
7465 (ctanh_test_data): Likewise.
7466 (ctanh_tonearest_test_data): Likewise.
7467 (ctanh_towardzero_test_data): Likewise.
7468 (ctanh_downward_test_data): Likewise.
7469 (ctanh_upward_test_data): Likewise.
7470 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7472 (func_calc_desc): Add mpc_c_c union field.
7473 (FUNC_mpc_c_c): New macro.
7474 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7475 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7477 (special_fill_min_subnorm_p120): New function.
7478 (special_real_inputs): Add min_subnorm_p120.
7479 (calc_generic_results): Handle mpc_c_c.
7480 * sysdeps/i386/fpu/libm-test-ulps: Update.
7481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7483 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7485 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7486 (do_sin_slow): New functions.
7487 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7488 (cslow2, csloww1, csloww2): Use the new functions.
7490 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7491 Use M to change sign of result instead of X. Assume X is
7493 (csloww1): Likewise.
7497 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7504 (sloww1): Don't adjust sign of DX.
7505 (csloww1): Likewise.
7506 (sloww2): Use X directly and don't adjust sign of DX.
7507 (csloww2): Likewise.
7509 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7511 * math/auto-libm-test-in: Add tests of cabs and carg.
7512 * math/auto-libm-test-out: Regenerated.
7513 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7514 (carg_test_data): Likewise.
7515 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7517 (func_calc_desc): Add mpc_c_f union field.
7518 (test_functions): Add cabs and carg.
7519 (calc_generic_results): Handle mpc_c_f.
7521 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7522 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7523 as a macro and a compat symbol.
7524 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7525 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7526 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7527 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7528 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7529 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7531 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7533 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7535 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7537 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7541 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7542 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7545 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7549 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7551 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7552 trailing whitespace removed.
7553 * scripts/config.guess: Update to version 2013-11-29.
7554 * scripts/config.sub: Update to version 2013-10-01.
7556 * math/auto-libm-test-in: Add tests of sincos.
7557 * math/auto-libm-test-out: Regenerated.
7558 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7559 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7561 (func_calc_desc): Add mpfr_f_11 union field.
7562 (test_functions): Add sincos.
7563 (calc_generic_results): Handle mpfr_f_11.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567 2013-12-19 Andreas Schwab <schwab@suse.de>
7569 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7572 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7573 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7575 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7577 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7578 * sysdeps/i386/fpu/libm-test-ulps: Update.
7579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7582 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7583 round-to-nearest mode when using frndint.
7584 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7585 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7586 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7588 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7590 * math/auto-libm-test-out: Regenerated.
7591 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7592 (TEST_COND_x86): Likewise.
7593 (expm1_tonearest_test_data): New array.
7594 (expm1_test_tonearest): New function.
7595 (expm1_towardzero_test_data): New array.
7596 (expm1_test_towardzero): New function.
7597 (expm1_downward_test_data): New array.
7598 (expm1_test_downward): New function.
7599 (expm1_upward_test_data): New array.
7600 (expm1_test_upward): New function.
7601 (main): Run the new test functions.
7602 * sysdeps/i386/fpu/libm-test-ulps: Update.
7603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605 * include/features.h: Update comment documenting feature test
7606 macros. Mention _DEFAULT_SOURCE in comment.
7607 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7608 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7609 _BSD_SOURCE and _SVID_SOURCE.
7610 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7611 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7612 !_SVID_SOURCE]: Likewise.
7613 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7614 (__USE_POSIX_IMPLICITLY): Define.
7615 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7616 (_POSIX_SOURCE): Undefine and redefine.
7617 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7618 (_POSIX_C_SOURCE): Likewise.
7619 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7620 (Feature Test Macros): Update documentation of default features.
7622 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7624 * benchtests/Makefile: Add bench-strtok.
7625 * benchtests/bench-strtok.c: New file: strtok benchtest.
7627 2013-12-19 Allan McRae <allan@archlinux.org>
7629 * manual/install.texi: Suppress menu for plain text output.
7630 * INSTALL: Regenerated.
7632 2013-12-18 Brooks Moses <bmoses@google.com>
7635 * misc/getauxval.c: Include errno.h.
7636 (__getauxval): Set errno to ENOENT if the requested type is not
7638 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7639 don't declare with __attribute_const__.
7640 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7641 * manual/startup.texi: Document that getauxval sets errno.
7643 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7645 * math/auto-libm-test-in: Add tests of jn and yn.
7646 * math/auto-libm-test-out: Regenerated.
7647 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7648 (yn_test_data): Likewise.
7649 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7651 (func_calc_desc): Add mpfr_if_f union field.
7652 (FUNC_mpfr_if_f): New macro.
7653 (test_functions): Add jn and yn.
7654 (calc_generic_results): Assert type of second input for
7655 mpfr_ff_f. Handle mpfr_if_f.
7656 (output_for_one_input_case): Disable all checking for arguments
7657 fitting floating-point types in case of an integer argument.
7658 * sysdeps/i386/fpu/libm-test-ulps: Update.
7659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7662 Don't expect fegetround reference in libm.so.
7664 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7666 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7667 $(config-cflags-nofma).
7669 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7671 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7672 * math/auto-libm-test-out: Regenerated.
7675 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7676 to determine exponent and adjust argument to have exponent of -1.
7677 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7679 * math/auto-libm-test-out: Regenerated.
7680 * sysdeps/i386/fpu/libm-test-ulps: Update.
7681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7683 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7685 * manual/probes.texi: Remove cases when per-thread arenas are
7688 2013-12-18 Andreas Schwab <schwab@suse.de>
7690 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7691 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7692 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7693 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7694 * sysdeps/i386/i686/multiarch/Makefile: Update.
7695 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7697 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7699 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7700 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7702 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7705 Support TZ transition times < 00:00:00.
7706 This is needed for version-3 tz-format files; it supports time
7707 stamps past 2037 for America/Godthab (the only entry in the tz
7708 database for which this change is relevant).
7709 * manual/time.texi (TZ Variable): Document transition times
7710 from -167:59:59 through -00:00:01.
7711 * time/tzset.c (tz_rule): Time of day is now signed.
7712 (__tzset_parse_tz): Parse negative time of day.
7714 Document TZ transition times >= 25:00:00.
7715 * manual/time.texi (TZ Variable): Document transition times from
7716 25:00:00 through 167:59:59. These are already supported, and this
7717 support will help with version-3 tz-format files.
7719 * manual/time.texi (TZ Variable): Modernize North America example
7720 to reflect current (i.e., 2007-and-later) daylight saving rules.
7722 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7724 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7726 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7727 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7730 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7731 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7732 * sysdeps/unix/bsd/clock.c: Likewise.
7733 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7734 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7735 * sysdeps/unix/bsd/init-posix.c: Likewise.
7736 * sysdeps/unix/bsd/poll.c: Likewise.
7737 * sysdeps/unix/bsd/ptsname.c: Likewise.
7738 * sysdeps/unix/bsd/seekdir.c: Likewise.
7739 * sysdeps/unix/bsd/setegid.c: Likewise.
7740 * sysdeps/unix/bsd/seteuid.c: Likewise.
7741 * sysdeps/unix/bsd/setgid.c: Likewise.
7742 * sysdeps/unix/bsd/setrgid.c: Likewise.
7743 * sysdeps/unix/bsd/setruid.c: Likewise.
7744 * sysdeps/unix/bsd/setsid.c: Likewise.
7745 * sysdeps/unix/bsd/setuid.c: Likewise.
7746 * sysdeps/unix/bsd/sigaction.c: Likewise.
7747 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7748 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7749 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7750 * sysdeps/unix/bsd/telldir.c: Likewise.
7751 * sysdeps/unix/bsd/times.c: Likewise.
7752 * sysdeps/unix/bsd/usleep.c: Likewise.
7754 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7755 ($(objpfx)libbsd-compat.a): Remove rule.
7757 * include/features.h (__FAVOR_BSD): Do not define.
7758 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7759 features conflicting with POSIX.
7760 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7761 (_BSD_SOURCE): Remove description of not being a subset of other
7762 feature test macros.
7763 * manual/job.texi (getpgrp): Do not document BSD version.
7764 (getpgid): Do not document by reference to BSD getpgrp.
7765 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7766 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7767 * signal/signal.h [__FAVOR_BSD]: Likewise.
7768 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7769 instead of making contents conditional on [__FAVOR_BSD].
7770 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7772 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7776 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7779 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7780 values below 2**-450, not 2**-500.
7781 * math/auto-libm-test-in: Don't allow spurious underflow from
7783 * math/auto-libm-test-out: Regenerated.
7787 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7788 values of ha and hb and sort them after adjusting subnormal
7790 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7792 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7793 values of ea and eb and sort them after adjusting subnormal
7795 * math/auto-libm-test-in: Do not expect some hypot tests of
7796 subnormals to fail. Add more hypot tests.
7797 * math/auto-libm-test-out: Regenerated.
7799 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7802 * sysdeps/sh/s_fma.c: New file.
7803 * sysdeps/sh/s_fmaf.c: New file.
7804 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7806 * sysdeps/sh/Implies: Add sh/soft-fp.
7808 2013-12-16 Roland McGrath <roland@hack.frob.com>
7810 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7811 level of indirection to members `objname', `errstring', `malloced'.
7812 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7813 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7814 it as the __longjmp argument (just pass 1 instead).
7815 (_dl_catch_error): Initialize C with argument pointers and address of
7816 volatile local ERRCODE rather than copying values out of C at return.
7818 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7820 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7821 * math/auto-libm-test-out: Regenerated.
7822 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7823 (hypot_test_data): Likewise.
7824 (pow_test_data): Likewise.
7825 (pow_tonearest_test_data): Likewise.
7826 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7828 (func_calc_desc): Add mpfr_ff_f union field.
7829 (FUNC_mpfr_ff_f): New macro.
7830 (test_functions): Add atan2, hypot and pow.
7831 (special_fill_min): New function.
7832 (special_fill_minus_min): Likewise.
7833 (special_fill_min_subnorm): Likewise.
7834 (special_fill_minus_min_subnorm): Likewise.
7835 (special_real_inputs): Add min, -min, min_subnorm and
7837 (calc_generic_results): Handle mpfr_ff_f.
7838 * sysdeps/i386/fpu/libm-test-ulps: Update.
7839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7841 2013-12-16 Will Newton <will.newton@linaro.org>
7843 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7844 (Aligned Memory Blocks): Add documentation for aligned_alloc
7845 and suggest it as an alternative to posix_memalign.
7846 (Hooks for Malloc): Document __memalign_hook is also called
7847 for aligned_alloc. (Summary of Malloc): Add summary for
7848 aligned alloc. Document __memalign_hook is also called
7851 2013-12-16 Will Newton <will.newton@linaro.org>
7853 * manual/memory.texi (Malloc Examples): Clarify default
7854 alignment documentation. Suggest posix_memalign rather
7855 than memalign or valloc.
7856 (Aligned Memory Blocks): Remove suggestion to use memalign
7857 or valloc. Remove obsolete comment about BSD.
7858 Document memalign errno values and mark the function obsolete.
7859 Document posix_memalign returned error codes. Mark valloc
7860 as obsolete. (Hooks for Malloc): __memalign_hook is also
7861 called for posix_memalign and valloc.
7862 (Summary of Malloc): Add posix_memalign to function summary.
7863 __memalign_hook is also called for posix_memalign and valloc.
7865 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7867 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7871 (sloww): Use mynumber union. Expand ternary operator into
7873 (cslow): use mynumber union.
7875 2013-12-16 Allan McRae <allan@archlinux.org>
7877 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7878 * configure: Regenerated.
7880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7883 * configure.ac: Added --enable-maintainer-mode. Check for
7884 autoconf when enabled.
7885 * configure: Regenerated.
7887 * nscd/nscd.service: New file.
7888 * nscd/nscd.tmpfiles: New file.
7890 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7893 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7894 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7895 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7896 (strstr): Add __strstr_sse2_unaligned ifunc.
7897 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7898 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7899 (strcasestr): Remove __strcasestr_sse42 ifunc.
7900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7904 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7906 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7907 * sysdeps/sh/bits/fenv.h: ... here.
7908 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7910 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7912 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7915 hypotf multiarch implementations.
7916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7917 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7918 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7919 multiarch hypot for PPC64.
7920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7922 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7923 multiarch hypotf for PPC64.
7925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7926 modff multiarch implementations.
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7930 multiarch modf for PPC64.
7931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7934 multiarch modff for PPC64.
7936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7937 and logl multiarch implementations.
7938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7941 multiarch logb for PPC64.
7942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7945 multiarch logb for PPC64.
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7949 multiarch logb for PPC64.
7951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7952 isinff multiarch implementation.
7953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7957 multiarch isinf for PPC64.
7958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7961 multiarch isinff for PPC64.
7963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7964 finitef multiarch implementation.
7965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7969 multiarch finite for PPC64.
7970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7973 multiarch finitef for PPC64.
7975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7976 lrint multiarch implementation.
7977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7981 multiarch llrint for PPC64.
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7983 multiarch lrint for PPC64.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7986 copysignf multiarch implementation.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7992 multiarch copysign for PPC64.
7993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7994 multiarch copysignf for PPC64.
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7997 multiarch implementation.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8006 multiarch llround for PPC64.
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8008 multiarch trunc for PPC64.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8010 multiarch truncf for PPC64.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8013 multiarch implementation.
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8022 multiarch llround for PPC64.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8024 multiarch round for PPC64.
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8026 multiarch roundf for PPC64.
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8029 multiarch implementation.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8038 multiarch llround for PPC64.
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8040 multiarch floor for PPC64.
8041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8042 multiarch floorf for PPC64.
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8045 multiarch implementation.
8046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8054 multiarch llround for PPC64.
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8056 multiarch ceil for PPC64.
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8058 multiarch ceilf for PPC64.
8060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8061 multiarch implementation.
8062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8069 multiarch llround for PPC64.
8070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8071 multiarch lround for PPC64.
8073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8074 multiarch implementation.
8075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8082 multiarch isnan for PPC64.
8083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8084 multiarch isnanf for PPC64.
8086 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8087 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8088 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8089 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8090 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8093 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8094 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8099 multiarch implementations.
8100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8101 (__libc_ifunc_impl_list): Likewise.
8102 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8103 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8104 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8105 multiarch stpcpy for PPC64.
8107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8108 multiarch implementations.
8109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8110 (__libc_ifunc_impl_list): Likewise.
8111 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8112 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8113 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8114 multiarch strcpy for PPC64.
8116 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8117 redefine function name.
8118 (_wordcopy_fwd_dest_aligned): Likewise.
8119 (_wordcopy_bwd_aligned): Likewise.
8120 (_wordcopy_bwd_dest_aligned): Likewise.
8121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8122 multiarch implementations.
8123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8124 (__libc_ifunc_impl_list): Likewise.
8125 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8126 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8128 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8129 multiarch wcscpy for PPC64.
8131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8132 multiarch implementations.
8133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8134 (__libc_ifunc_impl_list): Likewise.
8135 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8136 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8137 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8139 multiarch wcscpy for PPC64.
8141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8142 multiarch implementations.
8143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8144 (__libc_ifunc_impl_list): Likewise.
8145 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8146 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8147 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8148 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8149 multiarch wcsrchr for PPC64.
8151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8152 multiarch implementations.
8153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8154 (__libc_ifunc_impl_list): Likewise.
8155 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8156 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8157 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8158 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8159 multiarch wcschr for PPC64.
8161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8162 multiarch implementations.
8163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8164 (__libc_ifunc_impl_list): Likewise.
8165 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8166 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8167 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8168 multiarch strchrnul for PPC64.
8170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8173 (__libc_ifunc_impl_list): Likewise.
8174 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8175 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8176 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8177 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8183 (__libc_ifunc_impl_list): Likewise.
8184 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8185 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8186 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8187 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8191 multiarch implementations.
8192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8193 (__libc_ifunc_impl_list): Likewise.
8194 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8195 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8196 strncasecmp for PPC64.
8197 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8198 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8199 multiarch strncasecmp_l for PPC64.
8201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8202 multiarch implementations.
8203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8204 (__libc_ifunc_impl_list): Likewise.
8205 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8206 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8207 multiarch strcasecmp for PPC64.
8208 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8210 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8211 multiarch strcasecmp_l for PPC64.
8213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8216 (__libc_ifunc_impl_list): Likewise.
8217 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8218 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8219 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8225 (__libc_ifunc_impl_list): Likewise.
8226 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8227 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8228 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8234 (__libc_ifunc_impl_list): Likewise.
8235 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8236 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8237 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8238 rawmemrchr for PPC64.
8240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8243 (__libc_ifunc_impl_list): Likewise.
8244 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8245 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8246 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8252 (__libc_ifunc_impl_list): Likewise.
8253 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8254 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8255 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8261 (__libc_ifunc_impl_list): Likewise.
8262 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8263 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8264 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8267 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8268 avoid cretion of __bzero symbol.
8269 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8271 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8273 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8276 multiarch implementations.
8277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8278 (__libc_ifunc_impl_list): Likewise.
8279 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8280 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8281 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8282 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8284 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8285 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8286 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8287 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8288 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8290 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8292 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8296 (__libc_ifunc_impl_list): Likewise.
8297 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8298 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8299 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8300 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8304 multiarch for POWER/PPC64.
8305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8306 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8307 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8310 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8313 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8316 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8317 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8318 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8319 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8320 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8321 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8322 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8323 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8324 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8325 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8326 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8327 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8328 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8329 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8330 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8339 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8341 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8343 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8345 * benchtests/Makefile (bench): Add exp2 and log2.
8346 (LDLIBS-bench-exp2): Add -lm.
8347 (LDLIBS-bench-log2): Likewise.
8348 * benchtests/exp2-inputs: New inputs file.
8349 * benchtests/log2-inputs: New inputs file.
8350 * benchtests/log-inputs: Add new inputs.
8351 * benchtests/tan-inputs: Likewise.
8353 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8355 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8357 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8358 (csloww2): ... from here.
8360 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8361 instead of structures.
8362 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8363 (POLYNOMIAL): Likewise.
8364 (TAYLOR_SLOW): Likewise.
8372 (bsloww1): Likewise.
8373 (bsloww2): Likewise.
8376 (csloww1): Likewise.
8377 (csloww2): Likewise.
8379 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8381 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8382 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8383 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8384 * malloc/hooks.c (realloc_check): Likewise.
8386 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8387 * malloc/arena.c: Remove PER_THREAD conditional.
8388 [!PER_THREAD]: Remove code.
8389 (ptmalloc_unlock_all2): Likewise.
8390 (ptmalloc_init): Likewise.
8391 (_int_new_arena): Likewise.
8392 (arena_get2): Likewise.
8393 * malloc/hooks.c (__malloc_get_state): Likewise.
8394 (__malloc_set_state): Likewise.
8395 * malloc/malloc.c: Likewise.
8396 (struct malloc_state): Likewise.
8397 (struct malloc_par): Likewise.
8398 (__libc_realloc): Likewise.
8399 (__libc_mallopt): Likewise.
8401 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8403 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8405 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8407 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8408 macro to a function. Check for zero perturb_byte.
8409 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8411 * malloc/malloc.c: (force_reg): Remove.
8412 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8413 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8414 force_reg by atomic_forced_read.
8415 * malloc/arena.c (ptmalloc_init): Likewise.
8416 * malloc/hooks.c (top_check): Likewise.
8418 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8422 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8426 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8428 * math/auto-libm-test-in: Add tests of lgamma.
8429 * math/auto-libm-test-out: Regenerated.
8430 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8431 (M_LOG_2_SQRT_PIl): Likewise.
8432 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8435 (func_calc_desc): Add mpfr_f_f1 union field.
8444 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8445 (test_functions): Add lgamma.
8446 (calc_generic_results): Handle mpfr_f_f1.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8450 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8452 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8453 __mpn_add_n for PowerPC64/POWER7.
8454 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8455 __mpn_sub_n for PowerPC64/POWER7.
8457 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8458 __mpn_addmul_1 for PowerPC64.
8459 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8460 __mpn_submul_1 for PowerPC64.
8461 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8463 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8466 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8469 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8471 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8473 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8475 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8476 add multiarch folders.
8477 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8478 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8479 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8480 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8481 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8482 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8483 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8484 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8485 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8486 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8487 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8496 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8502 multiarch __ieee754_hypot for PowerPC32.
8503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8508 multiarch __ieee754_hypotf for PowerPC32.
8510 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8511 long_double_symbol only if __logbl is defined.
8512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8513 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8515 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8517 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8519 path for implementation.
8520 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8521 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8523 logb, and logbl multiarch implementations for PowerPC32.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8529 multiarch logb for PowerPC32.
8530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8535 multiarch logbf for PowerPC32.
8536 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8540 multiarch logbl implementation for PowerPC32.
8542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8543 and modff multiarch implementations.
8544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8549 multiarch modf for PowerPC32.
8550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8555 multiarch modff for PowerPC32.
8557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8558 and lrintf multiarch implementations.
8559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8564 multiarch lrint for PowerPC32.
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8566 file: multiarch lrintf for PowerPC32.
8568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8569 and lroundf multiarch implementations.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8577 multiarch lround for PowerPC32.
8578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8579 file: multiarch lroundf for PowerPC32.
8581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8582 copysign and copysignf multiarch implementations.
8583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8588 file: multiarch copysign for PowerPC32.
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8590 file: multiarch copysignf for PowerPC32.
8592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8593 and truncf multiarch implementations.
8594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8599 multiarch trunc for PowerPC32.
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8605 multiarch truncf for PowerPC32.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8608 and roundf multiarch implementations.
8609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8614 multiarch round for PowerPC32.
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8620 multiarch roundf for PowerPC32.
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8623 and floorf multiarch implementations.
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8629 multiarch floor for PowerPC32.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8635 multiarch floorf for PowerPC32.
8637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8638 and ceilf multiarch implementations.
8639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8644 multiarch ceil for PowerPC32.
8645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8650 multiarch ceilf for PowerPC32.
8652 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8654 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8657 and finitef multiarch implementations.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8663 multiarch finite for PowerPC32.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8667 file: multiarch finitef for PowerPC32.
8669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8670 and isinff multiarch implementations.
8671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8676 multiarch isinf for PowerPC32.
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8680 multiarch isinff for PowerPC32.
8682 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8683 alias when __isnan is defined.
8684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8685 and isnanf multiarch implementations.
8686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8695 multiarch isnan for PowerPC32.
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8701 multiarch isnanf for PowerPC32.
8703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8704 and sqrtf multiarch implementations.
8705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8710 multiarch sqrt for PowerPC32.
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8716 multiarch sqrtf for PowerPC32.
8718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8719 and llroundf multiarch implementations.
8720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8727 file: multiarch llround for PowerPC32.
8728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8729 file: multiarch llroundf for PowerPC32.
8731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8732 multiarch PowerPC32 fpu implementations.
8733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8738 multiarch llrint for PowerPC32.
8739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8754 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8755 multiarch wordcopy 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/power4/wordcopy.c: Move ...
8761 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8762 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8763 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8764 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8765 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8767 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8775 multiarch wcscpy for PPC32.
8776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8779 (__libc_ifunc_impl_list): Likewise.
8780 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8781 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8782 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8783 sysdeps/powerpc/power6/wcscpy.c.
8785 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8793 multiarch wcsrchr for PPC32.
8794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8797 (__libc_ifunc_impl_list): Likewise.
8798 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8799 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8800 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8801 sysdeps/powerpc/power6/wcsrchr.c.
8803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8809 multiarch wcschr for PPc32.
8810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8813 (__libc_ifunc_impl_list): Likewise.
8814 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8815 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8816 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8817 sysdeps/powerpc/power6/wcschr.c.
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8822 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8823 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8824 file: multiarch strchr for PPC32.
8825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8828 (__libc_ifunc_impl_list): Likewise.
8830 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8832 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8834 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8837 multiarch strchrnul for PPC32.
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8841 (__libc_ifunc_impl_list): Likewise.
8843 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8846 multiarch strncasecmp for PPC32.
8847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8850 multiarch strncasecmp_l for PPC32.
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8852 strncasecmp multiarch objects.
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8854 (__libc_ifunc_impl_list): Likewise.
8856 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8858 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8859 multiarch strncasecmp for PPC32.
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8863 multiarch strcasecmp_l for PPC32.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8867 (__libc_ifunc_impl_list): Likewise.
8869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8871 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8874 multiarch strncmp for PPC32.
8875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8878 (__libc_ifunc_impl_list): Likewise.
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8881 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8883 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8888 (__libc_ifunc_impl_list): Likewise.
8890 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8894 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8898 (__libc_ifunc_impl_list): Likewise.
8900 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8902 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8905 multiarch rawmemchr for PPC32.
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8909 (__libc_ifunc_impl_list): Likewise.
8911 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8913 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8916 file: memrchr multiarch for PPC32.
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8920 (__libc_ifunc_impl_list): Likewise.
8922 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8923 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8926 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8927 multiarch memchr for PPC32.
8928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8931 (__libc_ifunc_impl_list): Likewise.
8933 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8938 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8939 file: multiarch mempcpy for PPC32.
8940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8943 (__libc_ifunc_impl_list): Likewise.
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8946 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8947 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8948 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8949 multiarch bzero for PPC32.
8950 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8952 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8954 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8955 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8956 file: multiarch memset for PPC32.
8957 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8959 memset multiarch objects.
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8961 (__libc_ifunc_impl_list): Likewise.
8963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8968 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8972 (__libc_ifunc_impl_list): Likewise.
8974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8975 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8982 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8983 multiarch memcpy for PPC32.
8984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8987 (__libc_ifunc_impl_list): Likewise.
8989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8990 support multiarch for POWER/PPC32.
8991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8993 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8995 Implies file to make multiarch folder appers before the fpu and
8996 default folder for power4 configuration.
8998 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9000 * scripts/bench.pl: Append volatile keyword to type.
9002 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9004 * sysdeps/sh/sotruss-lib.c: New file.
9005 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9007 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9011 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9014 * math/w_tgamma.c: Include <errno.h>.
9015 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9016 * math/w_tgammaf.c: Include <errno.h>.
9017 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9018 * math/w_tgammal.c: Include <errno.h>.
9019 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9020 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9021 underflow. Add more tgamma tests.
9022 * math/auto-libm-test-out: Regenerated.
9023 * sysdeps/i386/fpu/libm-test-ulps: Update.
9024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9026 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9027 sin, sinh, tan, tanh, tgamma, y0 and y1.
9028 * math/auto-libm-test-out: Regenerated.
9029 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9030 (TEST_COND_x86): Likewise.
9031 (M_E2l): Remove macro.
9033 (M_2_SQRT_PIl): Likewise.
9034 (M_SQRT_PIl): Likewise.
9035 (M_1_DIV_El): Likewise.
9036 (log_test_data): Use AUTO_TESTS_f_f.
9037 (log10_test_data): Likewise.
9038 (log1p_test_data): Likewise.
9039 (log2_test_data): Likewise.
9040 (sin_test_data): Likewise.
9041 (sin_tonearest_test_data): Likewise.
9042 (sin_towardzero_test_data): Likewise.
9043 (sin_downward_test_data): Likewise.
9044 (sin_upward_test_data): Likewise.
9045 (sinh_test_data): Likewise.
9046 (sinh_tonearest_test_data): Likewise.
9047 (sinh_towardzero_test_data): Likewise.
9048 (sinh_downward_test_data): Likewise.
9049 (sinh_upward_test_data): Likewise.
9050 (tan_test_data): Likewise.
9051 (tan_tonearest_test_data): Likewise.
9052 (tan_towardzero_test_data): Likewise.
9053 (tan_downward_test_data): Likewise.
9054 (tan_upward_test_data): Likewise.
9055 (tanh_test_data): Likewise.
9056 (tgamma_test_data): Likewise.
9057 (y0_test_data): Likewise.
9058 (y1_test_data): Likewise.
9059 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9060 (special_real_inputs): Add pi/4.
9061 * sysdeps/i386/fpu/libm-test-ulps: Update.
9062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9064 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9066 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9067 "longjmp_target" static probes.
9068 (__longjmp): Rename to __longjmp_symbol.
9069 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9070 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9071 on which longjmp to generate.
9072 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9075 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9076 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9077 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9078 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9079 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9080 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9082 __longjmp_symbol based on which __longjmp to generate.
9083 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9085 (setjmp): Rename to setjmp_symbol.
9086 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9087 (_setjmp): Rename to _setjmp_symbol.
9088 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9089 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9090 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9091 which setjmp to generate.
9092 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9093 "longjmp_target" static probes.
9095 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9097 * benchtests/README: Add note about output arguments.
9098 * benchtests/bench-sincos.c: Remove file.
9099 * benchtests/sincos-inputs: New file.
9100 * scripts/bench.pl: Identify output arguments and define
9101 static variables for them.
9103 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9106 * Makefile (INSTALL): Add install-plain.texi as the primary
9108 * manual/install-plain.texi: New file.
9109 * manual/install.texi: Include node directive only for
9110 non-plaintext output.
9112 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9114 * stdlib/longlong.h: Update from GCC.
9118 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9119 * math/w_j0f.c (y0f): Likewise.
9120 * math/w_j0l.c (__y0l): Likewise.
9121 * math/w_j1.c (y1): Likewise.
9122 * math/w_j1f.c (y1f): Likewise.
9123 * math/w_j1l.c (__y1l): Likewise
9124 * math/w_jn.c (yn): Likewise.
9125 * math/w_jnf.c (ynf): Likewise.
9126 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9127 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9128 value for Bessel function domain errors outside _SVID_ mode.
9129 Adjust sign of return value for yn (negative integer, 0).
9130 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9131 by zero in return for negative x and set sign appropriately for
9133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9134 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9135 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9136 expectations in error cases.
9137 (y1_test_data): Likewise.
9138 (yn_test_data): Likewise.
9139 * sysdeps/i386/fpu/libm-test-ulps: Update.
9140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9142 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9144 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9145 "64" to "64-v1". Add "64-v2".
9146 (abi-64-options): Rename to ...
9147 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9148 (abi-64-condition): Rename to ...
9149 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9150 (abi-64-ld-soname): Rename to ...
9151 (abi-64-v1-ld-soname): ... this.
9152 (abi-64-v2-options): Define.
9153 (abi-64-v2-condition): Likewise.
9154 (abi-64-v2-ld-soname): Likewise.
9155 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9156 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9161 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9162 Alan Modra <amodra@gmail.com>
9164 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9165 New versions for use with the ELFv2 ABI.
9166 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9167 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9169 (struct La_ppc64v2_retval): Likewise.
9170 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9171 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9172 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9173 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9174 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9176 Do not save or restore CR.
9177 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9178 (_dl_profile_resolve): Do no save or restore CR. Support extended
9179 return values for ELFv2 ABI. Fix location of FPR return registers.
9180 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9181 updated values for _CALL_ELF == 2.
9182 (La_regs, La_retval, int_retval): Likewise.
9184 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9186 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9187 (FRAME_MIN_SIZE_PARM): Likewise.
9188 (FRAME_BACKCHAIN): Likewise.
9189 (FRAME_CR_SAVE): Likewise.
9190 (FRAME_LR_SAVE): Likewise.
9191 (FRAME_TOC_SAVE): Likewise.
9192 (FRAME_PARM_SAVE): Likewise.
9193 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9194 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9195 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9196 (call_mcount_parm_offset): New macro.
9197 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9198 (PROF): Use symbolic stack frame offsets.
9199 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9200 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9201 Redefine in terms of FRAME_MIN_SIZE.
9202 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9203 (_dl_profile_resolve): Likewise. Update comment.
9204 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9205 symbols stack frame offsets.
9206 (__sigsetjmp): Likewise.
9207 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9208 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9209 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9210 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9213 (FRAME_BACKCHAIN): Remove.
9214 (FRAME_CR_SAVE): Likewise.
9215 (FRAME_LR_SAVE): Likewise.
9216 (FRAME_COMPILER_DW): Likewise.
9217 (FRAME_LINKER_DW): Likewise.
9218 (FRAME_TOC_SAVE): Likewise.
9219 (FRAME_PARM_SAVE): Likewise.
9220 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9221 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9222 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9224 (CHECK_SP): Use symbolic stack frame offsets.
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9226 zone" instead of caller's parameter save area for temp storage.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9228 Likewise. Also, use symbolic stack frame offsets.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9230 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9231 our own stack frame instead of the caller's.
9232 (__socket): Use symbolic stack frame offsets.
9234 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9235 Alan Modra <amodra@gmail.com>
9237 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9239 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9240 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9241 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9243 (elf_machine_fixup_plt): Call it.
9244 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9246 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9247 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9248 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9249 r2 before calling target.
9251 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9252 Alan Modra <amodra@gmail.com>
9254 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9255 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9256 versions of macros to support ELFv2 ABI.
9257 (LOCALENTRY): New macro.
9258 (ENTRY, EALIGN): Use it.
9259 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9260 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9261 fall through into ENTRY entry point.
9262 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9263 Only define if _CALL_ELF != 2.
9265 (elf_machine_matches_host): Verify ABI version matches.
9266 (RTLD_START): Use LOCALENTRY.
9267 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9268 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9269 (PLT_ENTRY_WORDS): New macro.
9270 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9271 (elf_machine_runtime_setup): Support ELFv2 ABI.
9272 (elf_machine_fixup_plt): Likewise.
9273 (elf_machine_plt_conflict): Likewise.
9274 (resolve_ifunc): Likewise.
9275 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9279 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9281 (makecontext): Support ELFv2 ABI.
9282 * elf/elf.h (EF_PPC64_ABI): Define.
9284 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9286 * sysdeps/powerpc/powerpc64/sysdep.h
9287 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9288 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9289 (ENTRY) [ASSEMBLER]: ... but instead here ...
9290 (EALIGN) [ASSEMBLER]: ... and here.
9291 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9292 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9293 (ENTRY_2) [!ASSEMBLER]: Use it.
9294 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9295 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9296 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9297 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9298 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9300 Use PPC64_LOAD_FUNCPTR.
9302 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9304 2013-12-04 Alan Modra <amodra@gmail.com>
9306 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9307 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9308 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9309 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9311 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9312 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9313 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9314 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9315 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9316 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9318 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9321 (__makecontext): Fix incorrect CFI when backtracing out of
9322 context created via makecontext.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9324 (__setcontext): Fix incorrect CFI during switch to new context.
9325 (__novec_setcontext): Likewise.
9327 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9330 * time/strptime_l.c (__strptime_internal): Allow modifiers
9332 * time/tst-strptime.c (day_tests): Add testcase.
9334 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9336 * scripts/bench.pl: Skip over blank lines.
9338 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9341 * manual/time.texi (Calendar Time): Clarify what timezone functions
9344 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9348 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9350 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9352 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9353 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9354 * debug/memset_chk.c (__memset_chk): Likewise.
9355 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9356 * debug/strncpy_chk.c: Likewise.
9358 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9362 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9363 (__ieee754_exp): For possibly underflowing results, check size of
9364 result and force underflow exception if required.
9365 * math/auto-libm-test-in: Add more tests of exp.
9366 * math/auto-libm-test-out: Regenerated.
9367 * sysdeps/i386/fpu/libm-test-ulps: Update.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9371 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9372 * math/w_exp2f.c (__exp2f): Likewise.
9373 * math/w_exp2l.c (__exp2l): Likewise.
9374 * math/auto-libm-test-in: Do not allow missing errno on exp2
9376 * math/auto-libm-test-out: Regenerated.
9378 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9381 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9382 handle filename validation.
9383 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9386 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9389 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9390 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9391 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9393 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9395 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9397 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9398 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9399 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9400 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9401 Add more erfc tests.
9402 * math/auto-libm-test-out: Regenerated.
9403 * sysdeps/i386/fpu/libm-test-ulps: Update.
9404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9406 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9407 exp2, expm1, j0 and j1.
9408 * math/auto-libm-test-out: Regenerated.
9409 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9410 (erfc_test_data): Likewise.
9411 (exp_test_data): Likewise.
9412 (exp_tonearest_test_data): Likewise.
9413 (exp_towardzero_test_data): Likewise.
9414 (exp_downward_test_data): Likewise.
9415 (exp_upward_test_data): Likewise.
9416 (exp10_test_data): Likewise.
9417 (exp2_test_data): Likewise.
9418 (expm1_test_data): Likewise.
9419 (j0_test_data): Likewise.
9420 (j1_test_data): Likewise.
9421 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9422 (input_flag_type): Add flag_xfail_rounding.
9423 (input_flags): Add xfail-rounding.
9424 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9425 (output_for_one_input_case): Handle flag_xfail_rounding.
9426 * sysdeps/i386/fpu/libm-test-ulps: Update.
9427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9429 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9432 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9435 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9438 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9439 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9440 (STAP_PROBE0): New macro.
9441 (STAP_PROBE1): Likewise.
9442 (STAP_PROBE2): Likewise.
9443 (STAP_PROBE3): Likewise.
9444 (STAP_PROBE4): Likewise.
9446 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9448 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9450 2013-12-02 Steve Ellcey <sellcey@mips.com>
9452 * benchtests/Makefile (bench): Add sqrt.
9453 (LDLIBS-bench-sqrt): New.
9454 * benchtests/sqrt-input: New.
9456 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9458 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9459 (GAIH_EAI): Likewise.
9460 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9461 (gaih_inet): Likewise.
9462 (getaddrinfo): Don't use GAIH_EAI.
9464 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9465 (struct gaih): Remove definition.
9467 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9469 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9470 Use HERRNOP directly.
9472 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9476 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9478 * math/gen-auto-libm-tests.c (test_functions): Add more
9479 single-argument functions.
9480 (special_fill_pi_2): New function.
9481 (special_fill_minus_pi_2): Likewise.
9482 (special_fill_pi_6): Likewise.
9483 (special_fill_minus_pi_6): Likewise.
9484 (special_fill_pi_3): Likewise.
9485 (special_fill_2pi_3): Likewise.
9486 (special_fill_e): Likewise.
9487 (special_fill_1_e): Likewise.
9488 (special_fill_e_minus_1): Likewise.
9489 (special_real_inputs): Add more special inputs.
9490 (output_for_one_input_case): Do not require ERANGE on underflow to
9491 zero if round-to-nearest result does not underflow to zero, unless
9492 exact results required.
9493 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9494 atan, atanh, cbrt, cos and cosh.
9495 * math/auto-libm-test-out: Regenerated.
9496 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9497 (acos_tonearest_test_data): Likewise.
9498 (acos_towardzero_test_data): Likewise.
9499 (acos_downward_test_data): Likewise.
9500 (acos_upward_test_data): Likewise.
9501 (acosh_test_data): Likewise.
9502 (asin_test_data): Likewise.
9503 (asin_tonearest_test_data): Likewise.
9504 (asin_towardzero_test_data): Likewise.
9505 (asin_upward_test_data): Likewise.
9506 (asinh_test_data): Likewise.
9507 (atan_test_data): Likewise.
9508 (atanh_test_data): Likewise.
9509 (cbrt_test_data): Likewise.
9510 (cos_test_data): Likewise.
9511 (cos_tonearest_test_data): Likewise.
9512 (cos_towardzero_test_data): Likewise.
9513 (cos_downward_test_data): Likewise.
9514 (cos_upward_test_data): Likewise.
9515 (cosh_test_data): Likewise.
9516 (cosh_tonearest_test_data): Likewise.
9517 (cosh_towardzero_test_data): Likewise.
9518 (cosh_downward_test_data): Likewise.
9519 (cosh_upward_test_data): Likewise.
9520 * sysdeps/i386/fpu/libm-test-ulps: Update.
9521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9523 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9526 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9527 * math/w_exp10f.c (__exp10f): Likewise.
9528 * math/w_exp10l.c (__exp10l): Likewise.
9529 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9530 errno settings in existing tests.
9533 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9534 precision control set to double precision.
9535 * sysdeps/i386/fpu/w_sqrt.c: New file.
9536 * math/auto-libm-test-in: Add more tests.
9537 * math/auto-libm-test-out: Update.
9539 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9540 (sqrt_test_tonearest): New function.
9541 (sqrt_towardzero_test_data): New variable.
9542 (sqrt_test_towardzero): New function.
9543 (sqrt_downward_test_data): New variable.
9544 (sqrt_test_downward): New function.
9545 (sqrt_upward_test_data): New variable.
9546 (sqrt_test_upward): New function.
9547 (main): Call the new functions.
9549 * math/gen-auto-libm-tests.c: New file.
9550 * math/auto-libm-test-in: Likewise.
9551 * math/auto-libm-test-out: New generated file.
9552 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9554 (%beautify): Add generated representations of zero.
9555 (top level): Set $auto_input and call parse_auto_input.
9556 (beautify): Remove trailing "f" from hex float constants.
9557 (parse_args): Handle XFAIL_TEST.
9558 (convert_condition): New function.
9559 (or_value): Likewise.
9560 (or_cond_value): Likewise.
9561 (generate_testfile): Handle AUTO_TESTS_* lines.
9562 (parse_auto_input): New function.
9563 * math/libm-test.inc (XFAIL_TEST): New macro.
9564 (ERRNO_UNCHANGED): Update value.
9565 (ERRNO_EDOM): Likewise.
9566 (ERRNO_ERANGE): Likewise.
9567 (IGNORE_RESULT): Likewise.
9568 (TEST_COND_flt_32): New macro.
9569 (TEST_COND_dbl_64): Likewise.
9570 (TEST_COND_ldbl_96_intel): Likewise.
9571 (TEST_COND_ldbl_96_m68k): Likewise.
9572 (TEST_COND_ldbl_128): Likewise.
9573 (TEST_COND_ldbl_128ibm): Likewise.
9574 (TEST_COND_long32): Likewise.
9575 (TEST_COND_long64): Likewise.
9576 (TEST_COND_before_rounding): Likewise.
9577 (TEST_COND_after_rounding): Likewise.
9578 (enable_test): Handle XFAIL_TEST flag.
9579 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9580 with finite results.
9581 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9584 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9585 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9588 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9589 __tls_get_addr_internal instead of __tls_get_offset in order to
9590 avoid GOT pointer dependency. Make rtld export
9591 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9592 __tls_get_addr since we are a __tls_get_offset platform.
9593 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9594 GOT pointer being set up before.
9595 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9597 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9599 * manual/math.texi (Errors in Math Functions): Document accuracy
9603 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9604 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9620 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9621 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9622 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9623 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9624 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9626 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9628 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9630 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9631 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9632 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9633 atomic-feupdateenv and flt-rounds.
9634 * sysdeps/powerpc/nofpu/Versions (libc): Add
9635 __atomic_feholdexcept, __atomic_feclearexcept,
9636 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9637 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9638 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9639 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9640 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9645 * manual/arith.texi (FP Exceptions): Document that exceptions may
9646 not be raised when matherr is used.
9647 (Math Error Reporting): Document overflow in directed rounding
9648 modes. Document that errno may not be set when finite values are
9649 returned on overflow. Document intent to set errno on underflow
9650 only for underflow to zero.
9653 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9654 round-to-nearest then adjust result for other rounding modes.
9655 * include/fenv.h (fegetround): Use libm_hidden_proto.
9656 * math/fegetround.c (fegetround): Use libm_hidden_def.
9657 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9658 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9659 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9660 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9662 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9663 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9664 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9665 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9667 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9670 * nss/Versions (libnss_files): Add
9671 _nss_files_gethostbyname3_r.
9672 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9674 (HOST_DB_LOOKUP): Remove macro.
9675 (_nss_files_gethostbyname_r): Implement function without the
9676 HOST_DB_LOOKUP macro.
9677 (_nss_files_gethostbyname2_r): Likewise.
9679 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9681 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9683 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9685 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9686 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9689 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9691 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9692 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9693 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9694 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9695 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9696 __fe_nomask_env_priv and attribute_hidden.
9697 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9698 (libc_feupdateenv_test_ppc): Likewise.
9699 (libc_feresetround_ppc): Likewise.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9701 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9702 compat_symbol macro.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9704 (__fe_nomask_env): Likewise.
9705 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9707 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9709 * string/Makefile: Remove ifunc tests.
9710 * string/test-string.h: Define TEST_IFUNC.
9711 * string/test-bcopy-ifunc.c: Remove.
9712 * string/test-bzero-ifunc.c: Likewise.
9713 * string/test-memccpy-ifunc.c: Likewise.
9714 * string/test-memchr-ifunc.c: Likewise.
9715 * string/test-memcmp-ifunc.c: Likewise.
9716 * string/test-memcpy-ifunc.c: Likewise.
9717 * string/test-memmem-ifunc.c: Likewise.
9718 * string/test-memmove-ifunc.c: Likewise.
9719 * string/test-mempcpy-ifunc.c: Likewise.
9720 * string/test-memrchr-ifunc.c: Likewise.
9721 * string/test-memset-ifunc.c: Likewise.
9722 * string/test-rawmemchr-ifunc.c: Likewise.
9723 * string/test-stpcpy-ifunc.c: Likewise.
9724 * string/test-stpncpy-ifunc.c: Likewise.
9725 * string/test-strcasecmp-ifunc.c: Likewise.
9726 * string/test-strcasestr-ifunc.c: Likewise.
9727 * string/test-strcat-ifunc.c: Likewise.
9728 * string/test-strchr-ifunc.c: Likewise.
9729 * string/test-strchrnul-ifunc.c: Likewise.
9730 * string/test-strcmp-ifunc.c: Likewise.
9731 * string/test-strcpy-ifunc.c: Likewise.
9732 * string/test-strcspn-ifunc.c: Likewise.
9733 * string/test-strlen-ifunc.c: Likewise.
9734 * string/test-strncasecmp-ifunc.c: Likewise.
9735 * string/test-strncat-ifunc.c: Likewise.
9736 * string/test-strncmp-ifunc.c: Likewise.
9737 * string/test-strncpy-ifunc.c: Likewise.
9738 * string/test-strnlen-ifunc.c: Likewise.
9739 * string/test-strpbrk-ifunc.c: Likewise.
9740 * string/test-strrchr-ifunc.c: Likewise.
9741 * string/test-strspn-ifunc.c: Likewise.
9742 * string/test-strstr-ifunc.c: Likewise.
9744 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9746 * benchtests/Makefile: Remove ifunc tests.
9747 * benchtests/bench-string.h: Define TEST_IFUNC.
9748 * benchtests/bench-bcopy-ifunc.c: Remove.
9749 * benchtests/bench-bzero-ifunc.c: Likewise.
9750 * benchtests/bench-memccpy-ifunc.c: Likewise.
9751 * benchtests/bench-memchr-ifunc.c: Likewise.
9752 * benchtests/bench-memcmp-ifunc.c: Likewise.
9753 * benchtests/bench-memcpy-ifunc.c: Likewise.
9754 * benchtests/bench-memmem-ifunc.c: Likewise.
9755 * benchtests/bench-memmove-ifunc.c: Likewise.
9756 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9757 * benchtests/bench-memrchr-ifunc.c: Likewise.
9758 * benchtests/bench-memset-ifunc.c: Likewise.
9759 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9760 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9761 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9762 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9763 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9764 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9765 * benchtests/bench-strcat-ifunc.c: Likewise.
9766 * benchtests/bench-strchr-ifunc.c: Likewise.
9767 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9768 * benchtests/bench-strcmp-ifunc.c: Likewise.
9769 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9770 * benchtests/bench-strcpy-ifunc.c: Likewise.
9771 * benchtests/bench-strcspn-ifunc.c: Likewise.
9772 * benchtests/bench-strlen-ifunc.c: Likewise.
9773 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9774 * benchtests/bench-strncat-ifunc.c: Likewise.
9775 * benchtests/bench-strncmp-ifunc.c: Likewise.
9776 * benchtests/bench-strncpy-ifunc.c: Likewise.
9777 * benchtests/bench-strnlen-ifunc.c: Likewise.
9778 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9779 * benchtests/bench-strrchr-ifunc.c: Likewise.
9780 * benchtests/bench-strsep-ifunc.c: Likewise.
9781 * benchtests/bench-strspn-ifunc.c: Likewise.
9782 * benchtests/bench-strstr-ifunc.c: Likewise.
9784 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9786 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9788 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9790 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9791 * rt/aio.h: Likewise.
9792 * sysdeps/gnu/bits/utmp.h: Likewise.
9793 * sysdeps/gnu/bits/utmpx.h: Likewise.
9794 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9795 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9796 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9797 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9798 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9799 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9800 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9801 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9803 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9804 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9805 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9806 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9808 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9809 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9810 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9811 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9812 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9813 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9814 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9815 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9816 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9817 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9818 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9820 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9821 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9822 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9823 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9825 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9826 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9827 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9828 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9829 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9830 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9831 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9832 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9833 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9834 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9835 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9837 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9840 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9841 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9843 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9845 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9846 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9849 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9852 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9853 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9854 (__fesetround): Remove define.
9855 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9856 rounding and exceptions handling.
9857 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9858 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9859 (__fe_nomask_env): Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9861 __fegetround instead of fegetround.
9862 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9865 2013-11-21 Roland McGrath <roland@hack.frob.com>
9867 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9870 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9872 2013-11-21 Meador Inge <meadori@codesourcery.com>
9875 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9876 (encrypt_r): Likewise.
9877 * malloc/obstack.h (obstack_free): Likewise.
9878 * posix/unistd.h (encrypt): Likewise.
9880 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9882 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9883 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9884 DL_CALL_DT_FINI() that call the functions directly.
9885 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9886 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9887 * elf/dl-fini.c: Likewise.
9889 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9891 * malloc/hooks.c (memalign_check): Add alignment rounding.
9892 * malloc/malloc.c (_mid_memalign): New function.
9893 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9894 Implement by calling _mid_memalign.
9895 * manual/probes.texi (Memory Allocation Probes): Remove
9896 memory_valloc_retry and memory_pvalloc_retry.
9898 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9900 * locale/programs/locarchive.c (open_archive): Add const
9901 qualifier to ARCHIVEFNAME and copy default fname to
9905 * libio/tst-widetext.input: Rename Oriya to Odia.
9906 * locale/iso-639.def: Likewise.
9908 * manual/probes.texi (Mathematical Function Probes): Add
9909 documentation for sin, cos, asin and acos probes.
9910 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9911 (__sin32): Add slowasin probe.
9912 (__cos32): Add slowacos probe.
9913 (__mpsin): Add slowsin probe.
9914 (__mpcos): Add slowcos probe.
9916 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9919 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9920 thread-local __sim_exceptions_thread and global
9921 __sim_exceptions_global.
9922 (__sim_disabled_exceptions): Change to thread-local
9923 __sim_disabled_exceptions_thread and global
9924 __sim_disabled_exceptions_global.
9925 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9926 and global __sim_round_mode_global.
9927 (__simulate_exceptions): Use thread-local floating-point state and
9928 set global state from it as needed.
9929 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9930 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9931 __sim_round_mode_thread.
9932 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9933 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9934 and global __sim_exceptions_global.
9935 (__sim_disabled_exceptions): Change to thread-local
9936 __sim_disabled_exceptions_thread and global
9937 __sim_disabled_exceptions_global.
9938 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9939 and global __sim_round_mode_global.
9940 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9941 (SIM_SET_GLOBAL): Likewise.
9942 * sysdeps/powerpc/soft-fp/sfp-machine.h
9943 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9944 __sim_round_mode_thread.
9945 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9946 __sim_disabled_exceptions_thread.
9947 (__sim_exceptions): Change to __sim_exceptions_thread.
9948 (__sim_disabled_exceptions): Change to
9949 __sim_disabled_exceptions_thread.
9950 (__sim_round_mode): Change to __sim_round_mode_thread.
9951 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9952 thread-local floating-point state and set global state from it as
9954 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9955 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9956 (__sim_disabled_exceptions): Remove extern declaration.
9957 (feenableexcept): Use thread-local floating-point state and set
9958 global state from it as needed.
9959 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9961 (__sim_disabled_exceptions): Likewise.
9962 (__sim_round_mode): Likewise.
9963 (__fegetenv): Use thread-local floating-point state.
9964 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9965 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9966 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9967 floating-point state and set global state from it as needed.
9968 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9969 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9970 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9972 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9973 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9975 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9976 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9977 Use __sim_round_mode_thread.
9978 * math/test-fenv-tls.c: New file.
9979 * math/Makefile (tests): Add test-fenv-tls.
9980 ($(objpfx)test-fenv-tls): Depend on
9981 $(common-objpfx)nptl/libpthread.so.
9983 2013-11-19 Andreas Schwab <schwab@suse.de>
9985 * locale/programs/locale.c (show_info): Decode wordarray elements.
9986 * locale/categories.def (LC_MONETARY): Add element for
9987 _NL_MONETARY_CRNCYSTR.
9988 * locale/C-monetary.c (conversion_rate): New variable.
9989 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9992 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9994 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9995 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9997 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9999 * elf/Makefile (tst-auxv): New test.
10000 * elf/tst-auxv.c: New
10001 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10003 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10005 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10006 (hidden_proto): Caller changed.
10007 (hidden_tls_proto): New macro.
10008 (libc_hidden_tls_proto): Likewise.
10009 (rtld_hidden_tls_proto): Likewise.
10010 (libm_hidden_tls_proto): Likewise.
10011 (libresolv_hidden_tls_proto): Likewise.
10012 (librt_hidden_tls_proto): Likewise.
10013 (libdl_hidden_tls_proto): Likewise.
10014 (libnss_files_hidden_tls_proto): Likewise.
10015 (libnsl_hidden_tls_proto): Likewise.
10016 (libnss_nisplus_hidden_tls_proto): Likewise.
10017 (libutil_hidden_tls_proto): Likewise.
10019 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10022 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10023 (decompose_rpath): Defer expansion to fillin_rpath.
10024 (_dl_init_paths): Pass linkmap to fillin_rpath.
10026 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10028 * benchtests/Makefile: Add strsep.
10029 * benchtests/bench-strsep.c: New file: strsep benchtest.
10030 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10032 2013-11-18 Andreas Schwab <schwab@suse.de>
10034 * locale/programs/locale.c (show_info) [case byte]: Check for
10035 '\377' instead of '\177'.
10036 * locale/C-monetary.c (not_available): Always use "\377".
10037 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10038 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10039 detect unavailable sign_posn locale elements.
10040 * locale/localeconv.c (__localeconv): For grouping and
10041 mon_grouping handle "\177" and "\377" like no grouping.
10042 (INT_ELEM): New macro. Use it to set all numeric members.
10043 * locale/programs/ld-monetary.c (monetary_read)
10044 <tok_mon_grouping>: Normalize single -1 to the empty string.
10045 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10048 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10051 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10052 when we match (nil).
10053 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10055 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10057 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10058 (NO_TEST_INLINE): Update value.
10059 (ERRNO_UNCHANGED): Likewise.
10060 (ERRNO_EDOM): Likewise.
10061 (ERRNO_ERANGE): Likewise.
10062 (IGNORE_RESULT): Likewise.
10063 (check_float_internal): Check signs of NaN results if
10064 TEST_NAN_SIGN used.
10065 (check_complex): Pass TEST_NAN_SIGN flag through to second
10066 check_float_internal call.
10067 (copysign_test_data): Add tests with quiet NaNs as second
10068 argument. Use TEST_NAN_SIGN.
10069 (fabs_test_data): Add test of negative quiet NaN argument. Use
10071 (signbit_test_data): Add tests of quiet NaN argument.
10072 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10074 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10076 (parse_args): Handle function results specified as IGNORE.
10077 * math/libm-test.inc (IGNORE_RESULT): New macro.
10078 (check_float_internal): Do not check numerical result if flag
10080 (check_complex): Pass through IGNORE_RESULT to second
10081 check_float_internal call.
10082 (check_int): Do not check numerical result if flag IGNORE_RESULT
10084 (check_long): Likewise.
10085 (check_bool): Likewise.
10086 (check_longlong): Likewise.
10087 (lrint_test_data): Add tests of infinite and NaN arguments.
10088 (lrint_tonearest_test_data): Likewise.
10089 (lrint_towardzero_test_data): Likewise.
10090 (lrint_downward_test_data): Likewise.
10091 (lrint_upward_test_data): Likewise.
10092 (llrint_test_data): Likewise.
10093 (llrint_tonearest_test_data): Likewise.
10094 (llrint_towardzero_test_data): Likewise.
10095 (llrint_downward_test_data): Likewise.
10096 (llrint_upward_test_data): Likewise.
10097 (lround_test_data): Likewise.
10098 (llround_test_data): Likewise.
10100 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10101 (ERRNO_UNCHANGED): Update value.
10102 (ERRNO_EDOM): Likewise.
10103 (ERRNO_ERANGE): Likewise.
10104 (NO_TEST_INLINE_FLOAT): New macro.
10105 (NO_TEST_INLINE_DOUBLE): Likewise.
10106 (enable_test): New function.
10107 (RUN_TEST_f_f): Check enable_test before running test.
10108 (RUN_TEST_2_f): Likewise.
10109 (RUN_TEST_fff_f): Likewise.
10110 (RUN_TEST_c_f): Likewise.
10111 (RUN_TEST_f_f1): Likewise.
10112 (RUN_TEST_fF_f1): Likewise.
10113 (RUN_TEST_fI_f1): Likewise.
10114 (RUN_TEST_ffI_f1): Likewise.
10115 (RUN_TEST_c_c): Likewise.
10116 (RUN_TEST_cc_c): Likewise.
10117 (RUN_TEST_f_i): Likewise.
10118 (RUN_TEST_f_i_tg): Likewise.
10119 (RUN_TEST_ff_i_tg): Likewise.
10120 (RUN_TEST_f_b): Likewise.
10121 (RUN_TEST_f_b_tg): Likewise.
10122 (RUN_TEST_f_l): Likewise.
10123 (RUN_TEST_f_L): Likewise.
10124 (RUN_TEST_fFF_11): Likewise.
10125 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10127 (cosh_test_data): Likewise.
10128 (exp_test_data): Likewise.
10129 (expm1_test_data): Likewise.
10130 (hypot_test_data): Likewise.
10131 (pow_test_data): Likewise.
10132 (sinh_test_data): Likewise.
10133 (tanh_test_data): Likewise.
10134 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10137 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10138 tests with quiet NaN input and output.
10139 (acosh_test_data): Likewise.
10140 (asin_test_data): Likewise.
10141 (asinh_test_data): Likewise.
10142 (atan_test_data): Likewise.
10143 (atanh_test_data): Likewise.
10144 (atan2_test_data): Likewise.
10145 (cbrt_test_data): Likewise.
10146 (cos_test_data): Likewise.
10147 (cosh_test_data): Likewise.
10148 (erf_test_data): Likewise.
10149 (erfc_test_data): Likewise.
10150 (exp_test_data): Likewise.
10151 (exp10_test_data): Likewise.
10152 (exp2_test_data): Likewise.
10153 (expm1_test_data): Likewise.
10154 (hypot_test_data): Likewise.
10155 (j0_test_data): Likewise.
10156 (j1_test_data): Likewise.
10157 (jn_test_data): Likewise.
10158 (lgamma_test_data): Likewise.
10159 (log_test_data): Likewise.
10160 (log10_test_data): Likewise.
10161 (log1p_test_data): Likewise.
10162 (log2_test_data): Likewise.
10163 (pow_test_data): Likewise.
10164 (scalb_test_data): Likewise.
10165 (sin_test_data): Likewise.
10166 (sincos_test_data): Likewise.
10167 (sinh_test_data): Likewise.
10168 (tan_test_data): Likewise.
10169 (tanh_test_data): Likewise.
10170 (tgamma_test_data): Likewise.
10171 (y0_test_data): Likewise.
10172 (y1_test_data): Likewise.
10173 (yn_test_data): Likewise.
10176 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10177 argument being NaN and avoid computations with second argument in
10179 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10180 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10181 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10183 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10185 * locale/iso-639.def: Add Chitwani Tharu (the).
10187 2013-11-14 Andreas Schwab <schwab@suse.de>
10189 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10190 word instead of empty string.
10192 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10195 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10197 (__fe_nomask_env): Likewise.
10199 2013-11-13 Steve Ellcey <sellcey@mips.com>
10201 * benchtests/bench-timing.h: Include time.h.
10203 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10206 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10208 * sysdeps/unix/sysv/linux/configure: Regenerated.
10210 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10213 * stdlib/strtod_l.c (round_and_return): Do not consider
10214 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10215 exponent one less than half the least subnormal exponent.
10216 * stdlib/test-strtod-round-data: Add more tests.
10217 * stdlib/tst-strtod-round.c (tests): Regenerated.
10219 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10222 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10223 (__fe_mask_env): Likewise.
10224 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10225 libm_hidden_proto and add function prototype.
10226 (__fe_mask_env): Add function prototype.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10228 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10230 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10232 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10234 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10236 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10237 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10239 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10241 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10242 of htab_find_slot().
10244 2013-11-11 David S. Miller <davem@davemloft.net>
10247 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10248 symbol in the non-vis3 case in static builds.
10249 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10250 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10251 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10252 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10254 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10257 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10260 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262 * benchtests/Makefile: Add bench-strtod.
10263 * benchtests/bench-strtod.c: New file: strtod benchtest
10265 2013-11-11 Andreas Schwab <schwab@suse.de>
10268 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10269 terminating NUL in key length.
10271 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10274 Add artificial ODP entry for vDSO symbol for PPC64.
10275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10276 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10278 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10281 * nss/getent.c (services_keys): Recognize services starting with digit.
10283 2013-11-06 David S. Miller <davem@davemloft.net>
10286 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10287 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10289 2013-11-06 Will Newton <will.newton@linaro.org>
10291 * manual/memory.texi (Malloc Examples): Remove register
10292 keyword from examples.
10294 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10296 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10298 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10301 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10302 depending on [__GCC_IEC_559 > 0].
10303 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10304 depending on [__GCC_IEC_559_COMPLEX > 0].
10306 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10308 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10311 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10313 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10315 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10318 * malloc/malloc (malloc_info): Do not handle first bin as
10321 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10323 * locale/iso-639.def: Add Central Nahuatl (nhn).
10325 2013-11-01 Bruno Haible <bruno@clisp.org>
10328 * manual/math.texi (BSD Random): Specify range upper bound as
10331 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10333 * locale/iso-639.def: Add Meadow Mari (mhr).
10335 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10337 [BZ #14752], [BZ #15763]
10338 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10340 * rt/tst_shm.c: Add test for escaping directory.
10342 2013-10-31 Andreas Schwab <schwab@suse.de>
10345 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10346 followed by 'x' as part of digit sequence.
10347 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10349 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10352 * configure.ac: allow GNU Make 4.0 and greater.
10353 * configure: Regenerated.
10355 2013-10-30 Will Newton <will.newton@linaro.org>
10358 * malloc/hooks.c (memalign_check): Limit alignment to the
10359 maximum representable power of two.
10360 * malloc/malloc.c (__libc_memalign): Likewise.
10361 * malloc/tst-memalign.c (do_test): Add test for very
10362 large alignment values.
10363 * malloc/tst-posix_memalign.c (do_test): Likewise.
10365 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10368 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10369 (munmap_chunk): Likewise.
10370 (mremap_chunk): Likewise.
10372 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10375 * stdlib/div.c (div): Remove obsolete code.
10376 * stdlib/ldiv.c (ldiv): Likewise.
10377 * stdlib/lldiv.c (lldiv): Likewise.
10379 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10382 * nss/nss_files/files-XXX.c (get_contents_ret): New
10384 (get_contents): New function.
10385 (internal_getent): Use it. Expand size of LINEBUFLEN.
10387 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10389 * configure.in: Moved to ...
10390 * configure.ac: ... here. Change reference to configure.in
10392 * sysdeps/arm/preconfigure.ac: ... here.
10393 configure.in to configure.ac.
10394 * sysdeps/gnu/configure.in: Moved to ...
10395 * sysdeps/gnu/configure.ac: ... here.
10396 * sysdeps/i386/configure.in: Moved to ...
10397 * sysdeps/i386/configure.ac: ... here.
10398 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10399 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10400 * sysdeps/mach/configure.in: Moved to ...
10401 * sysdeps/mach/configure.ac: ... here.
10402 * sysdeps/mach/hurd/configure.in: Moved to ...
10403 * sysdeps/mach/hurd/configure.ac: ... here.
10404 * sysdeps/powerpc/configure.in: Moved to ...
10405 * sysdeps/powerpc/configure.ac: ... here.
10406 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10407 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10408 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10409 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10410 * sysdeps/s390/s390-32/configure.in: Moved to ...
10411 * sysdeps/s390/s390-32/configure.ac: ... here.
10412 * sysdeps/s390/s390-64/configure.in: Moved to ...
10413 * sysdeps/s390/s390-64/configure.ac: ... here.
10414 * sysdeps/sh/configure.in: Moved to ...
10415 * sysdeps/sh/configure.ac: ... here.
10416 * sysdeps/sparc/configure.in: Moved to ...
10417 * sysdeps/sparc/configure.ac: ... here.
10418 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10419 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10420 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10421 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10422 * sysdeps/x86_64/configure.in: Moved to ...
10423 * sysdeps/x86_64/configure.ac: ... here.
10424 * sysdeps/x86_64/preconfigure.in: Moved to ...
10425 * sysdeps/x86_64/preconfigure.ac: ... here.
10426 * aclocal.m4: Change reference to configure.in to configure.ac.
10427 * config.h.in: Likewise.
10428 * manual/install.texi: Likewise.
10429 * manual/maint.texi: Likewise.
10430 * Makefile: Likewise.
10431 * malloc/Makefile: Likewise.
10432 * nscd/Makefile: Likewise.
10433 * Makeconfig: Change reference to configure.in and
10434 preconfigure.in to configure.ac and preconfigure.ac
10436 * INSTALL: Regenerated.
10437 * configure: Likewise.
10438 * sysdeps/gnu/configure: Likewise.
10439 * sysdeps/i386/configure: Likewise.
10440 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10441 * sysdeps/mach/configure: Likewise.
10442 * sysdeps/mach/hurd/configure: Likewise.
10443 * sysdeps/powerpc/configure: Likewise.
10444 * sysdeps/powerpc/powerpc32/configure: Likewise.
10445 * sysdeps/powerpc/powerpc64/configure: Likewise.
10446 * sysdeps/s390/s390-32/configure: Likewise.
10447 * sysdeps/s390/s390-64/configure: Likewise.
10448 * sysdeps/sh/configure: Likewise.
10449 * sysdeps/sparc/configure: Likewise.
10450 * sysdeps/unix/sysv/linux/configure: Likewise.
10451 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10452 * sysdeps/x86_64/configure: Likewise.
10453 * sysdeps/x86_64/preconfigure: Likewise.
10455 2013-10-29 Andreas Schwab <schwab@suse.de>
10457 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10459 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10461 * benchtests/pow-inputs: Add new inputs.
10463 * benchtests/exp-inputs: Add new inputs.
10465 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10466 conditional check for return value.
10467 (__cos32): Likewise.
10469 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10471 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10472 to provide a boost for large inputs with word alignment.
10473 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10474 implementation based on optimized PPC64 strcpy.
10475 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10476 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10477 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10478 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10480 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10483 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10485 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10488 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10489 * time/tst-strptime.c (day_tests): Add testcase.
10491 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10494 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10496 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10499 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10500 MAP_FAILED on error.
10502 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10505 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10506 heap for large requests.
10508 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10511 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10512 result if the result has no associated interface.
10513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10514 interface for all 127.X.Y.Z addresses.
10516 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10518 * locale/iso-639.def: Add Ligurian (lij)
10520 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10523 * sunrpc/rpc_main.c: Document rpcgen -5.
10525 2013-10-19 Michael Stahl <mstahl@redhat.com>
10527 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10529 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10532 * posix/glob.c: Match only directories when trailing slash is present.
10533 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10534 (main): Add testcase.
10536 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10539 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10541 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10543 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10544 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10545 AUTH_DES and cindex for FIPS 140-2.
10546 (DES Encryption): Add cindex FIPS 46-3.
10548 * locale/locarchive.h (struct locarhandle): Add fname.
10549 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10550 if an optional argument was specified to --list-archive,
10552 * locale/programs/locarchive.c (show_archive_content): Take new
10553 argument fname and pass it via ah.fname to open_archive.
10554 * locale/programs/localedef.h: Update decl.
10555 (open_archive): If AH->fname is non-null, open that file
10556 rather than the default file name, and don't ignore ENOENT.
10557 (create_archive): Set AH.fname to NULL.
10558 (delete_locales_from_archive): Likewise.
10559 (add_locales_to_archive): Likewise.
10560 * locale/programs/locfile.c (write_all_categories): Likewise.
10562 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10563 Aldy Hernandez <aldyh@redhat.com>
10565 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10566 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10567 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10568 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10569 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10570 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10571 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10572 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10573 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10574 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10575 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10576 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10577 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10578 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10579 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10581 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10583 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10585 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10587 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10588 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10590 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10591 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10592 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10593 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10595 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10596 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10597 * sysdeps/powerpc/preconfigure: Likewise.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10600 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10601 Replace contents of file by #include of <fenv_libc.h>.
10602 * sysdeps/powerpc/soft-fp/sfp-machine.h
10603 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10605 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10616 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10618 Allow copysignl PLT reference to be missing.
10620 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10621 Joseph Myers <joseph@codesourcery.com
10624 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10626 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10628 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10630 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10631 * elf/tst-tls1.c: Likewise.
10632 * elf/tst-tls10.h: Likewise.
10633 * elf/tst-tls14.c: Likewise.
10634 * elf/tst-tls2.c: Likewise.
10635 * elf/tst-tls3.c: Likewise.
10636 * elf/tst-tls4.c: Likewise.
10637 * elf/tst-tls5.c: Likewise.
10638 * elf/tst-tls6.c: Likewise.
10639 * elf/tst-tls7.c: Likewise.
10640 * elf/tst-tls8.c: Likewise.
10641 * elf/tst-tls9.c: Likewise.
10642 * elf/tst-tlsmod1.c: Likewise.
10643 * elf/tst-tlsmod13.c: Likewise.
10644 * elf/tst-tlsmod13a.c: Likewise.
10645 * elf/tst-tlsmod14a.c: Likewise.
10646 * elf/tst-tlsmod16a.c: Likewise.
10647 * elf/tst-tlsmod16b.c: Likewise.
10648 * elf/tst-tlsmod2.c: Likewise.
10649 * elf/tst-tlsmod3.c: Likewise.
10650 * elf/tst-tlsmod4.c: Likewise.
10651 * elf/tst-tlsmod5.c: Likewise.
10652 * elf/tst-tlsmod6.c: Likewise.
10654 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10657 * malloc/malloc.c: remove checks for statistics.
10659 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10662 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10663 * inet/tst-network.c: Add testcase.
10665 2013-10-17 Andreas Schwab <schwab@suse.de>
10668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10669 to determine canonical name.
10671 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10673 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10674 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10675 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10678 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10697 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10698 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10732 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10735 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10736 make result into a quiet NaN.
10738 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10740 * soft-fp/adddf3.c: Fix horizontal whitespace.
10741 * soft-fp/addsf3.c: Likewise.
10742 * soft-fp/addtf3.c: Likewise.
10743 * soft-fp/divdf3.c: Likewise.
10744 * soft-fp/divsf3.c: Likewise.
10745 * soft-fp/divtf3.c: Likewise.
10746 * soft-fp/double.h: Likewise.
10747 * soft-fp/eqdf2.c: Likewise.
10748 * soft-fp/eqsf2.c: Likewise.
10749 * soft-fp/eqtf2.c: Likewise.
10750 * soft-fp/extenddftf2.c: Likewise.
10751 * soft-fp/extended.h: Likewise.
10752 * soft-fp/extendsfdf2.c: Likewise.
10753 * soft-fp/extendsftf2.c: Likewise.
10754 * soft-fp/extendxftf2.c: Likewise.
10755 * soft-fp/fixdfdi.c: Likewise.
10756 * soft-fp/fixdfsi.c: Likewise.
10757 * soft-fp/fixdfti.c: Likewise.
10758 * soft-fp/fixsfdi.c: Likewise.
10759 * soft-fp/fixsfsi.c: Likewise.
10760 * soft-fp/fixsfti.c: Likewise.
10761 * soft-fp/fixtfdi.c: Likewise.
10762 * soft-fp/fixtfsi.c: Likewise.
10763 * soft-fp/fixtfti.c: Likewise.
10764 * soft-fp/fixunsdfdi.c: Likewise.
10765 * soft-fp/fixunsdfsi.c: Likewise.
10766 * soft-fp/fixunsdfti.c: Likewise.
10767 * soft-fp/fixunssfdi.c: Likewise.
10768 * soft-fp/fixunssfsi.c: Likewise.
10769 * soft-fp/fixunssfti.c: Likewise.
10770 * soft-fp/fixunstfdi.c: Likewise.
10771 * soft-fp/fixunstfsi.c: Likewise.
10772 * soft-fp/fixunstfti.c: Likewise.
10773 * soft-fp/floatdidf.c: Likewise.
10774 * soft-fp/floatdisf.c: Likewise.
10775 * soft-fp/floatditf.c: Likewise.
10776 * soft-fp/floatsidf.c: Likewise.
10777 * soft-fp/floatsisf.c: Likewise.
10778 * soft-fp/floatsitf.c: Likewise.
10779 * soft-fp/floattidf.c: Likewise.
10780 * soft-fp/floattisf.c: Likewise.
10781 * soft-fp/floattitf.c: Likewise.
10782 * soft-fp/floatundidf.c: Likewise.
10783 * soft-fp/floatundisf.c: Likewise.
10784 * soft-fp/floatunditf.c: Likewise.
10785 * soft-fp/floatunsidf.c: Likewise.
10786 * soft-fp/floatunsisf.c: Likewise.
10787 * soft-fp/floatunsitf.c: Likewise.
10788 * soft-fp/floatuntidf.c: Likewise.
10789 * soft-fp/floatuntisf.c: Likewise.
10790 * soft-fp/floatuntitf.c: Likewise.
10791 * soft-fp/fmadf4.c: Likewise.
10792 * soft-fp/fmasf4.c: Likewise.
10793 * soft-fp/fmatf4.c: Likewise.
10794 * soft-fp/gedf2.c: Likewise.
10795 * soft-fp/gesf2.c: Likewise.
10796 * soft-fp/getf2.c: Likewise.
10797 * soft-fp/ledf2.c: Likewise.
10798 * soft-fp/lesf2.c: Likewise.
10799 * soft-fp/letf2.c: Likewise.
10800 * soft-fp/muldf3.c: Likewise.
10801 * soft-fp/mulsf3.c: Likewise.
10802 * soft-fp/multf3.c: Likewise.
10803 * soft-fp/negdf2.c: Likewise.
10804 * soft-fp/negsf2.c: Likewise.
10805 * soft-fp/negtf2.c: Likewise.
10806 * soft-fp/op-1.h: Likewise.
10807 * soft-fp/op-2.h: Likewise.
10808 * soft-fp/op-4.h: Likewise.
10809 * soft-fp/op-8.h: Likewise.
10810 * soft-fp/op-common.h: Likewise.
10811 * soft-fp/quad.h: Likewise.
10812 * soft-fp/single.h: Likewise.
10813 * soft-fp/soft-fp.h: Likewise.
10814 * soft-fp/sqrtdf2.c: Likewise.
10815 * soft-fp/sqrtsf2.c: Likewise.
10816 * soft-fp/sqrttf2.c: Likewise.
10817 * soft-fp/subdf3.c: Likewise.
10818 * soft-fp/subsf3.c: Likewise.
10819 * soft-fp/subtf3.c: Likewise.
10820 * soft-fp/truncdfsf2.c: Likewise.
10821 * soft-fp/trunctfdf2.c: Likewise.
10822 * soft-fp/trunctfsf2.c: Likewise.
10823 * soft-fp/trunctfxf2.c: Likewise.
10824 * soft-fp/unorddf2.c: Likewise.
10825 * soft-fp/unordsf2.c: Likewise.
10826 * soft-fp/unordtf2.c: Likewise.
10828 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10830 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10831 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10833 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10835 * elf/dl-libc.c: Clear initfini list after freeing.
10837 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10839 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10840 * soft-fp/addsf3.c: Likewise.
10841 * soft-fp/addtf3.c: Likewise.
10842 * soft-fp/divdf3.c: Likewise.
10843 * soft-fp/divsf3.c: Likewise.
10844 * soft-fp/divtf3.c: Likewise.
10845 * soft-fp/double.h: Likewise.
10846 * soft-fp/eqdf2.c: Likewise.
10847 * soft-fp/eqsf2.c: Likewise.
10848 * soft-fp/eqtf2.c: Likewise.
10849 * soft-fp/extenddftf2.c: Likewise.
10850 * soft-fp/extended.h: Likewise.
10851 * soft-fp/extendsfdf2.c: Likewise.
10852 * soft-fp/extendsftf2.c: Likewise.
10853 * soft-fp/extendxftf2.c: Likewise.
10854 * soft-fp/fixdfdi.c: Likewise.
10855 * soft-fp/fixdfsi.c: Likewise.
10856 * soft-fp/fixdfti.c: Likewise.
10857 * soft-fp/fixsfdi.c: Likewise.
10858 * soft-fp/fixsfsi.c: Likewise.
10859 * soft-fp/fixsfti.c: Likewise.
10860 * soft-fp/fixtfdi.c: Likewise.
10861 * soft-fp/fixtfsi.c: Likewise.
10862 * soft-fp/fixtfti.c: Likewise.
10863 * soft-fp/fixunsdfdi.c: Likewise.
10864 * soft-fp/fixunsdfsi.c: Likewise.
10865 * soft-fp/fixunsdfti.c: Likewise.
10866 * soft-fp/fixunssfdi.c: Likewise.
10867 * soft-fp/fixunssfsi.c: Likewise.
10868 * soft-fp/fixunssfti.c: Likewise.
10869 * soft-fp/fixunstfdi.c: Likewise.
10870 * soft-fp/fixunstfsi.c: Likewise.
10871 * soft-fp/fixunstfti.c: Likewise.
10872 * soft-fp/floatdidf.c: Likewise.
10873 * soft-fp/floatdisf.c: Likewise.
10874 * soft-fp/floatditf.c: Likewise.
10875 * soft-fp/floatsidf.c: Likewise.
10876 * soft-fp/floatsisf.c: Likewise.
10877 * soft-fp/floatsitf.c: Likewise.
10878 * soft-fp/floattidf.c: Likewise.
10879 * soft-fp/floattisf.c: Likewise.
10880 * soft-fp/floattitf.c: Likewise.
10881 * soft-fp/floatundidf.c: Likewise.
10882 * soft-fp/floatundisf.c: Likewise.
10883 * soft-fp/floatunsidf.c: Likewise.
10884 * soft-fp/floatunsisf.c: Likewise.
10885 * soft-fp/floatuntidf.c: Likewise.
10886 * soft-fp/floatuntisf.c: Likewise.
10887 * soft-fp/floatuntitf.c: Likewise.
10888 * soft-fp/fmadf4.c: Likewise.
10889 * soft-fp/fmasf4.c: Likewise.
10890 * soft-fp/fmatf4.c: Likewise.
10891 * soft-fp/gedf2.c: Likewise.
10892 * soft-fp/gesf2.c: Likewise.
10893 * soft-fp/getf2.c: Likewise.
10894 * soft-fp/ledf2.c: Likewise.
10895 * soft-fp/lesf2.c: Likewise.
10896 * soft-fp/letf2.c: Likewise.
10897 * soft-fp/muldf3.c: Likewise.
10898 * soft-fp/mulsf3.c: Likewise.
10899 * soft-fp/multf3.c: Likewise.
10900 * soft-fp/negdf2.c: Likewise.
10901 * soft-fp/negsf2.c: Likewise.
10902 * soft-fp/negtf2.c: Likewise.
10903 * soft-fp/op-1.h: Likewise.
10904 * soft-fp/op-2.h: Likewise.
10905 * soft-fp/op-4.h: Likewise.
10906 * soft-fp/op-8.h: Likewise.
10907 * soft-fp/op-common.h: Likewise.
10908 * soft-fp/quad.h: Likewise.
10909 * soft-fp/single.h: Likewise.
10910 * soft-fp/soft-fp.h: Likewise.
10911 * soft-fp/sqrtdf2.c: Likewise.
10912 * soft-fp/sqrtsf2.c: Likewise.
10913 * soft-fp/sqrttf2.c: Likewise.
10914 * soft-fp/subdf3.c: Likewise.
10915 * soft-fp/subsf3.c: Likewise.
10916 * soft-fp/subtf3.c: Likewise.
10917 * soft-fp/truncdfsf2.c: Likewise.
10918 * soft-fp/trunctfdf2.c: Likewise.
10919 * soft-fp/trunctfsf2.c: Likewise.
10920 * soft-fp/trunctfxf2.c: Likewise.
10921 * soft-fp/unorddf2.c: Likewise.
10922 * soft-fp/unordsf2.c: Likewise.
10923 * soft-fp/unordtf2.c: Likewise.
10925 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10928 * misc/error.c (error_tail): Fix possible buffer overflow.
10930 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10933 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10936 2013-10-14 P. J. McDermott <pj@pehjota.net>
10939 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10940 testing pipefail option.
10942 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10944 * soft-fp/double.h: Indent preprocessor directives inside #if.
10945 * soft-fp/extended.h: Likewise.
10946 * soft-fp/op-2.h: Likewise.
10947 * soft-fp/op-4.h: Likewise.
10948 * soft-fp/op-common.h: Likewise.
10949 * soft-fp/quad.h: Likewise.
10950 * soft-fp/single.h: Likewise.
10951 * soft-fp/soft-fp.h: Likewise.
10953 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10955 * iconv/iconv_prog.c: Fix typos.
10956 * stdio-common/psiginfo-data.h: Likewise.
10958 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10961 * locale/setlocale.c: Fix typo.
10963 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10966 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10967 signaling NaN arguments.
10968 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10969 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10972 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10973 unordered operands.
10974 * soft-fp/gesf2.c (__gesf2): Likewise.
10975 * soft-fp/getf2.c (__getf2): Likewise.
10976 * soft-fp/ledf2.c (__ledf2): Likewise.
10977 * soft-fp/lesf2.c (__lesf2): Likewise.
10978 * soft-fp/letf2.c (__letf2): Likewise.
10980 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10981 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10982 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10983 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10984 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10985 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10986 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10987 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10988 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10989 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10990 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10991 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10992 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10993 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10994 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10995 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10996 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10997 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10998 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10999 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11000 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11001 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11002 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11003 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11004 * soft-fp/floattidf.c (__floattidf): Likewise.
11005 * soft-fp/floattisf.c (__floattisf): Likewise.
11006 * soft-fp/floattitf.c (__floattitf): Likewise.
11007 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11008 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11009 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11010 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11011 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11012 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11013 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11014 * soft-fp/gesf2.c (__gesf2): Likewise.
11015 * soft-fp/getf2.c (__getf2): Likewise.
11016 * soft-fp/ledf2.c (__ledf2): Likewise.
11017 * soft-fp/lesf2.c (__lesf2): Likewise.
11018 * soft-fp/letf2.c (__letf2): Likewise.
11020 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11021 Undefine and redefine.
11022 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11023 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11024 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11025 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11026 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11027 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11028 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11029 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11030 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11031 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11032 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11033 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11034 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11035 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11036 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11039 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11040 without decrementing exponent if mantissa >= that for the
11041 denominator, not >.
11042 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11043 denominator, not >. Decrement exponent in < case instead of
11044 incrementing in >= case.
11045 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11046 without decrementing exponent if mantissa >= that for the
11047 denominator, not >.
11049 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11050 computing saturated result for unsigned overflow.
11052 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11053 Jeff Law <law@redhat.com>
11055 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11056 (atan2Mp): Add systemtap probe marker.
11057 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11058 (__ieee754_log): Add systemtap probe marker.
11059 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11060 (atanMp): Add systemtap probe marker.
11061 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11062 (tanMp): Add systemtap probe marker.
11063 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11064 (__slowexp): Add systemtap probe marker.
11065 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11066 (__slowpow): Add systemtap probe marker.
11067 * manual/probes.texi: Document probes.
11069 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11072 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11074 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11076 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11077 written to buffer but not flushed.
11078 * libio/iofwrite_u.c: Likewise.
11079 * libio/iopadn.c: Return bytes returned even if EOF was
11081 * libio/iowpadn.c: Likewise.
11082 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11083 if _IO_padn does not write the whole buffer.
11084 [!COMPILE_WPRINTF] (PAD): Likewise.
11086 2013-10-10 David S. Miller <davem@davemloft.net>
11088 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11091 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11093 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11094 instead of FSF address.
11095 * soft-fp/fixdfti.c: Likewise.
11096 * soft-fp/fixsfti.c: Likewise.
11097 * soft-fp/fixtfti.c: Likewise.
11098 * soft-fp/fixunsdfti.c: Likewise.
11099 * soft-fp/fixunssfti.c: Likewise.
11100 * soft-fp/fixunstfti.c: Likewise.
11101 * soft-fp/floattidf.c: Likewise.
11102 * soft-fp/floattisf.c: Likewise.
11103 * soft-fp/floattitf.c: Likewise.
11104 * soft-fp/floatuntidf.c: Likewise.
11105 * soft-fp/floatuntisf.c: Likewise.
11106 * soft-fp/floatuntitf.c: Likewise.
11107 * soft-fp/trunctfxf2.c: Likewise.
11109 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11110 * soft-fp/fixdfti.c: Likewise.
11111 * soft-fp/fixsfti.c: Likewise.
11112 * soft-fp/fixtfti.c: Likewise.
11113 * soft-fp/fixunsdfti.c: Likewise.
11114 * soft-fp/fixunssfti.c: Likewise.
11115 * soft-fp/fixunstfti.c: Likewise.
11116 * soft-fp/floattidf.c: Likewise.
11117 * soft-fp/floattisf.c: Likewise.
11118 * soft-fp/floattitf.c: Likewise.
11119 * soft-fp/floatuntidf.c: Likewise.
11120 * soft-fp/floatuntisf.c: Likewise.
11121 * soft-fp/floatuntitf.c: Likewise.
11122 * soft-fp/trunctfxf2.c: Likewise.
11124 2013-10-10 David S. Miller <davem@davemloft.net>
11126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11128 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11130 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11131 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11132 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11133 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11134 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11135 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11136 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11139 for NaNs before doing comparisons on argument.
11140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11143 2013-10-10 Will Newton <will.newton@linaro.org>
11145 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11146 passed to _int_memalign does not overflow.
11148 2013-10-10 Torvald Riegel <triegel@redhat.com>
11150 * scripts/bench.pl: Add include-sources directive.
11151 * benchtests/README: Update documentation.
11153 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11155 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11156 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11157 instead of FP_INIT_ROUNDMODE.
11158 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11159 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11162 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11163 copy class of input value.
11164 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11165 not handle exceptions.
11166 * soft-fp/negsf2.c (__negsf2): Likewise.
11167 * soft-fp/negtf2.c (__negtf2): Likewise.
11168 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11170 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11172 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11173 semicolon. From Linux kernel.
11175 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11177 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11179 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11182 * manual/socket.texi: Added statement about buffer
11183 for gethostbyname2_r.
11185 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11187 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11188 Use .p2align directive instead, throughout.
11189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11190 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11191 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11194 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11195 * sysdeps/x86_64/strchr.S: Likewise.
11196 * sysdeps/x86_64/strrchr.S: Likewise.
11198 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11200 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11202 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11204 * sysdeps/generic/math_private.h (__mpsin1): Remove
11206 (__mpcos1): Likewise.
11207 (__mpsin): New argument __range_reduce.
11208 (__mpcos): Likewise.
11209 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11210 (slow): Use __mpsin and __mpcos.
11214 (sloww1): Likewise.
11215 (sloww2): Likewise.
11216 (bsloww): Likewise.
11217 (bsloww1): Likewise.
11218 (bsloww2): Likewise.
11219 (cslow2): Likewise.
11220 (csloww): Likewise.
11221 (csloww1): Likewise.
11222 (csloww2): Likewise.
11223 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11224 range_reduce. Merge in __mpsin1.
11225 (__mpcos): Likewise.
11226 (__mpsin1): Remove.
11227 (__mpcos1): Likewise.
11229 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11231 * locale/loadlocale.c (_nl_intern_locale_data): Use
11233 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11234 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11235 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11236 obstack data is appropriately aligned.
11237 (obstack_int32_grow_fast): Likewise.
11238 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11239 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11240 (add_locale_uint32_array): Likewise.
11242 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11244 * benchtests/Makefile: Remove ARGLIST and RET variables.
11245 ($(objpfx)bench-%.c): Pass only function name to the script.
11246 * benchtests/README: Update documentation.
11247 * benchtests/acos-inputs: Add new directives.
11248 * benchtests/acosh-inputs: Likewise.
11249 * benchtests/asin-inputs: Likewise.
11250 * benchtests/asinh-inputs: Likewise.
11251 * benchtests/atan-inputs: Likewise.
11252 * benchtests/atanh-inputs: Likewise.
11253 * benchtests/cos-inputs: Likewise.
11254 * benchtests/cosh-inputs: Likewise.
11255 * benchtests/exp-inputs: Likewise.
11256 * benchtests/log-inputs: Likewise.
11257 * benchtests/pow-inputs: Likewise.
11258 * benchtests/rint-inputs: Likewise.
11259 * benchtests/sin-inputs: Likewise.
11260 * benchtests/sinh-inputs: Likewise.
11261 * benchtests/tan-inputs: Likewise.
11262 * benchtests/tanh-inputs: Likewise.
11263 * scripts/bench.pl: Add support for new directives.
11265 2013-10-07 Alan Modra <amodra@gmail.com>
11267 * README: Fix careless merge.
11269 2013-10-05 Alan Modra <amodra@gmail.com>
11271 * NEWS: Mention powerpc64le support and bugs fixed.
11272 * README: Both big-endian and little-endian powerpc64 supported.
11274 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11276 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11277 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11278 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11279 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11281 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11283 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11286 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11288 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11289 Move -mhard-float appending from
11290 ports/sysdeps/powerpc/powerpc32/Makefile.
11291 [$(with-fp) = yes] (ASFLAGS): Likewise.
11292 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11293 * sysdeps/powerpc/nofpu: Move directory from
11294 ports/sysdeps/powerpc/nofpu.
11295 * sysdeps/powerpc/soft-fp: Move directory from
11296 ports/sysdeps/powerpc/soft-fp.
11297 * sysdeps/powerpc/powerpc32/405: Move directory from
11298 ports/sysdeps/powerpc/powerpc32/405.
11299 * sysdeps/powerpc/powerpc32/440: Move directory from
11300 ports/sysdeps/powerpc/powerpc32/440.
11301 * sysdeps/powerpc/powerpc32/464: Move directory from
11302 ports/sysdeps/powerpc/powerpc32/464.
11303 * sysdeps/powerpc/powerpc32/476: Move directory from
11304 ports/sysdeps/powerpc/powerpc32/476.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11306 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11308 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11310 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11312 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11314 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11315 * README: Update for powerpc-*-linux-gnu software floating point
11318 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11319 case to powerpc/powerpc32*.
11320 * sysdeps/unix/sysv/linux/configure: Regenerated.
11322 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11323 (_FPU_MASK_OM): Define as 0x04.
11324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11332 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11335 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11338 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11339 and setcontext_e500.
11341 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11343 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11345 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11347 * manual/threads.texi (Default Thread Attributes): Fix typo.
11349 2013-10-04 Will Newton <will.newton@linaro.org>
11351 * malloc/Makefile: Add tst-memalign.
11352 * malloc/tst-memalign.c: New file.
11354 * malloc/tst-posix_memalign.c: Add comments.
11355 (do_test): Add comments and call free on all potentially
11356 allocated pointers. Add space after cast.
11358 * malloc/tst-pvalloc.c: Add comments.
11359 (do_test): Add comments and call free on all potentially
11360 allocated pointers. Remove duplicate check for NULL pointer.
11361 Add space after cast.
11363 * malloc/tst-valloc.c: Add comments.
11364 (do_test): Add comments and call free on all potentially
11365 allocated pointers. Remove duplicate check for NULL pointer.
11366 Add space after cast.
11368 2013-10-04 Alan Modra <amodra@gmail.com>
11370 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11371 Use stdint types in rather than __attribute__((mode())).
11372 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11374 2013-10-04 Alan Modra <amodra@gmail.com>
11376 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11377 Correct handling of unaligned relocs for little-endian.
11378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11380 2013-10-04 Alan Modra <amodra@gmail.com>
11382 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11383 * configure: Regenerate.
11384 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11385 * shlib-versions: Likewise.
11387 2013-10-04 Alan Modra <amodra@gmail.com>
11389 * string/tester.c (test_memrchr): Increment reported test cycle.
11391 2013-10-04 Alan Modra <amodra@gmail.com>
11393 * string/test-memcpy.c (do_one_test): When reporting errors, print
11394 string address and don't overrun end of string.
11396 2013-10-04 Alan Modra <amodra@gmail.com>
11398 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11399 insrdi. Make better use of reg selection to speed exit slightly.
11400 Schedule entry path a little better. Remove useless "are we done"
11401 checks on entry to main loop. Handle wrapping around zero address.
11402 Correct main loop count. Handle single left-over word from main
11403 loop inline rather than by using loop_small. Remove extra word
11404 case in loop_small caused by wrong loop count. Add little-endian
11406 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11409 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11410 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11411 support. Avoid rlwimi.
11412 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11414 2013-10-04 Alan Modra <amodra@gmail.com>
11416 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11417 insrdi. Formatting.
11418 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11421 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11422 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11423 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11425 2013-10-04 Alan Modra <amodra@gmail.com>
11427 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11428 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11430 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11431 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11432 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11434 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11435 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11436 use of regs. Use power7 mtocrf. Tidy function tails.
11438 2013-10-04 Alan Modra <amodra@gmail.com>
11440 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11441 Formatting. Consistently use rXXX register defines or rN defines.
11442 Use early exit labels that avoid restoring unused non-volatile regs.
11443 Make cr field use more consistent with rWORDn compares. Rename
11444 regs used as shift registers for unaligned loop, using rN defines
11445 for short lifetime/multiple use regs.
11446 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11447 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11448 addi 1,1,64 to pop stack frame. Simplify return value code.
11449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11451 2013-10-04 Alan Modra <amodra@gmail.com>
11453 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11454 support. Correct typos, formatting. Optimize tail. Use insrdi
11455 rather than rlwimi.
11456 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11457 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11458 little-endian support. Correct typos.
11459 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11460 rather than rlwimi.
11461 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11462 in loop and entry code to keep "and." results.
11463 (strchr): Add little-endian support. Comment. Move cntlzd
11465 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11467 2013-10-04 Alan Modra <amodra@gmail.com>
11469 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11470 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11471 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11472 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11474 2013-10-04 Alan Modra <amodra@gmail.com>
11476 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11477 (rTMP): Define as r11.
11478 (strcmp): Add little-endian support. Optimise tail.
11479 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11480 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11481 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11482 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11483 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11487 2013-10-04 Alan Modra <amodra@gmail.com>
11489 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11490 little-endian support. Remove unnecessary "are we done" tests.
11491 Handle "s" wrapping around zero and extremely large "size".
11492 Correct main loop count. Handle single left-over word from main
11493 loop inline rather than by using small_loop. Correct comments.
11494 Delete "zero" tail, use "end_max" instead.
11495 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11497 2013-10-04 Alan Modra <amodra@gmail.com>
11499 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11500 support. Don't branch over align.
11501 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11502 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11503 support. Rearrange tmp reg use to suit. Comment.
11504 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11506 2013-10-04 Alan Modra <amodra@gmail.com>
11508 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11510 2013-10-04 Alan Modra <amodra@gmail.com>
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11513 conditional form of branch and link when obtaining pc.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11516 2013-10-04 Alan Modra <amodra@gmail.com>
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11523 2013-10-04 Alan Modra <amodra@gmail.com>
11525 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11526 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11527 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11528 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11529 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11530 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11531 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11532 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11533 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11534 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11536 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11537 Alistair Popple <alistair@ozlabs.au.ibm.com>
11538 Alan Modra <amodra@gmail.com>
11541 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11542 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11543 _dl_hwcap access for little-endian.
11544 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11545 destroy vmx regs when saving unaligned.
11546 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11547 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11548 destroy vmx regs when saving unaligned.
11550 2013-10-04 Alan Modra <amodra@gmail.com>
11552 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11553 Don't use a union to pack hi/low value.
11555 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11557 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11559 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11560 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11561 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11562 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11563 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11565 2013-10-04 Alan Modra <amodra@gmail.com>
11567 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11568 constants to usual value for .cst8 section, and remove redundant
11570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11571 constant for 0x1p52. Load little-endian words of double from
11572 correct stack offsets.
11574 2013-10-04 Alan Modra <amodra@gmail.com>
11576 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11577 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11578 words of double from correct stack offsets.
11579 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11580 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11581 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11583 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11584 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11586 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11587 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11589 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11591 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11592 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11593 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11594 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11595 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11597 2013-10-04 Alan Modra <amodra@gmail.com>
11599 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11600 64-bit int/double union.
11601 (_FPU_SETCW): Likewise.
11602 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11603 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11605 2013-10-04 Alan Modra <amodra@gmail.com>
11607 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11608 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11610 2013-10-04 Alan Modra <amodra@gmail.com>
11612 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11613 use vector int constants.
11614 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11616 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11618 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11619 array with long long.
11620 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11621 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11622 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11623 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11624 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11625 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11626 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11627 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11628 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11629 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11630 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11631 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11632 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11634 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11636 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11637 (__signbit): Likewise. Correct for little-endian.
11638 (__signbitl): Call __signbit.
11639 (lrint): Correct for little-endian.
11640 (lrintf): Call lrint.
11642 2013-10-04 Alan Modra <amodra@gmail.com>
11644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11645 union 32-bit int array member with 64-bit int array.
11646 (t515, tm256): Double rather than long double.
11647 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11649 2013-10-04 Alan Modra <amodra@gmail.com>
11651 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11653 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11655 version of math_ldbl.h.
11657 2013-10-04 Alan Modra <amodra@gmail.com>
11659 [BZ #15734], [BZ #15735]
11660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11661 all uses of ieee875 long double macros and unions. Simplify test
11662 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11663 ldbl_extract_mantissa value for ix,iy exponents. Properly
11664 normalize after ldbl_extract_mantissa, and don't add hidden bit
11665 already handled. Don't treat low word of ieee854 mantissa like
11666 low word of IBM long double and mask off bit when testing for
11668 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11669 all uses of ieee875 long double macros and unions. Simplify tests
11670 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11671 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11672 two1022, instead use their values. Recognise that tests for large
11673 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11674 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11675 Rewrite all uses of ieee875 long double macros and unions. Simplify
11676 test for 0.0L and nan. Correct negation.
11677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11678 ieee875 long double macros and unions. Correct output for large
11679 magnitude x. Correct absolute value calculation.
11680 (__erfcl): Likewise.
11681 * math/libm-test.inc: Add tests for errors discovered in IBM long
11682 double versions of fmodl, remainderl, erfl and erfcl.
11684 2013-10-04 Alan Modra <amodra@gmail.com>
11686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11687 all uses of ieee854 long double macros and unions. Simplify tests
11688 for long doubles that are fully specified by the high double.
11689 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11691 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11692 Remove dead code too.
11693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11694 (__ieee754_ynl): Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11698 Remove dead code too.
11699 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11709 Comment on variable precision.
11710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11711 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11713 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11715 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11717 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11719 2013-10-04 Alan Modra <amodra@gmail.com>
11721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11722 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11723 all uses of ieee854 long double macros and unions.
11724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11726 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11737 Simplify sign and nan test too.
11738 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11743 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11747 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11749 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11753 2013-10-04 Alan Modra <amodra@gmail.com>
11755 * stdio-common/printf_size.c (__printf_size): Don't use
11756 union ieee854_long_double in fpnum union.
11757 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11758 signbit macro to retrieve sign from long double.
11759 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11760 retrieve sign from long double.
11761 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11762 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11763 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11764 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11765 * math/test-misc.c (main): Don't use union ieee854_long_double.
11767 2013-10-04 Alan Modra <amodra@gmail.com>
11770 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11771 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11772 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11773 calculation. Remove unnecessary test for denormal exponent.
11774 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11775 Correct handling of denormals. Avoid undefined shift behaviour.
11776 Correct normalisation of low mantissa when low double is denormal.
11777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11778 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11779 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11780 Correct normalisation of low mantissa. Test for overflow of high
11781 mantissa and normalise.
11782 (ldbl_nearbyint): Use more readable constant for two52.
11783 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11784 (__mpn_construct_long_double): Fix test for overflow of high
11785 mantissa and correct normalisation. Avoid undefined shift.
11787 2013-10-04 Alan Modra <amodra@gmail.com>
11789 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11790 (union ibm_extended_long_double): Define as an array of ieee754_double.
11791 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11792 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11793 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11794 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11803 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11805 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11806 page size instead of calling getpagesize.
11808 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11809 (LOCFILE_ALIGN_MASK): Likewise.
11810 (LOCFILE_ALIGN_UP): Likewise.
11811 (LOCFILE_ALIGNED_P): Likewise.
11812 * locale/programs/ld-collate.c (collate_output): Use the new
11813 macros instead of __alignof__ (int32_t).
11814 * locale/weight.h (findidx): Likewise.
11816 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11819 * manual/string.texi: Fix strncat and wcsncat.
11821 2013-10-03 Brooks Moses <bmoses@google.com>
11824 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11825 * Makerules: ...here, and adjust associated comments.
11827 2013-10-02 Will Newton <will.newton@linaro.org>
11829 * malloc/Makefile: Add tst-pvalloc.
11830 * malloc/tst-pvalloc.c: New file.
11832 2013-10-02 Will Newton <will.newton@linaro.org>
11834 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11835 improve test coverage.
11837 2013-10-02 Will Newton <will.newton@linaro.org>
11839 * malloc/Makefile: Add tst-posix_memalign.
11840 * malloc/tst-posix_memalign.c: New file.
11842 2013-10-01 Eric Blake <eblake@redhat.com>
11844 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11845 Use __THROWNL rather than __THROW on static functions.
11847 2013-09-30 Petr Machata <pmachata@redhat.com>
11849 * elf/elf.h (R_AARCH64_ABS16): New macro.
11850 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11851 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11852 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11853 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11854 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11855 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11856 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11857 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11858 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11859 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11860 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11861 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11862 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11863 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11864 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11865 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11866 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11867 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11868 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11869 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11870 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11871 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11872 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11873 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11874 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11875 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11876 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11877 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11878 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11879 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11880 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11881 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11882 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11883 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11884 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11885 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11886 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11887 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11888 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11889 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11890 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11891 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11892 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11893 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11894 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11895 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11896 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11897 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11898 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11899 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11900 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11901 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11902 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11903 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11904 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11905 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11906 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11907 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11908 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11909 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11910 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11911 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11912 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11913 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11914 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11915 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11916 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11917 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11918 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11919 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11920 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11921 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11922 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11923 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11924 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11925 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11926 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11927 (R_AARCH64_TLSDESC_LDR): Likewise.
11928 (R_AARCH64_TLSDESC_ADD): Likewise.
11929 (R_AARCH64_TLSDESC_CALL): Likewise.
11931 2013-09-30 Andreas Schwab <schwab@suse.de>
11934 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11935 the nss database lookup.
11936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11939 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11941 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11943 2013-09-28 P. J. McDermott <pj@pehjota.net>
11945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11946 ${Bash-specific parameter/pattern/string} parameter expansion.
11947 * sysdeps/unix/make-syscalls.sh: Likewise.
11949 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11951 * sysdeps/sh/stackguard-macros.h: New file.
11953 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11957 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11959 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11960 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11962 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11964 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11965 Fix thread ID register.
11967 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11969 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11970 [POSIX || UNIX98]: Require rather than permitting all symbols from
11972 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11973 element of struct sched_param.
11974 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11975 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11976 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11977 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11980 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11982 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11983 argument calculation.
11985 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11987 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11989 [POSIX] (pthread_attr_t): Do not require type.
11990 [POSIX] (pthread_cond_t): Likewise.
11991 [POSIX] (pthread_condattr_t): Likewise.
11992 [POSIX] (pthread_key_t): Likewise.
11993 [POSIX] (pthread_mutex_t): Likewise.
11994 [POSIX] (pthread_mutexattr_t): Likewise.
11995 [POSIX] (pthread_once_t): Likewise.
11996 [POSIX] (pthread_t): Likewise.
11997 [POSIX-based standards] (pthread_atfork): Expect function.
11999 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12000 Richard Sandiford <richard@codesourcery.com>
12002 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12003 (swap_endianness_p): New extern variable.
12004 (set_big_endian): New inline function.
12005 (maybe_swap_uint32): Likewise.
12006 (maybe_swap_uint32_array): Likewise.
12007 (maybe_swap_uint32_obstack): Likewise.
12008 * locale/programs/locfile.c: Include <stdbool.h>.
12009 (swap_endianness_p): New variable.
12010 (add_locale_uint32): Call maybe_swap_uint32.
12011 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12012 (write_locale_data): Call maybe_swap_uint32_array.
12013 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12015 (obstack_int32_grow_fast): Likewise.
12016 (output_weightwc): Call maybe_swap_uint32_obstack.
12017 (collate_output): Likewise.
12018 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12019 (OPT_LITTLE_ENDIAN): Likewise.
12020 (options): Add --little-endian and --big-endian options.
12021 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12022 * locale/programs/locarchive.c: Include "locfile.h".
12026 (create_archive): Use the new macros to access fields of
12027 structures directly mapped from or written to locale archives.
12028 (oldlocrecentcmp): Likewise.
12029 (enlarge_archive): Likewise.
12030 (insert_name): Likewise.
12031 (add_alias): Likewise.
12032 (add_locale): Likewise.
12033 (delete_locales_from_archive): Likewise.
12034 (show_archive_content): Likewise.
12035 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12038 2013-09-24 Roland McGrath <roland@hack.frob.com>
12040 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12041 http://www.gnu.org/doc/freemanuals.texi.
12042 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12044 2013-09-24 Will Newton <will.newton@linaro.org>
12046 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12049 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12051 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12054 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12056 * manual/threads.texi (POSIX Threads): Fix a typo.
12058 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12061 * string/tst-strcoll-overflow.c: New test case.
12062 * string/Makefile (xtests): Add tst-strcoll-overflow.
12063 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12064 cache if string sizes may cause integer overflow.
12067 * string/strcoll_l.c (coll_seq): New members rule, idx,
12068 save_idx and back_us.
12069 (get_next_seq_nocache): New function.
12070 (do_compare_nocache): New function.
12071 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12074 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12077 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12078 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12079 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12082 * elf/Makefile (tests): Add tst-ptrguard1.
12083 (tests-static): Add tst-ptrguard1-static.
12084 (tst-ptrguard1-ARGS): Define.
12085 (tst-ptrguard1-static-ARGS): Define.
12086 * elf/tst-ptrguard1.c: New file.
12087 * elf/tst-ptrguard1-static.c: New file.
12088 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12089 * sysdeps/i386/stackguard-macros.h: Likewise.
12090 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12091 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12092 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12093 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12094 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12095 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12097 2013-09-23 Hector Marco <hecmargi@upv.es>
12098 Ismael Ripoll <iripoll@disca.upv.es>
12099 Carlos O'Donell <carlos@redhat.com>
12102 * sysdeps/generic/stackguard-macros.h: Define
12103 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12104 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12105 Define __pointer_chk_guard_local.
12106 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12107 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12109 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12112 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12114 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12116 * include/string.h (__ffs): Declare as hidden.
12117 * string/ffs.c (__ffs): Define as hidden.
12118 * sysdeps/i386/ffs.c (__ffs): Likewise.
12119 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12120 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12121 * sysdeps/s390/ffs.c (__ffs): Likewise.
12122 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12124 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12126 * NEWS: Mention malloc probes.
12128 * malloc/arena.c (new_heap): New memory_heap_new probe.
12129 (grow_heap): New memory_heap_more probe.
12130 (shrink_heap): New memory_heap_less probe.
12131 (heap_trim): New memory_heap_free probe.
12132 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12133 (systrim): New memory_sbrk_less probe.
12134 * manual/probes.texi: Document them.
12136 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12137 * manual/probes.texi: Document it.
12139 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12140 (__libc_realloc): Add memory_realloc_retry probe.
12141 (__libc_memalign): Add memory_memalign_retry probe.
12142 (__libc_valloc): Add memory_valloc_retry probe.
12143 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12144 (__libc_calloc): Add memory_calloc_retry probe.
12145 * manual/probes.texi: Document them.
12147 * malloc/arena.c (get_free_list): Add probe
12148 memory_arena_reuse_free_list.
12149 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12150 and memory_arena_reuse.
12151 (arena_get2) [!PER_THREAD]: Likewise.
12152 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12153 memory_arena_reuse_realloc.
12154 * manual/probes.texi: Document them.
12156 * malloc/malloc.c (__libc_free): Add
12157 memory_mallopt_free_dyn_thresholds probe.
12158 (__libc_mallopt): Add multiple memory_mallopt probes.
12159 * manual/probes.texi: Document them.
12161 * malloc/malloc.c: Include stap-probe.h.
12162 (__libc_mallopt): Add memory_mallopt probe.
12163 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12164 * manual/probes.texi: New.
12165 * manual/Makefile (chapters): Add probes.
12166 * manual/threads.texi: Set next node.
12168 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12170 [BZ #15963, #13985]
12171 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12172 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12173 Add `Chinese' to `nan' entry name.
12175 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12177 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12178 (POLYNOMIAL): Likewise.
12179 (TAYLOR_SINCOS): Likewise.
12180 (TAYLOR_SLOW): Likewise.
12181 (__sin): Use TAYLOR_SINCOS.
12183 (slow): Use TAYLOR_SLOW.
12185 (bsloww): Likewise.
12186 (csloww): Likewise.
12188 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12190 * stdlib/strtod_l.c: Fix buffer overrun.
12192 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12194 * benchtests/Makefile (bench): Add sincos.
12195 * benchtests/bench-sincos.c: New file.
12197 * math/libm-test.inc (cos_test_data): New test inputs.
12198 (sin_test_data): Likewise.
12200 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12206 (sloww1): Likewise.
12207 (sloww2): Likewise.
12208 (bsloww1): Likewise.
12209 (bsloww2): Likewise.
12210 (cslow2): Likewise.
12211 (csloww1): Likewise.
12212 (csloww2): Likewise.
12214 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12219 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12223 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12225 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12226 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12227 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12228 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12229 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12230 * elf/cache.c (print_entry): Handle the new cache flags.
12232 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12233 Aldy Hernandez <aldyh@redhat.com>
12235 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12236 Change condition to [_SOFT_FLOAT].
12237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12249 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12252 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12255 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12257 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12258 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12259 (__longjmp): Use LOAD_GP to load saved GPRs.
12260 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12261 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12262 (__sigsetjmp): Use SAVE_GP to save GPRs.
12264 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12265 Do not append -msoft-float.
12266 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12268 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12270 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12272 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12275 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12276 (_FPU_GETCW): Use initial "__" on variable and field names but not
12277 on macro parameter name.
12278 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12279 parentheses around reference to macro parameter.
12281 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12283 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12285 (ctype_startup): Use uint32_t in cast and sizeof for
12288 2013-09-11 Jia Liu <proljc@gmail.com>
12290 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12292 [__FreeBSD__]: Likewise.
12294 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12297 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12298 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12299 (strchr): Remove __strchr_sse42 ifunc selection.
12300 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12301 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12303 2013-09-11 Will Newton <will.newton@linaro.org>
12305 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12306 parameter to RES. Remove hardcoded 1000 value.
12307 * benchtests/bench-skeleton.c (main): Pass RES parameter
12308 to TIMING_INIT and multiply result by 1000.
12310 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12314 2013-09-11 Andreas Schwab <schwab@suse.de>
12316 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12318 (O_TMPFILE) [__USE_GNU]: Define.
12319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12322 2013-09-11 Will Newton <will.newton@linaro.org>
12325 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12328 2013-09-11 Will Newton <will.newton@linaro.org>
12331 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12334 2013-09-11 Will Newton <will.newton@linaro.org>
12337 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12340 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12342 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12343 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12348 2013-09-10 Allan McRae <allan@archlinux.org>
12351 * manual/arith.texi (Parsing of Floats): Clarify
12355 * manual/install.texi (Running make install): Mention
12357 * INSTALL: Regenerated.
12359 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12361 * csu/init-first.c (_init): Remove the !SHARED condition around
12362 FPU control word initialization.
12363 * elf/dl-support.c (_dl_fpu_control): New variable.
12364 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12365 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12366 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12367 * math/test-fpucw-static.c: New file.
12368 * math/test-fpucw-ieee.c: New file.
12369 * math/test-fpucw-ieee-static.c: New file.
12370 * math/Makefile (tests): Add `test-fpucw-ieee' and
12372 (tests-static): New variable.
12373 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12375 [($(build-shared),yes)]
12376 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12381 2013-09-09 Allan McRae <allan@archlinux.org>
12384 * manual/string.texi (Collation Functions): Fix typo in
12386 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12389 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12392 * libio/memstream.c (open_memstream): Fix memory leak.
12393 * libio/wmemstream.c (open_wmemstream): Likewise.
12396 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12398 2013-09-09 Will Newton <will.newton@linaro.org>
12400 * malloc/Makefile: Add tst-realloc to tests.
12401 * malloc/tst-realloc.c: New file.
12403 2013-09-09 Allan McRae <allan@archlinux.org>
12406 * COPYING: Update from GNU website to fix FSF address.
12407 * COPYING.LIB: Likewise.
12409 2013-09-06 David S. Miller <davem@davemloft.net>
12411 * po/zh_TW.po: Update Chinese (traditional) translation from
12412 translation project.
12414 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12415 Joseph Myers <joseph@codesourcery.com>
12417 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12419 (obstack_chunk_alloc): New macro.
12420 (obstack_chunk_free): Likewise.
12421 (record_offset): New function.
12422 (init_locale_data): Likewise.
12423 (align_locale_data): Likewise.
12424 (add_locale_empty): Likewise.
12425 (add_locale_raw_data): Likewise.
12426 (add_locale_raw_obstack): Likewise.
12427 (add_locale_string): Likewise.
12428 (add_locale_wstring): Likewise.
12429 (add_locale_uint32): Likewise.
12430 (add_locale_uint32_array): Likewise.
12431 (add_locale_char): Likewise.
12432 (start_locale_structure): Likewise.
12433 (end_locale_structure): Likewise.
12434 (start_locale_prelude): Likewise.
12435 (end_locale_prelude): Likewise.
12436 (write_locale_data): Take locale_file structure rather than an
12438 * locale/programs/locfile.h: Include "obstack.h".
12439 (struct locale_file): Change to store locale file contents instead
12441 (init_locale_data): New prototype.
12442 (align_locale_data): Likewise.
12443 (add_locale_empty): Likewise.
12444 (add_locale_raw_data): Likewise.
12445 (add_locale_raw_obstack): Likewise.
12446 (add_locale_string): Likewise.
12447 (add_locale_wstring): Likewise.
12448 (add_locale_uint32): Likewise.
12449 (add_locale_uint32_array): Likewise.
12450 (add_locale_char): Likewise.
12451 (start_locale_structure): Likewise.
12452 (end_locale_structure): Likewise.
12453 (start_locale_prelude): Likewise.
12454 (end_locale_prelude): Likewise.
12455 (write_locale_data): Update prototype.
12456 * locale/programs/3level.h (struct TABLE): Remove result field.
12457 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12458 Use new locale_file interface.
12459 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12460 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12461 * locale/programs/ld-address.c (address_output): Use new
12462 locale_file interface.
12463 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12465 (collate_finish): Don't call collseq_table_finalize.
12466 (collate_output): Use new locale_file interface.
12467 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12469 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12470 (TABLE): Move defines earlier in file.
12471 (ELEMENT): Likewise.
12472 (DEFAULT): Likewise.
12473 (wctrans_table_add): Move macro and inline function earlier in
12475 (struct wctype_table): Move type earlier in file.
12476 (add_locale_wctype_table): New static prototype.
12477 (struct locale_ctype_t): Use logical types instead of struct iovec
12478 pointers for members.
12479 (ctype_output): Use new locale_file interface.
12480 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12481 new locale_file interface.
12482 (allocate_arrays): Update for use of new locale_file interface.
12483 * locale/programs/ld-identification.c (identification_output): Use
12484 new locale_file interface.
12485 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12486 * locale/programs/ld-messages.c (messages_output): Likewise.
12487 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12488 * locale/programs/ld-name.c (name_output): Likewise.
12489 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12490 * locale/programs/ld-paper.c (paper_output): Likewise.
12491 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12492 * locale/programs/ld-time.c (time_output): Likewise.
12494 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12496 * benchtests/Makefile: Add memrchr benchmark.
12497 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12498 benchmark as memrchr.
12499 * benchtests/bench-memrchr-ifunc.c: New file.
12500 * benchtests/bench-memrchr.c: New file.
12502 2013-09-06 Will Newton <will.newton@linaro.org>
12504 * benchtests/Makefile (string-bench): Add memcpy.
12506 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12507 Cong Wang <amwang@redhat.com>
12510 * sysdeps/unix/sysv/linux/bits/in.h
12511 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12512 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12513 before __USE_KERNEL_IPV6_DEFS uses.
12514 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12516 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12517 sockaddr_in6, or ipv6_mreq.
12519 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12521 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12522 memory access for final bytes in some large inputs.
12523 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12525 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12527 * string/test-memrchr.c: New file.
12528 * string/test-memrchr-ifunc.c: New file.
12529 * string/Makefile: Add new memrchr testcase.
12531 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12533 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12534 fanotify_init returns EPERM.
12536 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12538 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12540 (top level): Treat second token from macro or constant entries for
12541 allowed headers as allowed.
12542 * include/complex.h: Condition internal declarations on
12544 * include/fenv.h: Condition include of <stdbool.h> and internal
12545 declarations on [!_ISOMAC].
12547 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12550 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12552 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12554 * configure.in (--enable-versioning): Remove configure option.
12555 (libc_cv_asm_symver_directive): Remove configure test.
12556 (libc_cv_ld_version_script_option): Likewise.
12557 (VERSIONING): Remove variable and AC_SUBST.
12558 (DO_VERSIONING): Remove AC_DEFINE.
12559 * configure: Regenerated.
12560 * config.h.in (DO_VERSIONING): Remove macro.
12561 * Makerules [$(versioning) = yes]: Change conditionals to
12562 [$(build-shared) = yes].
12563 * config.make.in (versioning): Remove variable.
12564 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12565 [$(build-shared) = yes].
12566 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12567 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12568 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12569 [$(build-shared) = yes].
12570 * extra-lib.mk [$(versioning) = yes]: Likewise.
12571 * hurd/Makefile [$(versioning) = yes]: Likewise.
12572 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12574 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12576 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12577 [SHARED && !NO_HIDDEN].
12578 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12580 [SHARED && DO_VERSIONING]: Likewise..
12581 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12582 [$(build-shared) = yes].
12583 * manual/install.texi (--disable-versioning): Remove
12585 * INSTALL: Regenerated.
12586 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12588 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12589 [$(build-shared) = yes].
12590 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12591 * sysdeps/i386/i686/multiarch/strstr-c.c
12592 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12593 [SHARED && !NO_HIDDEN].
12594 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12595 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12596 * sysdeps/powerpc/powerpc32/dl-machine.c
12597 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12598 * sysdeps/powerpc/powerpc32/sysdep.h
12599 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12600 to [SHARED && PIC && !NO_HIDDEN].
12601 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12602 conditional to [SHARED].
12604 2013-09-04 Will Newton <will.newton@linaro.org>
12606 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12607 * benchtests/bench-string.h: Include bench-timing.h instead
12608 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12609 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12610 call to HP_TIMING_DIFF_INIT.
12611 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12612 instead of hp-timing.h macros.
12613 * benchtests/bench-memchr.c: Likewise.
12614 * benchtests/bench-memcmp.c: Likewise.
12615 * benchtests/bench-memcpy.c: Likewise.
12616 * benchtests/bench-memmem.c: Likewise.
12617 * benchtests/bench-memmove.c: Likewise.
12618 * benchtests/bench-memset.c: Likewise.
12619 * benchtests/bench-rawmemchr.c: Likewise.
12620 * benchtests/bench-strcasecmp.c: Likewise.
12621 * benchtests/bench-strcasestr.c: Likewise.
12622 * benchtests/bench-strcat.c: Likewise.
12623 * benchtests/bench-strchr.c: Likewise.
12624 * benchtests/bench-strcmp.c: Likewise.
12625 * benchtests/bench-strcpy.c: Likewise.
12626 * benchtests/bench-strcpy_chk.c: Likewise.
12627 * benchtests/bench-strlen.c: Likewise.
12628 * benchtests/bench-strncasecmp.c: Likewise.
12629 * benchtests/bench-strncat.c: Likewise.
12630 * benchtests/bench-strncmp.c: Likewise.
12631 * benchtests/bench-strncpy.c: Likewise.
12632 * benchtests/bench-strnlen.c: Likewise.
12633 * benchtests/bench-strpbrk.c: Likewise.
12634 * benchtests/bench-strrchr.c: Likewise.
12635 * benchtests/bench-strspn.c: Likewise.
12636 * benchtests/bench-strstr.c: Likewise.
12638 2013-09-04 Will Newton <will.newton@linaro.org>
12640 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12642 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12645 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12646 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12647 * math/libm-test.inc (lgamma_test_data): Add more tests.
12648 * sysdeps/i386/fpu/libm-test-ulps: Update.
12649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12653 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12657 Add strcmp-sse2-unaligned
12658 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12660 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12662 * Versions.def (libc): Add GLIBC_2.19.
12664 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12666 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12667 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12669 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12672 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12673 intermediate calculations in recurrence.
12674 (__ieee754_ynf): Likewise.
12675 * math/libm-test.inc (jn_test_data): Do not allow spurious
12676 underflow exception. Add more tests.
12677 (yn_test_data): Add more tests.
12678 * sysdeps/i386/fpu/libm-test-ulps: Update.
12679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12681 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12683 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12685 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12687 * csu/init-first.c: Fix then/than typos.
12688 * locale/programs/ld-collate.c: Likewise.
12689 * locale/programs/linereader.h: Likewise.
12690 * manual/charset.texi: Likewise.
12691 * manual/filesys.texi: Likewise.
12692 * manual/stdio.texi: Likewise.
12693 * manual/string.texi: Likewise.
12694 * stdlib/fmtmsg.c: Likewise.
12695 * sysdeps/i386/stpncpy.S: Likewise.
12696 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12697 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12698 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12699 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12701 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12703 * elf/dl-open.c: Fix typos.
12704 * iconvdata/gbbig5.c: Likewise.
12705 * iconvdata/iso-2022-jp.c: Likewise.
12706 * iconv/gconv_int.h: Likewise.
12707 * iconv/loop.c: Likewise.
12708 * nis/rpcsvc/nis.h: Likewise.
12709 * resolv/ns_name.c: Likewise.
12710 * stdio-common/vfscanf.c: Likewise.
12711 * streams/stropts.h: Likewise.
12712 * sunrpc/rpc_thread.c: Likewise.
12713 * sysdeps/i386/strpbrk.S: Likewise.
12714 * sysdeps/ieee754/k_standard.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12717 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12718 * sysdeps/mach/hurd/profil.c: Likewise.
12719 * sysdeps/s390/dl-procinfo.h: Likewise.
12720 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12721 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12722 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12723 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12726 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12728 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12731 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12733 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12734 aix specific files.
12735 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12736 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12738 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12739 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12740 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12741 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12742 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12744 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12745 Roland McGrath <roland@hack.frob.com>
12747 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12748 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12750 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12752 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12753 __executable_start symbol instead of _start.
12755 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12757 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12758 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12760 * sysdeps/gnu/ldsodefs.h: ... this new file.
12762 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12763 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12764 instead of ELFOSABI_LINUX.
12766 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12767 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12768 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12769 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12771 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12772 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12773 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12775 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12776 (ibm_extended_long_double): Add ieee_nan member.
12777 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12778 (do_test): New function.
12780 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12782 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12783 functions, renamed from truncdfsf_test, trunctfsf_test,
12785 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12787 (do_test): Run all these.
12789 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12791 * argp/argp-help.c: Fix typos.
12792 * argp/argp-parse.c: Likewise.
12793 * debug/backtracesyms.c: Likewise.
12794 * elf/elf.h: Likewise.
12795 * malloc/malloc.c: Likewise.
12796 * nis/nis_print.c: Likewise.
12797 * resolv/res_comp.c: Likewise.
12798 * stdlib/stdlib.h: Likewise.
12799 * sunrpc/clnt_tcp.c: Likewise.
12800 * sunrpc/clnt_udp.c: Likewise.
12801 * sunrpc/clnt_unix.c: Likewise.
12802 * sysdeps/unix/bsd/ptsname.c: Likewise.
12803 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12811 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12813 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12815 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12818 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12821 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12822 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12823 ($(objpfx)bug-dl-leaf): New rule.
12824 ($(objpfx)bug-dl-leaf.so): Likewise.
12825 ($(objpfx)bug-dl-leaf.out): Likewise.
12826 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12827 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12828 * dlfcn/bug-dl-leaf.c: New test.
12829 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12830 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12831 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12832 (dlclose): Likewise.
12833 (dlmopen): Likewise.
12835 2013-08-27 Roland McGrath <roland@hack.frob.com>
12837 * include/netdb.h [!_ISOMAC]:
12838 Don't include <tls.h>.
12839 (h_errno, __libc_h_errno): Move declaration and macros out of
12842 * include/resolv.h [_RESOLV_H_]:
12843 Don't include <tls.h>.
12844 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12845 * resolv/res_libc.c: Don't include <tls.h>.
12846 (_res): Use __attribute__ ((nocommon)) in place of
12847 __attribute__ ((section (".bss"))).
12849 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12850 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12852 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12854 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12855 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12857 * resolv/res_mkquery.c: Include <sys/time.h>.
12859 * inet/ifreq.c: Moved to ...
12860 * sysdeps/unix/ifreq.c: ... here.
12861 * inet/ifreq.c: New file, true stub version.
12863 * socket/sa_len.c: New file.
12864 * socket/Makefile (aux): Add it.
12865 * sysdeps/unix/sysv/linux/Makefile
12866 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12867 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12868 and #include <socket/sa_len.c>.
12869 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12870 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12872 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12873 * bits/socket.h: ... here.
12875 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12876 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12877 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12879 2013-08-27 Andreas Schwab <schwab@suse.de>
12882 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12883 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12884 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12885 * string/test-strcasecmp.c (test_main): Run tests in several
12887 * string/test-strncasecmp.c (test_main): Likewise.
12889 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12890 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12891 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12893 (__strncasecmp_ssse3) [PIC]: Likewise.
12895 2013-08-26 Roland McGrath <roland@hack.frob.com>
12897 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12899 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12900 instead of explicitly declaring xdecrypt.
12901 * nis/nss_nis/nis-publickey.c: Likewise.
12903 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12906 * nscd/aicache.c: Include res_hconf.h.
12907 (addhstaiX): Initialize res_hconf.
12909 2013-08-26 Andreas Schwab <schwab@suse.de>
12911 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12912 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12914 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12916 * nscd/aicache.c (addhstaiX): Fix indentation.
12918 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12920 * configure.ac: Quote $build_pt_chown test.
12921 * configure: Regenerated.
12923 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12926 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12927 * math/s_cexpf.c (__cexpf): Likewise.
12928 * math/s_cexpl.c (__cexpl): Likewise.
12929 * math/libm-test.inc (cexp_test_data): Correct expected return
12930 value for NaN + i0. Add another test.
12932 2013-08-22 David S. Miller <davem@davemloft.net>
12934 * po/ca.po: Update Catalan translation from translation project.
12935 * po/uk.po: Add Ukrainian translations from translation project.
12937 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12940 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12941 is infinite, not alongside NaN test.
12942 * math/s_fdimf.c (__fdimf): Likewise.
12943 * math/s_fdiml.c (__fdiml): Likewise.
12944 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12945 errno is unchanged.
12947 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12949 * argp/argp-help.c: Fix typos.
12950 * crypt/speeds.c: Likewise.
12951 * csu/check_fds.c: Likewise.
12952 * elf/dl-load.c: Likewise.
12953 * elf/dl-open.c: Likewise.
12954 * elf/reldep3.c: Likewise.
12955 * elf/reldep.c: Likewise.
12956 * elf/sprof.c: Likewise.
12957 * iconv/iconv_charmap.c: Likewise.
12958 * iconv/skeleton.c: Likewise.
12959 * iconv/strtab.c: Likewise.
12960 * io/lockf64.c: Likewise.
12961 * libio/libioP.h: Likewise.
12962 * resolv/gai_notify.c: Likewise.
12963 * resolv/ns_name.c: Likewise.
12964 * resolv/ns_samedomain.c: Likewise.
12965 * resolv/res_send.c: Likewise.
12966 * stdlib/random.c: Likewise.
12967 * sunrpc/rpc/xdr.h: Likewise.
12968 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12969 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12970 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12971 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12975 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12976 * sysdeps/mach/hurd/check_fds.c: Likewise.
12977 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12978 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12979 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12980 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12981 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12983 * sysdeps/pthread/aio_notify.c: Likewise.
12984 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12985 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12986 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12988 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12990 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12992 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12993 version if bit_Slow_SSE4_2 is set.
12994 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12997 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13000 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13001 trampoline stack frame information.
13002 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13004 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13005 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13006 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13007 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13008 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13009 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13011 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13012 interrupting a syscall and set with option SA_SIGINFO.
13014 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13017 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13018 argument is infinite.
13019 * math/s_cprojf.c (__cprojf): Likewise.
13020 * math/s_cprojl.c (__cprojl): Likewise.
13021 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13022 * math/libm-test.inc (cproj_test_data): Add more tests.
13024 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13026 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13027 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13028 size. Use __ffs to determine corresponding shift.
13030 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13031 Roland McGrath <roland@hack.frob.com>
13033 * Makefile (INSTALL): Remove trailing blank lines from output of
13036 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13038 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13039 Align 32 bit compat elf_greg to 8 bytes.
13041 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13043 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13045 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13047 * string/strcoll_l.c (coll_seq): New structure.
13048 (get_next_seq_cached): New function.
13049 (get_next_seq): New function.
13050 (do_compare): New function.
13051 (STRCOLL): Use GNU style definition. Simplify implementation
13052 by using get_next_seq, get_next_seq_cached and do_compare.
13054 2013-08-16 Florian Weimer <fweimer@redhat.com>
13058 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13060 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13062 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13063 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13064 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13066 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13067 GETDENTS_64BIT_ALIGNED.
13068 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13069 * manual/filesys.texi (Reading/Closing Directory): Document
13070 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13072 * manual/conf.texi (Limits for Files): Add portability note to
13073 NAME_MAX, PATH_MAX.
13074 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13076 2013-08-13 Andreas Schwab <schwab@suse.de>
13079 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13081 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13082 LDBL_MAX_EXP >= 16384]: Add tests for it.
13084 2013-08-12 David S. Miller <davem@davemloft.net>
13086 * version.h (RELEASE): Set to "development".
13087 (VERSION): Set to "2.18.90".
13088 * NEWS: Add 2.19 section.
13090 2013-08-03 David S. Miller <davem@davemloft.net>
13092 * po/ko.po: Update Korean translation from translation project.
13094 2013-08-01 David S. Miller <davem@davemloft.net>
13096 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13097 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13100 2013-07-30 David S. Miller <davem@davemloft.net>
13102 * po/fr.po: Update French translation from translation project.
13104 2013-07-28 David S. Miller <davem@davemloft.net>
13106 * po/cs.po: Update Czech translation from translation project.
13108 * po/sv.po: Update Swedish translation from translation project.
13110 2013-07-27 David S. Miller <davem@davemloft.net>
13112 * po/eo.po: Update Esperanto translation from translation project.
13114 * po/vi.po: Update Vietnamese translation from translation project.
13116 * po/de.po: Update German translation from translation project.
13118 2013-07-26 David S. Miller <davem@davemloft.net>
13120 * po/bg.po: Update Bulgarian translation from translation project.
13122 * po/nl.po: Update Dutch translation from translation project.
13123 * po/pl.po: Update Polish translation from translation project.
13124 * po/ru.po: Update Russian translation from translation project.
13126 2013-07-24 David S. Miller <davem@davemloft.net>
13128 * po/libc.pot: Update.
13130 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13132 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13133 variable page size.
13134 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13136 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13138 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13140 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13142 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13143 Andreas Schwab <schwab@suse.de>
13144 Roland McGrath <roland@hack.frob.com>
13145 Joseph Myers <joseph@codesourcery.com>
13146 Carlos O'Donell <carlos@redhat.com>
13149 * config.h.in: Define HAVE_PT_CHOWN.
13150 * config.make.in (build-pt-chown): New variable.
13151 * configure.in (--enable-pt_chown): New configure option.
13152 * configure: Regenerate.
13153 * login/Makefile: Include Makeconfig. Build pt_chown only if
13154 build-pt-chown is enabled.
13155 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13156 pt_chown to fix pty ownership.
13157 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13159 * manual/install.texi (Configuring and compiling): Mention
13160 --enable-pt_chown. Add @findex for grantpt.
13161 * INSTALL: Regenerate.
13163 2013-07-20 David S. Miller <davem@davemloft.net>
13165 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13166 difference between 32-bit and 64-bit.
13168 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13171 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13172 Avoid system header dependency with -ffreestanding.
13173 ($(objpfx)bits/syscall%d): Likewise.
13175 2013-07-13 David S. Miller <davem@davemloft.net>
13177 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13178 underflows from atanl/atan2l due to bug 15319.
13179 (casinh_test_data): Likewise.
13181 2013-07-07 David S. Miller <davem@davemloft.net>
13183 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13185 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13187 * sysdeps/i386/fpu/libm-test-ulps: Update.
13188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13190 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13192 * configure.in (--enable-lock-elision): Fix message text.
13193 * INSTALL: Regenerate.
13194 * configure: Regenerate.
13196 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13200 2013-07-03 Andreas Jaeger <aj@suse.de>
13202 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13204 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13205 (ptrace_peeksiginfo_args): Add.
13206 (__ptrace_peeksiginfo_flags): Add.
13207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13208 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13211 2013-07-03 Allan McRae <allan@archlinux.org>
13213 * sysdeps/i386/fpu/libm-test-ulps: Update.
13215 2013-07-02 David S. Miller <davem@davemloft.net>
13217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13219 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13223 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13225 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13228 2013-07-02 Andi Kleen <ak@linux.intel.com>
13230 * config.h.in (ENABLE_LOCK_ELISION): Add.
13231 * configure.in (--enable-lock-elision): Add option.
13232 * manual/install.texi: Document --enable lock elision.
13233 * configure: Regenerate
13234 * INSTALL: Regenerate.
13236 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13238 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13239 SSE4.2 strcasecmp for libc.a.
13240 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13242 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13245 * soft-fp/op-common.h (_FP_FMA): New macro.
13246 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13247 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13248 (_FP_MUL_MEAT_1_imm): ... here.
13249 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13250 (_FP_MUL_MEAT_1_wide): ... here.
13251 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13252 (_FP_MUL_MEAT_1_hard): ... here.
13253 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13254 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13255 (_FP_MUL_MEAT_2_wide): ... here.
13256 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13257 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13258 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13259 (_FP_MUL_MEAT_2_gmp): ... here.
13260 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13261 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13262 (_FP_MUL_MEAT_4_wide): ... here.
13263 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13264 (_FP_MUL_MEAT_4_gmp): ... here.
13265 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13266 (_FP_WFRACBITS_DW_S): Likewise.
13267 (_FP_WFRACXBITS_DW_S): Likewise.
13268 (_FP_HIGHBIT_DW_S): Likewise.
13269 (FP_FMA_S): Likewise.
13270 (_FP_FRAC_HIGH_DW_S): Likewise.
13271 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13272 (_FP_WFRACBITS_DW_D): Likewise.
13273 (_FP_WFRACXBITS_DW_D): Likewise.
13274 (_FP_HIGHBIT_DW_D): Likewise.
13275 (FP_FMA_D): Likewise.
13276 (_FP_FRAC_HIGH_DW_D): Likewise.
13277 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13278 (_FP_WFRACBITS_DW_E): Likewise.
13279 (_FP_WFRACXBITS_DW_E): Likewise.
13280 (_FP_HIGHBIT_DW_E): Likewise.
13281 (FP_FMA_E): Likewise.
13282 (_FP_FRAC_HIGH_DW_E): Likewise.
13283 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13284 (_FP_WFRACBITS_DW_Q): Likewise.
13285 (_FP_WFRACXBITS_DW_Q): Likewise.
13286 (_FP_HIGHBIT_DW_Q): Likewise.
13287 (FP_FMA_Q): Likewise.
13288 (_FP_FRAC_HIGH_DW_Q): Likewise.
13289 * soft-fp/fmasf4.c: New file.
13290 * soft-fp/fmadf4.c: Likewise.
13291 * soft-fp/fmatf4.c: Likewise.
13293 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13296 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13300 (index_Slow_SSE4_2): Likewise.
13301 (index_Prefer_PMINUB_for_stringop): Likewise.
13302 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13303 bit_Slow_SSE4_2 is set.
13304 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13307 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13309 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13310 rtld_global._dl_hwcap2.
13311 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13313 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13314 POWER8 feature descriptions defined in _dl_hwcap2.
13315 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13316 string handling for POWER8 feature bits.
13317 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13318 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13319 _dl_powerpc_cap_flags.
13320 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13321 * sysdeps/powerpc/rtld-global-offsets.sym
13322 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13323 _dl_hwcap2 in the rtld_global_ro structure.
13325 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13327 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13328 hardware capabilities in support of AT_HWCAP2.
13329 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13330 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13332 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13333 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13334 explicitly the unknown a_type display mechanism is used.
13335 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13336 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13338 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13339 to macro prototype for AT_HWCAP2 support.
13340 * sysdeps/i386/dl-procinfo.h: Likewise.
13341 * sysdeps/s390/dl-procinfo.h: Likewise.
13342 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13343 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13344 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13345 return -1 for unknown a_type display fallback.
13346 * sysdeps/sparc/dl-procinfo.h: Likewise.
13347 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13348 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13350 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13352 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13353 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13355 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13358 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13359 mprotect making __stack_prot writable.
13361 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13362 Joseph Myers <joseph@codesourcery.com>
13364 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13365 as being properly aligned.
13367 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13369 * dlfcn/modstatic5.c: New file.
13370 * dlfcn/tststatic5.c: New file.
13371 * dlfcn/Makefile (tests): Add tststatic5.
13372 (tests-static): Likewise.
13373 (modules-names): Add modstatic5.
13374 (tststatic5-ENV): New variable.
13375 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13378 * elf/dl-support.c (_dl_main_map): New variable.
13379 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13380 (_dl_nns, _dl_load_adds): Set to 1.
13381 (_dl_initial_searchlist): Refer to _dl_main_map.
13382 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13383 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13384 call to _dl_get_origin.
13385 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13387 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13388 * dlfcn/modstatic3.c: New file.
13389 * dlfcn/tststatic3.c: New file.
13390 * dlfcn/tststatic4.c: New file.
13391 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13392 (tests-static): Likewise.
13393 (modules-names): Add modstatic3.
13394 (tststatic3-ENV, tststatic4-ENV): New variables.
13395 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13396 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13398 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13400 * configure.in (CC): Require GCC version 4.4 or later.
13401 * configure: Regenerated.
13402 * manual/install.texi (Tools for Compilation): Update GCC version
13404 * INSTALL: Regenerated.
13406 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13409 * string/test-memcmp.c (check2): New.
13410 (main): Call check2.
13412 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13414 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13417 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13419 (dl_open_worker) [!SHARED]: ... here.
13421 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13423 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13425 2013-06-25 Richard Henderson <rth@redhat.com>
13427 * locale/programs/locarchive.c: Include <libc-internal.h>
13429 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13431 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13432 trailing whitespace removed.
13434 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13437 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13438 * locale/programs/locarchive.c: Include libc-mmap.h.
13439 (prepare_address_space): Take two new outputs (the mmap base and len).
13440 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13442 (create_archive): Declare new mmap base and len values for
13443 prepare_address_space, and store the result in ah.
13444 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13445 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13446 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13447 Declare new mmap base and len values for
13448 prepare_address_space, and store the result in new_ah.
13449 (open_archive): Declare new mmap base and len values for
13450 prepare_address_space, and store the result in ah.
13451 (close_archive): If ah->mmap_base is not NULL, use that and
13452 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13453 * sysdeps/generic/libc-mmap.h: New file.
13455 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13457 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13458 (ALIGN_UP): Likewise.
13459 (PTR_ALIGN_DOWN): Likewise.
13460 (PTR_ALIGN_UP): Likewise.
13462 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13464 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13465 entry mapped to PPC_PLATFORM_POWER8.
13466 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13468 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13469 (_dl_string_platform): Add case for exporting platform position for
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13472 search path to sysdeps/powerpc/powerpc32/power8 directory.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13474 search path to sysdeps/powerpc/powerpc64/power8 directory.
13475 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13476 power7 directories.
13477 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13478 power7 directories.
13480 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13482 * INSTALL: Regenerate.
13484 * nscd/connections.c (nscd_init): Fix comment.
13486 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13488 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13491 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13492 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13494 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13496 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13498 (DL_DST_REQ_STATIC): Remove macro.
13500 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13503 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13504 with a shift of 0 bits.
13506 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13508 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13511 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13514 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13516 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13518 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13519 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13520 accepts -fno-tree-loop-distribute-patterns.
13521 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13522 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13524 * string/memset.c (memset): Likewise.
13525 * string/test-memmove.c (simple_memmove): Disable loop transformation
13527 * string/test-memset.c (simple_memset): Likewise.
13528 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13529 * benchtests/bench-memset.c (simple_memset): Likewise.
13530 * configure: Regenerated.
13532 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13534 * math/test-misc.c (main): Ignore fesetround failure when failures
13535 of subsequent rounding tests would be ignored.
13538 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13539 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13540 * math/fegetenv.c (__fegetenv): Return 0.
13541 * math/fegetexcept.c (fegetexcept): Return 0.
13542 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13544 * math/feholdexcpt.c (feholdexcept): Return 0.
13545 * math/fesetenv.c (__fesetenv): Return 0.
13546 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13547 argument FE_TONEAREST.
13548 * math/feupdateenv.c (__feupdateenv): Return 0.
13549 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13551 2013-06-18 Roland McGrath <roland@hack.frob.com>
13553 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13554 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13555 ($(objpfx)rtld-%.os rules): Use them.
13557 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13559 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13562 2013-06-17 Roland McGrath <roland@hack.frob.com>
13564 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13565 length of target pattern, then descending length of dependency pattern.
13566 * configure.in (AWK): Require gawk 3.1.2 or newer.
13567 * manual/install.texi (Tools for Compilation): Say that we do.
13568 * configure: Regenerated.
13570 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13571 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13572 * scripts/sysd-rules.awk: ... this new script.
13573 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13574 than a glob-style pattern.
13576 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13578 * math/test-misc.c (main): Do not treat incorrectly rounded
13579 conversions as failure unless ROUNDING_TESTS passes.
13581 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13584 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13585 restore exception state around main square root computation, then
13586 check for inexactness explicitly.
13588 * math/libm-test.inc (fma_test_data): Add another test.
13590 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13592 * manual/threads.texi (Non-POSIX Extensions): New document
13593 node. Document pthread_getattr_default_np and
13594 pthread_setattr_default_np.
13596 * Versions.def (libpthread): Add GLIBC_2.18.
13597 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13606 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13617 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13620 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13622 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13623 H.J. Lu <hjl.tools@gmail.com>
13626 * sysdeps/x86_64/rtld-memset.c: Remove file.
13627 * sysdeps/x86_64/rtld-memset.S: New file.
13629 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13631 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13632 (test_in_one_mode): Take arguments for whether the rounding mode
13633 is supported for each floating-point type.
13634 (do_test): Pass new arguments to test_in_one_mode using
13637 2013-06-13 Roland McGrath <roland@hack.frob.com>
13639 * posix/tst-waitid.c (do_test): Distinguish different instances of
13640 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13641 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13642 before entering the kernel for waitpid.
13644 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13646 * NEWS: Fix note on clock function precision. Text by Roland
13649 2013-06-13 Roland McGrath <roland@hack.frob.com>
13651 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13652 it into place only when and if the sanity check passes.
13654 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13656 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13657 output for whether conversion result is exact. Take argument
13658 indicating whether type is IBM long double.
13659 (round_for_all): Change need_exact field to ibm_ld.
13660 * stdlib/tst-strtod-round.c (struct exactness): New type.
13661 (struct test): Change bool ld_ok field to struct exactness exact.
13662 (TEST): Update all definitions for change to field.
13663 (tests): Regenerate array contents.
13664 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13665 field value. Check for IBM long double here.
13666 (do_test): Update calls to test_in_one_mode.
13668 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13671 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13672 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13674 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13677 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13678 generated by the compiler on loop optimizations.
13679 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13680 general definitions.
13682 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13684 * math/bug-nextafter.c: Include <math-tests.h>.
13685 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13687 * math/bug-nexttoward.c: Include <math-tests.h>.
13688 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13690 * math/test-misc.c: Include <math-tests.h>.
13691 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13694 2013-06-12 Andreas Jaeger <aj@suse.de>
13696 * po/ia.po: Update Interlingua translation from translation
13699 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13701 * include/fenv.h: Include stdbool.h.
13702 (struct rm_ctx): New structure.
13703 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13705 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13706 (SET_RESTORE_ROUNDF): Likewise.
13707 (SET_RESTORE_ROUNDL): Likewise.
13708 (SET_RESTORE_ROUND_NOEX): Likewise.
13709 (SET_RESTORE_ROUND_NOEXF): Likewise.
13710 (SET_RESTORE_ROUND_NOEXL): Likewise.
13711 (SET_RESTORE_ROUND_53BIT): Likewise.
13712 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13713 (libc_feresetround_noexf_ctx): Likewise.
13714 (libc_feresetround_noexl_ctx): Likewise.
13715 (libc_feholdsetround_53bit_ctx): Likewise.
13716 (libc_feresetround_53bit_ctx): Likewise.
13717 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13718 (libc_feholdexcept_setround_sse_ctx): New function.
13719 (libc_fesetenv_sse_ctx): Likewise.
13720 (libc_feupdateenv_sse_ctx): Likewise.
13721 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13722 (libc_feholdexcept_setround_387_ctx): Likewise.
13723 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13724 (libc_feholdsetround_387_prec_ctx): Likewise.
13725 (libc_feholdsetround_387_ctx): Likewise.
13726 (libc_feholdsetround_387_53bit_ctx): Likewise.
13727 (libc_feholdsetround_sse_ctx): Likewise.
13728 (libc_feresetround_sse_ctx): Likewise.
13729 (libc_feresetround_387_ctx): Likewise.
13730 (libc_feupdateenv_387_ctx): Likewise.
13731 (libc_feholdexcept_setroundf_ctx): Define macro.
13732 (libc_fesetenvf_ctx): Likewise.
13733 (libc_feupdateenvf_ctx): Likewise.
13734 (libc_feholdsetroundf_ctx): Likewise.
13735 (libc_feresetroundf_ctx): Likewise.
13736 (libc_feholdexcept_setround_ctx): Likewise.
13737 (libc_fesetenv_ctx): Likewise.
13738 (libc_feupdateenv_ctx): Likewise.
13739 (libc_feholdsetround_ctx): Likewise.
13740 (libc_feresetround_ctx): Likewise.
13741 (libc_feholdexcept_setroundl_ctx): Likewise.
13742 (libc_feupdateenvl_ctx): Likewise.
13743 (libc_feholdsetroundl_ctx): Likewise.
13744 (libc_feresetroundl_ctx): Likewise.
13745 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13746 (libc_feresetround_53bit_ctx): Likewise.
13748 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13750 * locale/iso-639.def: Convert to UTF-8.
13752 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13754 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13755 (EXCEPTION_TESTS_double): Likewise.
13756 (EXCEPTION_TESTS_long_double): Likewise.
13757 (EXCEPTION_TESTS): Likewise.
13758 * math/libm-test.inc (test_exceptions): Only test exceptions if
13759 EXCEPTION_TESTS (FLOAT).
13761 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13763 * benchtests/Makefile (string-bench): Add strcpy_chk and
13765 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13766 * benchtests/bench-stpcpy_chk.c: New file.
13767 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13768 * benchtests/bench-strcpy_chk.c: New file.
13769 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13771 (do_test): Likewise.
13773 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13775 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13776 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13777 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13778 with tabs where appropriate.
13779 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13781 [PPC_PLATFORM_PPC440]: Likewise.
13782 [PPC_PLATFORM_PPC464]: Likewise.
13783 [PPC_PLATFORM_PPC476]: Likewise.
13784 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13785 ppc464, and ppc476 platform strings merging from ports/
13788 2013-06-11 Andreas Schwab <schwab@suse.de>
13791 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13792 (from_ucs4_idx): Regenerate.
13793 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13794 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13795 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13796 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13797 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13798 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13799 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13800 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13801 from FROM_LOOP and TO_LOOP specific macros.
13802 (BODY): Handle combining characters.
13803 * iconvdata/BIG5HKSCS.irreversible: Update.
13804 * iconvdata/BIG5HKSCS.precomposed: New file.
13805 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13807 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13809 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13811 * include/sys/time.h: Fix indentation and add copyright header.
13813 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13814 (do_test): Likewise.
13815 * string/test-memchr.c (do_one_test): Likewise.
13816 (do_test): Likewise.
13817 * string/test-memcmp.c (do_one_test): Likewise.
13818 (do_test): Likewise.
13819 * string/test-memcpy.c (do_one_test): Likewise.
13820 (do_test): Likewise.
13821 * string/test-memmem.c (do_one_test): Likewise.
13822 (do_test): Likewise.
13823 (do_random_tests): Likewise.
13824 * string/test-memmove.c (do_one_test): Likewise.
13825 (do_test): Likewise.
13826 * string/test-memset.c (do_one_test): Likewise.
13827 (do_test): Likewise.
13828 * string/test-rawmemchr.c (do_one_test): Likewise.
13829 (do_test): Likewise.
13830 * string/test-strcasecmp.c (do_one_test): Likewise.
13831 (do_test): Likewise.
13832 * string/test-strcasestr.c (do_one_test): Likewise.
13833 (do_test): Likewise.
13834 * string/test-strcat.c (do_one_test): Likewise.
13835 (do_test): Likewise.
13836 * string/test-strchr.c (do_one_test): Likewise.
13837 (do_test): Likewise.
13838 * string/test-strcmp.c (do_one_test): Likewise.
13839 (do_test): Likewise.
13840 * string/test-strcpy.c (do_one_test): Likewise.
13841 (do_test): Likewise.
13842 * string/test-string.h: Likewise.
13843 (test_init): Likewise.
13844 * string/test-strlen.c (do_one_test): Likewise.
13845 (do_test): Likewise.
13846 * string/test-strncasecmp.c (do_one_test): Likewise.
13847 (do_test): Likewise.
13848 * string/test-strncat.c (do_one_test): Likewise.
13849 (do_test): Likewise.
13850 * string/test-strncmp.c (do_one_test): Likewise.
13851 (do_test_limit): Likewise.
13852 (do_test): Likewise.
13853 * string/test-strncpy.c (do_one_test): Likewise.
13854 (do_test): Likewise.
13855 * string/test-strnlen.c (do_one_test): Likewise.
13856 (do_test): Likewise.
13857 * string/test-strpbrk.c (do_one_test): Likewise.
13858 (do_test): Likewise.
13859 * string/test-strrchr.c (do_one_test): Likewise.
13860 (do_test): Likewise.
13861 * string/test-strspn.c (do_one_test): Likewise.
13862 (do_test): Likewise.
13863 * string/test-strstr.c (do_one_test): Likewise.
13864 (do_test): Likewise.
13866 * benchtests/Makefile (string-bench): Add string benchmarks.
13867 * benchtests/bench-bcopy-ifunc.c: New file.
13868 * benchtests/bench-bcopy.c: New file.
13869 * benchtests/bench-bzero-ifunc.c: New file.
13870 * benchtests/bench-bzero.c: New file.
13871 * benchtests/bench-memccpy-ifunc.c: New file.
13872 * benchtests/bench-memccpy.c: New file.
13873 * benchtests/bench-memchr-ifunc.c: New file.
13874 * benchtests/bench-memchr.c: New file.
13875 * benchtests/bench-memcmp-ifunc.c: New file.
13876 * benchtests/bench-memcmp.c: New file.
13877 * benchtests/bench-memmem-ifunc.c: New file.
13878 * benchtests/bench-memmem.c: New file.
13879 * benchtests/bench-memmove-ifunc.c: New file.
13880 * benchtests/bench-memmove.c: New file.
13881 * benchtests/bench-mempcpy-ifunc.c: New file.
13882 * benchtests/bench-mempcpy.c: New file.
13883 * benchtests/bench-memset-ifunc.c: New file.
13884 * benchtests/bench-memset.c: New file.
13885 * benchtests/bench-rawmemchr-ifunc.c: New file.
13886 * benchtests/bench-rawmemchr.c: New file.
13887 * benchtests/bench-stpcpy-ifunc.c: New file.
13888 * benchtests/bench-stpcpy.c: New file.
13889 * benchtests/bench-stpncpy-ifunc.c: New file.
13890 * benchtests/bench-stpncpy.c: New file.
13891 * benchtests/bench-strcasecmp-ifunc.c: New file.
13892 * benchtests/bench-strcasecmp.c: New file.
13893 * benchtests/bench-strcasestr-ifunc.c: New file.
13894 * benchtests/bench-strcasestr.c: New file.
13895 * benchtests/bench-strcat-ifunc.c: New file.
13896 * benchtests/bench-strcat.c: New file.
13897 * benchtests/bench-strchr-ifunc.c: New file.
13898 * benchtests/bench-strchr.c: New file.
13899 * benchtests/bench-strchrnul-ifunc.c: New file.
13900 * benchtests/bench-strchrnul.c: New file.
13901 * benchtests/bench-strcmp-ifunc.c: New file.
13902 * benchtests/bench-strcmp.c: New file.
13903 * benchtests/bench-strcpy-ifunc.c: New file.
13904 * benchtests/bench-strcpy.c: New file.
13905 * benchtests/bench-strcspn-ifunc.c: New file.
13906 * benchtests/bench-strcspn.c: New file.
13907 * benchtests/bench-strlen-ifunc.c: New file.
13908 * benchtests/bench-strlen.c: New file.
13909 * benchtests/bench-strncasecmp-ifunc.c: New file.
13910 * benchtests/bench-strncasecmp.c: New file.
13911 * benchtests/bench-strncat-ifunc.c: New file.
13912 * benchtests/bench-strncat.c: New file.
13913 * benchtests/bench-strncmp-ifunc.c: New file.
13914 * benchtests/bench-strncmp.c: New file.
13915 * benchtests/bench-strncpy-ifunc.c: New file.
13916 * benchtests/bench-strncpy.c: New file.
13917 * benchtests/bench-strnlen-ifunc.c: New file.
13918 * benchtests/bench-strnlen.c: New file.
13919 * benchtests/bench-strpbrk-ifunc.c: New file.
13920 * benchtests/bench-strpbrk.c: New file.
13921 * benchtests/bench-strrchr-ifunc.c: New file.
13922 * benchtests/bench-strrchr.c: New file.
13923 * benchtests/bench-strspn-ifunc.c: New file.
13924 * benchtests/bench-strspn.c: New file.
13925 * benchtests/bench-strstr-ifunc.c: New file.
13926 * benchtests/bench-strstr.c: New file.
13928 * benchtests/Makefile: Disable parallel execution of targets.
13929 (string-bench): Add memcpy.
13930 (benchset): New variable to store a list of benchmark sets.
13931 (bench-func): Renamed from bench.
13932 (bench-set): New target.
13933 (bench): Depend on bench-func and bench-set.
13934 * benchtests/README: Add section on benchmark sets.
13935 * benchtests/bench-memcpy-ifunc.c: New file.
13936 * benchtests/bench-memcpy.c: New file.
13937 * benchtests/bench-string.h: New file.
13939 2013-06-11 Andreas Schwab <schwab@suse.de>
13942 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13943 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13944 values in the triple.
13945 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13946 terminator in the group key.
13948 2013-06-11 Andreas Jaeger <aj@suse.de>
13950 * po/zh_TW.po: Update Chinese (traditional) translation from
13951 translation project.
13953 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13955 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13956 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13957 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13959 (clock_getcpuclockid): Likewise.
13960 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13961 Add weak_alias and libc_hidden_def.
13962 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13963 * rt/clock_gettime.c (clock_gettime): Rename to
13964 __clock_gettime. Add weak_alias and libc_hidden_def.
13965 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13966 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13967 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13968 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13969 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13971 * rt/clock_settime.c (clock_settime): Rename to
13972 __clock_settime. Add weak_alias and libc_hidden_def.
13973 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13975 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13977 * mach/err_boot.sub: Remove trailing whitespace.
13978 * mach/err_ipc.sub: Likewise.
13979 * mach/err_mach.sub: Likewise.
13981 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13982 (ROUNDING_TESTS_double): Likewise.
13983 (ROUNDING_TESTS_long_double): Likewise.
13984 (ROUNDING_TESTS): Likewise.
13985 * math/libm-test.inc: Include <math-tests.h>.
13986 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13987 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13988 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13989 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13991 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13993 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13996 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13998 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13999 otherwise empty TRANS lines.
14000 * sysdeps/gnu/errlist.c: Regenerated.
14002 * catgets/gencat.c (error_print): Use (void) in function
14004 * crypt/crypt_util.c (__init_des): Likewise.
14005 * crypt/speeds.c (Stop): Likewise.
14007 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14008 * inet/ruserpass.c (token): Likewise.
14009 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14010 * intl/localealias.c (extend_alias_table): Likewise.
14011 * intl/plural-exp.c (init_germanic_plural): Likewise.
14012 * libio/fcloseall.c (__fcloseall): Likewise.
14013 * libio/genops.c (_IO_flush_all): Likewise.
14014 (_IO_flush_all_linebuffered): Likewise.
14015 (_IO_cleanup): Likewise.
14016 (_IO_iter_begin): Likewise.
14017 (_IO_iter_end): Likewise.
14018 (_IO_list_lock): Likewise.
14019 (_IO_list_unlock): Likewise.
14020 (_IO_list_resetlock): Likewise.
14021 * libio/getchar.c (getchar): Likewise.
14022 * libio/getchar_u.c (getchar_unlocked): Likewise.
14023 * libio/getwchar.c (getwchar): Likewise.
14024 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14025 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14026 * login/getpt.c (__getpt): Likewise.
14027 * login/tst-utmp.c (main): Likewise.
14028 * malloc/hooks.c (__malloc_check_init): Likewise.
14029 * malloc/malloc.c (__malloc_stats): Likewise.
14030 * malloc/mtrace.c (tr_break): Likewise.
14031 (mtrace): Likewise.
14032 (muntrace): Likewise.
14033 * misc/fstab.c (endfsent): Likewise.
14034 * misc/getclktck.c (__getclktck): Likewise.
14035 * misc/getdtsz.c (__getdtablesize): Likewise.
14036 * misc/gethostid.c (gethostid): Likewise.
14037 * misc/getpagesize.c (__getpagesize): Likewise.
14038 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14039 (__get_nprocs): Likewise.
14040 (__get_phys_pages): Likewise.
14041 (__get_avphys_pages): Likewise.
14042 * misc/getttyent.c (getttyent): Likewise.
14043 (setttyent): Likewise.
14044 (endttyent): Likewise.
14045 * misc/getusershell.c (getusershell): Likewise.
14046 (endusershell): Likewise.
14047 (setusershell): Likewise.
14048 (initshells): Likewise.
14049 * misc/hsearch.c (__hdestroy): Likewise.
14050 * misc/sync.c (sync): Likewise.
14051 * misc/syslog.c (closelog_internal): Likewise.
14052 (closelog): Likewise.
14053 * misc/ttyslot.c (ttyslot): Likewise.
14054 * misc/vhangup.c (vhangup): Likewise.
14055 * posix/fork.c (__fork): Likewise.
14056 * posix/getegid.c (__getegid): Likewise.
14057 * posix/geteuid.c (__geteuid): Likewise.
14058 * posix/getgid.c (__getgid): Likewise.
14059 * posix/getpid.c (__getpid): Likewise.
14060 * posix/getppid.c (__getppid): Likewise.
14061 * posix/getuid.c (__getuid): Likewise.
14062 * posix/pause.c (pause): Likewise.
14063 * posix/setpgrp.c (setpgrp): Likewise.
14064 * posix/setsid.c (__setsid): Likewise.
14065 * posix/test-vfork.c (noop): Likewise.
14066 * resolv/gethnamaddr.c (_endhtent): Likewise.
14067 (_gethtent): Likewise.
14068 (ht_endhostent): Likewise.
14069 (gethostent): Likewise.
14070 (dns_service): Likewise.
14071 * stdlib/drand48.c (drand48): Likewise.
14072 * stdlib/lrand48.c (lrand48): Likewise.
14073 * stdlib/mrand48.c (mrand48): Likewise.
14074 * stdlib/rand.c (rand): Likewise.
14075 * stdlib/random.c (__random): Likewise.
14076 * stdlib/setenv.c (clearenv): Likewise.
14077 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14078 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14079 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14080 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14081 (__get_nprocs): Likewise.
14082 (__get_phys_pages): Likewise.
14083 (__get_avphys_pages): Likewise.
14084 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14085 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14086 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14087 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14088 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14089 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14090 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14091 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14092 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14093 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14094 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14095 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14096 * sysdeps/posix/clock.c (clock): Likewise.
14097 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14098 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14099 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14100 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14101 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14103 (__get_nprocs_conf): Likewise.
14104 (__get_phys_pages): Likewise.
14105 (__get_avphys_pages): Likewise.
14106 * time/clock.c (clock): Likewise.
14107 * time/tzset.c (__tzname_max): Likewise.
14109 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14111 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14112 (__bswap_32): Do not use "register".
14113 * crypt/crypt.c (_ufc_doit_r): Likewise.
14114 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14115 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14116 * gmon/gmon.c (__monstartup): Likewise.
14117 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14118 * hurd/hurdmalloc.c (more_memory): Likewise.
14119 (malloc): Likewise.
14121 (realloc): Likewise.
14122 (malloc_fork_prepare): Likewise.
14123 (malloc_fork_parent): Likewise.
14124 (malloc_fork_child): Likewise.
14125 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14126 (_svcauth_des): Likewise.
14127 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14128 * inet/inet_net.c (inet_network): Likewise.
14129 * inet/inet_netof.c (inet_netof): Likewise.
14130 * inet/rcmd.c (__validuser2_sa): Likewise.
14131 * io/fts.c (fts_open): Likewise.
14132 (fts_load): Likewise.
14133 (fts_close): Likewise.
14134 (fts_read): Likewise.
14135 (fts_children): Likewise.
14136 (fts_build): Likewise.
14137 (fts_stat): Likewise.
14138 (fts_sort): Likewise.
14139 (fts_alloc): Likewise.
14140 (fts_lfree): Likewise.
14141 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14142 (_IO_file_xsgetn): Likewise.
14143 (_IO_file_xsgetn_mmap): Likewise.
14144 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14145 (_IO_cookie_write): Likewise.
14146 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14147 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14148 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14149 * malloc/obstack.c (_obstack_begin): Likewise.
14150 (_obstack_begin_1): Likewise.
14151 (_obstack_newchunk): Likewise.
14152 (_obstack_allocated_p): Likewise.
14153 (obstack_free): Likewise.
14154 (_obstack_memory_used): Likewise.
14155 * misc/getttyent.c (getttynam): Likewise.
14156 (getttyent): Likewise.
14159 * misc/getusershell.c (initshells): Likewise.
14160 * misc/syslog.c (__vsyslog_chk): Likewise.
14161 * misc/ttyslot.c (ttyslot): Likewise.
14162 * nis/nis_hash.c (__nis_hash): Likewise.
14163 * posix/fnmatch_loop.c (FCT): Likewise.
14164 * posix/getconf.c (print_all): Likewise.
14166 * posix/getopt.c (exchange): Likewise.
14167 * posix/glob.c (globfree): Likewise.
14168 (prefix_array): Likewise.
14169 (__glob_pattern_type): Likewise.
14170 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14171 (NS_GET32): Likewise.
14172 (NS_PUT16): Likewise.
14173 (NS_PUT32): Likewise.
14174 * resolv/gethnamaddr.c (getanswer): Likewise.
14175 (gethostbyname2): Likewise.
14176 (gethostbyaddr): Likewise.
14177 (_gethtent): Likewise.
14178 (_gethtbyname2): Likewise.
14179 (_gethtbyaddr): Likewise.
14180 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14181 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14182 * resolv/res_init.c (__res_vinit): Likewise.
14183 (net_mask): Likewise.
14184 * resolv/res_mkquery.c (outchar): Likewise.
14186 * stdio-common/printf_fp.c (outchar): Likewise.
14188 * stdio-common/printf_fphex.c (outchar): Likewise.
14190 * stdio-common/printf_size.c (outchar): Likewise.
14192 * stdio-common/test_rdwr.c (main): Likewise.
14193 * stdio-common/tfformat.c (matches): Likewise.
14194 * stdio-common/vfprintf.c (outchar): Likewise.
14195 (printf_unknown): Likewise.
14196 (buffered_vfprintf): Likewise.
14197 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14198 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14199 (ReadFile): Likewise.
14200 * stdlib/qsort.c (SWAP): Likewise.
14201 (_quicksort): Likewise.
14202 * stdlib/setenv.c (__add_to_environ): Likewise.
14203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14204 * stdlib/strtol_l.c (__strtol_l): Likewise.
14205 * stdlib/tst-strtod.c (main): Likewise.
14206 * stdlib/tst-strtol.c (main): Likewise.
14207 * stdlib/tst-strtoll.c (main): Likewise.
14208 * string/bits/string2.h (__strcmp_cc): Likewise.
14209 (__strcmp_cg): Likewise.
14210 (__strcspn_c1): Likewise.
14211 (__strcspn_c2): Likewise.
14212 (__strcspn_c3): Likewise.
14213 (__strspn_c1): Likewise.
14214 (__strspn_c2): Likewise.
14215 (__strspn_c3): Likewise.
14216 (__strsep_1c): Likewise.
14217 (__strsep_2c): Likewise.
14218 (__strsep_3c): Likewise.
14219 * string/memccpy.c (__memccpy): Likewise.
14220 * string/stpcpy.c (__stpcpy): Likewise.
14221 * string/strcmp.c (strcmp): Likewise.
14222 * string/strrchr.c (strrchr): Likewise.
14223 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14225 * sysdeps/mach/hurd/getcwd.c
14226 (_hurd_canonicalize_directory_name_internal): Likewise.
14227 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14228 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14229 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14230 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14231 Likewise, in both definitions.
14232 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14234 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14235 64] (__bswap_64): Likewise.
14236 * time/test_time.c (main): Likewise.
14237 * time/tzfile.c (__tzfile_read): Likewise.
14238 (__tzfile_compute): Likewise.
14239 * time/tzset.c (__tzset_parse_tz): Likewise.
14240 (tzset_internal): Likewise.
14241 (compute_change): Likewise.
14242 * wcsmbs/wcscat.c (__wcscat): Likewise.
14243 * wcsmbs/wcschr.c (wcschr): Likewise.
14244 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14245 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14246 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14247 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14248 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14249 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14250 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14251 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14252 * wcsmbs/wmemset.c (wmemset): Likewise.
14254 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14256 * scripts/config.guess: Update to version 2013-05-16.
14257 * scripts/config.sub: Update to version 2013-04-24.
14258 * scripts/install-sh: Update to version 2011-11-20.07.
14259 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14260 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14262 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14264 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14265 * elf/sln.c: Likewise.
14266 * hurd/hurd/ioctl.h: Likewise.
14267 * hurd/hurdmalloc.c: Likewise.
14268 * hurd/xattr.c: Likewise.
14269 * include/shlib-compat.h: Likewise.
14270 * inet/ruserpass.c: Likewise.
14271 * libio/iofgets_u.c: Likewise.
14272 * libio/iofgetws_u.c: Likewise.
14273 * locale/programs/ld-identification.c: Likewise.
14274 * locale/programs/ld-time.c: Likewise.
14275 * mach/msg-destroy.c: Likewise.
14276 * nss/nss_files/files-netgrp.c: Likewise.
14277 * resolv/res_data.c: Likewise.
14278 * soft-fp/op-1.h: Likewise.
14279 * soft-fp/op-2.h: Likewise.
14280 * soft-fp/op-4.h: Likewise.
14281 * soft-fp/op-common.h: Likewise.
14282 * stdio-common/printf_fphex.c: Likewise.
14283 * stdlib/strtod_l.c: Likewise.
14284 * sunrpc/rpc/clnt.h: Likewise.
14285 * sysdeps/generic/framestate.c: Likewise.
14286 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14287 * sysdeps/i386/bsd-setjmp.S: Likewise.
14288 * sysdeps/i386/__longjmp.S: Likewise.
14289 * sysdeps/i386/setjmp.S: Likewise.
14290 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14291 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14308 * sysdeps/ieee754/support.c: Likewise.
14309 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14310 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14311 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14312 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14313 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14314 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14315 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14316 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14317 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14318 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14319 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14320 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14321 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14322 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14323 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14324 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14325 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14328 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14330 * posix/transbug.c: Remove executable mode.
14332 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14334 * crypt/speeds.c: Remove trailing whitespace.
14335 * dlfcn/default.c: Likewise.
14336 * elf/ifuncdep2.c: Likewise.
14337 * elf/ifuncmain1.c: Likewise.
14338 * elf/ifuncmain1vis.c: Likewise.
14339 * elf/testobj.h: Likewise.
14340 * elf/tst-stackguard1.c: Likewise.
14341 * gmon/sys/gmon.h: Likewise.
14342 * hurd/hurdmsg.c: Likewise.
14343 * hurd/new-fd.c: Likewise.
14344 * hurd/ports-get.c: Likewise.
14345 * iconvdata/ibm1008_420.c: Likewise.
14346 * inet/tst-getni1.c: Likewise.
14347 * inet/tst-getni2.c: Likewise.
14348 * libio/ioungetc.c: Likewise.
14349 * libio/wfiledoalloc.c: Likewise.
14350 * manual/libm-err-tab.pl: Likewise.
14351 * math/w_dremf.c: Likewise.
14352 * misc/ftruncate.c: Likewise.
14353 * posix/bug-glob2.c: Likewise.
14354 * posix/tst-pcre.c: Likewise.
14355 * posix/wait4.c: Likewise.
14356 * resolv/README: Likewise.
14357 * resolv/res_debug.h: Likewise.
14358 * resolv/tst-inet_ntop.c: Likewise.
14359 * setjmp/bug269-setjmp.c: Likewise.
14360 * soft-fp/extended.h: Likewise.
14361 * soft-fp/op-1.h: Likewise.
14362 * soft-fp/op-2.h: Likewise.
14363 * soft-fp/op-4.h: Likewise.
14364 * soft-fp/op-8.h: Likewise.
14365 * soft-fp/testit.c: Likewise.
14366 * stdio-common/bug16.c: Likewise.
14367 * stdlib/random.c: Likewise.
14368 * sunrpc/rpcsvc/rquota.x: Likewise.
14369 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14370 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14371 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14372 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14373 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14374 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14375 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14376 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14377 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14378 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14379 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14396 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14398 * sysdeps/ieee754/s_lib_version.c: Likewise.
14399 * sysdeps/mach/hurd/check_fds.c: Likewise.
14400 * sysdeps/mach/hurd/getsockname.c: Likewise.
14401 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14402 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14403 * sysdeps/powerpc/bits/link.h: Likewise.
14404 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14405 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14406 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14407 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14408 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14409 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14410 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14411 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14412 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14413 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14414 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14415 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14416 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14417 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14418 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14419 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14420 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14423 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14425 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14426 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14427 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14428 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14430 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14432 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14435 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14436 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14437 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14438 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14439 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14440 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14441 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14442 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14443 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14444 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14445 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14446 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14447 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14448 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14449 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14450 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14451 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14452 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14453 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14456 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14457 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14459 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14460 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14461 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14464 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14465 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14466 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14467 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14468 * sysdeps/powerpc/sysdep.h: Likewise.
14469 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14470 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14471 * sysdeps/sh/dl-trampoline.S: Likewise.
14472 * sysdeps/sh/memset.S: Likewise.
14473 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14474 * sysdeps/sh/strlen.S: Likewise.
14475 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14476 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14477 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14478 * sysdeps/sparc/sparc32/rem.S: Likewise.
14479 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14480 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14481 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14482 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14483 * sysdeps/sparc/sparc32/urem.S: Likewise.
14484 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14485 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14486 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14487 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14488 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14489 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14490 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14491 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14492 * sysdeps/unix/bsd/times.c: Likewise.
14493 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14494 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14498 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14499 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14500 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14501 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14502 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14503 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14504 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14505 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14506 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14507 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14508 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14509 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14510 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14511 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14512 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14513 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14514 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14515 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14516 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14517 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14518 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14519 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14521 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14522 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14523 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14524 * sysdeps/x86_64/strcspn.S: Likewise.
14526 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14528 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14529 generated file. Regenerate properly from gen-translit.pl.
14530 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14531 locale/C-translit.h.
14533 2013-06-05 Andreas Schwab <schwab@suse.de>
14536 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14537 week as 6 instead of -1.
14538 * time/tst-strptime.c (day_tests): Add test case.
14540 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14542 * sysdeps/generic/math_private.h
14543 (libc_feholdexcept_setround_53bit): Replace with
14544 libc_feholdsetround_53bit.
14545 (libc_feupdateenv_53bit): Replace with
14546 libc_feresetround_53bit.
14547 (SET_RESTORE_ROUND_53BIT): Adjust.
14549 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14551 * string/test-strchrnul.c: Add copyright header.
14553 * posix/tst-getaddrinfo4.c: Increase test timeout.
14555 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14558 * math/libm-test.inc (MAX_EXP): Remove
14560 (ulp): Use MIN_EXP - MANT_DIG.
14561 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14563 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14565 * po/be.po: Revert last change.
14566 * po/zh_CN.po: Likewise.
14567 * po/header.pot: Likewise.
14569 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14571 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14572 link-libc-deps to empty as target-specific variable.
14573 * Makerules (link-libc-args): New variable.
14574 (libc-for-link): Likewise.
14575 (link-libc-deps): Likewise.
14576 (lib%.so): Depend on $(link-libc-deps). Link with
14578 (build-module): Link with $(link-libc-args).
14579 (build-module-asneeded): Likewise.
14580 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14582 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14583 target-specific variable.
14584 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14585 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14586 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14588 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14590 ($(objpfx)libpcprofile.so): Likewise.
14591 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14593 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14594 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14597 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14598 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14599 * login/Makefile ($(objpfx)libutil.so): Likewise.
14600 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14601 * math/Makefile ($(objpfx)libm.so): Likewise.
14602 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14603 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14604 variable instead of depending directly on libc.
14605 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14606 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14608 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14610 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14611 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14612 ($(objpfx)libanl.so): Likewise.
14613 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14615 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14617 * sysdeps/i386/fpu/Makefile: Remove file.
14618 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14619 ($(objpfx)libm.so): Remove dependency on ld.so.
14621 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14624 * nis/yp_xdr.c (XDRMAXNAME): Define.
14625 (XDRMAXRECORD): Define.
14626 (xdr_domainname): Use XDRMAXNAME.
14627 (xdr_mapname): Likewise.
14628 (xdr_peername): Likewise.
14629 (xdr_keydat): Use XDRMAXRECORD.
14630 (xdr_valdat): Likewise.
14632 2013-05-30 Jeff Law <law@redhat.com>
14635 * manual/errno.texi (ESTALE): Update to account for more than
14636 just NFS file systems.
14637 * sysdeps/gnu/errlist.c: Regenerated.
14639 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14642 * elf/Makefile (tests): Add tst-null-argv.
14643 (modules-names): Add tst-null-argv-lib.
14644 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14645 (tst-null-argv-ENV): Set environment for tst-null-argv.
14646 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14647 (RTLD_PROGNAME): New macro.
14648 * elf/tst-null-argv.c: New test case.
14649 * elf/tst-null-argv-lib.c: Library for test case.
14650 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14651 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14652 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14653 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14654 * elf/dl-init.c (call_init): Likewise.
14655 (_dl_init): Likewise.
14656 * elf/dl-load.c (print_search_path): Likewise.
14657 (_dl_map_object): Likewise.
14658 * elf/dl-lookup.c (do_lookup_x): Likewise.
14659 (add_dependency): Likewise.
14660 (_dl_lookup_symbol_x): Likewise.
14661 (_dl_debug_bindings): Likewise.
14662 * elf/dl-open.c (_dl_show_scope): Likewise.
14663 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14664 * elf/dl-version.c (match_symbol): Likewise.
14665 (_dl_check_map_versions): Likewise.
14666 * elf/rtld.c (dl_main): Likewise.
14667 (print_unresolved): Use RTLD_PROGNAME.
14668 (print_missing_version): Likewise.
14669 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14670 (elf_machine_rela): Likewise.
14671 * sysdeps/powerpc/powerpc32/dl-machine.c
14672 (__process_machine_rela): Likewise.
14673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14675 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14677 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14679 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14680 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14686 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14688 * po/be.po: Add descriptive title.
14689 * po/zh_CN.po: Likewise.
14690 * po/header.pot: Likewise.
14692 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14694 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14696 (enlarge_archive): Likewise.
14698 2013-05-28 Ben North <ben@redfrontdoor.org>
14700 * manual/arith.texi (frexp): It is the magnitude of the return
14701 value which lies in [0.5, 1), not the return value itself.
14703 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14707 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14709 * stdio-common/bug26.c (main): Correct fscanf template.
14711 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14712 declare _dl_skip_args.
14714 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14717 * manual/platform.texi: Add missing @end deftypefun.
14719 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14722 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14723 bit of mantissa of 2^16382.
14724 * math/libm-test.inc (hypot_test_data): Add more tests.
14726 * math/libm-test.inc: Add drem and pow10 to list of tested
14728 (pow10_test): New function.
14729 (drem_test): Likewise.
14730 (drem_test_tonearest): Likewise.
14731 (drem_test_towardzero): Likewise.
14732 (drem_test_downward): Likewise.
14733 (drem_test_upward): Likewise.
14734 (main): Call the new functions.
14736 * math/libm-test.inc (finite_test_data): Remove.
14737 (finite_test): Run tests from isfinite_test_data.
14738 (gamma_test_data): Remove.
14739 (gamma_test): Run tests from lgamma_test_data.
14740 * sysdeps/i386/fpu/libm-test-ulps: Update.
14741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14743 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14745 * manual/platform.texi: Add PowerPC PPR function set documentation.
14746 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14749 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14751 * math/libm-test.inc (MAX_EXP): Define.
14753 (ulp): New function.
14754 (check_float_internal): Use ULPDIFF.
14755 (cpow_test): Disable failing test.
14756 (check_ulp): Test ulp() implemetnation.
14757 (main): Call check_ulp before starting tests.
14759 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14761 * math/gen-libm-test.pl (generate_testfile): Do not handle
14762 START_DATA and END_DATA.
14763 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14765 (acos_tonearest_test_data): Likewise.
14766 (acos_towardzero_test_data): Likewise.
14767 (acos_downward_test_data): Likewise.
14768 (acos_upward_test_data): Likewise.
14769 (acosh_test_data): Likewise.
14770 (asin_test_data): Likewise.
14771 (asin_tonearest_test_data): Likewise.
14772 (asin_towardzero_test_data): Likewise.
14773 (asin_downward_test_data): Likewise.
14774 (asin_upward_test_data): Likewise.
14775 (asinh_test_data): Likewise.
14776 (atan_test_data): Likewise.
14777 (atanh_test_data): Likewise.
14778 (atan2_test_data): Likewise.
14779 (cabs_test_data): Likewise.
14780 (cacos_test_data): Likewise.
14781 (cacosh_test_data): Likewise.
14782 (carg_test_data): Likewise.
14783 (casin_test_data): Likewise.
14784 (casinh_test_data): Likewise.
14785 (catan_test_data): Likewise.
14786 (catanh_test_data): Likewise.
14787 (cbrt_test_data): Likewise.
14788 (ccos_test_data): Likewise.
14789 (ccosh_test_data): Likewise.
14790 (ceil_test_data): Likewise.
14791 (cexp_test_data): Likewise.
14792 (cimag_test_data): Likewise.
14793 (clog_test_data): Likewise.
14794 (clog10_test_data): Likewise.
14795 (conj_test_data): Likewise.
14796 (copysign_test_data): Likewise.
14797 (cos_test_data): Likewise.
14798 (cos_tonearest_test_data): Likewise.
14799 (cos_towardzero_test_data): Likewise.
14800 (cos_downward_test_data): Likewise.
14801 (cos_upward_test_data): Likewise.
14802 (cosh_test_data): Likewise.
14803 (cosh_tonearest_test_data): Likewise.
14804 (cosh_towardzero_test_data): Likewise.
14805 (cosh_downward_test_data): Likewise.
14806 (cosh_upward_test_data): Likewise.
14807 (cpow_test_data): Likewise.
14808 (cproj_test_data): Likewise.
14809 (creal_test_data): Likewise.
14810 (csin_test_data): Likewise.
14811 (csinh_test_data): Likewise.
14812 (csqrt_test_data): Likewise.
14813 (ctan_test_data): Likewise.
14814 (ctan_tonearest_test_data): Likewise.
14815 (ctan_towardzero_test_data): Likewise.
14816 (ctan_downward_test_data): Likewise.
14817 (ctan_upward_test_data): Likewise.
14818 (ctanh_test_data): Likewise.
14819 (ctanh_tonearest_test_data): Likewise.
14820 (ctanh_towardzero_test_data): Likewise.
14821 (ctanh_downward_test_data): Likewise.
14822 (ctanh_upward_test_data): Likewise.
14823 (erf_test_data): Likewise.
14824 (erfc_test_data): Likewise.
14825 (exp_test_data): Likewise.
14826 (exp_tonearest_test_data): Likewise.
14827 (exp_towardzero_test_data): Likewise.
14828 (exp_downward_test_data): Likewise.
14829 (exp_upward_test_data): Likewise.
14830 (exp10_test_data): Likewise.
14831 (exp2_test_data): Likewise.
14832 (expm1_test_data): Likewise.
14833 (fabs_test_data): Likewise.
14834 (fdim_test_data): Likewise.
14835 (finite_test_data): Likewise.
14836 (floor_test_data): Likewise.
14837 (fma_test_data): Likewise.
14838 (fma_towardzero_test_data): Likewise.
14839 (fma_downward_test_data): Likewise.
14840 (fma_upward_test_data): Likewise.
14841 (fmax_test_data): Likewise.
14842 (fmin_test_data): Likewise.
14843 (fmod_test_data): Likewise.
14844 (fpclassify_test_data): Likewise.
14845 (frexp_test_data): Likewise.
14846 (gamma_test_data): Likewise.
14847 (hypot_test_data): Likewise.
14848 (ilogb_test_data): Likewise.
14849 (isfinite_test_data): Likewise.
14850 (isgreater_test_data): Likewise.
14851 (isgreaterequal_test_data): Likewise.
14852 (isinf_test_data): Likewise.
14853 (isless_test_data): Likewise.
14854 (islessequal_test_data): Likewise.
14855 (islessgreater_test_data): Likewise.
14856 (isnan_test_data): Likewise.
14857 (isnormal_test_data): Likewise.
14858 (issignaling_test_data): Likewise.
14859 (isunordered_test_data): Likewise.
14860 (j0_test_data): Likewise.
14861 (j1_test_data): Likewise.
14862 (jn_test_data): Likewise.
14863 (ldexp_test_data): Likewise.
14864 (lgamma_test_data): Likewise.
14865 (lrint_test_data): Likewise.
14866 (lrint_tonearest_test_data): Likewise.
14867 (lrint_towardzero_test_data): Likewise.
14868 (lrint_downward_test_data): Likewise.
14869 (lrint_upward_test_data): Likewise.
14870 (llrint_test_data): Likewise.
14871 (llrint_tonearest_test_data): Likewise.
14872 (llrint_towardzero_test_data): Likewise.
14873 (llrint_downward_test_data): Likewise.
14874 (llrint_upward_test_data): Likewise.
14875 (log_test_data): Likewise.
14876 (log10_test_data): Likewise.
14877 (log1p_test_data): Likewise.
14878 (log2_test_data): Likewise.
14879 (logb_test_data): Likewise.
14880 (logb_downward_test_data): Likewise.
14881 (lround_test_data): Likewise.
14882 (llround_test_data): Likewise.
14883 (modf_test_data): Likewise.
14884 (nearbyint_test_data): Likewise.
14885 (nextafter_test_data): Likewise.
14886 (nexttoward_test_data): Likewise.
14887 (pow_test_data): Likewise.
14888 (pow_tonearest_test_data): Likewise.
14889 (pow_towardzero_test_data): Likewise.
14890 (pow_downward_test_data): Likewise.
14891 (pow_upward_test_data): Likewise.
14892 (remainder_test_data): Likewise.
14893 (remainder_tonearest_test_data): Likewise.
14894 (remainder_towardzero_test_data): Likewise.
14895 (remainder_downward_test_data): Likewise.
14896 (remainder_upward_test_data): Likewise.
14897 (remquo_test_data): Likewise.
14898 (rint_test_data): Likewise.
14899 (rint_tonearest_test_data): Likewise.
14900 (rint_towardzero_test_data): Likewise.
14901 (rint_downward_test_data): Likewise.
14902 (rint_upward_test_data): Likewise.
14903 (round_test_data): Likewise.
14904 (scalb_test_data): Likewise.
14905 (scalbn_test_data): Likewise.
14906 (scalbln_test_data): Likewise.
14907 (signbit_test_data): Likewise.
14908 (sin_test_data): Likewise.
14909 (sin_tonearest_test_data): Likewise.
14910 (sin_towardzero_test_data): Likewise.
14911 (sin_downward_test_data): Likewise.
14912 (sin_upward_test_data): Likewise.
14913 (sincos_test_data): Likewise.
14914 (sinh_test_data): Likewise.
14915 (sinh_tonearest_test_data): Likewise.
14916 (sinh_towardzero_test_data): Likewise.
14917 (sinh_downward_test_data): Likewise.
14918 (sinh_upward_test_data): Likewise.
14919 (sqrt_test_data): Likewise.
14920 (tan_test_data): Likewise.
14921 (tan_tonearest_test_data): Likewise.
14922 (tan_towardzero_test_data): Likewise.
14923 (tan_downward_test_data): Likewise.
14924 (tan_upward_test_data): Likewise.
14925 (tanh_test_data): Likewise.
14926 (tgamma_test_data): Likewise.
14927 (trunc_test_data): Likewise.
14928 (y0_test_data): Likewise.
14929 (y1_test_data): Likewise.
14930 (yn_test_data): Likewise.
14931 (significand_test_data): Likewise.
14933 * math/gen-libm-test.pl (@functions): Remove variable.
14934 (generate_testfile): Don't handle START and END lines.
14935 * math/libm-test.inc (START): New macro.
14937 (END_COMPLEX): Likewise.
14938 (acos_test): Use END macro without arguments.
14939 (acos_test_tonearest): Likewise.
14940 (acos_test_towardzero): Likewise.
14941 (acos_test_downward): Likewise.
14942 (acos_test_upward): Likewise.
14943 (acosh_test): Likewise.
14944 (asin_test): Likewise.
14945 (asin_test_tonearest): Likewise.
14946 (asin_test_towardzero): Likewise.
14947 (asin_test_downward): Likewise.
14948 (asin_test_upward): Likewise.
14949 (asinh_test): Likewise.
14950 (atan_test): Likewise.
14951 (atanh_test): Likewise.
14952 (atan2_test): Likewise.
14953 (cabs_test): Likewise.
14954 (cacos_test): Use END_COMPLEX macro without arguments.
14955 (cacosh_test): Likewise.
14956 (carg_test): Use END macro without arguments.
14957 (casin_test): Use END_COMPLEX macro without arguments.
14958 (casinh_test): Likewise.
14959 (catan_test): Likewise.
14960 (catanh_test): Likewise.
14961 (cbrt_test): Use END macro without arguments.
14962 (ccos_test): Use END_COMPLEX macro without arguments.
14963 (ccosh_test): Likewise.
14964 (ceil_test): Use END macro without arguments.
14965 (cexp_test): Use END_COMPLEX macro without arguments.
14966 (cimag_test): Use END macro without arguments.
14967 (clog_test): Use END_COMPLEX macro without arguments.
14968 (clog10_test): Likewise.
14969 (conj_test): Likewise.
14970 (copysign_test): Use END macro without arguments.
14971 (cos_test): Likewise.
14972 (cos_test_tonearest): Likewise.
14973 (cos_test_towardzero): Likewise.
14974 (cos_test_downward): Likewise.
14975 (cos_test_upward): Likewise.
14976 (cosh_test): Likewise.
14977 (cosh_test_tonearest): Likewise.
14978 (cosh_test_towardzero): Likewise.
14979 (cosh_test_downward): Likewise.
14980 (cosh_test_upward): Likewise.
14981 (cpow_test): Use END_COMPLEX macro without arguments.
14982 (cproj_test): Likewise.
14983 (creal_test): Use END macro without arguments.
14984 (csin_test): Use END_COMPLEX macro without arguments.
14985 (csinh_test): Likewise.
14986 (csqrt_test): Likewise.
14987 (ctan_test): Likewise.
14988 (ctan_test_tonearest): Likewise.
14989 (ctan_test_towardzero): Likewise.
14990 (ctan_test_downward): Likewise.
14991 (ctan_test_upward): Likewise.
14992 (ctanh_test): Likewise.
14993 (ctanh_test_tonearest): Likewise.
14994 (ctanh_test_towardzero): Likewise.
14995 (ctanh_test_downward): Likewise.
14996 (ctanh_test_upward): Likewise.
14997 (erf_test): Use END macro without arguments.
14998 (erfc_test): Likewise.
14999 (exp_test): Likewise.
15000 (exp_test_tonearest): Likewise.
15001 (exp_test_towardzero): Likewise.
15002 (exp_test_downward): Likewise.
15003 (exp_test_upward): Likewise.
15004 (exp10_test): Likewise.
15005 (exp2_test): Likewise.
15006 (expm1_test): Likewise.
15007 (fabs_test): Likewise.
15008 (fdim_test): Likewise.
15009 (finite_test): Likewise.
15010 (floor_test): Likewise.
15011 (fma_test): Likewise.
15012 (fma_test_towardzero): Likewise.
15013 (fma_test_downward): Likewise.
15014 (fma_test_upward): Likewise.
15015 (fmax_test): Likewise.
15016 (fmin_test): Likewise.
15017 (fmod_test): Likewise.
15018 (fpclassify_test): Likewise.
15019 (frexp_test): Likewise.
15020 (gamma_test): Likewise.
15021 (hypot_test): Likewise.
15022 (ilogb_test): Likewise.
15023 (isfinite_test): Likewise.
15024 (isgreater_test): Likewise.
15025 (isgreaterequal_test): Likewise.
15026 (isinf_test): Likewise.
15027 (isless_test): Likewise.
15028 (islessequal_test): Likewise.
15029 (islessgreater_test): Likewise.
15030 (isnan_test): Likewise.
15031 (isnormal_test): Likewise.
15032 (issignaling_test): Likewise.
15033 (isunordered_test): Likewise.
15034 (j0_test): Likewise.
15035 (j1_test): Likewise.
15036 (jn_test): Likewise.
15037 (ldexp_test): Likewise.
15038 (lgamma_test): Likewise.
15039 (lrint_test): Likewise.
15040 (lrint_test_tonearest): Likewise.
15041 (lrint_test_towardzero): Likewise.
15042 (lrint_test_downward): Likewise.
15043 (lrint_test_upward): Likewise.
15044 (llrint_test): Likewise.
15045 (llrint_test_tonearest): Likewise.
15046 (llrint_test_towardzero): Likewise.
15047 (llrint_test_downward): Likewise.
15048 (llrint_test_upward): Likewise.
15049 (log_test): Likewise.
15050 (log10_test): Likewise.
15051 (log1p_test): Likewise.
15052 (log2_test): Likewise.
15053 (logb_test): Likewise.
15054 (logb_test_downward): Likewise.
15055 (lround_test): Likewise.
15056 (llround_test): Likewise.
15057 (modf_test): Likewise.
15058 (nearbyint_test): Likewise.
15059 (nextafter_test): Likewise.
15060 (nexttoward_test): Likewise.
15061 (pow_test): Likewise.
15062 (pow_test_tonearest): Likewise.
15063 (pow_test_towardzero): Likewise.
15064 (pow_test_downward): Likewise.
15065 (pow_test_upward): Likewise.
15066 (remainder_test): Likewise.
15067 (remainder_test_tonearest): Likewise.
15068 (remainder_test_towardzero): Likewise.
15069 (remainder_test_downward): Likewise.
15070 (remainder_test_upward): Likewise.
15071 (remquo_test): Likewise.
15072 (rint_test): Likewise.
15073 (rint_test_tonearest): Likewise.
15074 (rint_test_towardzero): Likewise.
15075 (rint_test_downward): Likewise.
15076 (rint_test_upward): Likewise.
15077 (round_test): Likewise.
15078 (scalb_test): Likewise.
15079 (scalbn_test): Likewise.
15080 (scalbln_test): Likewise.
15081 (signbit_test): Likewise.
15082 (sin_test): Likewise.
15083 (sin_test_tonearest): Likewise.
15084 (sin_test_towardzero): Likewise.
15085 (sin_test_downward): Likewise.
15086 (sin_test_upward): Likewise.
15087 (sincos_test): Likewise.
15088 (sinh_test): Likewise.
15089 (sinh_test_tonearest): Likewise.
15090 (sinh_test_towardzero): Likewise.
15091 (sinh_test_downward): Likewise.
15092 (sinh_test_upward): Likewise.
15093 (sqrt_test): Likewise.
15094 (tan_test): Likewise.
15095 (tan_test_tonearest): Likewise.
15096 (tan_test_towardzero): Likewise.
15097 (tan_test_downward): Likewise.
15098 (tan_test_upward): Likewise.
15099 (tanh_test): Likewise.
15100 (tgamma_test): Likewise.
15101 (trunc_test): Likewise.
15102 (y0_test): Likewise.
15103 (y1_test): Likewise.
15104 (yn_test): Likewise.
15105 (significand_test): Likewise.
15107 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15110 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15112 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15115 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15116 __ppc_mdoio and __ppc_mdoom.
15117 * manual/platform.texi: Document new functions __ppc_yield,
15118 __ppc_mdoio and __ppc_mdoom.
15120 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15122 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15123 (main): Mention "tls" pseudo-hwcap is legacy.
15124 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15126 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15128 * math/gen-libm-test.pl (parse_args): Output only string of
15129 arguments as text for test name, not full call or descriptions of
15130 tests for extra outputs.
15131 (generate_testfile): Do not pass function name to parse_args.
15132 Generate this_func variable from START.
15133 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15135 (struct test_ff_f_data): Likewise.
15136 (test_ff_f_data_nexttoward): Likewise.
15137 (struct test_fi_f_data): Likewise.
15138 (struct test_fl_f_data): Likewise.
15139 (struct test_if_f_data): Likewise.
15140 (struct test_fff_f_data): Likewise.
15141 (struct test_c_f_data): Likewise.
15142 (struct test_f_f1_data): Likewise. Remove field extra_name.
15143 (struct test_fF_f1_data): Likewise.
15144 (struct test_ffI_f1_data): Likewise.
15145 (struct test_c_c_data): Rename test_name field to arg_str.
15146 (struct test_cc_c_data): Likewise.
15147 (struct test_f_i_data): Likewise.
15148 (struct test_ff_i_data): Likewise.
15149 (struct test_f_l_data): Likewise.
15150 (struct test_f_L_data): Likewise.
15151 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15153 (COMMON_TEST_SETUP): New macro.
15154 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15155 (COMMON_TEST_CLEANUP): Likewise.
15156 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15157 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15159 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15160 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15162 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15163 (RUN_TEST_fff_f): Take argument string. Call new setup and
15165 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15166 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15168 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15169 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15171 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15172 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15174 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15175 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15177 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15178 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15180 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15181 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15183 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15184 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15186 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15187 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15189 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15190 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15192 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15193 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15195 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15196 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15198 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15199 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15201 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15202 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15204 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15205 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15207 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15208 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15210 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15212 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15214 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15215 to _sifields.sigfault.
15216 (si_addr_lsb): Define new macro.
15217 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15219 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15221 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15224 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15226 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15228 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15229 loading the domain.
15231 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15233 * math/gen-libm-test.pl (parse_args): Do not include expected
15234 result in test name.
15235 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15238 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15242 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15244 * benchtests/Makefile: Sort function entries.
15246 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15247 tanh, asinh, acosh, atanh.
15248 * benchtests/acos-inputs: New file.
15249 * benchtests/acosh-inputs: New file.
15250 * benchtests/asin-inputs: New file.
15251 * benchtests/asinh-inputs: New file.
15252 * benchtests/atanh-inputs: New file.
15253 * benchtests/cosh-inputs: New file.
15254 * benchtests/log-inputs: New file.
15255 * benchtests/sinh-inputs: New file.
15256 * benchtests/tanh-inputs: New file.
15258 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15261 * posix/tst-getaddrinfo4.c: New test.
15262 * posix/Makefile (tests): Add it.
15264 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15267 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15268 when no services were used.
15269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15270 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15272 2013-05-21 Andreas Schwab <schwab@suse.de>
15275 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15276 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15278 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15279 redundant variable declarations and reallocation of buffer when
15280 parsing as IPv6 address. Always set NSS status when called from
15281 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15282 buffer too small. Correct computation of needed size.
15283 * nss/Makefile (tests): Add test-digits-dots.
15284 * nss/test-digits-dots.c: New test.
15286 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15288 * benchtests/Makefile: Remove instructions for adding
15290 * benchtests/README: New file to explain how to execute and
15291 enhance the benchmark tests.
15293 2013-05-21 Andreas Schwab <schwab@suse.de>
15296 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15297 * setjmp/tst-sigsetjmp.c: New test.
15299 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15301 * sysdeps/x86_64/memset.S (memset): New implementation.
15302 (__bzero): Likewise.
15303 (__memset_tail): New function.
15305 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15307 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15308 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15309 __memcpy_sse2_unaligned ifunc selection.
15310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15311 Add memcpy-sse2-unaligned.S.
15312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15313 Add: __memcpy_sse2_unaligned.
15315 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15318 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15319 math_force_eval before restoring floating-point envrionment.
15320 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15323 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15325 (__nearbyintl): Use math_force_eval before restoring
15326 floating-point environment.
15327 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15329 * math/gen-libm-test.pl (special_functions): Remove.
15330 (parse_args): Don't handle TEST_extra. Handle functions with no
15332 * math/libm-test.inc (struct test_sincos_data): Replace with
15333 struct test_fFF_11_data.
15334 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15335 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15336 (sincos_test_data): Change element type to struct
15337 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15338 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15339 RUN_TEST_LOOP_sincos.
15340 * math/README.libm-test: Don't mention special handling of
15341 individual functions.
15342 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15343 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15344 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15346 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15349 * math/gen-libm-test.pl (get_variable): Remove function.
15350 (parse_args): Don't show pointer parameters to call in test
15351 names. Use "extra output N" in test names for extra outputs
15352 rather than naming variables.
15354 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15357 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15358 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15359 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15361 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15363 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15366 * math/gen-libm-test.pl (@tests): Remove variable.
15367 ($count): Likewise.
15368 (new_test): Remove function.
15369 (show_exceptions): New function.
15370 (special_functions): Use show_exceptions instead of new_test.
15371 (parse_args): Likewise.
15372 (generate_testfile): Pass only function name in generated call to
15373 print_max_error or print_complex_max_error.
15374 (get_ulps): Do not handle complex tests specially.
15375 (output_test): Rename to ...
15376 (get_all_ulps_for_test): ... this. Return a string rather than
15377 printing to a file. Require ulps to be present.
15378 (output_ulps): Generate arrays rather than #defines.
15379 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15380 (struct ulp_data): New type.
15381 (BUILD_COMPLEX_ULP): Remove macro.
15382 (compare_ulp_data): New function.
15383 (find_ulps): Likewise.
15384 (find_test_ulps): Likewise.
15385 (find_function_ulps): Likewise.
15386 (find_complex_function_ulps): Likewise.
15387 (print_max_error): Determine allowed ulps using
15388 find_function_ulps.
15389 (print_complex_max_error): Determine allowed ulps using
15390 find_complex_function_ulps.
15391 (check_float_internal): Determine max ulps using find_test_ulps.
15392 (check_float): Do not take max_ulp parameter. Update call to
15393 check_float_internal.
15394 (check_complex): Likewise.
15395 (check_int): Do not take max_ulp parameter.
15396 (check_long): Likewise.
15397 (check_bool): Likewise.
15398 (check_longlong): Likewise.
15399 (struct test_f_f_data): Remove max_ulp field.
15400 (struct test_ff_f_data): Likewise.
15401 (struct test_ff_f_data_nexttoward): Likewise.
15402 (struct test_fi_f_data): Likewise.
15403 (struct test_fl_f_data): Likewise.
15404 (struct test_if_f_data): Likewise.
15405 (struct test_fff_f_data): Likewise.
15406 (struct test_c_f_data): Likewise.
15407 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15408 (struct test_fF_f1_data): Likewise.
15409 (struct test_ffI_f1_data): Likewise.
15410 (struct test_c_c_data): Remove max_ulp field.
15411 (struct test_cc_c_data): Likewise.
15412 (struct test_f_i_data): Likewise.
15413 (struct test_ff_i_data): Likewise.
15414 (struct test_f_l_data): Likewise.
15415 (struct test_f_L_data): Likewise.
15416 (struct test_sincos_data): Likewise.
15417 (RUN_TEST_f_f): Do not handle ulps.
15418 (RUN_TEST_LOOP_f_f): Likewise.
15419 (RUN_TEST_2_f): Likewise.
15420 (RUN_TEST_LOOP_2_f): Likewise.
15421 (RUN_TEST_fff_f): Likewise.
15422 (RUN_TEST_LOOP_fff_f): Likewise.
15423 (RUN_TEST_c_f): Likewise.
15424 (RUN_TEST_LOOP_c_f): Likewise.
15425 (RUN_TEST_f_f1): Likewise.
15426 (RUN_TEST_LOOP_f_f1): Likewise.
15427 (RUN_TEST_fF_f1): Likewise.
15428 (RUN_TEST_LOOP_fF_f1): Likewise.
15429 (RUN_TEST_fI_f1): Likewise.
15430 (RUN_TEST_LOOP_fI_f1): Likewise.
15431 (RUN_TEST_ffI_f1): Likewise.
15432 (RUN_TEST_LOOP_ffI_f1): Likewise.
15433 (RUN_TEST_c_c): Likewise.
15434 (RUN_TEST_LOOP_c_c): Likewise.
15435 (RUN_TEST_cc_c): Likewise.
15436 (RUN_TEST_LOOP_cc_c): Likewise.
15437 (RUN_TEST_f_i): Likewise.
15438 (RUN_TEST_LOOP_f_i): Likewise.
15439 (RUN_TEST_f_i_tg): Likewise.
15440 (RUN_TEST_LOOP_f_i_tg): Likewise.
15441 (RUN_TEST_ff_i_tg): Likewise.
15442 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15443 (RUN_TEST_f_b): Likewise.
15444 (RUN_TEST_LOOP_f_b): Likewise.
15445 (RUN_TEST_f_b_tg): Likewise.
15446 (RUN_TEST_LOOP_f_b_tg): Likewise.
15447 (RUN_TEST_f_l): Likewise.
15448 (RUN_TEST_LOOP_f_l): Likewise.
15449 (RUN_TEST_f_L): Likewise.
15450 (RUN_TEST_LOOP_f_L): Likewise.
15451 (RUN_TEST_sincos): Likewise.
15452 (RUN_TEST_LOOP_sincos): Likewise.
15454 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15458 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15459 main case of finite arguments, set rounding mode to FE_TONEAREST
15460 and discard exceptions.
15461 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15463 (remainder_tonearest_test_data): New variable.
15464 (remainder_test_tonearest): New function.
15465 (remainder_towardzero_test_data): New variable.
15466 (remainder_test_towardzero): New function.
15467 (remainder_downward_test_data): New variable.
15468 (remainder_test_downward): New function.
15469 (remainder_upward_test_data): New variable.
15470 (remainder_test_upward): New function.
15471 (main): Call the new test functions.
15473 * math/libm-test.inc (struct test_f_f1_data): Remove field
15475 (struct test_fF_f1_data): Likewise.
15476 (struct test_ffI_f1_data): Likewise.
15477 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15478 based on value of EXTRA_EXPECTED.
15479 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15480 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15481 EXTRA_VAR based on value of EXTRA_EXPECTED.
15482 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15483 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15484 EXTRA_VAR based on value of EXTRA_EXPECTED.
15485 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15486 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15487 EXTRA_VAR based on value of EXTRA_EXPECTED.
15488 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15489 * math/gen-libm-test.pl (parse_args): Don't output initializers
15490 for extra output values.
15492 * math/libm-test.inc (check_int): Expect result to be exactly
15493 equal to expected value and do not handle ulps.
15494 (check_long): Likewise.
15495 (check_longlong): Likewise.
15497 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15499 (cimag_test_data): Likewise.
15500 (conj_test_data): Likewise.
15501 (copysign_test_data): Likewise.
15502 (cproj_test_data): Likewise.
15503 (creal_test_data): Likewise.
15504 (fabs_test_data): Likewise.
15505 (fdim_test_data): Likewise.
15506 (finite_test_data): Likewise.
15507 (floor_test_data): Likewise.
15508 (fmax_test_data): Likewise.
15509 (fmin_test_data): Likewise.
15510 (fmod_test_data): Likewise.
15511 (fpclassify_test_data): Likewise.
15512 (frexp_test_data): Likewise.
15513 (ilogb_test_data): Likewise.
15514 (isfinite_test_data): Likewise.
15515 (isgreater_test_data): Likewise.
15516 (isgreaterequal_test_data): Likewise.
15517 (isinf_test_data): Likewise.
15518 (isless_test_data): Likewise.
15519 (islessequal_test_data): Likewise.
15520 (islessgreater_test_data): Likewise.
15521 (isnan_test_data): Likewise.
15522 (isnormal_test_data): Likewise.
15523 (issignaling_test_data): Likewise.
15524 (isunordered_test_data): Likewise.
15525 (ldexp_test_data): Likewise.
15526 (lrint_test_data): Likewise.
15527 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15528 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15529 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15530 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15531 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15532 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15534 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15535 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15536 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15537 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15539 (lrint_downward_test_data): Test for "inexact" exceptions.
15540 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15541 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15542 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15544 (lrint_upward_test_data): Test for "inexact" exceptions.
15545 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15547 (llrint_test_data): Test for "inexact" exceptions.
15548 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15549 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15550 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15551 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15552 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15553 (llrint_downward_test_data): Test for "inexact" exceptions.
15554 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15555 (llrint_upward_test_data): Test for "inexact" exceptions.
15556 (logb_test_data): Likewise.
15557 (logb_downward_test_data): Likewise.
15558 (nextafter_test_data): Likewise.
15559 (nexttoward_test_data): Likewise.
15560 (remainder_test_data): Likewise.
15561 (remquo_test_data): Likewise.
15562 (scalbn_test_data): Likewise.
15563 (scalbln_test_data): Likewise.
15564 (signbit_test_data): Likewise.
15565 (sqrt_test_data): Likewise.
15566 (significand_test_data): Likewise.
15568 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15571 * benchtests/bench-modf.c (struct args): Mark arg0 as
15573 * scripts/bench.pl: Mark members of struct args as volatile.
15575 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15578 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15579 negative infinity on POWER6 or lower.
15580 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15582 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15585 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15586 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15587 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15588 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15589 (_FP_SETQNAN): New macro.
15590 (_FP_SETQNAN_SEMIRAW): Likewise.
15591 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15592 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15593 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15594 (FP_EXTEND): Use _FP_FRAC_SNANP.
15595 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15596 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15598 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15603 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15605 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15606 with DIVIDE_BY_ZERO_EXCEPTION.
15607 (gamma_test_data): Likewise.
15608 (lgamma_test_data): Likewise.
15609 (log_test_data): Likewise.
15610 (log10_test_data): Likewise.
15611 (log2_test_data): Likewise.
15612 (tgamma_test_data): Likewise.
15614 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15615 (acos_test_tonearest): Likewise.
15616 (acos_test_towardzero): Likewise.
15617 (acos_test_downward): Likewise.
15618 (acos_test_upward): Likewise.
15619 (acosh_test): Likewise.
15620 (asin_test): Likewise.
15621 (asin_test_tonearest): Likewise.
15622 (asin_test_towardzero): Likewise.
15623 (asin_test_downward): Likewise.
15624 (asin_test_upward): Likewise.
15625 (asinh_test): Likewise.
15626 (atan_test): Likewise.
15627 (atanh_test): Likewise.
15628 (atan2_test): Likewise.
15629 (cabs_test): Likewise.
15630 (cacos_test): Likewise.
15631 (cacosh_test): Likewise.
15632 (casin_test): Likewise.
15633 (casinh_test): Likewise.
15634 (catan_test): Likewise.
15635 (catanh_test): Likewise.
15636 (cbrt_test): Likewise.
15637 (ccos_test): Likewise.
15638 (ccosh_test): Likewise.
15639 (cexp_test): Likewise.
15640 (clog_test): Likewise.
15641 (clog10_test): Likewise.
15642 (cos_test): Likewise.
15643 (cos_test_tonearest): Likewise.
15644 (cos_test_towardzero): Likewise.
15645 (cos_test_downward): Likewise.
15646 (cos_test_upward): Likewise.
15647 (cosh_test): Likewise.
15648 (cosh_test_tonearest): Likewise.
15649 (cosh_test_towardzero): Likewise.
15650 (cosh_test_downward): Likewise.
15651 (cosh_test_upward): Likewise.
15652 (cpow_test): Likewise.
15653 (csin_test): Likewise.
15654 (csinh_test): Likewise.
15655 (csqrt_test): Likewise.
15656 (ctan_test): Likewise.
15657 (ctan_test_tonearest): Likewise.
15658 (ctan_test_towardzero): Likewise.
15659 (ctan_test_downward): Likewise.
15660 (ctan_test_upward): Likewise.
15661 (ctanh_test): Likewise.
15662 (ctanh_test_tonearest): Likewise.
15663 (ctanh_test_towardzero): Likewise.
15664 (ctanh_test_downward): Likewise.
15665 (ctanh_test_upward): Likewise.
15666 (erf_test): Likewise.
15667 (erfc_test): Likewise.
15668 (exp_test): Likewise.
15669 (exp_test_tonearest): Likewise.
15670 (exp_test_towardzero): Likewise.
15671 (exp_test_downward): Likewise.
15672 (exp_test_upward): Likewise.
15673 (exp10_test): Likewise.
15674 (exp2_test): Likewise.
15675 (expm1_test): Likewise.
15676 (fmod_test): Likewise.
15677 (gamma_test): Likewise.
15678 (hypot_test): Likewise.
15679 (j0_test): Likewise.
15680 (j1_test): Likewise.
15681 (jn_test): Likewise.
15682 (lgamma_test): Likewise.
15683 (log_test): Likewise.
15684 (log10_test): Likewise.
15685 (log1p_test): Likewise.
15686 (log2_test): Likewise.
15687 (logb_test_downward): Likewise.
15688 (pow_test): Likewise.
15689 (pow_test_tonearest): Likewise.
15690 (pow_test_towardzero): Likewise.
15691 (pow_test_downward): Likewise.
15692 (pow_test_upward): Likewise.
15693 (remainder_test): Likewise.
15694 (remquo_test): Likewise.
15695 (sin_test): Likewise.
15696 (sin_test_tonearest): Likewise.
15697 (sin_test_towardzero): Likewise.
15698 (sin_test_downward): Likewise.
15699 (sin_test_upward): Likewise.
15700 (sincos_test): Likewise.
15701 (sinh_test): Likewise.
15702 (sinh_test_tonearest): Likewise.
15703 (sinh_test_towardzero): Likewise.
15704 (sinh_test_downward): Likewise.
15705 (sinh_test_upward): Likewise.
15706 (sqrt_test): Likewise.
15707 (tan_test): Likewise.
15708 (tan_test_tonearest): Likewise.
15709 (tan_test_towardzero): Likewise.
15710 (tan_test_downward): Likewise.
15711 (tan_test_upward): Likewise.
15712 (tanh_test): Likewise.
15713 (tgamma_test): Likewise.
15714 (y0_test): Likewise.
15715 (y1_test): Likewise.
15716 (yn_test): Likewise.
15718 * math/gen-libm-test.pl (adjust_arg): Remove function.
15719 (special_function): Remove argument $in_func. Only handle
15720 generating output for tables of tests, not inside functions.
15721 (parse_args): Likewise.
15722 (generate_testfile): Remove variable $in_func. Update call to
15724 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15725 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15726 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15727 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15728 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15729 (MAX_VALUE_INIT): Rename macro to max_value.
15730 (MIN_VALUE_INIT): Rename macro to min_value.
15731 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15732 (plus_zero): Remove variable.
15733 (minus_zero): Likewise.
15734 (plus_infty): Likewise.
15735 (minus_infty): Likewise.
15736 (qnan_value): Likewise.
15737 (max_value): Likewise.
15738 (min_value): Likewise.
15739 (min_subnorm_value): Likewise.
15741 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15743 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15744 uint64_t or uint32_t usage.
15745 * crypt/sha256-block.c: Likewise.
15746 * crypt/sha256-crypt.c: Likewise.
15747 * crypt/sha256.c: Likewise.
15748 * crypt/sha512-block.c: Likewise.
15749 * crypt/sha512-crypt.c: Likewise.
15750 * crypt/sha512.c: Likewise.
15751 * debug/backtrace-tst.c: Likewise.
15752 * debug/pcprofiledump.c: Likewise.
15753 * elf/cache.c: Likewise.
15754 * elf/dl-cache.c: Likewise.
15755 * elf/dl-misc.c: Likewise.
15756 * elf/dl-profile.c: Likewise.
15757 * elf/dl-support.c: Likewise.
15758 * elf/ldconfig.c: Likewise.
15759 * elf/sprof.c: Likewise.
15760 * iconv/dummy-repertoire.c: Likewise.
15761 * iconv/iconv_charmap.c: Likewise.
15762 * iconv/skeleton.c: Likewise.
15763 * iconvdata/8bit-generic.c: Likewise.
15764 * iconvdata/cp737.h: Likewise.
15765 * iconvdata/cp775.h: Likewise.
15766 * iconvdata/ibm1008.h: Likewise.
15767 * iconvdata/ibm1025.h: Likewise.
15768 * iconvdata/ibm1046.h: Likewise.
15769 * iconvdata/ibm1097.h: Likewise.
15770 * iconvdata/ibm1112.h: Likewise.
15771 * iconvdata/ibm1122.h: Likewise.
15772 * iconvdata/ibm1123.h: Likewise.
15773 * iconvdata/ibm1124.h: Likewise.
15774 * iconvdata/ibm1129.h: Likewise.
15775 * iconvdata/ibm1130.h: Likewise.
15776 * iconvdata/ibm1132.h: Likewise.
15777 * iconvdata/ibm1133.h: Likewise.
15778 * iconvdata/ibm1137.h: Likewise.
15779 * iconvdata/ibm1140.h: Likewise.
15780 * iconvdata/ibm1141.h: Likewise.
15781 * iconvdata/ibm1142.h: Likewise.
15782 * iconvdata/ibm1143.h: Likewise.
15783 * iconvdata/ibm1144.h: Likewise.
15784 * iconvdata/ibm1145.h: Likewise.
15785 * iconvdata/ibm1146.h: Likewise.
15786 * iconvdata/ibm1147.h: Likewise.
15787 * iconvdata/ibm1148.h: Likewise.
15788 * iconvdata/ibm1149.h: Likewise.
15789 * iconvdata/ibm1153.h: Likewise.
15790 * iconvdata/ibm1154.h: Likewise.
15791 * iconvdata/ibm1155.h: Likewise.
15792 * iconvdata/ibm1156.h: Likewise.
15793 * iconvdata/ibm1157.h: Likewise.
15794 * iconvdata/ibm1158.h: Likewise.
15795 * iconvdata/ibm1160.h: Likewise.
15796 * iconvdata/ibm1161.h: Likewise.
15797 * iconvdata/ibm1162.h: Likewise.
15798 * iconvdata/ibm1163.h: Likewise.
15799 * iconvdata/ibm1164.h: Likewise.
15800 * iconvdata/ibm1166.h: Likewise.
15801 * iconvdata/ibm1167.h: Likewise.
15802 * iconvdata/ibm12712.h: Likewise.
15803 * iconvdata/ibm1390.h: Likewise.
15804 * iconvdata/ibm1399.h: Likewise.
15805 * iconvdata/ibm16804.h: Likewise.
15806 * iconvdata/ibm4517.h: Likewise.
15807 * iconvdata/ibm4899.h: Likewise.
15808 * iconvdata/ibm4909.h: Likewise.
15809 * iconvdata/ibm4971.h: Likewise.
15810 * iconvdata/ibm5347.h: Likewise.
15811 * iconvdata/ibm803.h: Likewise.
15812 * iconvdata/ibm856.h: Likewise.
15813 * iconvdata/ibm901.h: Likewise.
15814 * iconvdata/ibm902.h: Likewise.
15815 * iconvdata/ibm9030.h: Likewise.
15816 * iconvdata/ibm9066.h: Likewise.
15817 * iconvdata/ibm921.h: Likewise.
15818 * iconvdata/ibm922.h: Likewise.
15819 * iconvdata/ibm9448.h: Likewise.
15820 * iconvdata/isiri-3342.h: Likewise.
15821 * iconvdata/jis0201.h: Likewise.
15822 * include/link.h: Likewise.
15823 * include/netdb.h: Likewise.
15824 * inet/check_native.c: Likewise.
15825 * inet/check_pf.c: Likewise.
15826 * inet/getipv4sourcefilter.c: Likewise.
15827 * inet/getnameinfo.c: Likewise.
15828 * inet/getsourcefilter.c: Likewise.
15829 * inet/htonl.c: Likewise.
15830 * inet/setipv4sourcefilter.c: Likewise.
15831 * inet/setsourcefilter.c: Likewise.
15832 * inet/test-inet6_opt.c: Likewise.
15833 * inet/tst-network.c: Likewise.
15834 * locale/C-collate.c: Likewise.
15835 * locale/C-ctype.c: Likewise.
15836 * locale/C-time.c: Likewise.
15837 * locale/C-translit.h: Likewise.
15838 * locale/loadarchive.c: Likewise.
15839 * locale/programs/3level.h: Likewise.
15840 * locale/programs/charmap.c: Likewise.
15841 * locale/programs/charmap.h: Likewise.
15842 * locale/programs/ld-address.c: Likewise.
15843 * locale/programs/ld-collate.c: Likewise.
15844 * locale/programs/ld-ctype.c: Likewise.
15845 * locale/programs/ld-identification.c: Likewise.
15846 * locale/programs/ld-measurement.c: Likewise.
15847 * locale/programs/ld-messages.c: Likewise.
15848 * locale/programs/ld-monetary.c: Likewise.
15849 * locale/programs/ld-name.c: Likewise.
15850 * locale/programs/ld-numeric.c: Likewise.
15851 * locale/programs/ld-paper.c: Likewise.
15852 * locale/programs/ld-telephone.c: Likewise.
15853 * locale/programs/ld-time.c: Likewise.
15854 * locale/programs/linereader.c: Likewise.
15855 * locale/programs/locale.c: Likewise.
15856 * locale/programs/locarchive.c: Likewise.
15857 * locale/programs/locfile.h: Likewise.
15858 * locale/programs/repertoire.c: Likewise.
15859 * locale/programs/simple-hash.c: Likewise.
15860 * locale/programs/simple-hash.h: Likewise.
15861 * malloc/memusage.c: Likewise.
15862 * malloc/memusagestat.c: Likewise.
15863 * nis/nis_defaults.c: Likewise.
15864 * nis/nis_hash.c: Likewise.
15865 * nis/nis_print.c: Likewise.
15866 * nis/nis_xdr.c: Likewise.
15867 * nscd/connections.c: Likewise.
15868 * nscd/hstcache.c: Likewise.
15869 * nscd/nscd_gethst_r.c: Likewise.
15870 * nscd/nscd_getserv_r.c: Likewise.
15871 * nscd/nscd_helper.c: Likewise.
15872 * nscd/servicescache.c: Likewise.
15873 * nss/makedb.c: Likewise.
15874 * nss/nss_db/db-XXX.c: Likewise.
15875 * nss/nss_db/db-initgroups.c: Likewise.
15876 * nss/nss_db/db-netgrp.c: Likewise.
15877 * nss/nss_files/files-network.c: Likewise.
15878 * nss/nss_files/files-parse.c: Likewise.
15879 * posix/bug-regex5.c: Likewise.
15880 * posix/fnmatch_loop.c: Likewise.
15881 * posix/regcomp.c: Likewise.
15882 * posix/regexec.c: Likewise.
15883 * posix/tst-rfc3484-2.c: Likewise.
15884 * posix/tst-rfc3484-3.c: Likewise.
15885 * posix/tst-rfc3484.c: Likewise.
15886 * resolv/nss_dns/dns-canon.c: Likewise.
15887 * resolv/nss_dns/dns-network.c: Likewise.
15888 * resolv/res_init.c: Likewise.
15889 * resolv/res_mkquery.c: Likewise.
15890 * resolv/tst-aton.c: Likewise.
15891 * stdlib/cxa_atexit.c: Likewise.
15892 * stdlib/cxa_finalize.c: Likewise.
15893 * stdlib/gen-fpioconst.c: Likewise.
15894 * stdlib/strtol_l.c: Likewise.
15895 * string/tst-endian.c: Likewise.
15896 * sunrpc/auth_des.c: Likewise.
15897 * sunrpc/clnt_udp.c: Likewise.
15898 * sunrpc/rtime.c: Likewise.
15899 * sunrpc/svcauth_des.c: Likewise.
15900 * sunrpc/xdr.c: Likewise.
15901 * sunrpc/xdr_intXX_t.c: Likewise.
15902 * sunrpc/xdr_rec.c: Likewise.
15903 * sysdeps/generic/ldconfig.h: Likewise.
15904 * sysdeps/generic/ldsodefs.h: Likewise.
15905 * sysdeps/generic/memusage.h: Likewise.
15906 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15907 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15908 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15912 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15914 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15916 * sysdeps/posix/getaddrinfo.c: Likewise.
15917 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15918 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15919 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15920 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15921 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15922 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15923 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15924 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15925 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15926 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15927 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15928 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15929 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15930 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15931 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15932 * sysdeps/x86_64/dl-tls.h: Likewise.
15933 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15934 * time/alt_digit.c: Likewise.
15935 * time/era.c: Likewise.
15936 * wcsmbs/tst-c16c32-1.c: Likewise.
15938 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15940 * math/libm-test.inc (struct test_sincos_data): New type.
15941 (RUN_TEST_LOOP_sincos): New macro.
15942 (sincos_test_data): New variable.
15943 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15945 2013-05-16 Richard Henderson <rth@redhat.com>
15947 * math/atest-exp2.c (LIMB64): New macro.
15948 (CONSTSZ): New macro.
15949 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15951 (print_mpn_fp): ... to function scope.
15952 (read_mpn_hex): Remove.
15953 (get_log2): Remove.
15954 (exp2_mpn): Use mp_log2.
15955 (main): Use mp_exp1.
15957 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15959 * math/libm-test.inc: Remove comment about not testing "inexact"
15961 (INEXACT_EXCEPTION): New macro.
15962 (NO_INEXACT_EXCEPTION): Likewise.
15963 (INVALID_EXCEPTION_OK): Update value.
15964 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15965 (OVERFLOW_EXCEPTION_OK): Likewise.
15966 (UNDERFLOW_EXCEPTION_OK): Likewise.
15967 (IGNORE_ZERO_INF_SIGN): Likewise.
15968 (ERRNO_UNCHANGED): Likewise.
15969 (ERRNO_EDOM): Likewise.
15970 (ERRNO_ERANGE): Likewise.
15971 (test_exceptions): Handle testing "inexact" exceptions.
15972 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15973 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15974 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15975 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15977 (rint_towardzero_test_data): Likewise.
15978 (rint_downward_test_data): Likewise.
15979 (rint_upward_test_data): Likewise.
15981 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15982 with OVERFLOW_EXCEPTION.
15983 (exp10_test_data): Likewise.
15984 (exp2_test_data): Likewise.
15985 (expm1_test_data): Likewise.
15986 (lgamma_test_data): Likewise.
15987 (pow_test_data): Likewise.
15988 (tgamma_test_data): Likewise.
15989 (yn_test_data): Remove duplicate test of overflow.
15991 * math/libm-test.inc (struct test_cc_c_data): New type.
15992 (RUN_TEST_LOOP_cc_c): New macro.
15993 (cpow_test_data): New variable.
15994 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15996 * math/libm-test.inc (struct test_f_L_data): New type.
15997 (RUN_TEST_LOOP_f_L): New macro.
15998 (llrint_test_data): New variable.
15999 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16000 (llrint_tonearest_test_data): New variable.
16001 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16002 (llrint_towardzero_test_data): New variable.
16003 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16004 (llrint_downward_test_data): New variable.
16005 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16006 (llrint_upward_test_data): New variable.
16007 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16008 (llround_test_data): New variable.
16009 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16011 2013-05-13 Peter Collingbourne <pcc@google.com>
16013 * math/atest-exp2.c (get_log2): Remove const attribute.
16015 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16017 * math/libm-test.inc (struct test_f_l_data): New type.
16018 (RUN_TEST_LOOP_f_l): New macro.
16019 (lrint_test_data): New variable.
16020 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16021 (lrint_tonearest_test_data): New variable.
16022 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16023 (lrint_towardzero_test_data): New variable.
16024 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16025 (lrint_downward_test_data): New variable.
16026 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16027 (lrint_upward_test_data): New variable.
16028 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16029 (lround_test_data): New variable.
16030 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16032 2013-05-15 Peter Collingbourne <pcc@google.com>
16034 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16035 (EXTRACT_WORDS64) Use where appropriate.
16036 (INSERT_WORDS64) Likewise.
16038 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16039 constraints with x constraints.
16040 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16042 * malloc/obstack.c (_obstack_compat): Add initializer.
16044 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16046 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16047 si_trapno and add si_addr_lsb to _sifields.sigfault.
16048 (si_trapno): Remove macro.
16049 (si_addr_lsb): Define new macro.
16050 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16052 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16054 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16055 instead of TEST_f_l.
16056 (llrint_test_tonearest): Likewise.
16057 (llrint_test_towardzero): Likewise.
16058 (llrint_test_downward): Likewise.
16059 (llrint_test_upward): Likewise.
16060 (llround_test): Likewise.
16062 * math/libm-test.inc (struct test_f_i_data): Add comment.
16063 (RUN_TEST_LOOP_f_b): New macro.
16064 (RUN_TEST_LOOP_f_b_tg): Likewise.
16065 (finite_test_data): New variable.
16066 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16067 (isfinite_test_data): New variable.
16068 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16069 (isinf_test_data): New variable.
16070 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16071 (isnan_test_data): New variable.
16072 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16073 (isnormal_test_data): New variable.
16074 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16075 (issignaling_test_data): New variable.
16076 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16077 (signbit_test_data): New variable.
16078 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16080 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16081 with INVALID_EXCEPTION.
16082 (acosh_test_data): Likewise.
16083 (asin_test_data): Likewise.
16084 (atanh_test_data): Likewise.
16085 (fmod_test_data): Likewise.
16086 (log_test_data): Likewise.
16087 (log10_test_data): Likewise.
16088 (log2_test_data): Likewise.
16089 (pow_test_data): Likewise.
16090 (sqrt_test_data): Likewise.
16091 (y0_test_data): Likewise.
16092 (y1_test_data): Likewise.
16093 (yn_test_data): Likewise.
16095 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16098 * math/libm-test.inc (struct test_ff_i_data): New type.
16099 (RUN_TEST_LOOP_ff_i_tg): New macro.
16100 (isgreater_test_data): New variable.
16101 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16102 (isgreaterequal_test_data): New variable.
16103 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16104 (isless_test_data): New variable.
16105 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16106 (islessequal_test_data): New variable.
16107 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16108 (islessgreater_test_data): New variable.
16109 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16110 (isunordered_test_data): New variable.
16111 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16113 2013-05-14 David S. Miller <davem@davemloft.net>
16115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16117 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16119 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16121 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16123 (struct test_f_i_data): Change type of max_ulp to int.
16125 * math/libm-test.inc (test_ffI_f1_data): New type.
16126 (RUN_TEST_LOOP_ffI_f1): New macro.
16127 (remquo_test_data): New variable.
16128 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16130 * setjmp/tst-setjmp-fp.c: New file.
16131 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16132 (link-libm): New variable.
16133 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16135 * math/libm-test.inc (struct test_f_i_data): New type.
16136 (RUN_TEST_LOOP_f_i): New macro.
16137 (RUN_TEST_LOOP_f_i_tg): Likewise.
16138 (fpclassify_test_data): New variable.
16139 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16140 (ilogb_test_data): New variable.
16141 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16143 * math/libm-test.inc (scalbln_test): Correct function name in END
16146 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16147 (RUN_TEST_LOOP_fI_f1): New macro.
16148 (frexp_test_data): New variable.
16149 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16151 * math/libm-test.inc (struct test_fF_f1_data): New type.
16152 (RUN_TEST_LOOP_fF_f1): New macro.
16153 (modf_test_data): New variable.
16154 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16156 * math/libm-test.inc (struct test_f_f1_data): New type.
16157 (RUN_TEST_LOOP_f_f1): New macro.
16158 (gamma_test_data): New variable.
16159 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16160 (lgamma_test_data): New variable.
16161 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16163 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16165 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16166 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16167 (main): Comment "tls" pseudo-hwcap.
16169 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16171 * math/libm-test.inc (struct test_fl_f_data): New type.
16172 (RUN_TEST_LOOP_fl_f): New variable.
16173 (scalbln_test_data): New variable.
16174 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16176 * math/libm-test.inc (struct test_fi_f_data): New type.
16177 (RUN_TEST_LOOP_fi_f): New macro.
16178 (ldexp_test_data): New variable.
16179 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16180 (scalbn_test_data): New variable.
16181 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16183 * math/libm-test.inc (struct test_c_f_data): New type.
16184 (RUN_TEST_LOOP_c_f): New macro.
16185 (cabs_test_data): New variable.
16186 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16187 (carg_test_data): New variable.
16188 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16189 (cimag_test_data): New variable.
16190 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16191 (creal_test_data): New variable.
16192 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16194 * math/libm-test.inc (struct test_if_f_data): New type.
16195 (RUN_TEST_LOOP_if_f): New macro.
16196 (jn_test_data): New variable.
16197 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16198 (yn_test_data): New variable.
16199 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16201 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16203 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16205 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16206 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16208 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16210 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16211 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16212 (bench-deps): Add bench-timing.h.
16213 * benchtests-bench-skeleton.c: Include bench-timing.h.
16214 (main): Use TIMING_* macros instead of clock_gettime.
16215 * benchtests/bench-timing.h: New file.
16218 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16219 Renamed from _LIB_VERSION.
16220 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16222 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16224 * math/libm-test.inc (struct test_fff_f_data): New type.
16225 (RUN_TEST_LOOP_fff_f): New macro.
16226 (fma_test_data): New variable.
16227 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16228 (fma_towardzero_test_data): New variable.
16229 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16230 (fma_downward_test_data): New variable.
16231 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16232 (fma_upward_test_data): New variable.
16233 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16235 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16236 (struct test_c_c_data): New type.
16237 (RUN_TEST_LOOP_c_c): New macro.
16238 (cacos_test_data): New variable.
16239 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16240 (cacosh_test_data): New variable.
16241 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16242 (casin_test_data): New variable.
16243 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16244 (casinh_test_data): New variable.
16245 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16246 (catan_test_data): New variable.
16247 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16248 (catanh_test_data): New variable.
16249 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16250 (ccos_test_data): New variable.
16251 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16252 (ccosh_test_data): New variable.
16253 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16254 (cexp_test_data): New variable.
16255 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16256 (clog_test_data): New variable.
16257 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16258 (clog10_test_data): New variable.
16259 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16260 (conj_test_data): New variable.
16261 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16262 (cproj_test_data): New variable.
16263 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16264 (csin_test_data): New variable.
16265 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16266 (csinh_test_data): New variable.
16267 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16268 (csqrt_test_data): New variable.
16269 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16270 (ctan_test_data): New variable.
16271 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16272 (ctan_tonearest_test_data): New variable.
16273 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16274 (ctan_towardzero_test_data): New variable.
16275 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16276 (ctan_downward_test_data): New variable.
16277 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16278 (ctan_upward_test_data): New variable.
16279 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16280 (ctanh_test_data): New variable.
16281 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16282 (ctanh_tonearest_test_data): New variable.
16283 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16284 (ctanh_towardzero_test_data): New variable.
16285 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16286 (ctanh_downward_test_data): New variable.
16287 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16288 (ctanh_upward_test_data): New variable.
16289 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16290 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16293 * math/libm-test.inc (struct test_ff_f_data): New type.
16294 (struct test_ff_f_data_nexttoward): Likewise.
16295 (RUN_TEST_LOOP_2_f): New macro.
16296 (RUN_TEST_LOOP_ff_f): Likewise.
16297 (atan2_test_data): New variable.
16298 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16299 (copysign_test_data): New variable.
16300 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16301 (fdim_test_data): New variable.
16302 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16303 (fmax_test_data): New variable.
16304 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16305 (fmin_test_data): New variable.
16306 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16307 (fmod_test_data): New variable.
16308 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16309 (hypot_test_data): New variable.
16310 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16311 (nextafter_test_data): New variable.
16312 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16313 (nexttoward_test_data): New variable.
16314 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16315 (pow_test_data): New variable.
16316 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16317 (pow_tonearest_test_data): New variable.
16318 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16319 (pow_towardzero_test_data): New variable.
16320 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16321 (pow_downward_test_data): New variable.
16322 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16323 (pow_upward_test_data): New variable.
16324 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16325 (remainder_test_data): New variable.
16326 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16327 (scalb_test_data): New variable.
16328 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16329 * sysdeps/i386/fpu/libm-test-ulps: Update.
16331 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16333 * math/libm-test.inc (fma_test): Use max_value instead of local
16335 (nextafter_test): Likewise.
16337 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16338 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16339 (acos_downward_test_data): New variable.
16340 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16341 (acos_upward_test_data): New variable.
16342 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16343 (acosh_test_data): New variable.
16344 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16345 (asin_test_data): New variable.
16346 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16347 (asin_tonearest_test_data): New variable.
16348 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16349 (asin_towardzero_test_data): New variable.
16350 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16351 (asin_downward_test_data): New variable.
16352 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16353 (asin_upward_test_data): New variable.
16354 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16355 (asinh_test_data): New variable.
16356 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16357 (atan_test_data): New variable.
16358 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16359 (atanh_test_data): New variable.
16360 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16361 (cbrt_test_data): New variable.
16362 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16363 (ceil_test_data): New variable.
16364 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16365 (cos_test_data): New variable.
16366 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16367 (cos_tonearest_test_data): New variable.
16368 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16369 (cos_towardzero_test_data): New variable.
16370 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16371 (cos_downward_test_data): New variable.
16372 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16373 (cos_upward_test_data): New variable.
16374 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16375 (cosh_test_data): New variable.
16376 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16377 (cosh_tonearest_test_data): New variable.
16378 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16379 (cosh_towardzero_test_data): New variable.
16380 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16381 (cosh_downward_test_data): New variable.
16382 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16383 (cosh_upward_test_data): New variable.
16384 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16385 (erf_test_data): New variable.
16386 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16387 (erfc_test_data): New variable.
16388 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16389 (exp_test_data): New variable.
16390 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16391 (exp_tonearest_test_data): New variable.
16392 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16393 (exp_towardzero_test_data): New variable.
16394 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16395 (exp_downward_test_data): New variable.
16396 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16397 (exp_upward_test_data): New variable.
16398 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16399 (exp10_test_data): New variable.
16400 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16401 (exp2_test_data): New variable.
16402 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16403 (expm1_test_data): New variable.
16404 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16405 (fabs_test_data): New variable.
16406 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16407 (floor_test_data): New variable.
16408 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16409 (j0_test_data): New variable.
16410 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16411 (j1_test_data): New variable.
16412 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16413 (log_test_data): New variable.
16414 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16415 (log10_test_data): New variable.
16416 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16417 (log1p_test_data): New variable.
16418 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16419 (log2_test_data): New variable.
16420 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16421 (logb_test_data): New variable.
16422 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16423 (logb_downward_test_data): New variable.
16424 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16425 (nearbyint_test_data): New variable.
16426 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16427 (rint_test_data): New variable.
16428 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16429 (rint_tonearest_test_data): New variable.
16430 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16431 (rint_towardzero_test_data): New variable.
16432 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16433 (rint_downward_test_data): New variable.
16434 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16435 (rint_upward_test_data): New variable.
16436 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16437 (round_test_data): New variable.
16438 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16439 (sin_test_data): New variable.
16440 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16441 (sin_tonearest_test_data): New variable.
16442 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16443 (sin_towardzero_test_data): New variable.
16444 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16445 (sin_downward_test_data): New variable.
16446 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16447 (sin_upward_test_data): New variable.
16448 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16449 (sinh_test_data): New variable.
16450 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16451 (sinh_tonearest_test_data): New variable.
16452 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16453 (sinh_towardzero_test_data): New variable.
16454 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16455 (sinh_downward_test_data): New variable.
16456 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16457 (sinh_upward_test_data): New variable.
16458 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16459 (sqrt_test_data): New variable.
16460 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16461 (tan_test_data): New variable.
16462 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16463 (tan_tonearest_test_data): New variable.
16464 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16465 (tan_towardzero_test_data): New variable.
16466 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16467 (tan_downward_test_data): New variable.
16468 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16469 (tan_upward_test_data): New variable.
16470 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16471 (tanh_test_data): New variable.
16472 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16473 (tgamma_test_data): New variable.
16474 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16475 (trunc_test_data): New variable.
16476 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16477 (y0_test_data): New variable.
16478 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16479 (y1_test_data): New variable.
16480 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16481 (significand_test_data): New variable.
16482 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16484 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16487 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16489 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16491 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16493 2013-05-10 Andreas Jaeger <aj@suse.de>
16496 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16497 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16499 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16501 * math/gen-libm-test.pl (adjust_arg): New function.
16502 (special_functions): Handle generating output in both functions
16504 (parse_args): Likewise.
16505 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16506 $in_func argument to parse_args.
16507 * math/libm-test.inc (struct test_f_f_data): New type.
16508 (IF_ROUND_INIT_): New macro.
16509 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16510 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16511 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16512 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16513 (ROUND_RESTORE_): Likewise.
16514 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16515 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16516 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16517 (ROUND_RESTORE_FE_UPWARD): Likewise.
16518 (RUN_TEST_LOOP_f_f): New macro.
16519 (acos_test_data): New variable.
16520 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16521 (acos_tonearest_test_data): New variable.
16522 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16524 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16526 * benchtests/bench-skeleton.c (startup): Fix coding style.
16528 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16531 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16532 negative infinity argument.
16533 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16534 negative infinity argument.
16535 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16536 negative infinity argument.
16537 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16540 2013-05-10 Florian Weimer <fweimer@redhat.com>
16542 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16543 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16544 * iconv/iconv_prog.c (main): Likewise.
16545 * locale/programs/charmap-dir.c (charmap_readdir)
16546 (fopen_uncompressed): Likewise.
16547 * locale/programs/locfile.c (siblings_uncached)
16548 (write_locale_data): Use lstat64 instead of lstat.
16549 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16552 2013-05-10 Andreas Jaeger <aj@suse.de>
16555 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16557 Include <locale.h>.
16559 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16561 * elf/dl-close.c (_dl_close_worker): Add comments.
16563 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16566 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16568 (__ieee754_rem_pio2l): Update comments.
16571 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16573 (__ieee754_rem_pio2l): Update comments.
16575 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16576 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16578 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16581 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16582 (M_PI_34_LOG10El): Likewise.
16583 (M_PI2_LOG10El): Likewise.
16584 (M_PI4_LOG10El): Likewise.
16585 (M_PI_LOG10El): Likewise.
16587 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16591 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16593 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16594 (MINUS_ZERO_INIT): Likewise.
16595 (PLUS_INFTY_INIT): Likewise.
16596 (MINUS_INFTY_INIT): Likewise.
16597 (QNAN_VALUE_INIT): Likewise.
16598 (MAX_VALUE_INIT): Likewise.
16599 (MIN_VALUE_INIT): Likewise.
16600 (MIN_SUBNORM_VALUE_INIT): Likewise.
16601 (plus_zero): Initialize with PLUS_ZERO_INIT.
16602 (minus_zero): Initialize with MINUS_ZERO_INIT.
16603 (plus_infty): Initialize with PLUS_INFTY_INIT.
16604 (minus_infty): Initialize with MINUS_INFTY_INIT.
16605 (qnan_value): Initialize with QNAN_VALUE_INIT.
16606 (max_value): Initialize with MAX_VALUE_INIT.
16607 (min_value): Initialize with MIN_VALUE_INIT.
16608 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16610 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16611 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16612 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16613 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16615 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16616 (RUN_TEST_2_f): Likewise.
16617 (RUN_TEST_ff_f): Likewise.
16618 (RUN_TEST_fi_f): Likewise.
16619 (RUN_TEST_fl_f): Likewise.
16620 (RUN_TEST_fff_f): Likewise.
16621 (RUN_TEST_c_f): Likewise.
16622 (RUN_TEST_f_f1): Likewise.
16623 (RUN_TEST_fF_f1): Likewise.
16624 (RUN_TEST_fI_f1): Likewise.
16625 (RUN_TEST_ffI_f1): Likewise.
16626 (RUN_TEST_c_c): Likewise.
16627 (RUN_TEST_cc_c): Likewise.
16628 (RUN_TEST_f_i): Likewise.
16629 (RUN_TEST_f_i_tg): Likewise.
16630 (RUN_TEST_ff_i_tg): Likewise.
16631 (RUN_TEST_f_b): Likewise.
16632 (RUN_TEST_f_b_tg): Likewise.
16633 (RUN_TEST_f_l): Likewise.
16634 (RUN_TEST_f_L): Likewise.
16635 (RUN_TEST_sincos): Likewise.
16636 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16637 whether to show exceptions. Do not include ");\n" in return
16639 (special_functions): Output call to RUN_TEST_sincos instead of
16640 check_float calls. Update calls to new_test.
16641 (parse_args): Output call to single RUN_TEST_* macro instead of
16642 check_* calls and other assignments. Update calls to new_test.
16648 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16649 input to result for tgamma overflow.
16650 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16651 (gamma_coeff): New variable.
16652 (NCOEFF): New macro.
16653 (gamma_positive): New function.
16654 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16655 underflow here. Use gamma_positive instead of exp (lgamma) for
16657 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16658 (gamma_coeff): New variable.
16659 (NCOEFF): New macro.
16660 (gammaf_positive): New function.
16661 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16662 underflow here. Use gamma_positive instead of exp (lgamma) for
16664 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16665 (gamma_coeff): New variable.
16666 (NCOEFF): New macro.
16667 (gammal_positive): New function.
16668 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16669 underflow here. Use gamma_positive instead of exp (lgamma) for
16671 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16672 (gamma_coeff): New variable.
16673 (NCOEFF): New macro.
16674 (gammal_positive): New function.
16675 (__ieee754_gammal_r): Handle positive infinity, overflow and
16676 underflow here. Handle NaN the same as positive infinity. Remove
16677 check x < 0xffffffff for negative integers. Use gamma_positive
16678 instead of exp (lgamma) for other arguments.
16679 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16680 (gamma_coeff): New variable.
16681 (NCOEFF): New macro.
16682 (gammal_positive): New function.
16683 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16684 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16688 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16689 * sysdeps/generic/math_private.h (__gamma_productf): New
16691 (__gamma_product): Likewise.
16692 (__gamma_productl): Likewise.
16693 * math/Makefile (libm-calls): Add gamma_product.
16694 * math/libm-test.inc (tgamma_test): Add more tests.
16695 * sysdeps/i386/fpu/libm-test-ulps: Update.
16696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16698 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16700 * benchtests/bench-skeleton.c (main): Preheat CPU.
16702 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16704 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16706 2013-05-07 Roland McGrath <roland@hack.frob.com>
16708 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16709 and _dl_skip_args_internal.
16711 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16713 * manual/message.texi (Message Translation): Talk about users.
16714 Message to key mapping impacts design.
16716 2013-05-06 Roland McGrath <roland@hack.frob.com>
16718 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16720 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16722 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16723 * sysdeps/wordsize-64/glob64.c: ... here.
16725 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16726 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16729 * debug/getlogin_r_chk.c: Moved to ...
16730 * login/getlogin_r_chk.c: ... here.
16731 * debug/Makefile (routines): Move getlogin_r_chk to ...
16732 * login/Makefile (routines): ... here.
16733 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16734 * login/Versions (libc: GLIBC_2.4): ... here.
16736 * io/poll.c (__poll): Renamed from poll.
16737 Add libc_hidden_def.
16738 (poll): Define as weak alias.
16740 * debug/ptsname_r_chk.c: Moved to ...
16741 * login/ptsname_r_chk.c: ... here.
16742 * debug/Makefile (routines): Move ptsname_r_chk to ...
16743 * login/Makefile (routines): ... here.
16744 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16745 * login/Versions (libc: GLIBC_2.4): ... here.
16747 * posix/getlogin.c: Moved to ...
16748 * login/getlogin.c: ... here.
16749 * posix/getlogin_r.c: Moved to ...
16750 * login/getlogin_r.c: ... here.
16751 * posix/getlogin_r.c: Moved to ...
16752 * login/getlogin_r.c: ... here.
16753 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16754 * login/Makefile (routines): ... here.
16755 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16756 * login/Versions (libc: GLIBC_2.0): ... here.
16758 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16759 (setrlimit): Define as weak alias.
16761 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16762 Call __ names for open, ftruncate, and close.
16763 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16764 (truncate): Define as weak alias.
16766 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16768 * math/gen-libm-test.pl (parse_args): Initialize x before each
16769 test of frexp, modf and remquo.
16771 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16772 test signgam value.
16774 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16778 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16782 2013-05-06 Roland McGrath <roland@hack.frob.com>
16784 * elf/dl-writev.h: New file.
16785 * elf/dl-misc.c: Include it.
16786 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16787 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16789 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16791 * math/libm-test.inc (noXFails): Remove variable.
16792 (noXPasses): Likewise.
16793 (BUILD_COMPLEX_INT): Remove macro.
16794 (print_screen): Remove xfail argument.
16795 (print_screen_max_error): Likewise.
16796 (update_stats): Likewise.
16797 (print_max_error): Likewise. Update calls to other affected
16799 (print_complex_max_error): Likewise.
16800 (test_single_exception): Update calls to print_screen.
16801 (test_single_errno): Likewise.
16802 (check_float_internal): Remove xfail argument. Update calls to
16803 other affected functions.
16804 (check_float): Likewise.
16805 (check_complex): Likewise.
16806 (check_int): Likewise.
16807 (check_long): Likewise.
16808 (check_bool): Likewise.
16809 (check_longlong): Likewise.
16810 (main): Don't print noXFails and noXPasses.
16811 * math/gen-libm-test.pl (top level): Don't mention expected
16812 failure handling in comment.
16813 (new_test): Don't handle expected failures.
16814 (parse_args): Don't mention expected failure handling in comment.
16815 (generate_testfile): Don't handle expected failures.
16816 (parse_ulps): Likewise.
16817 (print_ulps_file): Likewise.
16818 (get_failure): Remove function.
16819 (output_test): Don't handle expected failures.
16820 * make/README.libm-test: Don't mention expected failure handling.
16822 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16823 (minus_zero): Likewise.
16824 (plus_infty): Likewise.
16825 (minus_infty): Likewise.
16826 (qnan_value): Likewise.
16827 (max_value): Likewise.
16828 (min_value): Likewise.
16829 (min_subnorm_value): Likewise.
16830 (initialize): Do not initialize those variables dynamically.
16832 2013-05-03 Roland McGrath <roland@hack.frob.com>
16834 * io/open.c (__open_2): Moved to ...
16835 * io/open_2.c: ... this new file.
16836 * io/open64.c (__open64_2): Moved to ...
16837 * io/open64_2.c: ... this new file.
16838 * io/openat.c (__openat_2): Moved to ...
16839 * io/openat_2.c: ... this new file.
16840 * io/openat64.c (__openat64_2): Moved to ...
16841 * io/openat64_2.c: ... this new file.
16842 * io/Makefile (routines): Add them.
16843 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16844 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16845 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16846 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16847 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16848 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16849 (__openat64): Add hidden_ver.
16850 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16851 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16853 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16854 Separately conditionalize setting of GLRO(dl_sysinfo) so
16855 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16856 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16858 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16860 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16861 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16863 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16864 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16865 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16866 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16867 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16869 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16871 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16872 test signgam value.
16874 * math/libm-test.inc (hypot_test): Do not use
16875 IGNORE_ZERO_INF_SIGN.
16877 2013-05-03 Andreas Jaeger <aj@suse.de>
16879 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16881 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16882 (PF_MAX): Adjust for VSOCK change.
16884 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16888 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16891 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16892 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16893 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16895 2013-05-02 David S. Miller <davem@davemloft.net>
16897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16899 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16901 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16903 2013-05-01 Roland McGrath <roland@hack.frob.com>
16905 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16907 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16910 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16911 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16912 Use __attribute__ ((__gnu_inline__)).
16913 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16914 Don't use __attribute__ ((__gnu_inline__)).
16916 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16919 * math/s_catan.c (__catan): Handle small real or imaginary part of
16920 input specially to avoid spurious underflow.
16921 * math/s_catanf.c (__catanf): Likewise.
16922 * math/s_catanh.c (__catanh): Likewise.
16923 * math/s_catanhf.c (__catanhf): Likewise.
16924 * math/s_catanhl.c (__catanhl): Likewise.
16925 * math/s_catanl.c (__catanl): Likewise.
16926 * math/libm-test.inc (catan_test): Add more tests.
16927 (catanh_test): Likewise.
16928 * sysdeps/i386/fpu/libm-test-ulps: Update.
16929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16931 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16935 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16938 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16939 accurately for denominator in atan2.
16940 * math/s_catanf.c (__catanf): Likewise.
16941 * math/s_catanh.c (__catanh): Likewise.
16942 * math/s_catanhf.c (__catanhf): Likewise.
16943 * math/s_catanhl.c (__catanhl): Likewise.
16944 * math/s_catanl.c (__catanl): Likewise.
16945 * math/libm-test.inc (catan_test): Add more tests.
16946 (catanh_test): Likewise.
16947 * sysdeps/i386/fpu/libm-test-ulps: Update.
16948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16950 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16952 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16954 * benchtests/Makefile (bench): Remove slow benchmarks.
16955 * benchtests/atan-inputs: Add slow benchmark inputs.
16956 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16957 (BENCH_FUNC): Accept variant offset.
16959 * benchtests/bench-skeleton.c (main): Run benchmark for each
16961 * benchtests/cos-inputs: Add slow benchmark inputs.
16962 * benchtests/exp-inputs: Likewise.
16963 * benchtests/pow-inputs: Likewise.
16964 * benchtests/sin-inputs: Likewise.
16965 * benchtests/slowatan-inputs: Remove.
16966 * benchtests/slowatan.c: Remove.
16967 * benchtests/slowcos-inputs: Remove.
16968 * benchtests/slowcos.c: Remove.
16969 * benchtests/slowexp-inputs: Remove.
16970 * benchtests/slowexp.c: Remove.
16971 * benchtests/slowpow-inputs: Remove.
16972 * benchtests/slowpow.c: Remove.
16973 * benchtests/slowsin-inputs: Remove.
16974 * benchtests/slowsin.c: Remove.
16975 * benchtests/slowtan-inputs: Remove.
16976 * benchtests/slowtan.c: Remove.
16977 * benchtests/tan-inputs: Add slow benchmark inputs.
16978 * scripts/bench.pl: Parse comments and directives.
16980 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16982 ($(objpfx)bench-%.c): Remove *-ITER.
16983 * benchtests/bench-modf.c: Remove definition of ITER.
16984 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16985 (main): Loop for DURATION seconds instead of fixed number of
16987 * scripts/bench.pl: Don't expect iterations in parameters.
16989 2013-04-29 Roland McGrath <roland@hack.frob.com>
16991 * io/fchdir.c (__fchdir): Renamed from fchdir.
16992 (fchdir): Define as weak alias.
16994 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16996 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16997 (ERRNO_EDOM): Likewise.
16998 (ERRNO_ERANGE): Likewise.
16999 (noErrnoTests): New variable.
17000 (init_max_error): Set errno to 0.
17001 (test_single_errno): New function.
17002 (test_errno): Likewise.
17003 (check_float_internal): Call test_errno. Set errno to 0.
17004 (check_complex): Refer to errno tests in comment.
17005 (check_int): Call test_errno. Set errno to 0.
17006 (check_long): Likewise.
17007 (check_bool): Likewise.
17008 (check_longlong): Likewise.
17009 (cos_test): Use ERRNO_* flags for errno tests instead of
17011 (expm1_test): Likewise.
17012 (fmod_test): Likewise.
17013 (ilogb_test): Likewise.
17014 (lgamma_test): Likewise.
17015 (pow_test): Likewise.
17016 (remainder_test): Likewise.
17017 (sin_test): Likewise.
17018 (tan_test): Likewise.
17019 (yn_test): Likewise.
17020 (initialize): Set errno to 0.
17021 (main): Print number of errno tests.
17022 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17024 2013-04-29 Andreas Jaeger <aj@suse.de>
17027 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17031 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17032 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17036 * stdlib/random.c (__initstate): Return NULL if
17040 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17041 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17044 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17048 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17050 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17051 of individual tests.
17052 (casin_test): Likewise.
17053 (casinh_test): Likewise.
17055 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17058 * math/s_catan.c (__catan): Handle arguments with large real or
17059 imaginary part separately without squaring.
17060 * math/s_catanf.c (__catanf): Likewise.
17061 * math/s_catanh.c (__catanh): Likewise.
17062 * math/s_catanhf.c (__catanhf): Likewise.
17063 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17065 (__catanhl): Handle arguments with large real or imaginary part
17066 separately without squaring.
17067 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17069 (__catanl): Handle arguments with large real or imaginary part
17070 separately without squaring.
17071 * math/libm-test.inc (catan_test): Add more tests.
17072 (catanh_test): Likewise.
17073 * sysdeps/i386/fpu/libm-test-ulps: Update.
17074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17076 2013-04-27 Andreas Jaeger <aj@suse.de>
17079 * stdlib/stdlib.h: Update guards for qecvt.
17080 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17083 2013-04-27 Allan McRae <allan@archlinux.org>
17085 * sysdeps/i386/fpu/libm-test-ulps: Update.
17087 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17090 * math/s_catan.c: Include <float.h>.
17091 (__catan): Ensure underflow exception occurs for underflowed
17093 * math/s_catanf.c: Include <float.h>.
17094 (__catanf): Ensure underflow exception occurs for underflowed
17096 * math/s_catanh.c: Include <float.h>.
17097 (__catanh): Ensure underflow exception occurs for underflowed
17099 * math/s_catanhf.c: Include <float.h>.
17100 (__catanhf): Ensure underflow exception occurs for underflowed
17102 * math/s_catanhl.c: Include <float.h>.
17103 (__catanhl): Ensure underflow exception occurs for underflowed
17105 * math/s_catanl.c: Include <float.h>.
17106 (__catanl): Ensure underflow exception occurs for underflowed
17108 * math/libm-test.inc (catan_test): Add more tests.
17109 (catanh_test): Likewise.
17112 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17113 underflowed result.
17114 * math/s_ccoshf.c (__ccoshf): Likewise.
17115 * math/s_ccoshl.c (__ccoshl): Likewise.
17116 * math/s_csin.c (__csin): Likewise.
17117 * math/s_csinf.c (__csinf): Likewise.
17118 * math/s_csinh.c (__csinh): Likewise.
17119 * math/s_csinhf.c (__csinhf): Likewise.
17120 * math/s_csinhl.c (__csinhl): Likewise.
17121 * math/s_csinl.c (__csinl): Likewise.
17122 * math/libm-test.inc (ccos_test): Add more tests.
17123 (ccosh_test): Likewise.
17124 (csin_test): Likewise.
17125 (csinh_test): Likewise.
17127 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17129 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17130 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17131 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17132 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17133 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17134 powerpc/power5+/fpu folders.
17135 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17138 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17142 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17144 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17145 additions to variable.
17146 [$(config-machine) = x86_64] (modules-names): Likewise.
17147 ($(objpfx)tst-audit3): Remove dependency.
17148 ($(objpfx)tst-audit3.out): Likewise.
17149 ($(objpfx)tst-audit4): Likewise.
17150 ($(objpfx)tst-audit4.out): Likewise.
17151 ($(objpfx)tst-audit5): Likewise.
17152 ($(objpfx)tst-audit5.out): Likewise.
17153 ($(objpfx)tst-audit6): Likewise.
17154 ($(objpfx)tst-audit6.out): Likewise.
17155 ($(objpfx)tst-audit7): Likewise.
17156 ($(objpfx)tst-audit7.out): Likewise.
17157 (tst-audit3-ENV): Remove variable.
17158 (tst-audit4-ENV): Likewise.
17159 (tst-audit5-ENV): Likewise.
17160 (tst-audit6-ENV): Likewise.
17161 (tst-audit7-ENV): Likewise.
17162 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17163 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17164 addition to variable.
17165 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17166 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17167 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17168 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17170 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17171 tst-audit3, tst-audit4 and tst-audit5.
17172 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17173 tst-audit6 and tst-audit7.
17174 [$(subdir) = elf] (modules-names): Add audit modules for those
17176 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17177 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17178 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17179 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17180 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17181 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17182 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17183 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17184 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17185 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17186 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17187 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17188 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17189 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17190 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17191 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17193 [$(subdir) = elf && $(config-cflags-avx) = yes]
17194 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17195 [$(subdir) = elf && $(config-cflags-avx) = yes]
17196 (CFLAGS-tst-auditmod4a.c): Likewise.
17197 [$(subdir) = elf && $(config-cflags-avx) = yes]
17198 (CFLAGS-tst-auditmod4b.c): Likewise.
17199 [$(subdir) = elf && $(config-cflags-avx) = yes]
17200 (CFLAGS-tst-auditmod6b.c): Likewise.
17201 [$(subdir) = elf && $(config-cflags-avx) = yes]
17202 (CFLAGS-tst-auditmod6c.c): Likewise.
17203 [$(subdir) = elf && $(config-cflags-avx) = yes]
17204 (CFLAGS-tst-auditmod7b.c): Likewise.
17205 * elf/tst-audit3.c: Move to ...
17206 * sysdeps/x86_64/tst-audit3.c: ... here.
17207 * elf/tst-audit4.c: Move to ...
17208 * sysdeps/x86_64/tst-audit4.c: ... here.
17209 * elf/tst-audit5.c: Move to ...
17210 * sysdeps/x86_64/tst-audit5.c: ... here.
17211 * elf/tst-audit6.c: Move to ...
17212 * sysdeps/x86_64/tst-audit6.c: ... here.
17213 * elf/tst-audit7.c: Move to ...
17214 * sysdeps/x86_64/tst-audit7.c: ... here.
17215 * elf/tst-auditmod3a.c: Move to ...
17216 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17217 * elf/tst-auditmod3b.c: Move to ...
17218 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17219 * elf/tst-auditmod4a.c: Move to ...
17220 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17221 * elf/tst-auditmod4b.c: Move to ...
17222 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17223 * elf/tst-auditmod5a.c: Move to ...
17224 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17225 * elf/tst-auditmod5b.c: Move to ...
17226 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17227 * elf/tst-auditmod6a.c: Move to ...
17228 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17229 * elf/tst-auditmod6b.c: Move to ...
17230 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17231 * elf/tst-auditmod6c.c: Move to ...
17232 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17233 * elf/tst-auditmod7a.c: Move to ...
17234 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17235 * elf/tst-auditmod7b.c: Move to ...
17236 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17238 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17241 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17242 define unconditionally.
17243 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17244 define unconditionally.
17245 (INT8_C, INT16_C, etc.): Likewise.
17247 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17249 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17250 __ehdr_start with hidden visibility.
17252 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17254 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17256 * math/libm-test.inc (cos_test): Use accurate hex constants.
17257 (sincost_test): Likewise.
17259 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17261 * math/libm-test.inc (catan_test): Add more tests.
17262 (catanh_test): Likewise.
17264 * math/s_catanf.c (__catanf): Use suffixed floating-point
17266 * math/s_catanhf.c (__catanhf): Likewise.
17267 * math/s_catanhl.c (__catanhl): Likewise.
17268 * math/s_catanl.c (__catanl): Likewise.
17271 * math/s_catan.c (__catan): Calculate imaginary part of result
17272 with log1p not log unless computing log of number close to 0.
17273 * math/s_catanf.c (__catanf): Likewise.
17274 * math/s_catanl.c (__catanl): Likewise.
17275 * math/s_catanh.c (__catanh): Calculate real part of result with
17276 log1p not log unless computing log of number close to 0.
17277 * math/s_catanhf.c (__catanhf): Likewise.
17278 * math/s_catanhl.c (__catanhl): Likewise.
17279 * math/libm-test.inc (catan_test): Add more tests.
17280 (catanh_test): Likewise.
17281 * sysdeps/i386/fpu/libm-test-ulps: Update.
17282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17284 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17286 * benchtests/Makefile: Mention files in which fast and slow
17287 paths of math functions are implemented.
17289 2013-04-23 Roland McGrath <roland@hack.frob.com>
17291 * sysdeps/posix/timespec_get.c: New file.
17293 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17295 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17297 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17299 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17300 powerpc/power5/fpu folders.
17301 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17302 * benchtests/Makefile: Add modf testcase.
17303 * benchtests/bench-modf.c: New file: Benchmark test for mo
17305 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17308 * time/Makefile (tests): Add tst-strptime-whitespace.
17309 * time/strptime_l.c (get_number): Use ISSPACE.
17310 (__strptime_internal): Likewise.
17311 * time/tst-strptime-whitespace.c: New test case.
17313 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17315 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17317 (_nss_files_init): Set it here.
17319 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17321 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17322 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17325 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17327 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17329 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17331 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17334 2013-04-21 David S. Miller <davem@davemloft.net>
17336 * po/ru.po: Update Russion translation from translation project.
17338 2013-04-17 Adam Conrad <adconrad@0c3.net>
17340 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17343 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17345 * configure.in: Remove i386 configure warning. Remove i386 case.
17346 * configure: Regenerate.
17347 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17348 Add example to error message.
17349 * sysdeps/i386/configure: Regenerate.
17351 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17353 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17355 * benchtests/cos-inputs: New file.
17356 * benchtests/slowcos-inputs: New file.
17357 * benchtests/slowcos.c: New file.
17358 * benchtests/slowtan-inputs: New file.
17359 * benchtests/slowtan.c: New file.
17360 * benchtests/tan-inputs: New file.
17362 2013-04-16 Roland McGrath <roland@hack.frob.com>
17364 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17367 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17369 * benchtests/Makefile: Include cppflags-iterator.mk to add
17370 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17372 * Makefile.in (bench-clean): New target.
17373 * benchtests/Makefile (bench-clean): Likewise.
17375 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17377 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17379 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17381 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17383 2013-04-15 Andreas Schwab <schwab@suse.de>
17385 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17387 * nscd/pwdcache.c (cache_addpw): Likewise.
17388 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17391 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17393 * benchtests/Makefile (bench): Write all output to
17394 bench-out.tmp together.
17396 2013-04-15 Andreas Schwab <schwab@suse.de>
17398 * nscd/nscd.c (main): Don't fork again after closing files.
17400 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17402 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17404 * benchtests/Rules (bench-deps): Collect dependencies into a
17405 single variable. Add Makefile to dependencies.
17406 ($(objpfx)bench-%.c): Depend on bench-deps.
17408 2013-04-12 Roland McGrath <roland@hack.frob.com>
17409 Xavier Roche <roche+kml2@exalead.com>
17412 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17413 just that it's a file descriptor.
17414 * manual/llio.texi (Synchronizing AIO Operations): Update description
17415 for EBADF error from aio_fsync.
17417 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17419 * Rules (bench): Move target definition...
17420 * benchtests/Makefile: ... here.
17422 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17424 * math/libm-test.inc (cos_test): Fix PI/2 test.
17425 (sincos_test): Likewise.
17426 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17427 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17429 2013-04-11 Andreas Schwab <schwab@suse.de>
17432 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17433 accept exponent character only when digits were seen.
17434 * stdio-common/Makefile (tests): Add bug26.
17435 * stdio-common/bug26.c: New file.
17438 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17441 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17443 * Makeconfig (rtld-prefix): Define built linker prefix.
17444 * Rules (run-bench): Use it.
17445 * math/Makefile (run-regen-ulps): Likewise.
17447 * Rules (bench): Remove eval.
17449 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17450 Roland McGrath <roland@hack.frob.com>
17451 Ondrej Bilka <neleai@seznam.cz>
17454 * time/getdate.c: Include ctype.h and alloca.h.
17455 (__getdate_r): Trim leading and trailing spaces of input.
17456 * time/tst-getdate.c (tests): Add tests with leading and
17459 2013-04-08 Roland McGrath <roland@hack.frob.com>
17462 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17463 when computing value.
17465 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17467 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17468 Use testrun.sh to run libm tests.
17471 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17473 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17476 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17478 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17480 * Makefile.in (regen-ulps): New target.
17481 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17482 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17483 [ifneq (no,$(PERL)] (regen-ulps): New target.
17484 [ifeq (no,$(PERL)] (regen-ulps): New target.
17485 * math/libm-test.inc (ulps_file_name): Define.
17486 (output_dir): New variable.
17487 (options): Add "output-dir" option.
17488 (parse_opt): Handle 'o' case.
17489 (main): If output_dir is non-NULL use it as a prefix
17491 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17493 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17495 [BZ #10060, #10062]
17496 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17497 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17498 fail configure if __sync_val_compare_and_swap is not inlined.
17499 * sysdeps/i386/configure: Regenerate.
17500 * configure.in: Build for i686 when configured for i386.
17501 * configure: Regenerate.
17502 * README: Remove i386 reference.
17504 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17506 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17509 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17511 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17512 (lmsnanval): New variables.
17513 (F): Add conversion tests.
17514 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17515 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17517 * stdio-common/tstdiomisc.c (F): Properly collect individual
17520 [BZ #14686, #15336]
17521 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17522 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17523 Instead, use input NaN values or generate a qNaN by arithmetic
17524 operation. Also fix bugs to comply with the standard.
17525 * math/libm-test.inc (remainder_test): Add more tests.
17527 [BZ #15335, #15342]
17528 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17530 input NaN values or generate a qNaN by arithmetic operation.
17532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17535 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17538 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17541 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17542 underflowed result.
17543 * math/s_cexpf.c (__cexpf): Likewise.
17544 * math/s_cexpl.c (__cexpl): Likewise.
17545 * math/libm-test.inc (cexp_test): Add more tests.
17547 2013-04-03 Andreas Schwab <schwab@suse.de>
17550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17551 order arrays from heap if bigger than alloca cutoff.
17553 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17555 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17556 (SNAN_TESTS_double): Refer to GCC PR56831.
17557 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17560 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17562 * Rules (bench): Move bench.out after the run is complete.
17564 * Rules (bench): Echo currently running benchmark.
17566 * benchtests/Makefile (bench): Add atan and slowatan.
17567 * benchtests/atan-inputs: New file.
17568 * benchtests/slowatan-inputs: New file.
17569 * benchtests/slowatan.c: New file.
17571 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17572 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17576 * sysdeps/unix/sysv/linux/kernel-features.h
17577 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17578 __ASSUME_XFS_RESTRICTED_CHOWN.
17579 * sysdeps/unix/sysv/linux/pathconf.c
17580 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17581 Save and restore errno.
17583 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17586 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17587 arguments using __kernel_casinh.
17588 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17589 arguments using __kernel_casinhf.
17590 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17591 arguments using __kernel_casinhl.
17592 * math/libm-test.inc (cacosh_test): Add more tests.
17593 * sysdeps/i386/fpu/libm-test-ulps: Update.
17594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17596 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17598 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17601 * bench/Makefile (bench): Add sin and slowsin.
17602 * benchtests/sin-inputs: New file.
17603 * benchtests/slowsin-inputs: New file.
17604 * benchtests/slowsin.c: New file.
17606 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17607 (bench): Add slowexp and slowpow.
17608 (exp-ITER): Increase iterations.
17609 (pow-ITER): Likewise.
17610 * benchtests/exp-inputs: Change input.
17611 * benchtests/pow-inputs: Likewise.
17612 * benchtests/slowexp-inputs: New file.
17613 * benchtests/slowexp.c: New file.
17614 * benchtests/slowpow-inputs: New file.
17615 * benchtests/slowpow.c: New file.
17617 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17619 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17621 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17622 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17623 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17624 * benchtests/Makefile: Add rint benchtest.
17625 * benchtests/rint-inputs: Input for rint benchtest.
17627 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17629 * Versions.def (libm): Add GLIBC_2.18.
17630 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17631 hidden libm prototypes.
17632 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17633 * math/Makefile (libm-calls): Add s_issignaling.
17634 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17635 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17636 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17638 * math/math.h [__USE_GNU] (issignaling): New macro.
17639 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17640 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17645 * manual/arith.texi (issignaling): New section.
17646 * manual/libm-err-tab.pl (@all_functions): Update comment.
17647 * math/gen-libm-test.pl (parse_args): Apply special handling for
17649 * math/libm-test.inc (print_float, issignaling_test): New
17651 (check_float_internal): Add issignaling checks.
17652 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17653 default definition.
17654 * sysdeps/powerpc/math-tests.h: New file.
17655 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17657 * math/test-snan.c (TEST_FUNC): Likewise.
17659 2013-03-30 David S. Miller <davem@davemloft.net>
17661 * po/de.po: Update from translation team.
17663 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17666 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17667 imaginary part less than 1.0 and real part less than 0.5
17669 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17670 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17671 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17672 (cacos_test): Add more tests.
17673 (casin_test): Likewise.
17674 (casinh_test): Likewise.
17675 * sysdeps/i386/fpu/libm-test-ulps: Update.
17676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17678 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17680 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17681 ONE with its value.
17683 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17684 (__pow_mp): Replace ONE and MONE with their values.
17685 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17686 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17687 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17688 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17689 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17690 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17692 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17694 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17695 (__pow_mp): Replace ZERO and MZERO with their values.
17696 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17698 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17700 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17701 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17704 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17706 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17708 2013-03-28 Roland McGrath <roland@hack.frob.com>
17710 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17711 Declare with __attribute__ ((weak)).
17712 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17713 Call __call_tls_dtors only if it's not NULL.
17715 2013-03-28 Roland McGrath <roland@hack.frob.com>
17717 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17718 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17719 magic __ehdr_start linker symbol if it's defined.
17720 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17721 them up here if it was already done.
17723 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17724 (_dl_aux_init): Use const in cast when setting it.
17725 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17726 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17727 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17729 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17731 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17732 * csu/libc-tls.c: Nor here.
17733 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17735 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17736 (__libc_message): Never call vsyslog.
17738 2013-03-28 Alan Modra <amodra@gmail.com>
17740 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17742 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17745 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17748 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17752 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17755 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17756 Don't add gid passed as argument.
17758 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17760 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17763 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17764 imaginary part between 1.0 and 1.5 and real part less than 0.5
17766 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17767 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17768 * math/libm-test.inc (cacos_test): Add more tests.
17769 (casin_test): Likewise.
17770 (casinh_test): Likewise.
17771 * sysdeps/i386/fpu/libm-test-ulps: Update.
17772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17774 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17776 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17779 (denorm): Likewise.
17780 (__dbl_mp): Likewise.
17781 (add_magnitudes): Likewise.
17782 (sub_magnitudes): Likewise.
17790 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17792 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17793 (__dubcos): Likewise.
17794 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17795 (__ieee754_acos): Likewise.
17796 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17797 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17798 (__exp1): Likewise.
17799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17802 (my_log2): Likewise.
17803 (checkint): Likewise.
17804 * sysdeps/ieee754/dbl-64/e_remainder.c
17805 (__ieee754_remainder): Likewise.
17806 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17808 (bsloww): Likewise.
17809 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17811 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17812 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17813 MANTISSA_STORE_T to store computations on mantissa. Use
17814 macros for rounding and division.
17815 (denorm): Likewise.
17816 (__dbl_mp): Likewise.
17817 (add_magnitudes): Likewise.
17818 (sub_magnitudes): Likewise.
17821 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17822 powers of two in terms of TWOPOW macro.
17823 (mp_no): Make type of mantissa as MANTISSA_T.
17824 [!RADIXI]: Define RADIXI.
17825 [!TWO52]: Define TWO52.
17826 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17828 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17830 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17831 llroundl symbol when building for PPC32.
17833 2013-03-24 Mark H Weaver <mhw@netris.org>
17835 * manual/arith.texi (Normalization Functions): Fix prototypes for
17836 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17838 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17842 high value to check if expl overflow.
17843 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17844 to check for underflow and overflow.
17845 * math/libm-test.inc: Add exp test.
17847 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17850 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17853 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17855 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17858 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17860 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17861 wrap blocks consisting of several statements.
17863 * sysdeps/generic/math-tests.h: New file.
17864 * sysdeps/i386/fpu/math-tests.h: Likewise.
17865 * math/test-snan.c: Include it.
17866 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17868 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17871 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17872 (__ieee754_j0l): Do not improve calculations using cos of twice
17873 input for inputs above LDBL_MAX / 2.0L.
17874 (__ieee754_y0l): Likewise.
17875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17876 (__ieee754_j1l): Do not improve calculations using cos of twice
17877 input for inputs above LDBL_MAX / 2.0L.
17878 (__ieee754_y1l): Likewise.
17879 * math/libm-test.inc (j0_test): Add another test.
17880 (j1_test): Likewise.
17881 (y0_test): Likewise.
17882 (y1_test): Likewise.
17883 * sysdeps/i386/fpu/libm-test-ulps: Update.
17885 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17887 * Rules ($(objpfx)bench-%.c): Include code from a C source
17890 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17893 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17894 imaginary part 1.0 and real part less than 0.5 specially.
17895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17897 * math/libm-test.inc (cacos_test): Add more tests.
17898 (casin_test): Likewise.
17899 (casinh_test): Likewise.
17900 * sysdeps/i386/fpu/libm-test-ulps: Update.
17901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17903 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17905 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17906 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17908 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17910 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17911 * config.make.in (config-cflags-sse4): Remove variable.
17912 (config-cflags-avx): Likewise.
17913 (config-cflags-sse2avx): Likewise.
17914 (config-cflags-novzeroupper): Likewise.
17915 (config-asflags-i686): Likewise.
17916 (have-mfma4): Likewise.
17917 (have-as-vis3): Likewise.
17919 * configure.in (MIG): Do not AC_SUBST.
17920 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17921 (libc_cv_cc_sse4): Do not AC_SUBST.
17922 (libc_cv_cc_avx): Likewise.
17923 (libc_cv_cc_sse2avx): Likewise.
17924 (libc_cv_cc_novzeroupper): Likewise.
17925 (libc_cv_cc_fma4): Likewise.
17926 (libc_cv_as_i686): Likewise.
17927 (libc_cv_sparc_as_vis3): Likewise.
17928 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17930 (config-asflags-i686): Likewise.
17931 (config-cflags-avx): Likewise.
17932 (config-cflags-sse2avx): Likewise.
17933 (have-mfma4): Likewise.
17934 (config-cflags-novzeroupper): Likewise.
17935 * sysdeps/mach/configure.in (MIG): Likewise.
17936 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17937 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17939 (config-cflags-avx): Likewise.
17940 (config-cflags-sse2avx): Likewise.
17941 (have-mfma4): Likewise.
17942 (config-cflags-novzeroupper): Likewise.
17943 * configure: Regenerated.
17944 * sysdeps/i386/configure: Likewise.
17945 * sysdeps/mach/configure: Likewise.
17946 * sysdeps/sparc/configure: Likewise.
17947 * sysdeps/x86_64/configure: Likewise.
17949 2013-03-20 Roland McGrath <roland@hack.frob.com>
17952 * locale/programs/localedef.c (options): Put N_ translation marker
17953 on argument names, not just descriptions.
17955 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17957 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17959 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17962 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17964 2013-03-19 Roland McGrath <roland@hack.frob.com>
17966 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17967 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17968 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17969 [!BEFORE_ABORT] (before_abort): New function.
17970 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17971 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17972 (writev_for_fatal): New function.
17973 (WRITEV_FOR_FATAL): New macro; call that.
17974 (backtrace_and_maps): New function.
17975 (BEFORE_ABORT): New macro; call that.
17976 (struct str_list): Type removed.
17977 (__libc_message, __libc_fatal): Functions removed.
17978 Include <sysdeps/posix/libc_fatal.c> instead.
17980 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17982 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17984 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17987 2013-03-19 Andreas Schwab <schwab@suse.de>
17989 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17990 * sysdeps/gnu/configure: Regenerate.
17992 * configure.in: Substitute libc_cv_rtlddir.
17993 * configure: Regenerate.
17994 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17995 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17996 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17997 * elf/Makefile (install-others, CFLAGS-interp.c)
17998 (ldso_install, common-ldd-rewrite): Likewise.
17999 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18000 $(inst_slibdir)/$(rtld-installed-name).
18001 * scripts/rellns-sh: Add -p option.
18002 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18005 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18007 * manual/nptl.texi: Renamed to ...
18008 * manual/threads.texi: ... this.
18009 * manual/Makefile (chapters): Update.
18011 2013-03-18 Roland McGrath <roland@hack.frob.com>
18014 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18015 on argument names, not just descriptions.
18016 * malloc/memusagestat.c (options): Likewise.
18017 * nss/getent.c (options): Likewise.
18019 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18022 * iconv/iconv_prog.c (options): Put N_ translation marker
18023 on argument names, not just descriptions.
18024 * iconv/iconvconfig.c (options): Likewise.
18026 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18028 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18029 implementation which is faster on all x86_64 architectures.
18030 Tested on AMD, Intel Nehalem, SNB, IVB.
18031 * sysdeps/x86_64/strnlen.S: Likewise.
18033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18034 Remove all multiarch strlen and strnlen versions.
18035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18036 Remove strlen and strnlen related parts.
18038 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18039 Inline strlen part.
18040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18042 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18043 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18045 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18046 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18047 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18049 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18051 * manual/memory.texi (Malloc Tunable Parameters):
18052 Sort parameters alphabetically. Add comments for missing entries.
18054 2013-03-17 David S. Miller <davem@davemloft.net>
18056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18058 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18061 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18062 for arguments at most half maximum finite value.
18063 * math/libm-test.inc (j0_test): Add more tests.
18064 (j1_test): Likewise.
18065 (y0_test): Likewise.
18066 (y1_test): Likewise.
18067 * sysdeps/i386/fpu/libm-test-ulps: Update.
18068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18071 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18072 1 / x and functions P and Q for arguments above 0x1p256L.
18073 (__ieee754_y0l): Likewise.
18074 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18075 (__ieee754_y1l): Likewise.
18076 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18077 (j1_test): Likewise.
18078 (y0_test): Likewise.
18079 (y1_test): Likewise.
18081 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18083 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18086 2013-03-15 Roland McGrath <roland@hack.frob.com>
18088 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18089 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18090 zero since it's initialized to EXEC_PAGESIZE.
18092 * sysdeps/unix/sysv/linux/ldsodefs.h
18093 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18094 * sysdeps/generic/ldsodefs.h: ... here.
18096 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18098 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18100 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18102 * math/test-snan.c: Renamed from
18103 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18104 * math/Makefile (tests): Add test-snan.
18105 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18108 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18109 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18111 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18112 __builtin_nan family of functions.
18113 * math/libm-test.inc (initialize): Initialize qnan_value with
18114 __builtin_nan family of functions.
18115 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18117 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18119 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18120 storage class. Initialize qNaN_var and sNaN_var with
18121 __builtin_nan and __builtin_nans families of functions,
18124 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18125 (sqrt_test): Remove duplicate test with qNaN input.
18126 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18127 (round_test, signbit_test, significand_test): Note missing +/-Inf
18128 as well as qNaN tests.
18130 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18131 qNaN_var. Fix a few strings, too.
18132 * math/libm-test.inc (nan_value): Rename to qnan_value.
18133 * math/gen-libm-test.pl (%beautify): Adjust to that.
18134 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18135 * math/test-misc.c (main): Likewise.
18136 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18137 to __qnan_bytes, and __qnan_union, respectively.
18138 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18140 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18141 and lqnanval, respectively.
18142 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18143 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18144 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18145 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18147 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18148 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18151 * math/test-misc.c (main): Fix copy'n'pastos.
18152 * misc/tst-efgcvt.c (special): Likewise.
18154 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18155 Remove declarations.
18157 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18159 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18160 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18161 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18162 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18164 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18167 macro to return vdso values correctly in IFUNC implementations.
18168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18169 Optimization by using IFUNC.
18171 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18172 Richard Henderson <rth@redhat.com>
18173 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18175 * Makefile.in (bench): New target.
18176 * NEWS: Mention the benchmark framework.
18177 * Rules (bench): Likewise.
18178 (binaries-bench): Generate binaries for functions to
18180 * benchtests/Makefile: New makefile for benchmark tests.
18181 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18183 * benchtests/exp-inputs: New input file for EXP function.
18184 * benchtests/pow-inputs: New input file for POW function.
18185 * scripts/bench.pl: New script to generate source files for
18186 benchmark programs.
18188 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18190 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18191 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18192 computations on mantissa. Use macros for rounding and
18194 (denorm): Likewise.
18195 (__dbl_mp): Likewise.
18196 (add_magnitudes): Likewise.
18197 (sub_magnitudes): Likewise.
18200 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18201 powers of two in terms of TWOPOW macro.
18202 (mp_no): Make type of mantissa as MANTISSA_T.
18203 [!RADIXI]: Define RADIXI.
18204 [!TWO52]: Define TWO52.
18205 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18207 * manual/nptl.texi (cindex): Modify threads to pthreads.
18209 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18211 * sysdeps/x86_64/preconfigure: Regenerated.
18213 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18216 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18218 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18219 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18221 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18222 * math/libm-test.inc (j0_test): Do not allow one spurious
18223 underflow exception.
18224 (y1_test): Likewise.
18226 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18228 * manual/Makefile (chapters): Add nptl.
18229 * manual/debug.texi (Debugging Support): Add link to Threads
18231 * manual/nptl.texi: New file.
18233 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18235 2013-03-14 Petr Baudis <pasky@ucw.cz>
18237 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18238 for non-NULL pointer before the memory validity test. Pointed
18239 out by Holger Brunck <holger.brunck@keymile.com>.
18241 2013-03-13 Andreas Schwab <schwab@suse.de>
18243 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18246 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18248 * timezone/zic.c: Update from tzcode 2013b.
18250 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18252 * manual/install.texi (Configuring and compiling):
18253 Mention i686 and i586.
18254 * INSTALL: Regenerate.
18256 2013-03-12 Roland McGrath <roland@hack.frob.com>
18258 * sysdeps/init_array/elf-init.c: New file.
18260 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18261 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18263 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18264 __gmon_start__ as global, but as static with a .preinit_array pointer.
18265 * sysdeps/init_array/gmon-start.c: New file. Use that.
18266 * sysdeps/init_array/crti.S: New file, empty except for comments.
18267 * sysdeps/init_array/crtn.S: Likewise.
18269 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18271 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18274 Remove Prefer_SSE_for_memop.
18275 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18276 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18277 HAS_PREFER_SSE_FOR_MEMOP.
18278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18281 Remove bzero, memset ifunc support.
18282 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18283 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18284 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18285 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18287 2013-03-11 Andreas Schwab <schwab@suse.de>
18290 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18293 (GLIBC_2.16): Remove pthread_atfork.
18295 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18297 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18298 (ptestcases.h): Likewise.
18300 2013-03-08 Roland McGrath <roland@hack.frob.com>
18302 * Makeconfig ($(common-objpfx)config.status): Depend on
18303 sysdeps/*/preconfigure{,.in} too.
18305 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18307 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18308 (__free_hook): Use void * instead of __malloc_ptr_t.
18309 (__malloc_hook): Likewise.
18310 (__realloc_hook): Likewise.
18311 (__memalign_hook): Likewise.
18312 (__after_morecore_hook): Likewise.
18313 * malloc/arena.c (save_malloc_hook): Likewise.
18314 (save_free_hook): Likewise.
18315 * malloc/hooks.c (malloc_hook_ini): Likewise.
18316 (realloc_hook_ini): Likewise.
18317 (memalign_hook_ini): Likewise.
18318 * malloc/malloc.c (malloc_hook_ini): Likewise.
18319 (realloc_hook_ini): Likewise.
18320 (memalign_hook_ini): Likewise.
18321 (__free_hook): Likewise.
18322 (__malloc_hook): Likewise.
18323 (__realloc_hook): Likewise.
18324 (__memalign_hook): Likewise.
18325 (__libc_malloc): Likewise.
18326 (__libc_free): Likewise.
18327 (__libc_realloc): Likewise.
18328 (__libc_memalign): Likewise.
18329 (__libc_valloc): Likewise.
18330 (__libc_pvalloc): Likewise.
18331 (__libc_calloc): Likewise.
18332 (__posix_memalign): Likewise.
18333 * malloc/morecore.c (__sbrk): Likewise.
18334 (__default_morecore): Likewise.
18336 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18338 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18339 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18340 __malloc_ptrdiff_t.
18342 * malloc/malloc.h (__malloc_size_t): Remove macro.
18343 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18345 (old_memalign_hook): Likewise.
18346 (old_realloc_hook): Likewise.
18347 (struct hdr): Likewise.
18349 (mallochook): Likewise.
18350 (memalignhook): Likewise.
18351 (reallochook): Likewise.
18352 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18353 (tr_old_realloc_hook): Likewise.
18354 (tr_old_memalign_hook): Likewise.
18355 (tr_mallochook): Likewise.
18356 (tr_reallochook): Likewise.
18357 (tr_memalignhook): Likewise.
18359 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18362 default_ldbl_pack and using as default implementation.
18363 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18365 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18366 redundant definition.
18367 (ldbl_insert_mantissa): Likewise.
18368 (ldbl_canonicalize): Likewise.
18369 (ldbl_nearbyint): Likewise.
18370 (ldbl_pack): Rename to ldbl_pack_ppc.
18371 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18372 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18373 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18375 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18378 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18380 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18382 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18383 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18384 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18386 2013-03-07 Andreas Jaeger <aj@suse.de>
18388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18391 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18393 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18394 Include mpa.h and declare __MPEXP.
18395 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18396 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18397 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18398 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18399 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18400 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18401 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18403 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18404 (__slowpow): Use long double EXPL and LOGL functions to
18406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18407 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18408 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18410 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18411 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18414 intermediate variable to calculate exponent.
18416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18420 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18421 [!NO__SQR]: Define __sqr.
18422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18423 and NO__SQR. Remove all code except __mul and __sqr. Include
18424 sysdeps/ieee754/dbl-64/mpa.c.
18425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18428 * posix/Makefile (tests): Add tst-pathconf.
18429 * posix/tst-pathconf.c: New test case.
18430 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18432 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18434 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18436 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18438 2013-03-06 Andreas Jaeger <aj@suse.de>
18440 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18441 definition via __MAP_ANONYMOUS.
18443 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18444 it's not part of Linux headers.
18446 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18447 (MAP_HUGE_MASK): Define.
18449 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18451 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18454 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18455 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18457 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18458 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18460 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18462 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18463 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18464 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18465 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18466 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18467 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18469 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18472 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18473 Handle f2fs and efivarfs.
18475 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18478 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18479 (EFIVARFS_MAGIC): Add.
18480 (F2FS_LINK_MAX): Add.
18482 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18484 * stdio-common/vfprintf.c: Replace __builtin_expect with
18487 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18490 * sysdeps/generic/bp-sym.h: Remove file.
18491 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18492 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18493 <bp-sym.h> and <bp-asm.h>.
18494 (__longjmp): Don't use BP_SYM.
18495 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18497 (memcpy): Don't use BP_SYM.
18498 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18499 <bp-sym.h> and <bp-asm.h>.
18500 (memcpy): Don't use BP_SYM.
18501 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18503 (memcpy): Don't use BP_SYM.
18504 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18506 (memset): Don't use BP_SYM.
18507 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18508 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18509 (__bzero): Don't use BP_SYM.
18510 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18511 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18512 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18513 <bp-sym.h> and <bp-asm.h>.
18514 (memcmp): Don't use BP_SYM. Remove comment about bounded
18516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18517 <bp-sym.h> and <bp-asm.h>.
18518 (memcpy): Don't use BP_SYM.
18519 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18520 <bp-sym.h> and <bp-asm.h>.
18521 (memset): Don't use BP_SYM.
18522 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18523 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18524 (__bzero): Don't use BP_SYM.
18525 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18526 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18527 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18528 <bp-sym.h> and <bp-asm.h>.
18529 (strncmp): Don't use BP_SYM. Remove comment about bounded
18531 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18532 <bp-sym.h> and <bp-asm.h>.
18533 (memcpy): Don't use BP_SYM.
18534 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18535 <bp-sym.h> and <bp-asm.h>.
18536 (memset): Don't use BP_SYM.
18537 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18538 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18539 (__bzero): Don't use BP_SYM.
18540 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18541 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18542 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18543 <bp-sym.h> and <bp-asm.h>.
18544 (__memchr): Don't use BP_SYM.
18545 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18546 <bp-sym.h> and <bp-asm.h>.
18547 (memcmp): Don't use BP_SYM. Remove comment about bounded
18549 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18550 <bp-sym.h> and <bp-asm.h>.
18551 (memcpy): Don't use BP_SYM.
18552 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18553 <bp-sym.h> and <bp-asm.h>.
18554 (__mempcpy): Don't use BP_SYM.
18555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18556 <bp-sym.h> and <bp-asm.h>.
18557 (__memrchr): Don't use BP_SYM.
18558 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18559 <bp-sym.h> and <bp-asm.h>.
18560 (memset): Don't use BP_SYM.
18561 (__bzero): Likewise.
18562 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18563 <bp-sym.h> and <bp-asm.h>.
18564 (__rawmemchr): Don't use BP_SYM.
18565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18566 <bp-sym.h> and <bp-asm.h>.
18567 (__STRCMP): Don't use BP_SYM.
18568 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18569 <bp-sym.h> and <bp-asm.h>.
18570 (strchr): Don't use BP_SYM.
18571 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18572 <bp-sym.h> and <bp-asm.h>.
18573 (__strchrnul): Don't use BP_SYM.
18574 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18575 <bp-sym.h> and <bp-asm.h>.
18576 (strlen): Don't use BP_SYM.
18577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18578 <bp-sym.h> and <bp-asm.h>.
18579 (strncmp): Don't use BP_SYM. Remove comment about bounded
18581 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18582 <bp-sym.h> and <bp-asm.h>.
18583 (__strnlen): Don't use BP_SYM.
18584 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18585 <bp-sym.h> and <bp-asm.h>.
18586 (__GI__setjmp): Don't use BP_SYM.
18587 (_setjmp): Likewise.
18588 (__sigsetjmp): Likewise.
18589 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18590 (L(start_addresses)): Don't use BP_SYM.
18591 (_start): Likewise.
18592 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18594 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18595 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18596 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18597 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18598 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18600 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18601 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18602 about bounded pointers.
18603 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18604 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18605 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18607 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18608 about bounded pointers. Remove GKM FIXME comments.
18609 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18610 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18612 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18613 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18614 Remove GKM FIXME comments.
18615 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18616 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18617 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18619 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18620 about bounded pointers. Remove GKM FIXME comment.
18621 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18623 (strncmp): Don't use BP_SYM. Remove comment about bounded
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18626 <bp-sym.h> and <bp-asm.h>.
18627 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18629 <bp-sym.h> and <bp-asm.h>.
18630 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18633 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18635 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18638 2013-03-05 David S. Miller <davem@davemloft.net>
18640 * po/es.po: Update from translation team.
18642 2013-03-05 Andreas Jaeger <aj@suse.de>
18644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18645 <bits/mman-linux.h>.
18646 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18649 <bits/mman-linux.h> to end of file.
18650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18653 <bits/mman-linux.h> to end of file.
18654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18657 <bits/mman-linux.h> to end of file.
18659 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18660 (MCL_CURRENT, MCL_FUTURE): Define here.
18662 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18665 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18667 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18669 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18671 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18672 fourth parameter needed for rt_sigprocmask syscall.
18673 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18674 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18675 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18676 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18677 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18678 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18680 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18683 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18684 comment about bounded pointers.
18685 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18686 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18688 2013-03-04 Andreas Jaeger <aj@suse.de>
18690 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18691 common definitions.
18693 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18694 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18695 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18696 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18700 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18704 __ieee754_sqrl instead of __sqrl.
18706 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18708 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18709 * sysdeps/powerpc/fpu_control.h: ... here.
18710 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18711 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18712 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18713 * sysdeps/powerpc/bits/mathinline.h: ... here.
18715 2013-03-01 Roland McGrath <roland@hack.frob.com>
18717 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18718 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18719 to just [NEED_DL_SYSINFO_DSO].
18720 * elf/dl-support.c: Likewise.
18721 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18722 * elf/rtld.c (dl_main): Likewise.
18723 * elf/setup-vdso.h (setup_vdso): Likewise.
18724 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18725 * sysdeps/unix/sysv/linux/dl-sysdep.c
18726 (_dl_discover_osversion): Likewise.
18728 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18730 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18731 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18733 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18735 * NEWS: Mention libm performance improvements and non-x86 PI
18738 * csu/libc-start.c (__pthread_initialize_minimal): Change
18739 function arguments.
18740 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18742 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18745 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18746 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18747 <bp-sym.h> and <bp-asm.h>.
18748 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18749 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18751 (memcpy): Don't use BP_SYM.
18752 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18754 (__mpn_add_n): Don't use BP_SYM.
18755 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18756 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18758 (__mpn_addmul_1): Don't use BP_SYM.
18759 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18760 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18762 (_setjmp): Don't use BP_SYM.
18763 (__novmx_setjmp): Likewise.
18764 (__GI__setjmp): Likewise.
18765 (__vmx_setjmp): Likewise.
18766 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18768 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18769 (__bzero): Don't use BP_SYM.
18770 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18771 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18772 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18773 <bp-sym.h> and <bp-asm.h>.
18774 (memcpy): Don't use BP_SYM.
18775 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18776 <bp-sym.h> and <bp-asm.h>.
18777 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18778 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18779 <bp-sym.h> and <bp-asm.h>.
18780 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18781 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18783 (__mpn_lshift): Don't use BP_SYM.
18784 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18785 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18787 (memset): Don't use BP_SYM.
18788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18790 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18792 (__mpn_mul_1): Don't use BP_SYM.
18793 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18795 <bp-sym.h> and <bp-asm.h>.
18796 (memcmp): Don't use BP_SYM.
18797 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18798 <bp-sym.h> and <bp-asm.h>.
18799 (memcpy): Don't use BP_SYM.
18800 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18801 <bp-sym.h> and <bp-asm.h>.
18802 (memset): Don't use BP_SYM.
18803 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18804 <bp-sym.h> and <bp-asm.h>.
18805 (strncmp): Don't use BP_SYM.
18806 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18807 <bp-sym.h> and <bp-asm.h>.
18808 (memcpy): Don't use BP_SYM.
18809 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18810 <bp-sym.h> and <bp-asm.h>.
18811 (memset): Don't use BP_SYM.
18812 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18813 <bp-sym.h> and <bp-asm.h>.
18814 (__memchr): Don't use BP_SYM.
18815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18816 <bp-sym.h> and <bp-asm.h>.
18817 (memcmp): Don't use BP_SYM.
18818 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18819 <bp-sym.h> and <bp-asm.h>.
18820 (memcpy): Don't use BP_SYM.
18821 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18822 <bp-sym.h> and <bp-asm.h>.
18823 (__mempcpy): Don't use BP_SYM.
18824 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18825 <bp-sym.h> and <bp-asm.h>.
18826 (__memrchr): Don't use BP_SYM.
18827 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18828 <bp-sym.h> and <bp-asm.h>.
18829 (memset): Don't use BP_SYM.
18830 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18831 <bp-sym.h> and <bp-asm.h>.
18832 (__rawmemchr): Don't use BP_SYM.
18833 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18834 <bp-sym.h> and <bp-asm.h>.
18835 (__STRCMP): Don't use BP_SYM.
18836 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18837 <bp-sym.h> and <bp-asm.h>.
18838 (strchr): Don't use BP_SYM.
18839 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18840 <bp-sym.h> and <bp-asm.h>.
18841 (__strchrnul): Don't use BP_SYM.
18842 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18843 <bp-sym.h> and <bp-asm.h>.
18844 (strlen): Don't use BP_SYM.
18845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18846 <bp-sym.h> and <bp-asm.h>.
18847 (strncmp): Don't use BP_SYM.
18848 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18849 <bp-sym.h> and <bp-asm.h>.
18850 (__strnlen): Don't use BP_SYM.
18851 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18853 (__mpn_rshift): Don't use BP_SYM.
18854 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18855 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18856 <bp-sym.h> and <bp-asm.h>.
18857 (__sigsetjmp): Don't use BP_SYM.
18858 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18859 (L(start_addresses)): Don't use BP_SYM.
18860 (_start): Likewise.
18861 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18863 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18864 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18865 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18866 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18868 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18869 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18870 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18871 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18873 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18875 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18876 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18878 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18880 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18881 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18882 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18884 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18886 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18888 (strncmp): Don't use BP_SYM,
18889 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18891 (__mpn_sub_n): Don't use BP_SYM.
18892 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18893 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18895 (__mpn_submul_1): Don't use BP_SYM.
18896 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18898 <bp-sym.h> and <bp-asm.h>.
18899 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18901 <bp-sym.h> and <bp-asm.h>.
18902 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18905 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18908 Use ZK to minimize writes to Z.
18909 (sub_magnitudes): Simplify code a bit.
18910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18911 Use ZK to minimize writes to Z.
18912 (sub_magnitudes): Simplify code a bit.
18914 2013-02-27 Roland McGrath <roland@hack.frob.com>
18916 * csu/gmon-start.c: Add special exception to license text.
18918 2013-02-27 Richard Henderson <rth@redhat.com>
18920 * scripts/config.guess: Update from config.git.
18921 * scripts/config.sub: Likewise.
18923 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18927 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18929 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18931 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18933 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18935 2013-02-26 Roland McGrath <roland@hack.frob.com>
18937 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18938 [$(build-shared = yes].
18940 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18942 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18943 (__mul): Reduce iterations for calculating mantissa.
18945 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18947 (__mpranred): Likewise.
18950 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18951 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18953 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18955 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18956 Define __attribute__.
18958 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18960 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18962 * posix/regex_internal.h (__attribute): Remove.
18963 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18964 (re_string_context_at): Likewise.
18965 (bitset_not): Use __attribute__ and mark function as possibly
18967 (bitset_merge): Likewise.
18968 (bitset_mask): Likewise.
18969 (re_string_char_size_at): Likewise.
18970 (re_string_wchar_at): Likewise.
18971 (re_string_elem_size_at): Likewise.
18973 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18975 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18979 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18983 (denorm): Likewise.
18984 (__dbl_mp): Likewise.
18985 (add_magnitudes): Likewise.
18986 (sub_magnitudes): Likewise.
18990 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18993 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18996 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19000 up changes with default code.
19001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19004 2013-02-24 Allan McRae <allan@archlinux.org>
19006 * manual/socket.texi (The Internet Namespace): Order menu items
19007 to match that in the file.
19009 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19010 node listing of the info page menu.
19012 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19015 * sysdeps/i386/bp-asm.h: Remove file.
19016 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19017 (PARMS): Do not use macros from bp-asm.h.
19021 (__mpn_add_n): Do not use BP_SYM
19022 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19024 (PARMS): Do not use macros from bp-asm.h.
19027 (__mpn_addmul_1): Do not use BP_SYM
19028 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19030 (PARMS): Do not use macros from bp-asm.h.
19031 (SIGMSK): Likewise.
19032 (_setjmp): Likewise. Do not use BP_SYM.
19033 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19035 (PARMS): Do not use macros from bp-asm.h.
19036 (SIGMSK): Likewise.
19037 (setjmp): Likewise. Do not use BP_SYM.
19038 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19040 (PARMS): Do not use macros from bp-asm.h.
19041 (__frexp): Do not use BP_SYM.
19043 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19045 (PARMS): Do not use macros from bp-asm.h.
19046 (__frexpf): Do not use BP_SYM.
19047 (frexpf): Likewise.
19048 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19050 (PARMS): Do not use macros from bp-asm.h.
19051 (__frexpl): Do not use BP_SYM.
19052 (frexpl): Likewise.
19053 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19055 (PARMS): Do not use macros from bp-asm.h.
19056 (__remquo): Do not use BP_SYM.
19057 (remquo): Likewise.
19058 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19060 (PARMS): Do not use macros from bp-asm.h.
19061 (__remquof): Do not use BP_SYM.
19062 (remquof): Likewise.
19063 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19065 (PARMS): Do not use macros from bp-asm.h.
19066 (__remquol): Do not use BP_SYM.
19067 (remquol): Likewise.
19068 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19070 (PARMS): Do not use macros from bp-asm.h.
19073 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19074 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19076 (PARMS): Do not use macros from bp-asm.h.
19077 (strlen): Do not use BP_SYM.
19078 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19080 (PARMS): Do not use macros from bp-asm.h.
19084 (__mpn_add_n): Do not use BP_SYM.
19085 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19087 (PARMS): Do not use macros from bp-asm.h.
19090 (__mpn_addmul_1): Do not use BP_SYM.
19091 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19094 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19096 (PARMS): Do not use macros from bp-asm.h.
19099 (__mpn_lshift): Do not use BP_SYM.
19100 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19102 (PARMS): Do not use macros from bp-asm.h.
19106 (memcpy): Likewise. Do not use BP_SYM.
19107 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19108 libc_hidden_def and weak_alias.
19109 (mempcpy): Do not use BP_SYM in weak_alias.
19110 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19112 (PARMS): Do not use macros from bp-asm.h.
19115 [!BZERO_P] (CHR): Likewise.
19116 (memset): Likewise. Do not use BP_SYM.
19117 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19119 (PARMS): Do not use macros from bp-asm.h.
19122 (__mpn_mul_1): Do not use BP_SYM.
19123 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19125 (PARMS): Do not use macros from bp-asm.h.
19128 (__mpn_rshift): Do not use BP_SYM.
19129 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19131 (PARMS): Do not use macros from bp-asm.h.
19134 (strchr): Likewise. Do not use BP_SYM.
19135 (index): Do not use BP_SYM in weak_alias.
19136 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19138 (PARMS): Do not use macros from bp-asm.h.
19141 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19142 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19144 (PARMS): Do not use macros from bp-asm.h.
19145 (strlen): Do not use BP_SYM.
19146 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19148 (PARMS): Do not use macros from bp-asm.h.
19152 (__mpn_sub_n): Do not use BP_SYM.
19153 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19155 (PARMS): Do not use macros from bp-asm.h.
19158 (__mpn_submul_1): Do not use BP_SYM.
19159 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19161 (PARMS): Do not use macros from bp-asm.h.
19165 (__mpn_add_n): Do not use BP_SYM.
19166 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19169 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19171 (PARMS): Do not use macros from bp-asm.h.
19174 (memcmp): Do not use BP_SYM.
19175 (bcmp): Do not use BP_SYM in weak_alias.
19176 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19178 (PARMS): Do not use macros from bp-asm.h.
19182 (memcpy): Likewise. Do not use BP_SYM.
19183 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19185 (PARMS): Do not use macros from bp-asm.h.
19189 (memmove): Likewise. Do not use BP_SYM.
19190 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19192 (PARMS): Do not use macros from bp-asm.h.
19196 (__mempcpy): Likewise. Do not use BP_SYM.
19197 (mempcpy): Do not use BP_SYM in weak_alias.
19198 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19200 (PARMS): Do not use macros from bp-asm.h.
19203 [!BZERO_P] (CHR): Likewise.
19204 (memset): Likewise. Do not use BP_SYM.
19205 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19207 (PARMS): Do not use macros from bp-asm.h.
19209 (strcmp): Do not use BP_SYM.
19210 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19212 (PARMS): Do not use macros from bp-asm.h.
19215 [USE_AS_STRTOK_R] (SAVE): Likewise.
19216 (FUNCTION): Likewise. Do not use BP_SYM.
19217 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19219 (strtok_r): Likewise.
19220 (__GI___strtok_r): Likewise.
19221 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19222 (PARMS): Do not use macros from bp-asm.h.
19225 (__mpn_lshift): Do not use BP_SYM.
19226 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19227 (PARMS): Do not use macros from bp-asm.h.
19230 (__memchr): Do not use BP_SYM.
19231 (memchr): Do not use BP_SYM in weak_alias.
19232 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19233 (PARMS): Do not use macros from bp-asm.h.
19236 (memcmp): Do not use BP_SYM.
19237 (bcmp): Do not use BP_SYM in weak_alias.
19238 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19239 (PARMS): Do not use macros from bp-asm.h.
19242 (__mpn_mul_1): Do not use BP_SYM.
19243 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19245 (PARMS): Do not use macros from bp-asm.h.
19248 (__rawmemchr): Do not use BP_SYM.
19249 (rawmemchr): Do not use BP_SYM in weak_alias.
19250 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19251 (PARMS): Do not use macros from bp-asm.h.
19254 (__mpn_rshift): Do not use BP_SYM.
19255 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19256 (PARMS): Do not use macros from bp-asm.h.
19257 (SIGMSK): Likewise.
19258 (__sigsetjmp): Likewise. Do not use BP_SYM.
19259 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19260 (_start): Do not use BP_SYM.
19261 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19262 (PARMS): Do not use macros from bp-asm.h.
19265 (__stpcpy): Likewise. Do not use BP_SYM.
19266 (stpcpy): Do not use BP_SYM in weak_alias.
19267 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19269 (PARMS): Do not use macros from bp-asm.h.
19273 (__stpncpy): Likewise. Do not use BP_SYM.
19274 (stpncpy): Do not use BP_SYM in weak_alias.
19275 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19276 (PARMS): Do not use macros from bp-asm.h.
19279 (strchr): Likewise. Do not use BP_SYM.
19280 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19282 (PARMS): Do not use macros from bp-asm.h.
19285 (__strchrnul): Likewise. Do not use BP_SYM.
19286 (strchrnul): Do not use BP_SYM in weak_alias.
19287 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19289 (PARMS): Do not use macros from bp-asm.h.
19291 (strcspn): Do not use BP_SYM.
19292 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19294 (PARMS): Do not use macros from bp-asm.h.
19297 (strpbrk): Likewise. Do not use BP_SYM.
19298 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19300 (PARMS): Do not use macros from bp-asm.h.
19303 (strrchr): Likewise. Do not use BP_SYM.
19304 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19305 (PARMS): Do not use macros from bp-asm.h.
19307 (strspn): Do not use BP_SYM.
19308 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19309 (PARMS): Do not use macros from bp-asm.h.
19313 (FUNCTION): Likewise. Do not use BP_SYM.
19314 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19316 (strtok_r): Likewise.
19317 (__GI___strtok_r): Likewise.
19318 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19319 (PARMS): Do not use macros from bp-asm.h.
19323 (__mpn_sub_n): Do not use BP_SYM.
19324 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19326 (PARMS): Do not use macros from bp-asm.h.
19329 (__mpn_submul_1): Do not use BP_SYM.
19330 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19332 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19334 (PARMS): Do not use macros from bp-asm.h.
19339 (__clone): Do not use BP_SYM.
19340 (clone): Do not use BP_SYM in weak_alias.
19341 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19343 (PARMS): Do not use macros from bp-asm.h.
19345 (__mmap64): Do not use BP_SYM.
19346 (mmap64): Do not use BP_SYM in weak_alias.
19347 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19348 <bp-sym.h> and <bp-asm.h>.
19349 (PARMS): Do not use macros from bp-asm.h.
19350 (__posix_fadvise64_l64): Do not use BP_SYM.
19351 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19352 (PARMS): Do not use macros from bp-asm.h.
19354 (semtimedop): Do not use BP_SYM.
19355 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19358 2013-02-21 Allan McRae <allan@archlinux.org>
19360 * manual/message.texi (Charset conversion in gettext):
19361 Move @end statement to beginning of line.
19363 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19370 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19371 (denorm): Likewise.
19372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19375 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19377 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19378 tail-call to the resolved function if pltexit isn't needed.
19380 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19383 or Y being zero as being unlikely.
19384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19387 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19389 * manual/nss.texi (System Databases and Name Service Switch):
19390 Remove frobnicate @pxref.
19392 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19394 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19395 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19397 2013-02-20 Petr Machata <pmachata@redhat.com>
19399 * elf/elf.h (R_ARM_TARGET1): New macro.
19400 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19401 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19402 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19403 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19404 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19405 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19406 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19407 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19408 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19409 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19410 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19411 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19412 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19413 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19414 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19415 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19416 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19417 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19418 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19419 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19420 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19421 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19422 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19423 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19424 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19425 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19426 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19427 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19428 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19429 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19430 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19431 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19432 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19433 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19434 (R_ARM_THM_GOT_BREL12): Likewise.
19435 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19436 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19437 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19438 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19439 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19440 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19441 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19442 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19443 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19445 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19447 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19448 __attribute_used__ to __attribute__ ((unused)).
19450 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19452 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19455 comment formatting.
19456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19458 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19461 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19463 (ENTER): Remove both macro definitions.
19465 (CHECK_BOUNDS_LOW): Likewise.
19466 (CHECK_BOUNDS_HIGH): Likewise.
19467 (CHECK_BOUNDS_BOTH): Likewise.
19468 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19469 (RETURN_BOUNDED_POINTER): Likewise.
19470 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19471 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19472 (POP_ERRNO_LOCATION_RETURN): Likewise.
19473 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19474 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19475 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19477 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19478 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19479 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19480 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19481 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19482 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19483 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19484 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19485 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19486 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19487 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19488 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19489 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19490 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19492 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19493 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19495 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19496 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19497 * sysdeps/i386/i586/memset.S (memset): Likewise.
19498 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19499 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19500 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19502 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19503 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19504 Change uses of L(2) to L(out).
19505 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19506 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19507 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19508 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19509 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19511 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19512 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19514 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19515 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19516 (RETURN): Do not use macro LEAVE.
19517 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19518 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19519 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19520 * sysdeps/i386/i686/memset.S (memset): Likewise.
19521 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19522 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19523 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19524 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19526 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19527 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19528 L(1_2) and L(1_3) into L(1).
19529 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19530 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19531 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19532 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19533 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19534 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19535 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19536 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19537 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19539 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19540 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19541 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19542 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19543 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19544 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19545 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19546 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19547 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19548 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19549 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19550 * sysdeps/i386/strspn.S (strspn): Likewise.
19551 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19553 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19554 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19555 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19556 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19557 L(1_3) into L(1_1).
19558 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19560 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19564 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19566 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19569 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19571 * math/atest-exp.c (exp_mpn): Remove ROUND.
19572 * math/atest-exp2.c (exp_mpn): Likewise.
19573 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19575 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19576 * stdlib/tst-tls-atexit-lib.c: Likewise.
19577 * stdlib/tst-tls-atexit.c: Likewise.
19579 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19581 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19582 and __attribute_alloc_size__.
19584 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19586 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19587 __attribute_alloc_size__.
19588 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19589 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19591 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19593 * include/programs/xmalloc.h: New file.
19594 * catgets/gencat.c: Include it.
19595 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19596 * elf/pldd.c: Likewise.
19597 * iconv/iconv_charmap.c: Likewise.
19598 * iconv/iconvconfig.c: Likewise.
19599 * iconv/strtab.c: Likewise.
19600 * locale/programs/locale.c: Likewise.
19601 * locale/programs/localedef.h: Likewise.
19602 * locale/programs/simple-hash.c: Likewise.
19603 * nscd/nscd.h: Likewise.
19604 * nss/makedb.c: Likewise.
19605 * sysdeps/generic/ldconfig.h: Likewise.
19607 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19609 * Versions.def: Add GLIBC_2.18.
19610 * include/link.h (struct link_map): New member l_tls_dtor_count.
19611 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19612 (__call_tls_dtors): Likewise.
19613 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19614 __cxa_thread_atexit_impl.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19631 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19632 (tests): Add test case tst-tls-atexit.
19633 (modules-names): Add shared library for tst-tls-atexit.
19634 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19635 (GLIBC_PRIVATE): Add __call_tls_dtors.
19636 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19638 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19639 * stdlib/tst-tls-atexit.c: New test case.
19640 * stdlib/tst-tls-atexit-lib.c: New test case.
19642 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19644 * elf/Versions (ld): Add _dl_find_dso_for_object.
19645 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19646 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19647 (dl_open_worker): Use _dl_find_dso_for_object.
19648 * elf/dl-sym.c (do_sym): Likewise.
19649 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19651 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19653 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19654 Syntactic changes only.
19655 (_dl_runtime_profile): Do a tail-call to the resolved function.
19657 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19660 * sysdeps/x86_64/bp-asm.h: Remove file.
19661 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19662 <bp-sym.h> and <bp-asm.h>.
19663 (__clone): Do not use BP_SYM.
19664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19665 <bp-sym.h> and <bp-asm.h>.
19666 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19667 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19669 (_setjmp): Do not use BP_SYM.
19670 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19672 (setjmp): Do not use BP_SYM.
19673 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19675 (mempcpy): Do not use BP_SYM in weak_alias.
19676 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19678 (strchr): Do not use BP_SYM.
19679 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19681 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19682 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19683 (_start): Do not use BP_SYM.
19684 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19686 (strcat): Do not use BP_SYM.
19687 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19689 (STRCMP): Do not use BP_SYM.
19690 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19692 (STRCPY): Do not use BP_SYM.
19693 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19695 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19697 (FUNCTION): Do not use BP_SYM.
19698 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19700 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19702 2013-02-17 Andreas Jaeger <aj@suse.de>
19704 * time/Versions: Sort entries.
19705 * string/Versions: Likewise.
19706 * resolv/Versions: Likewise.
19707 * posix/Versions: Likewise.
19708 * iconv/Versions: Likewise.
19709 * elf/Versions: Likewise.
19710 * wcsmbs/Versions: Likewise.
19712 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19714 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19715 loop termination condition.
19717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19718 variable to calculate EZ.
19721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19722 the lower precision input.
19724 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19727 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19728 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19729 (run-via-rtld-prefix): Do not handle %-bp tests.
19730 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19731 (all-object-suffixes): Remove .ob.
19732 (bppfx): Remove variable.
19733 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19734 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19735 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19736 [$(build-bounded) = yes] (libtype.ob): Likewise.
19737 * Makerules (elide-routines.ob): Remove variable.
19738 (do-tests-clean): Do not handle *-bp.out.
19739 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19740 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19741 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19742 (tests): Do not include $(tests-bp.out).
19743 (xtests): Do not include $(xtests-bp.out).
19744 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19745 [$(build-bounded) = yes] ($(addprefix
19746 $(objpfx),$(binaries-bounded))): Remove rule.
19747 ($(objpfx)%-bp.out): Remove rule.
19748 * config.make.in (build-bounded): Remove variable.
19749 * crypt/Makefile [$(build-bounded) = yes]
19750 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19751 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19752 append to variable.
19753 [$(build-bounded) = yes] (install-lib): Likewise.
19754 [$(build-bounded) = yes] (generated): Likewise.
19755 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19757 * intl/Makefile [$(build-bounded) = yes]
19758 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19759 * math/Makefile [$(build-bounded) = yes]
19760 ($(tests:%=$(objpfx)%-bp): Likewise.
19761 * misc/Makefile [$(build-bounded) = yes]
19762 ($(objpfx)tst-tsearch-bp): Likewise.
19763 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19764 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19766 * string/Makefile (o-objects.ob): Remove variable.
19767 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19768 (CFLAGS-.ob): Remove variable.
19769 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19770 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19771 both definitions of variable.
19772 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19773 (ASFLAGS-.ob): Remove variable.
19775 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19778 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19779 Remove __BOUNDED_POINTERS__ from condition.
19780 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19781 * string/bits/string2.h [!__NO_STRING_INLINES &&
19782 !__BOUNDED_POINTERS__]: Likewise.
19783 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19785 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19786 Remove conditional code.
19787 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19788 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19789 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19793 * csu/libc-start.c: Do not include <bp-sym.h>.
19794 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19795 * elf/dl-open.c: Do not include <bp-sym.h>.
19796 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19797 * math/fegetenv.c: Do not include <bp-sym.h>.
19798 (fegetenv): Do not use BP_SYM in versioned symbols.
19799 * nptl/sysdeps/pthread/bits/libc-lockP.h
19800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19803 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19805 (__pthread_mutex_destroy): Likewise.
19806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19807 (__pthread_mutex_lock): Likewise.
19808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19809 (__pthread_mutex_trylock): Likewise.
19810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19811 (__pthread_mutex_unlock): Likewise.
19812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19813 (__pthread_mutexattr_init): Likewise.
19814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19815 (__pthread_mutexattr_destroy): Likewise.
19816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19817 (__pthread_mutexattr_settype): Likewise.
19818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19819 (__pthread_rwlock_init): Likewise.
19820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19821 (__pthread_rwlock_destroy): Likewise.
19822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19823 (__pthread_rwlock_rdlock): Likewise.
19824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19825 (__pthread_rwlock_tryrdlock): Likewise.
19826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19827 (__pthread_rwlock_wrlock): Likewise.
19828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19829 (__pthread_rwlock_trywrlock): Likewise.
19830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19831 (__pthread_rwlock_unlock): Likewise.
19832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19833 (__pthread_key_create): Likewise.
19834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19835 (__pthread_setspecific): Likewise.
19836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19837 (__pthread_getspecific): Likewise.
19838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19841 (_pthread_cleanup_push_defer): Likewise.
19842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19843 (_pthread_cleanup_pop_restore): Likewise.
19844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19845 (pthread_setcancelstate): Likewise.
19846 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19848 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19849 (memchr): Do not use BP_SYM in weak_alias.
19850 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19851 (fegetenv): Do not use BP_SYM in versioned symbols.
19852 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19853 (fesetenv): Do not use BP_SYM in versioned symbols.
19854 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19855 (feupdateenv): Do not use BP_SYM in versioned symbols.
19856 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19857 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19858 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19859 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19860 (open64): Do not use BP_SYM in weak_alias.
19861 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19862 (fegetenv): Do not use BP_SYM in versioned symbols.
19863 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19864 (fesetenv): Do not use BP_SYM in versioned symbols.
19865 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19866 (feupdateenv): Do not use BP_SYM in versioned symbols.
19867 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19868 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19869 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19870 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19871 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19872 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19873 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19875 (__libc_start_main): Do not use BP_SYM.
19877 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19880 redundant return line.
19882 (denorm): Likewise.
19883 (dbl_mp): Likewise.
19884 (sub_magnitudes): Likewise.
19890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19892 (denorm): Likewise.
19893 (dbl_mp): Likewise.
19894 (sub_magnitudes): Likewise.
19901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19903 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19904 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19907 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19908 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19909 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19910 of __mul for squares.
19911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19915 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19916 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19918 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19921 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19923 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19924 prototype or function definition. Rename ubp_* variables and
19925 parameters. Remove argv definitions conditional on
19926 [__BOUNDED_POINTERS__].
19927 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19928 * elf/dl-runtime.c (_dl_fixup): Likewise.
19929 * include/set-hooks.h (RUN_HOOK): Likewise.
19930 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19932 * string/strcpy.c (strcpy): Do not use __unbounded.
19933 * sysdeps/generic/frame.h (struct layout): Likewise.
19934 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19935 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19936 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19937 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19938 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19939 (__backtrace): Likewise.
19940 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19942 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19943 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19944 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19946 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19947 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19948 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19949 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19950 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19951 Do not use __unbounded.
19952 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19953 Rename __unboundedrlimits parameter to rlimits in prototype.
19954 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19955 Do not use __unbounded.
19956 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19957 not use __ptrvalue.
19958 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19959 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19960 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19961 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19962 __ptrvalue or __unbounded.
19963 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19964 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19966 (__new_msgctl): Do not use __ptrvalue.
19967 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19969 (__libc_msgrcv): Do not use __ptrvalue.
19970 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19971 startup_info): Do not use __unbounded.
19972 (__libc_start_main): Likewise. Rename ubp_* variables and
19973 parameters. Remove argv definitions conditional on
19974 [__BOUNDED_POINTERS__].
19975 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19977 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19979 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19981 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19983 (__new_shmctl): Do not use __ptrvalue.
19984 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19985 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19987 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19988 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19989 (__libc_sigaction): Likewise.
19990 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19991 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19993 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19995 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19997 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19999 * string/mempcpy.c: Implement by calling memcpy.
20001 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20008 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20009 values in the mantissa.
20011 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20012 minimize writes to Z.
20013 (sub_magnitudes): Simplify code a bit.
20015 2013-02-12 Roland McGrath <roland@hack.frob.com>
20017 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20018 from the message. The linker prefixes all warnings with that already.
20020 2013-02-12 Andreas Schwab <schwab@suse.de>
20023 * posix/regexec.c (extend_buffers): Add parameter min_len.
20024 (check_matching): Pass minimum needed length.
20025 (clean_state_log_if_needed): Likewise.
20026 (get_subexp): Likewise.
20027 * posix/Makefile (tests): Add bug-regex34.
20028 (bug-regex34-ENV): Define.
20029 * posix/bug-regex34.c: New file.
20032 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20033 elements compare against the byte sequence of it, not its name.
20034 * posix/Makefile (tests): Add bug-regex35.
20035 (bug-regex35-ENV): Define.
20036 * posix/bug-regex35.c: New file.
20038 2013-02-11 Tom de Vries <tom@codesourcery.com>
20040 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20042 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20043 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20044 (CHECK_EOL): Add undef.
20046 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20048 * bits/stdlib-bsearch.h: New file.
20049 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20050 * stdlib/stdlib.h: Likewise.
20052 2013-02-11 Roland McGrath <roland@hack.frob.com>
20054 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20055 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20057 * manual/search.texi (Array Search Function): Add missing const in
20059 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20060 declaration to use rlim_t.
20061 (Basic Scheduling Functions): Remove erroneous const from
20062 sched_getparam prototype. Remove erroneous * from
20063 sched_get_priority_max and sched_get_priority_min prototypes.
20064 (Resource Usage): Fix summary @comment on vtimes to refer to
20065 sys/vtimes.h rather than vtimes.h.
20066 Add missing *s in vtimes prototype.
20067 (Limits on Resources): Fix ulimit prototype to return long int.
20068 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20069 prototypes to use long int rather than double.
20070 (BSD Random): Fix initstate and setstate to use char *, not void *.
20071 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20072 prototype to make second argument 'struct aiocb64 *const[]'.
20073 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20074 (Status of AIO Operations): Remove erroneous const in aio_return and
20075 aio_return64 prototypes.
20076 (Synchronizing I/O): Fix sync prototype to return void.
20077 * manual/startup.texi (Suboptions): Remove an erroneous const in
20078 getsubopt prototype.
20079 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20080 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20081 use size_t rather than int.
20082 (Scanning All Users): Likewise for getpwent_r.
20083 (Setting Groups): Add missing const to setgroups prototype.
20084 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20085 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20086 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20087 'const void *' rather than 'const char *'.
20088 (Host Address Functions): Likewise for inet_ntop.
20089 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20090 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20091 ssize_t for return value.
20092 (Sending Data): Likewise for send, sendto, sendmsg.
20093 (Socket Option Functions): Add a missing const in setsockopt prototype.
20094 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20095 use wchar_t for the argument.
20096 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20097 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20099 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20100 double/float/long double for second argument.
20101 Fix return types of significand, significandf, significandl.
20102 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20103 argument in fchmod prototype.
20104 (File Owner): Use uid_t and gid_t in fchown prototype.
20105 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20106 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20107 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20108 use 'const struct dirent **' as argument types to CMP function pointer
20110 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20111 (File Times): Fix summary magic @comment for struct utimbuf and utime
20112 to refer to utime.h, not time.h.
20113 * manual/string.texi (Argz Functions): Add missing const in
20114 argz_extract and argz_next prototypes.
20115 (Finding Tokens in a String): Likewise for basename.
20116 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20117 (Copying and Concatenation): Fix typo in wmemmove prototype.
20118 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20119 (Signal Stack): Remove erroneous const in sigstack prototype.
20120 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20122 (Simple Calendar Time): Likewise for stime.
20123 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20125 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20126 say sys/sysctl.h instead.
20127 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20128 and vsyslog prototypes.
20130 2013-02-11 Tom de Vries <tom@codesourcery.com>
20132 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20135 2013-02-11 Roland McGrath <roland@hack.frob.com>
20137 * misc/sys/mman.h: Fix typo in mremap comment.
20139 2013-02-08 Roland McGrath <roland@hack.frob.com>
20141 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20142 the '\0' terminator.
20144 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20147 * debug/segfault.c: Don't include <bp-checks.h>.
20148 * sysdeps/generic/bp-checks.h: Remove file.
20149 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20150 (__GETDENTS): Don't use CHECK_N.
20151 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20152 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20153 (__getgroups): Don't use CHECK_N.
20154 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20155 (setgroups): Don't use CHECK_N.
20156 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20157 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20158 (__libc_msgrcv): Don't use CHECK_N.
20159 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20160 (__libc_msgsnd): Don't use CHECK_N.
20161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20163 (__libc_pread): Don't use CHECK_N.
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20165 include <bp-checks.h>.
20166 (__libc_pread64): Don't use CHECK_N.
20167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20168 include <bp-checks.h>.
20169 (__libc_pwrite): Don't use CHECK_N.
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20171 include <bp-checks.h>.
20172 (__libc_pwrite64): Don't use CHECK_N.
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20175 (__libc_pread): Don't use CHECK_N.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20177 include <bp-checks.h>.
20178 (__libc_pread64): Don't use CHECK_N.
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20180 include <bp-checks.h>.
20181 (__libc_pwrite): Don't use CHECK_N.
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20183 include <bp-checks.h>.
20184 (__libc_pwrite64): Don't use CHECK_N.
20185 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20186 (do_pread): Don't use CHECK_N.
20187 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20188 (do_pread64): Don't use CHECK_N.
20189 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20190 (do_pwrite): Don't use CHECK_N.
20191 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20192 (do_pwrite64): Don't use CHECK_N.
20193 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20194 (__libc_readv): Don't use CHECK_N.
20195 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20196 (semop): Don't use CHECK_N.
20197 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20199 (semtimedop): Don't use CHECK_N.
20200 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20201 (__libc_pread): Don't use CHECK_N.
20202 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20204 (__libc_pread64): Don't use CHECK_N.
20205 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20207 (__libc_pwrite): Don't use CHECK_N.
20208 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20210 (__libc_pwrite64): Don't use CHECK_N.
20211 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20213 (__libc_msgrcv): Don't use CHECK_N.
20214 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20215 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20216 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20217 (__libc_writev): Don't use CHECK_N.
20219 2013-02-08 Roland McGrath <roland@hack.frob.com>
20221 * string/strcpy.c: Removed unused variable.
20223 * Makeconfig (+sysdep-includes): Define with := rather than =.
20224 Use an existing include/ subdir of each sysdeps dir before it.
20226 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20228 * nscd/connection.c (register_traced_file): Comment function.
20229 [HAVE_INOTIFY] (union __inev): Define.
20230 [HAVE_INOTIFY] (inotify_check_files): New function.
20231 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20232 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20234 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20236 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20238 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20239 loaded if not already and that a failure is permanent.
20241 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20244 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20245 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20247 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20250 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20251 (CHECK_1_NULL_OK): Likewise.
20252 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20253 (__fxstat): Do not use CHECK_1.
20254 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20256 (___fxstat64): Do not use CHECK_1.
20257 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20259 (__fxstatat): Do not use CHECK_1.
20260 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20262 (__fxstatat64): Do not use CHECK_1.
20263 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20265 (__fxstat): Do not use CHECK_1.
20266 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20268 (__fxstatat): Do not use CHECK_1.
20269 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20271 (__getresgid): Do not use CHECK_1.
20272 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20274 (__getresuid): Do not use CHECK_1.
20275 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20277 (__lxstat): Do not use CHECK_1.
20278 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20280 (__old_msgctl): Do not use CHECK_1.
20281 (__new_msgctl): Likewise.
20282 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20284 (__new_setrlimit): Do not use CHECK_1.
20285 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20287 (__old_shmctl): Do not use CHECK_1.
20288 (__new_shmctl): Likewise.
20289 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20291 (__xstat): Do not use CHECK_1.
20292 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20293 (__lxstat): Do not use CHECK_1.
20294 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20296 (___lxstat64): Do not use CHECK_1.
20297 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20298 (__old_msgctl): Do not use CHECK_1.
20299 (__new_msgctl): Likewise.
20300 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20302 (__gettimeofday): Do not use CHECK_1.
20303 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20304 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20305 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20307 (__gettimeofday): Do not use CHECK_1.
20308 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20309 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20310 (__new_shmctl): Do not use CHECK_1.
20311 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20313 (do_sigtimedwait): Do not use CHECK_1.
20314 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20316 (do_sigwaitinfo): Do not use CHECK_1.
20317 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20319 (msgctl): Do not use CHECK_1.
20320 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20322 (shmctl): Do not use CHECK_1.
20323 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20324 (ustat): Do not use CHECK_1.
20325 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20327 (__fxstat): Do not use CHECK_1.
20328 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20330 (__fxstatat): Do not use CHECK_1.
20331 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20333 (__lxstat): Do not use CHECK_1.
20334 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20336 (__xstat): Do not use CHECK_1.
20337 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20338 (__xstat): Do not use CHECK_1.
20339 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20340 (___xstat64): Do not use CHECK_1.
20343 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20345 (CHECK_BOUNDS_HIGH): Likewise.
20346 * string/strcpy.c: Do not include <bp-checks.h>.
20347 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20349 2013-02-07 Roland McGrath <roland@hack.frob.com>
20351 * nscd/nscd-client.h (__nscd_drop_map_ref):
20352 Add __attribute__ ((unused)).
20353 * nis/nss-nisplus.h (niserr2nss): Likewise.
20355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20356 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20358 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20359 Remove inline keyword.
20360 * include/rounding-mode.h (round_away): Likewise.
20361 * libio/wfileops.c (adjust_wide_data): Likewise.
20362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20363 (__m128i_strloadu_tolower): Likewise.
20364 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20365 (__m128i_strloadu_tolower): Likewise.
20366 * time/mktime.c (ydhms_diff): Likewise.
20367 * locale/elem-hash.h (elem_hash): Likewise.
20368 * locale/setlocale.c (setdata): Likewise.
20369 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20370 (re_string_wchar_at): Likewise.
20371 (bitset_not, bitset_merge, bitset_mask): Likewise.
20372 [!(__GNUC__ > 3)] (inline): Remove macro.
20373 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20374 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20375 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20376 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20377 * string/memcmp.c (memcmp_bytes): Likewise.
20378 * locale/programs/locarchive.c (compute_hashval): Likewise.
20379 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20380 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20381 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20382 * nss/getent.c (print_rpc, print_protocols): Likewise.
20383 (print_passwd, print_group, print_aliases): Likewise.
20384 * nis/nss-nisplus.h (niserr2nss): Likewise.
20385 * nscd/connections.c (restart_p): Likewise.
20386 Change return type to bool.
20388 2013-02-05 Roland McGrath <roland@hack.frob.com>
20390 * Makeconfig (all-Depend-files): Add existing
20391 $(sorted-subdirs:=/Depend) files.
20392 (all-subdirs): Remove nss.
20393 * sysdeps/unix/inet/Subdirs: Add it here instead.
20394 * hesiod/Depend: New file.
20396 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20397 instead of calling alloca.
20399 * io/lseek.c (__lseek): Rename to __libc_lseek.
20400 Define __lseek as an alias.
20402 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20404 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20406 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20407 else clause and remove check for non-standard endianness.
20409 2013-02-04 David S. Miller <davem@davemloft.net>
20411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20413 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20416 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20417 (__ubp_memchr): Remove prototype.
20418 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20419 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20420 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20421 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20422 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20424 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20425 (__ubp_memchr): Likewise.
20426 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20427 (__ubp_memchr): Likewise.
20428 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20429 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20430 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20431 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20433 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20434 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20435 (__getcwd): Do not use CHECK_STRING.
20436 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20438 (__real_chown): Do not use CHECK_STRING.
20439 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20441 (fchownat): Do not use CHECK_STRING.
20442 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20444 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20446 (__lchown): Do not use CHECK_STRING.
20447 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20448 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20449 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20450 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20452 include <bp-checks.h>.
20453 (truncate64): Do not use CHECK_STRING.
20454 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20456 (__real_chown): Do not use CHECK_STRING.
20457 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20459 (__lchown): Do not use CHECK_STRING.
20460 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20462 (__chown): Do not use CHECK_STRING.
20463 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20465 (truncate64): Do not use CHECK_STRING.
20466 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20468 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20469 (__xmknod): Do not use CHECK_STRING.
20470 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20472 (__xmknodat): Do not use CHECK_STRING.
20473 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20474 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20476 2013-02-04 Andreas Schwab <schwab@suse.de>
20479 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20480 * include/netdb.h: Likewise for h_errno.
20481 * elf/tst-stackguard1.c: Include <tls.h>.
20483 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20485 * elf/link.h (struct link_map): Extend the l_addr comment.
20486 * include/link.h (struct link_map): Likewise.
20488 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20491 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20492 (BOUNDED_1): Remove macro.
20493 * debug/backtrace.c: Don't include <bp-checks.h>.
20494 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20495 (__backtrace): Likewise.
20496 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20498 (__backtrace): Don't use BOUNDED_1.
20499 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20501 (__backtrace): Don't use BOUNDED_1.
20502 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20503 (__backtrace): Don't use BOUNDED_1.
20504 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20505 (shmat): Don't use BOUNDED_N.
20507 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20510 * sysdeps/generic/bp-start.h: Remove file.
20511 * csu/libc-start.c: Don't include <bp-start.h>.
20512 (LIBC_START_MAIN): Set up __environ directly instead of using
20513 INIT_ARGV_and_ENVIRON.
20514 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20518 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20520 (CHECK_FCNTL): Likewise.
20521 (CHECK_N_PAGES): Likewise.
20524 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20526 (CHECK_SIGSET_NULL_OK): Likewise.
20527 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20529 (sigpending): Don't use CHECK_SIGSET.
20530 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20532 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20533 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20535 (do_sigsuspend): Don't use CHECK_SIGSET.
20536 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20538 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20539 (do_sigwait): Don't use CHECK_SIGSET.
20540 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20542 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20543 include <bp-checks.h>.
20544 (sigpending): Don't use CHECK_SIGSET.
20545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20546 include <bp-checks.h>.
20547 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20548 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20550 (sigpending): Don't use CHECK_SIGSET.
20551 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20553 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20556 * sysdeps/generic/bp-semctl.h: Remove file.
20557 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20558 <bp-checks.h> and <bp-semctl.h>.
20559 (__old_semctl): Don't use CHECK_SEMCTL.
20560 (__new_semctl): Likewise.
20561 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20563 (__old_semctl): Don't use CHECK_SEMCTL.
20564 (__new_semctl): Likewise.
20565 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20566 <bp-checks.h> and <bp-semctl.h>.
20567 (__old_semctl): Don't use CHECK_SEMCTL.
20568 (__new_semctl): Likewise.
20569 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20570 <bp-checks.h> and <bp-semctl.h>.
20571 (semctl): Don't use CHECK_SEMCTL.
20574 * Makerules (elide-bp-thunks): Remove variable.
20575 (elide-routines.oS): Don't use $(elide-bp-thunks).
20576 (elide-routines.os): Likewise.
20577 (elide-routines.o): Likewise.
20578 (elide-routines.op): Likewise.
20579 (elide-routines.og): Likewise.
20580 (objects): Don't use $(bp-thunks).
20581 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20583 (common-generated): Do not add s-proto-bp.d.
20584 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20587 Do not generate makefile rules for bounded-pointer thunks.
20588 * sysdeps/generic/bp-thunks.h: Remove file.
20589 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20590 * sysdeps/unix/s-proto-bp.S: Likewise.
20593 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20594 parts of result separately when argument is not close to line from
20595 -i to i and one part of argument is small.
20596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20598 * math/libm-test.inc (cacos_test): Add more tests.
20599 (casin_test): Likewise.
20600 (casinh_test): Likewise.
20601 * sysdeps/i386/fpu/libm-test-ulps: Update.
20602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20604 2013-01-31 David S. Miller <davem@davemloft.net>
20606 * po/de.po: Update from translation team.
20608 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20610 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20612 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20614 * configure.in (_AC_PROG_CC_C89): New definition.
20615 * configure: Regenerate.
20617 * configure.in (AC_PROG_CPP): New definition.
20618 * configure: Regenerate.
20620 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20622 * debug/tst-backtrace.h: New file.
20623 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20624 (ret): Remove variable.
20626 (FAIL): Remove macro.
20627 (NO_INLINE): Likewise.
20628 (fn1): Use match function instead of strstr.
20629 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20630 (ret): Remove variable.
20632 (FAIL): Remove macro.
20633 (NO_INLINE): Likewise.
20634 (fn): Use match function instead of strstr.
20635 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20636 (ret): Remove variable.
20638 (FAIL): Remove macro.
20639 (NO_INLINE): Likewise.
20640 (handle_signal): Use match function instead of strstr.
20641 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20642 (ret): Remove variable.
20644 (FAIL): Remove macro.
20645 (NO_INLINE): Likewise.
20646 (handle_signal): Use match function instead of strstr.
20648 2013-01-23 Roland McGrath <roland@hack.frob.com>
20650 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20652 2013-01-23 David S. Miller <davem@davemloft.net>
20654 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20655 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20656 argument of CAS if possible.
20657 * sysdeps/sparc/sparc64/bits/atomic.h
20658 (__arch_compare_and_exchange_val_32_acq): Likewise.
20659 (__arch_compare_and_exchange_val_64_acq): Likewise.
20661 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20663 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20664 * sysdeps/posix/ulimit.c: ... this.
20665 Include <limits.h>.
20666 * sysdeps/unix/bsd/ulimit.c: Remove file.
20668 2013-01-23 Adam Conrad <adconrad@0c3.net>
20670 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20671 (LDFLAGS-tst-array5): Likewise.
20673 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20676 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20677 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20678 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20679 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20681 2013-01-21 David S. Miller <davem@davemloft.net>
20683 * sysdeps/sparc/backtrace.c: New file.
20684 * sysdeps/sparc/sparc32/backtrace.h: New file.
20685 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20686 * sysdeps/sparc/sparc64/backtrace.h: New file.
20687 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20688 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20691 2013-01-21 Andreas Schwab <schwab@suse.de>
20694 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20697 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20703 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20704 Mark Mitchell <mark@codesourcery.com>
20705 Tom de Vries <tom@codesourcery.com>
20706 Paul Pluzhnikov <ppluzhnikov@google.com>
20708 * debug/tst-backtrace2.c: New file.
20709 * debug/tst-backtrace3.c: Likewise.
20710 * debug/tst-backtrace4.c: Likewise.
20711 * debug/tst-backtrace5.c: Likewise.
20712 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20713 (CFLAGS-tst-backtrace3.c): Likewise.
20714 (CFLAGS-tst-backtrace4.c): Likewise.
20715 (CFLAGS-tst-backtrace5.c): Likewise.
20716 (LDFLAGS-tst-backtrace2): Likewise.
20717 (LDFLAGS-tst-backtrace3): Likewise.
20718 (LDFLAGS-tst-backtrace4): Likewise.
20719 (LDFLAGS-tst-backtrace5): Likewise.
20720 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20721 tst-backtrace4 and tst-backtrace5.
20723 2013-01-18 Anton Blanchard <anton@samba.org>
20724 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20726 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20727 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20728 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20729 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20731 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20732 "+r" and remove output regs list as redundant. Add explicit inline
20733 asm to specify register of return val to work around compiler codegen
20734 bug. Remove (int) cast on return value. Add return type parameter to
20735 use in macro so that this macro does not truncate return value for
20737 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20738 pass to INTERNAL_VSYSCALL_NCS.
20739 (INLINE_VSYSCALL): Add 'long int' as return type to
20740 INTERNAL_VSYSCALL_NCS macro invocation.
20741 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20742 INTERNAL_VSYSCALL_NCS macro invocation.
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20745 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20748 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20749 Fix application of SIMD FP exception mask.
20751 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20752 mp_no from a power of two.
20753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20754 __mpexp_twomm1. Use __pow_mp.
20756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20759 2013-01-17 David S. Miller <davem@davemloft.net>
20761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20763 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20766 * include/complex.h: Condition contents on [!_COMPLEX_H].
20767 (__kernel_casinhf): New prototype.
20768 (__kernel_casinh): Likewise.
20769 (__kernel_casinhl): Likewise.
20770 * math/Makefile (libm_calls): Add k_casinh.
20771 * math/k_casinh.c: New file.
20772 * math/k_casinhf.c: Likewise.
20773 * math/k_casinhl.c: Likewise.
20774 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20775 finite nonzero arguments.
20776 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20777 finite nonzero arguments.
20778 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20779 finite nonzero arguments.
20780 * math/s_casinh.c: Do not include <float.h>.
20781 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20782 * math/s_casinhf.c: Do not include <float.h>.
20783 (__casinhf): Move code for finite nonzero arguments to
20785 * math/s_casinhl.c: Do not include <float.h>.
20786 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20788 (__casinhl): Move code for finite nonzero arguments to
20790 * math/libm-test.inc (cacos_test): Add more tests.
20791 * sysdeps/i386/fpu/libm-test-ulps: Update.
20792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20794 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20796 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20797 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20798 [!HAVE_MREMAP]: Remove [defined linux] case.
20799 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20801 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20803 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20805 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20807 * elf/elf.h (R_386_SIZE32): New relocation.
20808 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20810 (elf_machine_rela): Likewise.
20811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20812 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20814 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20816 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20817 (FP_FAST_FMA): Do not define.
20818 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20819 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20820 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20821 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20822 !_SOFT_FLOAT]: Likewise.
20823 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20824 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20826 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20827 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20829 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20830 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20831 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20834 2013-01-16 Andreas Schwab <schwab@suse.de>
20837 * include/stdlib.h (__mktemp): Add declaration.
20838 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20839 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20841 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20843 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20845 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20846 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20847 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20849 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20850 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20852 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20854 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20855 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20856 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20858 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20859 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20861 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20863 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20865 2013-01-15 David S. Miller <davem@davemloft.net>
20867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20868 trunc{,f} to libm-sysdep_routes.
20869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20879 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20880 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20882 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20883 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20884 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20887 nearbyint{,f} to libm-sysdep_routes.
20888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20901 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20902 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20905 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20906 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20908 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20909 libc_feholdexcept and libc_fesetenv.
20911 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20913 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20915 2013-01-14 David S. Miller <davem@davemloft.net>
20917 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20918 (SPARC_ASM_VIS2_IFUNC): Likewise.
20919 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20921 use of 'siam' instruction.
20922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20955 routines to libm-sysdep_routines.
20956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20959 fdim/fdimf to libm-sysdep_routines.
20960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20968 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20969 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20970 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20971 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20973 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20976 to optimize copies.
20978 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20983 local variable MPTWO.
20984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20987 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20989 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20992 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20994 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20996 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20998 * manual/pattern.texi (glob_t): Document gl_flags.
20999 (glob64_t): Likewise.
21001 2013-01-11 David S. Miller <davem@davemloft.net>
21003 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21004 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21005 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21006 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21007 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21008 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21009 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21010 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21011 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21012 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21013 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21014 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21015 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21018 sparc V9 rather than using V8 code.
21019 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21020 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21022 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21024 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21027 2013-01-11 Roland McGrath <roland@hack.frob.com>
21029 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21030 not in the main loop.
21031 * configure: Regenerated.
21033 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21035 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21036 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21038 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21039 [!__GLIBC_HAVE_LONG_LONG] case.
21040 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21041 condition to just #else.
21042 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21043 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21044 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21045 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21047 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21048 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21049 #elif condition to just #else.
21050 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21051 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21052 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21053 #elif condition to just #else.
21055 2013-01-11 Steve Ellcey <sellcey@mips.com>
21057 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21058 (EF_MIPS_ARCH_64): Fix value.
21059 (EF_MIPS_ARCH_32R2): New.
21060 (EF_MIPS_ARCH_64R2): New.
21062 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21064 * Makeconfig (+link-pie-before-libc): New.
21065 (+link-pie-after-libc): Likewise.
21066 (+link-pie-tests): Likewise.
21067 (+link-pie): Rewritten.
21068 (link-before-libc): Remove $(config-LDFLAGS).
21069 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21070 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21071 (config-LDFLAGS): Renamed to ...
21072 (rtld-LDFLAGS): This.
21073 (rtld-tests-LDFLAGS): New macro.
21074 (link-libc-rpath-link): Likewise.
21075 (link-libc-tests-rpath-link): Likewise.
21076 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21077 (link-libc): Prepand $(link-libc-rpath-link).
21078 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21079 (test-program-prefix): New macro.
21080 (test-via-rtld-prefix): Likewise.
21081 (test-program-cmd): Likewise.
21082 (host-test-program-cmd): Likewise.
21083 * Makefile ($(common-objpfx)testrun.sh): Replace
21084 $(run-program-prefix) with $(test-program-prefix).
21085 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21087 ($(common-objpfx)shlib.lds): Likewise.
21088 (build-module-helper): Likewise.
21089 ($(common-objpfx)format.lds): Likewise.
21090 * Rules (binaries-pie-tests): New.
21091 (binaries-pie-notests): Likewise.
21092 (binaries-pie): Rewritten.
21093 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21094 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21095 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21096 (make-test-out): Replace $(host-built-program-cmd) with
21097 $(host-test-program-cmd).
21098 * config.make.in (build-hardcoded-path-in-tests): New variable.
21099 * configure.in (--enable-hardcoded-path-in-tests): New configure
21101 (hardcoded_path_in_tests): New AC_SUBST.
21102 * configure: Regenerated.
21103 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21104 $(built-program-cmd) with $(test-program-cmd).
21105 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21106 (test_program_cmd): This.
21107 * elf/Makefile ($(objpfx)order.out): Run test with
21108 $(test-program-prefix).
21109 ($(objpfx)order2.out): Likewise.
21110 ($(objpfx)tst-initorder.out): Likewise.
21111 ($(objpfx)tst-initorder2.out): Likewise.
21112 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21113 $(test-program-cmd).
21114 ($(objpfx)tst-array1-static.out): Likewise.
21115 ($(objpfx)tst-array2.out): Likewise.
21116 ($(objpfx)tst-array3.out): Likewise.
21117 ($(objpfx)tst-array4.out): Likewise.
21118 ($(objpfx)tst-array5.out): Likewise.
21119 ($(objpfx)tst-array5-static.out): Likewise.
21120 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21121 $(test-program-cmd).
21122 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21123 $(run-program-prefix) with $(test-program-prefix).
21124 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21125 (test_program_prefix): This.
21126 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21127 $(run-program-prefix) with $(test-program-prefix).
21128 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21129 (test_program_prefix): This.
21130 * iconvdata/tst-tables.sh: Likewise.
21131 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21132 $(run-program-prefix) with $(test-program-prefix).
21133 ($(objpfx)tst-translit.out): Likewise.
21134 ($(objpfx)tst-gettext2.out): Likewise.
21135 ($(objpfx)tst-gettext4.out): Likewise.
21136 ($(objpfx)tst-gettext6.out): Likewise.
21137 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21138 (test_program_prefix): This.
21139 * intl/tst-gettext2.sh: Likewise.
21140 * intl/tst-gettext4.sh Likewise.
21141 * intl/tst-gettext6.sh: Likewise.
21142 * intl/tst-translit.sh: Likewise.
21143 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21144 with $(test-program-cmd).
21145 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21146 $(run-program-prefix) with $(test-program-prefix).
21147 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21148 (test_program_prefix): This.
21149 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21150 $(run-program-prefix) with $(test-program-prefix).
21151 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21152 (test_program_prefix): This.
21153 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21154 * posix/Makefile ($(objpfx)globtest.out): Replace
21155 $(run-via-rtld-prefix) and $(test-wrapper) with
21156 $(test-program-prefix) and $(test-via-rtld-prefix).
21157 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21158 $(test-program-prefix).
21159 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21160 $(host-test-program-cmd).
21161 (tst-spawn-ARGS): Likewise.
21162 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21163 $(test-program-prefix).
21164 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21165 (test_via_rtld_prefix): This.
21166 (test_wrapper): Renamed to ...
21167 (test_program_prefix): This.
21168 (run_program_prefix): Replaced by test_program_prefix.
21169 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21170 (test_program_prefix): This.
21171 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21172 with $(host-test-program-cmd).
21173 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21174 $(run-program-prefix) with $(test-program-prefix).
21175 ($(objpfx)tst-printf.out): Likewise.
21176 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21177 $(test-program-cmd).
21178 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21179 (test_program_prefix): This.
21180 * stdio-common/tst-unbputc.sh: Likewise.
21181 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21182 $(run-program-prefix) with $(test-program-prefix).
21183 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21184 (test_program_prefix): This.
21185 * string/Makefile ($(objpfx)tst-svc.out): Replace
21186 $(built-program-cmd) with $(test-program-cmd).
21188 2013-01-11 Andreas Jaeger <aj@suse.de>
21191 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21192 value. Sync with Linux 3.7.
21194 2013-01-10 David S. Miller <davem@davemloft.net>
21196 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21197 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21198 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21200 2013-01-10 Roland McGrath <roland@hack.frob.com>
21202 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21204 * configure: Regenerated.
21206 2013-01-10 David S. Miller <davem@davemloft.net>
21208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21209 sparc V9 rather than using V8 code.
21210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21213 2013-01-10 Roland McGrath <roland@hack.frob.com>
21215 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21216 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21217 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21218 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21219 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21220 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21221 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21222 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21223 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21224 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21225 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21226 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21227 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21228 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21229 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21230 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21231 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21232 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21233 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21234 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21235 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21236 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21237 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21238 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21239 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21240 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21241 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21243 2013-01-10 David S. Miller <davem@davemloft.net>
21245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21247 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21249 * posix/Makefile (tests-static): New variable.
21250 (tests): Add $(tests-static).
21251 (tst-exec-static-ARGS): New variable.
21252 (tst-spawn-static-ARGS): Likewise.
21253 * posix/tst-exec-static.c: New file.
21254 * posix/tst-spawn-static.c: Likewise.
21255 * posix/tst-exec.c: Support run directly.
21256 * posix/tst-spawn.c: Likewise.
21258 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21260 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21262 * math/bits/mathcalls.h (llrint): Likewise.
21263 (llround): Likewise.
21264 * stdlib/stdlib.h (struct drand48_data): Likewise.
21265 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21266 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21267 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21269 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21271 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21272 (elf_greg_t): Likewise.
21273 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21274 (__jmp_buf): Likewise.
21275 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21277 (llrint): Likewise, for all definitions.
21278 (llrintl): Likewise.
21280 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21281 Remove [__GNUC__] condition.
21282 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21283 condition to just [__USE_ISOC99].
21284 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21286 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21289 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21290 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21292 (_POSIX_V6_ILP32_OFF32): Likewise.
21293 (_XBS5_ILP32_OFF32): Likewise.
21294 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21295 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21297 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21299 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21302 doubles __mpexp_twomm1. Adjust usage.
21303 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21306 2013-01-10 Andreas Schwab <schwab@suse.de>
21309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21310 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21312 2013-01-09 David S. Miller <davem@davemloft.net>
21315 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21316 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21317 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21318 (TCP_FASTOPEN): Define.
21319 (tcp_repair_opt): New structure.
21320 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21322 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21323 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21324 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21325 (tcp_cookie_transactions): New structure.
21327 2013-01-09 Anton Blanchard <anton@samba.org>
21329 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21331 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21332 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21334 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21336 * include/features.h (__USE_ANSI): Remove.
21338 2013-01-09 Roland McGrath <roland@hack.frob.com>
21340 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21342 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21344 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21346 * sysdeps/s390/fpu/libm-test-ulps: Update.
21348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21350 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21354 (denorm): Likewise.
21355 (__mp_dbl): Likewise.
21356 (__dbl_mp): Likewise.
21357 (add_magnitudes): Likewise.
21358 (sub_magnitudes): Likewise.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21368 (denorm): Likewise.
21369 (__mp_dbl): Likewise.
21370 (__dbl_mp): Likewise.
21371 (add_magnitudes): Likewise.
21372 (sub_magnitudes): Likewise.
21378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21382 (denorm): Likewise.
21383 (__mp_dbl): Likewise.
21384 (__dbl_mp): Likewise.
21385 (add_magnitudes): Likewise.
21386 (sub_magnitudes): Likewise.
21393 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21395 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21396 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21397 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21398 2 && __USE_EXTERN_INLINES]: Likewise.
21400 2013-01-08 Andreas Jaeger <aj@suse.de>
21403 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21405 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21406 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21408 2013-01-07 Anton Blanchard <anton@samba.org>
21410 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21411 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21412 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21413 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21414 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21415 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21416 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21417 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21419 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21420 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21421 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21422 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21423 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21424 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21425 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21426 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21428 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21429 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21430 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21431 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21433 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21434 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21435 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21436 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21437 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21439 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21440 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21442 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21443 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21444 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21445 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21446 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21448 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21449 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21450 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21451 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21452 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21454 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21456 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21457 (__MALLOC_PMT): Likewise.
21458 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21459 [__GNUC__], only on [_LIBC].
21460 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21461 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21462 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21463 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21464 forward declaration.
21465 (realloc_hook_ini): Likewise.
21466 (memalign_hook_ini): Likewise.
21467 (__libc_memalign): Do not use __MALLOC_PMT in variable
21469 (__libc_valloc): Likewise.
21470 (__libc_pvalloc): Likewise.
21471 (__libc_calloc): Likewise.
21472 (__posix_memalign): Likewise.
21475 * math/s_casinh.c: Include <float.h>.
21476 (__casinh): Do not do computation with squaring and square root
21477 for large arguments.
21478 * math/s_casinhf.c: Include <float.h>.
21479 (__casinhf): Do not do computation with squaring and square root
21480 for large arguments.
21481 * math/s_casinhl.c: Include <float.h>.
21482 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21483 (__casinhl): Do not do computation with squaring and square root
21484 for large arguments.
21485 * math/libm-test.inc (casin_test): Add more tests.
21486 (casinh_test): Likewise.
21487 * sysdeps/i386/fpu/libm-test-ulps: Update.
21488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21490 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21492 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21493 (__x86_64_raw_data_cache_size): Likewise.
21494 (__x86_64_data_cache_size_half): Likewise.
21495 (__x86_64_raw_data_cache_size_half): Likewise.
21496 (__x86_64_shared_cache_size): Likewise.
21497 (__x86_64_raw_shared_cache_size): Likewise.
21498 (__x86_64_shared_cache_size_half): Likewise.
21499 (__x86_64_raw_shared_cache_size_half): Likewise.
21500 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21502 (__x86_data_cache_size): This.
21503 (__x86_64_raw_data_cache_size): Renamed to ...
21504 (__x86_raw_data_cache_size): This.
21505 (__x86_64_data_cache_size_half): Renamed to ...
21506 (__x86_data_cache_size_half): This.
21507 (__x86_64_raw_data_cache_size_half): Renamed to ...
21508 (__x86_raw_data_cache_size_half): This.
21509 (__x86_64_shared_cache_size): Renamed to ...
21510 (__x86_shared_cache_size): This.
21511 (__x86_64_raw_shared_cache_size): Renamed to ...
21512 (__x86_raw_shared_cache_size): This.
21513 (__x86_64_shared_cache_size_half): Renamed to ...
21514 (__x86_shared_cache_size_half): This.
21515 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21516 (__x86_raw_shared_cache_size_half): This.
21517 * sysdeps/x86_64/memcpy.S: Updated.
21518 * sysdeps/x86_64/memset.S: Likewise.
21519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21523 2013-01-04 David S. Miller <davem@davemloft.net>
21525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21527 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21529 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21530 1 to avoid redefinition warning.
21531 (__USE_GNU): Don't define.
21532 (init_signaling_nan): Protoize.
21534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21536 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21538 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21540 (__cpymn): Likewise.
21541 (norm): Remove commented code.
21542 (denorm): Likewise.
21543 (__mp_dbl): Likewise.
21545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21546 (__cpymn): Likewise.
21547 (norm): Remove commented code.
21548 (denorm): Likewise.
21549 (__mp_dbl): Likewise.
21552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21553 mp_no value for 1.0 and 2.0.
21554 (norm): Use RADIXI instead of radixi.d.
21555 (denorm): Likewise.
21556 (__mul): Use 0.0 instead of zero.d.
21557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21558 mp_no value for 1.0 and 2.0.
21559 (norm): Use RADIXI instead of radixi.d.
21560 (denorm): Likewise.
21561 (__mul): Use 0.0 instead of zero.d.
21563 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21566 * math/s_casinh.c (__casinh): Reduce finite argument to first
21567 quadrant then set signs of results at the end.
21568 * math/s_casinhf.c (__casinhf): Likewise.
21569 * math/s_casinhl.c (__casinhl): Likewise.
21570 * math/libm-test.inc (casin_test): Add more tests.
21571 (casinh_test): Likewise.
21572 * sysdeps/i386/fpu/libm-test-ulps: Update.
21573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21575 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21577 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21579 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21581 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21583 (denorm): Likewise.
21584 (__mp_dbl): Likewise.
21587 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21588 and adjust the header comment.
21590 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21591 variable name from declaration.
21593 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21596 Initialize COMMON_CPUID_INDEX_7 element.
21597 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21598 (CPUID_RTM): Likewise.
21599 (HAS_RTM): Likewise.
21600 (COMMON_CPUID_INDEX_7): New enum.
21602 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21605 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21606 size is zero, record memory as freed.
21608 2013-01-03 Andreas Jaeger <aj@suse.de>
21610 * po/ia.po: Add new Interlingua translation.
21612 2012-01-03 Allan McRae <allan@archlinux.org>
21614 * locale/programs/localedef.c: Fix description of '--posix' flag.
21616 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21618 * NEWS: Update dates in second copyright notice.
21619 * README: Update copyright dates in example.
21620 * manual/libc.texinfo: Update copyright dates.
21621 * scripts/test-installation.pl: Update copyright date in --version
21624 * hurd/ctty-input.c: Fix copyright notice formatting.
21625 * hurd/ctty-output.c: Likewise.
21626 * hurd/dtable.c: Likewise.
21627 * hurd/hurd-raise.c: Likewise.
21628 * hurd/hurdprio.c: Likewise.
21629 * hurd/msgportdemux.c: Likewise.
21630 * misc/sys/file.h: Likewise.
21631 * misc/sys/ioctl.h: Likewise.
21632 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21633 * sysdeps/mach/hurd/chdir.c: Likewise.
21634 * sysdeps/mach/hurd/fchdir.c: Likewise.
21635 * sysdeps/mach/hurd/rename.c: Likewise.
21636 * sysdeps/mach/hurd/rmdir.c: Likewise.
21637 * sysdeps/mach/hurd/seekdir.c: Likewise.
21638 * sysdeps/mach/hurd/setsid.c: Likewise.
21639 * sysdeps/posix/wait3.c: Likewise.
21641 * All files with FSF copyright notices: Update copyright dates
21642 using scripts/update-copyrights.
21643 * intl/plural.c: Regenerated.
21644 * locale/programs/charmap-kw.h: Likewise.
21645 * locale/programs/locfile-kw.h: Likewise.
21647 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21649 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21653 calculation loop and add branch prediction.
21655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21656 check access beyond bounds of m1np.
21658 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21660 (__inv): Remove local variable MPTWO to use the global
21662 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21665 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21666 MP3HALFS static const.
21668 2013-01-01 David S. Miller <davem@davemloft.net>
21670 * po/ca.po: Update from translation team.
21672 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21674 * scripts/update-copyrights: New file.
21675 * Makeconfig: Reformat copyright notice.
21676 * ctype/ctype.h: Likewise.
21677 * debug/swprintf_chk.c: Likewise.
21678 * elf/dl-cache.c: Likewise.
21679 * elf/dl-debug.c: Likewise.
21680 * elf/dl-object.c: Likewise.
21681 * grp/initgroups.c: Likewise.
21682 * hurd/Makefile: Likewise.
21683 * hurd/hurd/signal.h: Likewise.
21684 * hurd/hurdfault.c: Likewise.
21685 * hurd/hurdioctl.c: Likewise.
21686 * hurd/hurdlookup.c: Likewise.
21687 * hurd/intr-msg.c: Likewise.
21688 * iconv/gconv_open.c: Likewise.
21689 * libio/swprintf.c: Likewise.
21690 * locale/lc-ctype.c: Likewise.
21691 * locale/nl_langinfo.c: Likewise.
21692 * mach/Machrules: Likewise.
21693 * mach/Makefile: Likewise.
21694 * malloc/obstack.h: Likewise.
21695 * manual/Makefile: Likewise.
21696 * manual/tsort.awk: Likewise.
21697 * misc/bits/stab.def: Likewise.
21698 * nis/nis_print_group_entry.c: Likewise.
21699 * nis/nis_table.c: Likewise.
21700 * nis/nss_compat/compat-pwd.c: Likewise.
21701 * nis/nss_compat/compat-spwd.c: Likewise.
21702 * po/Makefile: Likewise.
21703 * posix/fnmatch.c: Likewise.
21704 * posix/regex.h: Likewise.
21705 * resolv/Makefile: Likewise.
21706 * resolv/nss_dns/dns-network.c: Likewise.
21707 * resolv/res_hconf.c: Likewise.
21708 * scripts/gen-sorted.awk: Likewise.
21709 * soft-fp/soft-fp.h: Likewise.
21710 * stdio-common/printf.h: Likewise.
21711 * stdlib/monetary.h: Likewise.
21712 * stdlib/random.c: Likewise.
21713 * stdlib/random_r.c: Likewise.
21714 * sysdeps/generic/Makefile: Likewise.
21715 * sysdeps/gnu/Makefile: Likewise.
21716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21729 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21732 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21737 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21738 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21744 * sysdeps/mach/hurd/errnos.awk: Likewise.
21745 * sysdeps/mach/hurd/fork.c: Likewise.
21746 * sysdeps/mach/hurd/getcwd.c: Likewise.
21747 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21748 * sysdeps/mach/hurd/mmap.c: Likewise.
21749 * sysdeps/mach/hurd/utimes.c: Likewise.
21750 * sysdeps/mach/hurd/xmknod.c: Likewise.
21751 * sysdeps/posix/profil.c: Likewise.
21752 * sysdeps/posix/readdir_r.c: Likewise.
21753 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21754 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21755 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21756 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21758 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21759 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21762 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21763 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21764 * sysdeps/pthread/lio_listio.c: Likewise.
21765 * sysdeps/sparc/dl-procinfo.h: Likewise.
21766 * sysdeps/unix/i386/sysdep.S: Likewise.
21767 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21768 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21769 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21770 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21772 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21773 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21774 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21775 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21776 * sysdeps/wordsize-32/divdi3.c: Likewise.
21777 * time/sys/time.h: Likewise.
21778 * wcsmbs/Makefile: Likewise.
21780 2013-01-01 David S. Miller <davem@davemloft.net>
21782 * po/fr.po: Update from translation team.
21784 * catgets/gencat.c: Update copyright year.
21785 * csu/version.c: Likewise.
21786 * debug/catchsegv.sh: Likewise.
21787 * debug/pcprofiledump.c: Likewise.
21788 * debug/xtrace.sh: Likewise.
21789 * elf/ldconfig.c: Likewise.
21790 * elf/ldd.bash.in: Likewise.
21791 * elf/pldd.c: Likewise.
21792 * elf/sotruss.ksh: Likewise.
21793 * elf/sprof.c: Likewise.
21794 * iconv/iconv_prog.c: Likewise.
21795 * iconv/iconvconfig.c: Likewise.
21796 * locale/programs/locale.c: Likewise.
21797 * locale/programs/localedef.c: Likewise.
21798 * login/programs/pt_chown.c: Likewise.
21799 * malloc/memusage.sh: Likewise.
21800 * malloc/memusagestat.c: Likewise.
21801 * malloc/mtrace.pl: Likewise.
21802 * nscd/nscd.c: Likewise.
21803 * nss/getent.c: Likewise.
21804 * nss/makedb.c: Likewise.
21805 * posix/getconf.c: Likewise.
21807 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21809 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21812 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21814 * math/bits/mathcalls.h (modf): Use __nonnull.
21816 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21818 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21819 (split): Use macro CN instead of the bare value.
21820 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21823 instead of the bare value.
21824 (power1): Likewise.
21826 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21828 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21830 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21832 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21834 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21835 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21836 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21837 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21839 2012-12-28 Andreas Jaeger <aj@suse.de>
21841 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21842 values are from Linux 3.7.
21844 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21845 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21847 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21849 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21852 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21854 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21855 variables with preprocessor constants.
21856 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21857 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21858 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21860 2012-12-27 Bruno Haible <bruno@clisp.org>
21863 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21866 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21869 and use variable directly.
21870 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21872 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21874 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21877 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21879 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21880 include directive. Remove local variable MPONE.
21881 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21885 2012-12-25 David S. Miller <davem@davemloft.net>
21887 * version.h (RELEASE): Set to "development".
21888 (VERSION): Set to "2.17.90".
21889 * NEWS: Add 2.18 section.
21891 2012-12-21 David S. Miller <davem@davemloft.net>
21893 * po/hr.po: Update from translation team.
21895 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21897 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21899 2012-12-19 Steve Ellcey <sellcey@mips.com>
21901 * NEWS: Mention new memcpy for MIPS.
21903 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21905 * manual/contrib.texi (Contributors): Spelling correction.
21907 2012-12-15 David S. Miller <davem@davemloft.net>
21909 * po/ru.po: Update from translation team.
21911 2012-12-13 David S. Miller <davem@davemloft.net>
21913 * NEWS: Mention IFUNC testsuite enhancements.
21915 * po/pl.po: Update from translation team.
21916 * po/bg.po: Likewise.
21918 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21919 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21921 2012-12-11 David S. Miller <davem@davemloft.net>
21923 * po/sv.po: Update from translation team.
21925 * po/vi.po: Update from translation team.
21927 * po/cs.po: Update from translation team.
21929 * po/de.po: Update from translation team.
21930 * po/eo.po: Likewise.
21931 * po/nl.po: Likewise.
21933 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21936 * manual/argp.texi (Argp Helper Functions): Move node to follow
21937 Argp Parsing State.
21940 * manual/conf.texi (Limits on File System Capacity): Mention if
21941 terminating null is included in the max size.
21943 2012-12-10 Andreas Jaeger <aj@suse.de>
21945 * po/cs.po: Update from translation team.
21947 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21949 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21950 void pointer and cast to uintptr_t.
21951 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21953 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21954 * sysdeps/s390/s390-64/memset.S: Likewise.
21956 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21959 * menual/message.texi (Message Translation): Fix typos.
21960 (Helper programs for gettext): Likewise.
21962 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21965 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21968 2012-12-07 David S. Miller <davem@davemloft.net>
21970 * po/libc.pot: Update.
21972 2012-12-07 Richard Henderson <rth@redhat.com>
21975 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21976 normal/normal case to before the switch.
21977 (_FP_DIV): Likewise.
21979 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21980 Mike Frysinger <vapier@gentoo.org>
21982 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21983 check for __NR_fadvise64_64.
21985 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21987 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21988 0, not just to plain "0" as a statement.
21989 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21992 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21994 * NEWS: Use sourceware.org in Bugzilla URL.
21996 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21999 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22001 * stdio-common/tst-put-error.c (do_test): Add newline to the
22002 padded test to ensure flush.
22004 2012-12-05 Jeff Law <law@redhat.com>
22006 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22008 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22010 * README: Don't refer to ports add-on as distributed separately.
22011 Mention AArch64 in list of systems supported in the ports add-on.
22013 * LICENSES: Add more non-FSF copyright and license notices.
22015 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22018 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22020 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22021 10000 as width of padded output.
22023 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22025 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22027 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22028 variable LX with __attribute__ ((unused)).
22029 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22031 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22033 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22034 with __attribute__ ((unused)).
22036 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22038 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22040 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22042 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22043 (CFLAGS-nldbl-acos.c): New variable.
22044 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22048 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22049 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22050 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22051 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22052 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22053 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22054 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22055 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22056 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22065 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22066 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22067 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22068 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22069 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22070 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22071 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22072 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22073 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22074 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22075 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22076 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22077 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22078 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22079 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22080 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22081 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22082 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22083 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22084 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22085 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22086 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22087 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22088 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22089 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22090 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22091 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22092 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22093 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22094 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22095 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22096 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22097 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22098 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22099 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22100 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22101 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22102 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22103 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22104 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22105 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22106 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22107 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22108 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22109 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22110 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22111 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22112 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22113 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22114 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22115 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22116 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22117 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22118 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22119 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22120 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22121 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22122 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22123 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22124 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22125 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22126 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22127 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22128 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22129 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22130 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22131 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22132 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22133 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22134 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22135 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22136 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22137 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22138 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22139 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22140 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22143 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22147 whole low double instead of just low 47 bits when splitting values
22150 2012-12-03 Allan McRae <allan@archlinux.org>
22152 * manual/stdio.texi (Predefined Printf Handlers): Remove
22153 @hsep and @vsep usage.
22155 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22157 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22158 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22160 2012-12-03 Jeff Law <law@redhat.com>
22162 * time/sys/time.h (settimeofday): Do not mark TV argument
22165 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22167 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22168 when currently writing and seek to current position when not.
22169 * libio/Makefile (tests): Remove bug-fclose1.
22170 * libio/bug-fclose1.c: Delete.
22172 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22174 * manual/arith.texi (feenableexcept): Fix typo.
22175 (fedisableexcept): Likewise.
22177 2012-11-30 Roland McGrath <roland@hack.frob.com>
22179 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22180 second, differently-typed declaration, rather than a cast.
22182 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22184 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22185 * include/rpc/svc.h: ... here.
22187 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22190 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22191 depending n and resplen2 to catch cases where answer
22194 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22196 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22197 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22199 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22201 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22203 2012-11-29 Roland McGrath <roland@hack.frob.com>
22205 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22207 2012-11-28 Jeff Law <law@redhat.com>
22210 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22211 dataset_temporary. Track alloca usage into alloca_used.
22212 If dataset is large allocate and release it via malloc/free.
22214 2012-06-04 Florian Weimer <fweimer@redhat.com>
22217 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22219 2012-11-28 David S. Miller <davem@davemloft.net>
22221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22223 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22226 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22227 of pi/2 rounded to nearest to 64 bits.
22228 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22229 nearest to 64 bits.
22230 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22233 2012-11-28 Jeff Law <law@redhat.com>
22234 Martin Osvald <mosvald@redhat.com>
22237 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22238 * sunrpc/svc.c: Include time.h.
22239 (__svc_accept_failed): New function.
22240 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22241 any reason other than EINTR, call __svc_accept_failed.
22242 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22243 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22245 2012-11-28 Andreas Schwab <schwab@suse.de>
22247 * scripts/abilist.awk: Also handle indirect functions in .opd
22250 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22253 * sysdeps/x86/fpu/powl_helper.c: New file.
22254 * sysdeps/x86/fpu/Makefile: Likewise.
22255 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22257 (__ieee754_powl): Use __powl_helper for finite arguments except
22258 integer exponents below 8.
22259 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22261 (__ieee754_powl): Use __powl_helper for finite arguments except
22262 integer exponents below 8.
22263 * math/libm-test.inc (pow_test): Add more tests and enable some
22264 previously disabled tests.
22265 * sysdeps/i386/fpu/libm-test-ulps: Update.
22266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22268 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22269 Carlos O'Donell <carlos_odonell@mentor.com>
22271 * nss/makedb.c (is_prime): Assert that input is odd and greater
22272 than 4. Note that fact in a comment too.
22273 (next_prime): Add 4 to input.
22275 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22278 * libio/Makefile (tests): Add test case tst-fwrite-error.
22279 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22280 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22281 * libio/tst-fwrite-error.c: New test case.
22283 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22285 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22286 before casting to void *.
22287 * include/libc-internal.h (__pointer_type): New macro.
22288 (__integer_if_pointer_type_sub): Likewise.
22289 (__integer_if_pointer_type): Likewise.
22290 (cast_to_integer): Likewise.
22291 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22292 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22293 before casting to atomic64_t.
22294 (atomic_exchange_acq): Likewise.
22295 (__arch_exchange_and_add_body): Likewise.
22296 (__arch_add_body): Likewise.
22297 (atomic_add_negative): Likewise.
22298 (atomic_add_zero): Likewise.
22300 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22302 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22303 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22304 (add_fdes): Likewise.
22305 (linear_search_fdes): Likewise.
22306 (binary_search_unencoded_fdes): Likewise.
22308 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22310 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22312 2012-11-24 Adam Conrad <adconrad@0c3.net>
22314 * configure.in: Autodetect C++ header directories.
22315 * configure: Regenerated.
22317 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22319 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22321 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22325 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22327 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22328 LDBL_MANT_DIG == 106]: Disable some tests.
22329 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22331 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22336 input for small inputs. Return +/- pi/2 for large inputs.
22337 * math/libm-test.inc (atan_test): Add more tests.
22339 * sysdeps/generic/unwind-dw2-fde-glibc.c
22340 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22341 __attribute__ ((unused)).
22344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22345 x * y if x and y are nonzero and z is zero.
22348 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22349 nonzero exponents with absolute value below 0x1p-117 to +/-
22353 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22354 up arguments below 2**-450, not just those below 2**-500.
22355 * math/libm-test.inc (hypot_test): Add another test.
22358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22359 Return a+b for ratio over 2**120, not 2**60.
22360 * math/libm-test.inc (hypot_test): Add another test.
22362 * math/libm-test.inc (clog_test): Use
22363 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22364 (clog10_test): Likewise.
22367 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22369 2012-11-22 Andreas Schwab <schwab@suse.de>
22371 * sysdeps/i386/fpu/libm-test-ulps: Update.
22373 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22375 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22376 printf output with newline.
22378 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22381 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22382 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22383 -z nodlopen, -z initfirst and -z execstack support.
22384 * configure: Regenerated.
22386 * elf/elf.h (DF_1_NODIRECT): New macro.
22387 (DF_1_IGNMULDEF): Likewise.
22388 (DF_1_NOKSYMS): Likewise.
22389 (DF_1_NOHDR): Likewise.
22390 (DF_1_EDITED): Likewise.
22391 (DF_1_NORELOC): Likewise.
22392 (DF_1_SYMINTPOSE): Likewise.
22393 (DF_1_GLOBAUDIT): Likewise.
22394 (DF_1_SINGLETON): Likewise.
22395 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22396 DT_1_SUPPORTED_MASK bits.
22397 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22399 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22401 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22403 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22405 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22408 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22409 (sendmmsg): Move declarations...
22410 * socket/sys/socket.h: ... here.
22411 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22412 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22414 * socket/recvmmsg.c: ... this new file.
22415 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22416 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22417 definition of __sendmmsg hidden.
22418 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22419 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22420 Move ENOSYS stub into and include it from...
22421 * socket/sendmmsg.c: ... this new file.
22422 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22423 (sysdep_routines): Move recvmmsg and sendmmsg...
22424 * socket/Makefile (routines): ... here.
22425 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22426 (GLIBC_PRIVATE): Add __sendmmsg.
22427 * include/sys/socket.h (__sendmmsg): Add declarations.
22428 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22431 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22434 variable I1 with __attribute__ ((unused)).
22435 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22437 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22439 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22440 DUMMY variables with __attribute__ ((unused)).
22442 * bits/byteswap.h: Include <bits/types.h>.
22443 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22445 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22447 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22448 string_t. Do not manually set errno.
22449 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22450 length with __strnlen. Make sure to both set errno and return it on
22453 2012-11-19 David S. Miller <davem@davemloft.net>
22455 With help from Joseph Myers.
22456 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22457 very large arguments properly.
22458 * math/libm-test.inc (atan_test): New tests.
22459 (atan2_test): New tests.
22460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22463 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22466 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22469 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22470 [POSIX] (EADDRNOTAVAIL): Likewise.
22471 [POSIX] (EAFNOSUPPORT): Likewise.
22472 [POSIX] (EALREADY): Likewise.
22473 [POSIX] (ECONNABORTED): Likewise.
22474 [POSIX] (ECONNREFUSED): Likewise.
22475 [POSIX] (ECONNRESET): Likewise.
22476 [POSIX] (EDESTADDRREQ): Likewise.
22477 [POSIX] (EDQUOT): Likewise.
22478 [POSIX] (EHOSTUNREACH): Likewise.
22479 [POSIX] (EIDRM): Likewise.
22480 [POSIX] (EISCONN): Likewise.
22481 [POSIX] (ELOOP): Likewise.
22482 [POSIX] (EMULTIHOP): Likewise.
22483 [POSIX] (ENETDOWN): Likewise.
22484 [POSIX] (ENETUNREACH): Likewise.
22485 [POSIX] (ENOBUFS): Likewise.
22486 [POSIX] (ENODATA): Likewise.
22487 [POSIX] (ENOLINK): Likewise.
22488 [POSIX] (ENOMSG): Likewise.
22489 [POSIX] (ENOPROTOOPT): Likewise.
22490 [POSIX] (ENOSR): Likewise.
22491 [POSIX] (ENOSTR): Likewise.
22492 [POSIX] (ENOTCONN): Likewise.
22493 [POSIX] (ENOTSOCK): Likewise.
22494 [POSIX] (EOPNOTSUPP): Likewise.
22495 [POSIX] (EOVERFLOW): Likewise.
22496 [POSIX] (EPROTO): Likewise.
22497 [POSIX] (EPROTONOSUPPORT): Likewise.
22498 [POSIX] (EPROTOTYPE): Likewise.
22499 [POSIX] (ESTALE): Likewise.
22500 [POSIX] (ETIME): Likewise.
22501 [POSIX] (ETXTBSY): Likewise.
22502 [POSIX] (EWOULDBLOCK): Likewise.
22503 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22504 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22505 [POSIX] (SEEK_CUR): Likewise.
22506 [POSIX] (SEEK_END): Likewise.
22507 [POSIX || UNIX98] (mode_t): Do not require.
22508 [POSIX] (off_t): Likewise.
22509 [POSIX] (pid_t): Likewise.
22510 [POSIX] (sys/stat.h): Do not allow header.
22511 [POSIX] (unistd.h): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22513 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22514 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22515 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22517 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22518 sigevent): Specify elements.
22519 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22521 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22522 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22524 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22525 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22526 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22527 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22528 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22529 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22530 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22531 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22533 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22534 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22535 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22536 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22537 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22539 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22545 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22546 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22547 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22548 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22549 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22550 Specify lower bound on value.
22551 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22552 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22553 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22554 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22555 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22556 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22557 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22558 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22560 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22562 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22563 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22564 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22565 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22566 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22567 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22568 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22569 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22570 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22571 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22572 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22574 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22575 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22576 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22579 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22581 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22582 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22583 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22585 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22586 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22588 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22589 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22590 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22591 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22592 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22593 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22594 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22596 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22597 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22599 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22600 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22601 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22602 specify as optional.
22603 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22604 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22605 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22606 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22607 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22608 [XPG3] (NL_LANGMAX): Likewise.
22609 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22610 [POSIX || XPG3] (NL_NMAX): Likewise.
22611 [POSIX || XPG3] (NL_SETMAX): Likewise.
22612 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22613 [XPG3] (NZERO): Likewise.
22614 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22615 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22616 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22617 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22618 (REG_ERANGE): Expect.
22619 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22621 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22622 Use (void) in prototype.
22623 [POSIX] (*_t): Allow.
22624 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22625 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22626 (WRDE_BADVAL): Expect.
22628 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22630 [XPG3 || XPG4] (O_RSYNC): Likewise.
22631 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22633 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22634 [XPG3 || XPG4] (sigqueue): Likewise.
22635 [XPG3 || XPG4] (sigtimedwait): Likewise.
22636 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22637 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22638 [XPG3 || XPG4] (vsnprintf): Likewise.
22639 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22641 [XPG3 || XPG4] (blksize_t): Likewise.
22642 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22644 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22645 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22646 [XPG3 || XPG4] (struct itimerspec): Likewise.
22647 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22648 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22649 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22650 [XPG3 || XPG4] (clockid_t): Likewise.
22651 [XPG3 || XPG4] (timer_t): Likewise.
22652 [XPG3 || XPG4] (clock_getres): Likewise.
22653 [XPG3 || XPG4] (clock_gettime): Likewise.
22654 [XPG3 || XPG4] (clock_settime): Likewise.
22655 [XPG3 || XPG4] (nanosleep): Likewise.
22656 [XPG3 || XPG4] (timer_create): Likewise.
22657 [XPG3 || XPG4] (timer_delete): Likewise.
22658 [XPG3 || XPG4] (timer_gettime): Likewise.
22659 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22660 [XPG3 || XPG4] (timer_settime): Likewise.
22661 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22662 [XPG3 || XPG4] (getlogin_r): Likewise.
22663 [XPG3 || XPG4] (pread): Likewise.
22664 [XPG3 || XPG4] (pthread_atfork): Likewise.
22665 [XPG3 || XPG4] (pwrite): Likewise.
22668 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22671 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22673 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22674 finalizing MALLSTREAM.
22676 * sysdeps/mach/hurd/syncfs.c: New file.
22678 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22681 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22682 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22683 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22684 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22685 (_nss_dns_gethostbyname4_r): Likewise.
22686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22687 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22689 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22692 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22694 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22696 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22697 * elf/cache.c (print_entry): Print ",AArch64" for
22700 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22701 * elf/cache.c (print_entry): Print ",hard-float" for
22704 2012-11-18 David S. Miller <davem@davemloft.net>
22706 With help from Joseph Myers.
22707 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22709 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22711 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22712 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22714 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22715 * math/libm-test.inc (y0_test): New tests.
22716 (y1_test): New tests.
22717 * sysdeps/i386/fpu/libm-test-ulps: Update.
22718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22721 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22723 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22725 * configure: Regenerated.
22727 2012-11-17 David S. Miller <davem@davemloft.net>
22730 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22731 nonzero exponents with absolute value below 0x1p-128 to +/-
22734 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22736 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22738 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22740 * posix/getconf-speclist.c: New file.
22741 * posix/posix-envs.def: Likewise.
22742 * posix/confstr.c (START_ENV_GROUP): New macro.
22743 (END_ENV_GROUP): Likewise.
22744 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22745 (KNOWN_PRESENT_ENV_STRING): Likewise.
22746 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22747 (UNKNOWN_ENVIRONMENT): Likewise.
22748 (confstr): Include posix-envs.def instead of handling
22749 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22750 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22751 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22752 (END_ENV_GROUP): Likewise.
22753 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22754 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22755 (UNKNOWN_ENVIRONMENT): Likewise.
22756 (__sysconf): Include posix-envs.def instead of handling associated
22757 cases directly here.
22758 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22759 preprocessing getconf-speclist.c rather than running getconf or
22760 generating empty file.
22762 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22764 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22766 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22769 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22771 2012-11-16 David S. Miller <davem@davemloft.net>
22773 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22774 smaller than LDBL_EPSILON/2.0L, just return xm1.
22776 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22778 * elf/tst-array1.c (init): Set constructor priority to 1000.
22779 (fini): Set destructor priority to 1000.
22780 * elf/tst-array2dep.c: Likewise.
22782 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22785 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22786 (_IO_new_file_xsputn): Also return EOF if none of the input
22787 data was written when overflow failed.
22788 * libio/iopadn.c (_IO_padn): Likewise.
22789 * libio/iowpadn.c (_IO_wpadn): Likewise.
22790 * stdio-common/tst-put-error.c: Add copyright notice.
22791 (do_test): Add case for printing padded string.
22792 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22793 _IO_padn returned error.
22794 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22795 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22798 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 * libio/libioP.h: Add comment note that the references to C++
22801 bits are now obsolete.
22803 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22805 * math/libm-test.inc (check_complex): Use asprintf.
22807 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22809 * debug/pcprofiledump.c (print_version): Update copyright year.
22810 * malloc/memusagestat.c (print_version): Likewise.
22812 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22815 * elf/Makefile (tests): Add tst-audit8.
22816 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22817 ($(objpfx)tst-audit8.out): New target.
22818 (tst-audit8-ENV): New variable.
22819 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22820 audit if l_reloc_result is NULL.
22821 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22822 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22823 * elf/tst-audit8.c: New file.
22825 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22827 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22828 * misc/Makefile (CFLAGS-select.c): Define.
22829 * posix/Makefile (CFLAGS-pause.c): Define.
22831 2012-11-13 David S. Miller <davem@davemloft.net>
22833 * crypt/Makefile: Move test targets after toplevel Rules
22834 inclusion. Grab any necessary sysdep routines when linking.
22835 * crypt/md5.c (md5_process_block): Remove define, we will always
22836 name it __md5_process_block.
22837 (md5_finish_ctx): Update md5_process_block call.
22838 (md5_stream): Likewise.
22839 (md5_process_bytes): Likewise.
22840 (md5_process_block): Rename to __md5_process_block and move to ...
22841 * crypt/md5-block.c: ... here.
22842 * crypt/sha256.c (sha256_process_block): Move to ...
22843 * crypt/sha256-block.c: ... here.
22844 * crypt/sha512.c (sha512_process_block): Move to ...
22845 * crypt/sha512-block.c: ... here.
22846 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22848 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22849 * sysdeps/sparc/sparc64/multiarch/Makefile
22850 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22852 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22853 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22855 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22856 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22857 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22858 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22859 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22860 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22861 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22862 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22863 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22865 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22866 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22870 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22872 * timezone/tzselect.ksh: Update from tzcode git revision
22873 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22874 * timezone/zdump.c: Likewise.
22875 * timezone/zic.c: Likewise.
22876 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22877 in TZVERSION setting, not $(PKGVERSION).
22878 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22879 REPORT_BUGS_TO settings.
22882 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22885 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22887 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22888 detection to immediately after _FP_ROUND().
22889 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22892 2012-11-11 David S. Miller <davem@davemloft.net>
22894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22896 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22897 __close rather than their public counterparts.
22899 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22901 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22903 [UNIX98] (sem_timedwait): Do not expect.
22904 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22905 [XPG4 || UNIX98] (sockatmark): Do not expect.
22906 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22907 (clock_getcpuclockid): Do not expect.
22908 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22909 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22911 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22912 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22913 [UNIX98] (vwscanf): Likewise.
22914 [UNIX98] (vswscanf): Likewise.
22916 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22918 * timezone/version.h: Remove file.
22919 * timezone/README: Do not refer to version.h.
22920 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22921 $(objpfx)version.h.
22922 ($(objpfx)zdump.o): Likewise.
22923 ($(objpfx)version.h): New target.
22925 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22927 * timezone/README: Don't mention modification to tzselect.ksh.
22928 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22929 work on unmodified tzselect.ksh. Substitute version numbers in
22932 * Makefile (format-me): Remove.
22933 (INSTALL): Adjust indentation. Use commands directly instead of
22934 using $(format-me).
22936 * aclocal.m4 (ACX_PKGVERSION): New macro.
22937 (ACX_BUGURL): Likewise.
22938 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22939 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22940 (REPORT_BUGS_TO): Likewise.
22941 * configure: Regenerated.
22942 * config.h.in (PKGVERSION): New macro.
22943 (REPORT_BUGS_TO): Likewise.
22944 * config.make.in (PKGVERSION): New variable.
22945 (PKGVERSION_TEXI): Likewise.
22946 (REPORT_BUGS_TO): Likewise.
22947 (REPORT_BUGS_TEXI): Likewise.
22948 * Makefile (format-me): Use -I$(common-objpfx)manual.
22949 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22950 ($(common-objpfx)manual/%): New target.
22951 (manual/%): Remove target.
22952 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22953 (print_version): Use PKGVERSION.
22954 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22955 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22956 and REPORT_BUGS_TO.
22957 ($(objpfx)xtrace): Likewise.
22958 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22959 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22960 (print_version): Use PKGVERSION.
22961 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22962 (do_version): Use PKGVERSION.
22963 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22965 (common-ldd-rewrite): Likewise.
22966 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22967 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22968 (print_version): Use PKGVERSION.
22969 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22970 * elf/pldd.c (argp_program_bug_address): Remove variable.
22971 (more_help): New function.
22972 (argp): Use more_help.
22973 (print_version): Use PKGVERSION.
22974 * elf/sln.c (main): Use PKGVERSION.
22975 (usage): Use REPORT_BUGS_TO.
22976 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22977 (top level): Use PKGVERSION.
22978 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22979 (print_version): Use PKGVERSION.
22980 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22981 (print_version): Use PKGVERSION.
22982 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22983 (print_version): Use PKGVERSION.
22984 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22985 (print_version): Use PKGVERSION.
22986 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22987 (print_version): Use PKGVERSION.
22988 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22989 (print_version): Use PKGVERSION.
22990 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22992 ($(objpfx)memusage): Likewise.
22993 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22994 (do_version): Use PKGVERSION.
22995 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22996 (print_version): Use PKGVERSION.
22997 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22998 ($PKGVERSION): New variable.
22999 ($REPORT_BUGS_TO): Likewise.
23000 (usage): Use $REPORT_BUGS_TO.
23001 (top level): Use $PKGVERSION.
23002 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23003 ($(objpfx)pkgvers.texi): New rule.
23004 ($(objpfx)stamp-pkgvers): Likewise.
23005 * manual/install.texi: Include pkgvers.texi.
23006 (--with-pkgversion): Document new configure option.
23007 (--with-bugurl): Likewise.
23008 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23009 than necessarily for this particular distribution. Use
23010 REPORT_BUGS_TO for where to report bugs.
23011 * INSTALL: Regenerated.
23012 * manual/libc.texinfo: Include pkgvers.texi.
23013 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23014 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23015 (print_version): Use PKGVERSION.
23016 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23017 (print_version): Use PKGVERSION.
23018 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23019 (print_version): Use PKGVERSION.
23020 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23021 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23023 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23024 (print_version): Use PKGVERSION.
23025 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23026 (print_version): Use PKGVERSION.
23027 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23030 * timezone/checktab.awk: Update from tzcode 2012i.
23031 * timezone/ialloc.c: Likewise.
23032 * timezone/private.h: Likewise.
23033 * timezone/scheck.c: Likewise.
23034 * timezone/tzfile.h: Likewise.
23035 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23036 (TZVERSION): Hardcode tzcode version number.
23037 * timezone/zdump.c: Update from tzcode 2012i.
23038 * timezone/zic.c: Likewise.
23039 * timezone/version.h: New file.
23040 * timezone/README: Describe version.h. Update upstream location.
23043 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23044 (mktemp): Enable declaration.
23045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23062 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23063 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23064 for copies of such integer values.
23065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23068 2012-11-09 Andreas Jaeger <aj@suse.de>
23070 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23071 definitions and declarations that are provided by
23072 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23074 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23076 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23077 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23078 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23081 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23083 * elf/elf.h: Update comment before AArch64 relocations.
23085 2012-11-07 David S. Miller <davem@davemloft.net>
23087 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23089 (__start_context): Declare.
23090 (__makecontext_ret): Delete.
23091 (__makecontext): Hook up __start_context instead of
23093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23094 (sysdep_routines): Add __start_context when in stdlib.
23096 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23098 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23099 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23100 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23102 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23103 (READELF): New variable. Use it instead of hardcoded "readelf".
23105 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23107 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23108 * sysdeps/x86/Makefile: Here.
23109 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23110 * sysdeps/x86/tst-xmmymm.sh: This.
23112 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23114 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23116 [UNIX98] (pthread_barrier_t): Do not expect.
23117 [UNIX98] (pthread_barrierattr_t): Likewise.
23118 [UNIX98] (pthread_spinlock_t): Likewise.
23119 [UNIX98] (pthread_barrier_destroy): Likewise.
23120 [UNIX98] (pthread_barrier_init): Likewise.
23121 [UNIX98] (pthread_barrier_wait): Likewise.
23122 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23123 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23124 [UNIX98] (pthread_barrierattr_init): Likewise.
23125 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23126 [UNIX98] (pthread_getcpuclockid): Likewise.
23127 [UNIX98] (pthread_mutex_timedlock): Likewise.
23128 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23129 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23130 [UNIX98] (pthread_sigmask): Likewise.
23131 [UNIX98] (pthread_spin_destroy): Likewise.
23132 [UNIX98] (pthread_spin_init): Likewise.
23133 [UNIX98] (pthread_spin_lock): Likewise.
23134 [UNIX98] (pthread_spin_trylock): Likewise.
23135 [UNIX98] (pthread_spin_unlock): Likewise.
23136 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23138 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23139 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23140 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23141 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23142 [XPG3 || XPG4] (pthread_key_t): Likewise.
23143 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23144 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23145 [XPG3 || XPG4] (pthread_once_t): Likewise.
23146 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23147 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23148 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23149 [XPG3 || XPG4] (pthread_t): Likewise.
23151 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23153 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23155 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23156 Change function return type to int.
23158 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23159 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23160 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23161 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23162 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23163 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23164 [!POSIX] (posix_madvise): Likewise.
23165 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23167 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23168 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23169 (mode_t): Likewise.
23170 (posix_mem_offset): Likewise.
23171 (posix_typed_mem_get_info): Likewise.
23172 (posix_typed_mem_open): Likewise.
23174 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23175 Change condition to [XOPEN2K8].
23177 * conform/conformtest.pl: Preprocess allow-header data with -x c
23178 instead of from stdin.
23179 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23180 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23181 [C99-based standards] (cerfc): Likewise.
23182 [C99-based standards] (cexp2): Likewise.
23183 [C99-based standards] (cexpm1): Likewise.
23184 [C99-based standards] (clog10): Likewise.
23185 [C99-based standards] (clog1p): Likewise.
23186 [C99-based standards] (clog2): Likewise.
23187 [C99-based standards] (clgamma): Likewise.
23188 [C99-based standards] (ctgamma): Likewise.
23189 [C99-based standards] (cerff): Likewise.
23190 [C99-based standards] (cerfcf): Likewise.
23191 [C99-based standards] (cexp2f): Likewise.
23192 [C99-based standards] (cexpm1f): Likewise.
23193 [C99-based standards] (clog10f): Likewise.
23194 [C99-based standards] (clog1pf): Likewise.
23195 [C99-based standards] (clog2f): Likewise.
23196 [C99-based standards] (clgammaf): Likewise.
23197 [C99-based standards] (ctgammaf): Likewise.
23198 [C99-based standards] (cerfl): Likewise.
23199 [C99-based standards] (cerfcl): Likewise.
23200 [C99-based standards] (cexp2l): Likewise.
23201 [C99-based standards] (cexpm1l): Likewise.
23202 [C99-based standards] (clog10l): Likewise.
23203 [C99-based standards] (clog1pl): Likewise.
23204 [C99-based standards] (clog2l): Likewise.
23205 [C99-based standards] (clgammal): Likewise.
23206 [C99-based standards] (ctgammal): Likewise.
23207 * conform/data/inttypes.h-data [C99-based standards]: Include
23208 stdint.h-data. Remove all expectations for stdint.h contents.
23209 [C99-based standards] (PRI*): Do not allow.
23210 [C99-based standards] (SCN*): Likewise.
23211 [C99-based standards] (*_t): Likewise.
23212 [C99-based-standards] (PRId8): Expect macro.
23213 [C99-based-standards] (PRIi8): Likewise.
23214 [C99-based-standards] (PRIo8): Likewise.
23215 [C99-based-standards] (PRIu8): Likewise.
23216 [C99-based-standards] (PRIx8): Likewise.
23217 [C99-based-standards] (PRIX8): Likewise.
23218 [C99-based-standards] (SCNd8): Likewise.
23219 [C99-based-standards] (SCNi8): Likewise.
23220 [C99-based-standards] (SCNo8): Likewise.
23221 [C99-based-standards] (SCNu8): Likewise.
23222 [C99-based-standards] (SCNx8): Likewise.
23223 [C99-based-standards] (PRIdLEAST8): Likewise.
23224 [C99-based-standards] (PRIiLEAST8): Likewise.
23225 [C99-based-standards] (PRIoLEAST8): Likewise.
23226 [C99-based-standards] (PRIuLEAST8): Likewise.
23227 [C99-based-standards] (PRIxLEAST8): Likewise.
23228 [C99-based-standards] (PRIXLEAST8): Likewise.
23229 [C99-based-standards] (SCNdLEAST8): Likewise.
23230 [C99-based-standards] (SCNiLEAST8): Likewise.
23231 [C99-based-standards] (SCNoLEAST8): Likewise.
23232 [C99-based-standards] (SCNuLEAST8): Likewise.
23233 [C99-based-standards] (SCNxLEAST8): Likewise.
23234 [C99-based-standards] (PRIdFAST8): Likewise.
23235 [C99-based-standards] (PRIiFAST8): Likewise.
23236 [C99-based-standards] (PRIoFAST8): Likewise.
23237 [C99-based-standards] (PRIuFAST8): Likewise.
23238 [C99-based-standards] (PRIxFAST8): Likewise.
23239 [C99-based-standards] (PRIXFAST8): Likewise.
23240 [C99-based-standards] (SCNdFAST8): Likewise.
23241 [C99-based-standards] (SCNiFAST8): Likewise.
23242 [C99-based-standards] (SCNoFAST8): Likewise.
23243 [C99-based-standards] (SCNuFAST8): Likewise.
23244 [C99-based-standards] (SCNxFAST8): Likewise.
23245 [C99-based-standards] (PRId16): Likewise.
23246 [C99-based-standards] (PRIi16): Likewise.
23247 [C99-based-standards] (PRIo16): Likewise.
23248 [C99-based-standards] (PRIu16): Likewise.
23249 [C99-based-standards] (PRIx16): Likewise.
23250 [C99-based-standards] (PRIX16): Likewise.
23251 [C99-based-standards] (SCNd16): Likewise.
23252 [C99-based-standards] (SCNi16): Likewise.
23253 [C99-based-standards] (SCNo16): Likewise.
23254 [C99-based-standards] (SCNu16): Likewise.
23255 [C99-based-standards] (SCNx16): Likewise.
23256 [C99-based-standards] (PRIdLEAST16): Likewise.
23257 [C99-based-standards] (PRIiLEAST16): Likewise.
23258 [C99-based-standards] (PRIoLEAST16): Likewise.
23259 [C99-based-standards] (PRIuLEAST16): Likewise.
23260 [C99-based-standards] (PRIxLEAST16): Likewise.
23261 [C99-based-standards] (PRIXLEAST16): Likewise.
23262 [C99-based-standards] (SCNdLEAST16): Likewise.
23263 [C99-based-standards] (SCNiLEAST16): Likewise.
23264 [C99-based-standards] (SCNoLEAST16): Likewise.
23265 [C99-based-standards] (SCNuLEAST16): Likewise.
23266 [C99-based-standards] (SCNxLEAST16): Likewise.
23267 [C99-based-standards] (PRIdFAST16): Likewise.
23268 [C99-based-standards] (PRIiFAST16): Likewise.
23269 [C99-based-standards] (PRIoFAST16): Likewise.
23270 [C99-based-standards] (PRIuFAST16): Likewise.
23271 [C99-based-standards] (PRIxFAST16): Likewise.
23272 [C99-based-standards] (PRIXFAST16): Likewise.
23273 [C99-based-standards] (SCNdFAST16): Likewise.
23274 [C99-based-standards] (SCNiFAST16): Likewise.
23275 [C99-based-standards] (SCNoFAST16): Likewise.
23276 [C99-based-standards] (SCNuFAST16): Likewise.
23277 [C99-based-standards] (SCNxFAST16): Likewise.
23278 [C99-based-standards] (PRId32): Likewise.
23279 [C99-based-standards] (PRIi32): Likewise.
23280 [C99-based-standards] (PRIo32): Likewise.
23281 [C99-based-standards] (PRIu32): Likewise.
23282 [C99-based-standards] (PRIx32): Likewise.
23283 [C99-based-standards] (PRIX32): Likewise.
23284 [C99-based-standards] (SCNd32): Likewise.
23285 [C99-based-standards] (SCNi32): Likewise.
23286 [C99-based-standards] (SCNo32): Likewise.
23287 [C99-based-standards] (SCNu32): Likewise.
23288 [C99-based-standards] (SCNx32): Likewise.
23289 [C99-based-standards] (PRIdLEAST32): Likewise.
23290 [C99-based-standards] (PRIiLEAST32): Likewise.
23291 [C99-based-standards] (PRIoLEAST32): Likewise.
23292 [C99-based-standards] (PRIuLEAST32): Likewise.
23293 [C99-based-standards] (PRIxLEAST32): Likewise.
23294 [C99-based-standards] (PRIXLEAST32): Likewise.
23295 [C99-based-standards] (SCNdLEAST32): Likewise.
23296 [C99-based-standards] (SCNiLEAST32): Likewise.
23297 [C99-based-standards] (SCNoLEAST32): Likewise.
23298 [C99-based-standards] (SCNuLEAST32): Likewise.
23299 [C99-based-standards] (SCNxLEAST32): Likewise.
23300 [C99-based-standards] (PRIdFAST32): Likewise.
23301 [C99-based-standards] (PRIiFAST32): Likewise.
23302 [C99-based-standards] (PRIoFAST32): Likewise.
23303 [C99-based-standards] (PRIuFAST32): Likewise.
23304 [C99-based-standards] (PRIxFAST32): Likewise.
23305 [C99-based-standards] (PRIXFAST32): Likewise.
23306 [C99-based-standards] (SCNdFAST32): Likewise.
23307 [C99-based-standards] (SCNiFAST32): Likewise.
23308 [C99-based-standards] (SCNoFAST32): Likewise.
23309 [C99-based-standards] (SCNuFAST32): Likewise.
23310 [C99-based-standards] (SCNxFAST32): Likewise.
23311 [C99-based-standards] (PRId64): Likewise.
23312 [C99-based-standards] (PRIi64): Likewise.
23313 [C99-based-standards] (PRIo64): Likewise.
23314 [C99-based-standards] (PRIu64): Likewise.
23315 [C99-based-standards] (PRIx64): Likewise.
23316 [C99-based-standards] (PRIX64): Likewise.
23317 [C99-based-standards] (SCNd64): Likewise.
23318 [C99-based-standards] (SCNi64): Likewise.
23319 [C99-based-standards] (SCNo64): Likewise.
23320 [C99-based-standards] (SCNu64): Likewise.
23321 [C99-based-standards] (SCNx64): Likewise.
23322 [C99-based-standards] (PRIdLEAST64): Likewise.
23323 [C99-based-standards] (PRIiLEAST64): Likewise.
23324 [C99-based-standards] (PRIoLEAST64): Likewise.
23325 [C99-based-standards] (PRIuLEAST64): Likewise.
23326 [C99-based-standards] (PRIxLEAST64): Likewise.
23327 [C99-based-standards] (PRIXLEAST64): Likewise.
23328 [C99-based-standards] (SCNdLEAST64): Likewise.
23329 [C99-based-standards] (SCNiLEAST64): Likewise.
23330 [C99-based-standards] (SCNoLEAST64): Likewise.
23331 [C99-based-standards] (SCNuLEAST64): Likewise.
23332 [C99-based-standards] (SCNxLEAST64): Likewise.
23333 [C99-based-standards] (PRIdFAST64): Likewise.
23334 [C99-based-standards] (PRIiFAST64): Likewise.
23335 [C99-based-standards] (PRIoFAST64): Likewise.
23336 [C99-based-standards] (PRIuFAST64): Likewise.
23337 [C99-based-standards] (PRIxFAST64): Likewise.
23338 [C99-based-standards] (PRIXFAST64): Likewise.
23339 [C99-based-standards] (SCNdFAST64): Likewise.
23340 [C99-based-standards] (SCNiFAST64): Likewise.
23341 [C99-based-standards] (SCNoFAST64): Likewise.
23342 [C99-based-standards] (SCNuFAST64): Likewise.
23343 [C99-based-standards] (SCNxFAST64): Likewise.
23344 [C99-based-standards] (PRIdMAX): Likewise.
23345 [C99-based-standards] (PRIiMAX): Likewise.
23346 [C99-based-standards] (PRIoMAX): Likewise.
23347 [C99-based-standards] (PRIuMAX): Likewise.
23348 [C99-based-standards] (PRIxMAX): Likewise.
23349 [C99-based-standards] (PRIXMAX): Likewise.
23350 [C99-based-standards] (SCNdMAX): Likewise.
23351 [C99-based-standards] (SCNiMAX): Likewise.
23352 [C99-based-standards] (SCNoMAX): Likewise.
23353 [C99-based-standards] (SCNuMAX): Likewise.
23354 [C99-based-standards] (SCNxMAX): Likewise.
23355 [C99-based-standards] (PRIdPTR): Likewise.
23356 [C99-based-standards] (PRIiPTR): Likewise.
23357 [C99-based-standards] (PRIoPTR): Likewise.
23358 [C99-based-standards] (PRIuPTR): Likewise.
23359 [C99-based-standards] (PRIxPTR): Likewise.
23360 [C99-based-standards] (PRIXPTR): Likewise.
23361 [C99-based-standards] (SCNdPTR): Likewise.
23362 [C99-based-standards] (SCNiPTR): Likewise.
23363 [C99-based-standards] (SCNoPTR): Likewise.
23364 [C99-based-standards] (SCNuPTR): Likewise.
23365 [C99-based-standards] (SCNxPTR): Likewise.
23366 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23368 * conform/data/stdint.h-data: Update comments to clarify
23370 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23372 [C99-based standards] (INT8_MAX): Likewise.
23373 [C99-based standards] (INT16_MIN): Likewise.
23374 [C99-based standards] (INT16_MAX): Likewise.
23375 [C99-based standards] (INT32_MIN): Likewise.
23376 [C99-based standards] (INT32_MAX): Likewise.
23377 [C99-based standards] (INT64_MIN): Likewise.
23378 [C99-based standards] (INT64_MAX): Likewise.
23379 [C99-based standards] (UINT8_MAX): Likewise.
23380 [C99-based standards] (UINT16_MAX): Likewise.
23381 [C99-based standards] (UINT32_MAX): Likewise.
23382 [C99-based standards] (UINT64_MAX): Likewise.
23383 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23384 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23385 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23386 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23387 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23388 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23389 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23390 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23391 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23392 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23393 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23394 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23395 [C99-based standards] (INT_FAST8_MIN): Likewise.
23396 [C99-based standards] (INT_FAST8_MAX): Likewise.
23397 [C99-based standards] (INT_FAST16_MIN): Likewise.
23398 [C99-based standards] (INT_FAST16_MAX): Likewise.
23399 [C99-based standards] (INT_FAST32_MIN): Likewise.
23400 [C99-based standards] (INT_FAST32_MAX): Likewise.
23401 [C99-based standards] (INT_FAST64_MIN): Likewise.
23402 [C99-based standards] (INT_FAST64_MAX): Likewise.
23403 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23404 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23405 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23406 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23407 [C99-based standards] (INTPTR_MIN): Likewise.
23408 [C99-based standards] (INTPTR_MAX): Likewise.
23409 [C99-based standards] (UINTPTR_MAX): Likewise.
23410 [C99-based standards] (INTMAX_MIN): Likewise.
23411 [C99-based standards] (INTMAX_MAX): Likewise.
23412 [C99-based standards] (UINTMAX_MAX): Likewise.
23413 [C99-based standards] (PTRDIFF_MIN): Likewise.
23414 [C99-based standards] (PTRDIFF_MAX): Likewise.
23415 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23416 [C99-based standards] (SIZE_MAX): Likewise.
23417 [C99-based standards] (WCHAR_MAX): Likewise.
23418 [C99-based standards] (WINT_MAX): Likewise.
23419 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23420 constraint on value.
23421 [C99-based standards] (WCHAR_MIN): Likewise.
23422 [C99-based standards] (WINT_MIN): Likewise.
23423 [C99-based standards] (*_t): Allow.
23424 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23425 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23426 Include math.h-data and complex.h-data. Remove all expectations
23427 of math.h and complex.h contents.
23428 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23430 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23431 (struct tm): Expect tag.
23432 [C99-based-standards] (wcstof): Expect function.
23433 [C99-based-standards] (wcstold): Likewise.
23434 [C99-based-standards] (wcstoll): Likewise.
23435 [C99-based-standards] (wcstoull): Likewise.
23436 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23437 macro-int-constant. Specify type.
23438 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23439 constraint on value.
23440 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23442 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23444 [ISO C standards]: Do not allow headers.
23445 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23446 wcs[abcdefghijklmnopqrstuvwxyz]*.
23447 [ISO C standards] (*_t): Do not allow.
23448 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23450 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23451 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23453 [ISO C standards]: Do not allow headers.
23454 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23455 is[abcdefghijklmnopqrstuvwxyz]*.
23456 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23457 to[abcdefghijklmnopqrstuvwxyz]*.
23458 [ISO C standards] (*_t): Do not allow.
23459 * conform/data/stdalign.h-data: New file.
23460 * conform/data/stdbool.h-data: Likewise.
23461 * conform/data/stdnoreturn.h-data: Likewise.
23463 2012-11-07 Roland McGrath <roland@hack.frob.com>
23466 * manual/filesys.texi (Directory Entries): Typo fix.
23467 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23469 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23471 * elf/elf.h (EM_AARCH64): New macro.
23472 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23473 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23474 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23475 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23476 (R_AARCH64_TLSDESC): Likewise.
23477 (NT_ARM_TLS): Likewise.
23478 (NT_ARM_HW_BREAK): Likewise.
23479 (NT_ARM_HW_WATCH): Likewise.
23481 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23484 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23485 (__ieee754_powl): Saturate nonzero exponents with absolute value
23486 below 0x1p-79 to +/- 0x1p-79.
23487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23488 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23490 nonzero exponents with absolute value below 0x1p-32 to +/-
23492 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23493 (__ieee754_powl): Saturate nonzero exponents with absolute value
23494 below 0x1p-79 to +/- 0x1p-79.
23495 * math/libm-test.inc (pow_test): Add more tests.
23497 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23499 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23500 _dl_s390_cap_flags with kernel. Increase string length.
23501 (_dl_s390_platforms): Add z196 and zEC12.
23503 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23505 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23506 Change XOPEN21K to XOPEN2K.
23508 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23510 * string/memmove.c: Use memcpy when possible.
23512 2012-11-06 Andreas Jaeger <aj@suse.de>
23514 * po/eo.po: Update from translation team.
23516 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23520 exponent and small x and y exponents, scale x or y up. Increase
23521 by 2 the exponent used in scaling up.
23522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23524 * math/libm-test.inc (fma_test): Add more tests.
23525 (fma_test_towardzero): Likewise.
23526 (fma_test_downward): Likewise.
23527 (fma_test_upward): Likewise.
23529 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23532 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23536 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23537 namespace for names of struct fields.
23538 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23540 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23541 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23543 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23546 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23548 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23550 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23554 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23557 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23561 definitely overflow as x * y not x * y + z.
23562 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23564 * math/libm-test.inc (fma_test): Add more tests.
23565 (fma_test_towardzero): Likewise.
23566 (fma_test_downward): Likewise.
23567 (fma_test_upward): Likewise.
23569 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23573 * include/stub-tag.h: Remove file.
23574 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23576 * manual/maint.texi (Porting): Don't reference it.
23577 * Makerules ($(objpfx)stubs): Likewise.
23578 * dirent/closedir.c: Don't include <stub-tag.h>.
23579 * dirent/dirfd.c: Likewise.
23580 * dirent/fdopendir.c: Likewise.
23581 * dirent/getdents.c: Likewise.
23582 * dirent/getdents64.c: Likewise.
23583 * dirent/opendir.c: Likewise.
23584 * dirent/readdir.c: Likewise.
23585 * dirent/readdir64.c: Likewise.
23586 * dirent/readdir64_r.c: Likewise.
23587 * dirent/readdir_r.c: Likewise.
23588 * dirent/rewinddir.c: Likewise.
23589 * dirent/seekdir.c: Likewise.
23590 * dirent/telldir.c: Likewise.
23591 * gmon/profil.c: Likewise.
23592 * grp/setgroups.c: Likewise.
23593 * inet/if_index.c: Likewise.
23594 * io/access.c: Likewise.
23595 * io/chdir.c: Likewise.
23596 * io/chmod.c: Likewise.
23597 * io/chown.c: Likewise.
23598 * io/close.c: Likewise.
23599 * io/dup.c: Likewise.
23600 * io/dup2.c: Likewise.
23601 * io/dup3.c: Likewise.
23602 * io/euidaccess.c: Likewise.
23603 * io/faccessat.c: Likewise.
23604 * io/fchdir.c: Likewise.
23605 * io/fchmod.c: Likewise.
23606 * io/fchmodat.c: Likewise.
23607 * io/fchown.c: Likewise.
23608 * io/fchownat.c: Likewise.
23609 * io/fcntl.c: Likewise.
23610 * io/flock.c: Likewise.
23611 * io/fstatfs.c: Likewise.
23612 * io/fstatfs64.c: Likewise.
23613 * io/fstatvfs.c: Likewise.
23614 * io/fstatvfs64.c: Likewise.
23615 * io/futimens.c: Likewise.
23616 * io/fxstat.c: Likewise.
23617 * io/fxstat64.c: Likewise.
23618 * io/fxstatat.c: Likewise.
23619 * io/fxstatat64.c: Likewise.
23620 * io/getcwd.c: Likewise.
23621 * io/isatty.c: Likewise.
23622 * io/lchmod.c: Likewise.
23623 * io/lchown.c: Likewise.
23624 * io/link.c: Likewise.
23625 * io/linkat.c: Likewise.
23626 * io/lseek.c: Likewise.
23627 * io/lseek64.c: Likewise.
23628 * io/lxstat64.c: Likewise.
23629 * io/mkdir.c: Likewise.
23630 * io/mkdirat.c: Likewise.
23631 * io/mkfifo.c: Likewise.
23632 * io/mkfifoat.c: Likewise.
23633 * io/open.c: Likewise.
23634 * io/open64.c: Likewise.
23635 * io/openat.c: Likewise.
23636 * io/openat64.c: Likewise.
23637 * io/pipe.c: Likewise.
23638 * io/pipe2.c: Likewise.
23639 * io/poll.c: Likewise.
23640 * io/posix_fadvise.c: Likewise.
23641 * io/posix_fadvise64.c: Likewise.
23642 * io/posix_fallocate.c: Likewise.
23643 * io/posix_fallocate64.c: Likewise.
23644 * io/read.c: Likewise.
23645 * io/readlink.c: Likewise.
23646 * io/readlinkat.c: Likewise.
23647 * io/rmdir.c: Likewise.
23648 * io/sendfile.c: Likewise.
23649 * io/sendfile64.c: Likewise.
23650 * io/statfs.c: Likewise.
23651 * io/statfs64.c: Likewise.
23652 * io/statvfs.c: Likewise.
23653 * io/statvfs64.c: Likewise.
23654 * io/symlink.c: Likewise.
23655 * io/symlinkat.c: Likewise.
23656 * io/ttyname.c: Likewise.
23657 * io/ttyname_r.c: Likewise.
23658 * io/umask.c: Likewise.
23659 * io/unlink.c: Likewise.
23660 * io/unlinkat.c: Likewise.
23661 * io/utime.c: Likewise.
23662 * io/utimensat.c: Likewise.
23663 * io/write.c: Likewise.
23664 * io/xmknod.c: Likewise.
23665 * io/xmknodat.c: Likewise.
23666 * io/xstat.c: Likewise.
23667 * io/xstat64.c: Likewise.
23668 * login/getpt.c: Likewise.
23669 * login/grantpt.c: Likewise.
23670 * login/unlockpt.c: Likewise.
23671 * math/e_acoshl.c: Likewise.
23672 * math/e_acosl.c: Likewise.
23673 * math/e_asinl.c: Likewise.
23674 * math/e_atan2l.c: Likewise.
23675 * math/e_atanhl.c: Likewise.
23676 * math/e_coshl.c: Likewise.
23677 * math/e_expl.c: Likewise.
23678 * math/e_fmodl.c: Likewise.
23679 * math/e_gammal_r.c: Likewise.
23680 * math/e_hypotl.c: Likewise.
23681 * math/e_j0l.c: Likewise.
23682 * math/e_j1l.c: Likewise.
23683 * math/e_jnl.c: Likewise.
23684 * math/e_lgammal_r.c: Likewise.
23685 * math/e_log10l.c: Likewise.
23686 * math/e_log2l.c: Likewise.
23687 * math/e_logl.c: Likewise.
23688 * math/e_powl.c: Likewise.
23689 * math/e_rem_pio2l.c: Likewise.
23690 * math/e_sinhl.c: Likewise.
23691 * math/e_sqrtl.c: Likewise.
23692 * math/fclrexcpt.c: Likewise.
23693 * math/fedisblxcpt.c: Likewise.
23694 * math/feenablxcpt.c: Likewise.
23695 * math/fegetenv.c: Likewise.
23696 * math/fegetexcept.c: Likewise.
23697 * math/fegetround.c: Likewise.
23698 * math/feholdexcpt.c: Likewise.
23699 * math/fesetenv.c: Likewise.
23700 * math/fesetround.c: Likewise.
23701 * math/feupdateenv.c: Likewise.
23702 * math/fgetexcptflg.c: Likewise.
23703 * math/fraiseexcpt.c: Likewise.
23704 * math/fsetexcptflg.c: Likewise.
23705 * math/ftestexcept.c: Likewise.
23706 * math/k_cosl.c: Likewise.
23707 * math/k_rem_pio2l.c: Likewise.
23708 * math/k_sinl.c: Likewise.
23709 * math/k_tanl.c: Likewise.
23710 * math/s_asinhl.c: Likewise.
23711 * math/s_atanl.c: Likewise.
23712 * math/s_cbrtl.c: Likewise.
23713 * math/s_erfl.c: Likewise.
23714 * math/s_expm1l.c: Likewise.
23715 * math/s_log1pl.c: Likewise.
23716 * math/s_tanhl.c: Likewise.
23717 * misc/acct.c: Likewise.
23718 * misc/brk.c: Likewise.
23719 * misc/chflags.c: Likewise.
23720 * misc/chroot.c: Likewise.
23721 * misc/fchflags.c: Likewise.
23722 * misc/fgetxattr.c: Likewise.
23723 * misc/flistxattr.c: Likewise.
23724 * misc/fremovexattr.c: Likewise.
23725 * misc/fsetxattr.c: Likewise.
23726 * misc/fsync.c: Likewise.
23727 * misc/ftruncate.c: Likewise.
23728 * misc/futimes.c: Likewise.
23729 * misc/futimesat.c: Likewise.
23730 * misc/getdomain.c: Likewise.
23731 * misc/getdtsz.c: Likewise.
23732 * misc/gethostid.c: Likewise.
23733 * misc/gethostname.c: Likewise.
23734 * misc/getloadavg.c: Likewise.
23735 * misc/getpagesize.c: Likewise.
23736 * misc/getsysstats.c: Likewise.
23737 * misc/getxattr.c: Likewise.
23738 * misc/gtty.c: Likewise.
23739 * misc/ioctl.c: Likewise.
23740 * misc/lgetxattr.c: Likewise.
23741 * misc/listxattr.c: Likewise.
23742 * misc/llistxattr.c: Likewise.
23743 * misc/lremovexattr.c: Likewise.
23744 * misc/lsetxattr.c: Likewise.
23745 * misc/lutimes.c: Likewise.
23746 * misc/madvise.c: Likewise.
23747 * misc/mincore.c: Likewise.
23748 * misc/mlock.c: Likewise.
23749 * misc/mlockall.c: Likewise.
23750 * misc/mmap.c: Likewise.
23751 * misc/mprotect.c: Likewise.
23752 * misc/msync.c: Likewise.
23753 * misc/munlock.c: Likewise.
23754 * misc/munlockall.c: Likewise.
23755 * misc/munmap.c: Likewise.
23756 * misc/preadv.c: Likewise.
23757 * misc/preadv64.c: Likewise.
23758 * misc/ptrace.c: Likewise.
23759 * misc/pwritev.c: Likewise.
23760 * misc/pwritev64.c: Likewise.
23761 * misc/readv.c: Likewise.
23762 * misc/reboot.c: Likewise.
23763 * misc/remap_file_pages.c: Likewise.
23764 * misc/removexattr.c: Likewise.
23765 * misc/revoke.c: Likewise.
23766 * misc/select.c: Likewise.
23767 * misc/setdomain.c: Likewise.
23768 * misc/setegid.c: Likewise.
23769 * misc/seteuid.c: Likewise.
23770 * misc/sethostid.c: Likewise.
23771 * misc/sethostname.c: Likewise.
23772 * misc/setregid.c: Likewise.
23773 * misc/setreuid.c: Likewise.
23774 * misc/setxattr.c: Likewise.
23775 * misc/sstk.c: Likewise.
23776 * misc/stty.c: Likewise.
23777 * misc/swapoff.c: Likewise.
23778 * misc/swapon.c: Likewise.
23779 * misc/sync.c: Likewise.
23780 * misc/syncfs.c: Likewise.
23781 * misc/syscall.c: Likewise.
23782 * misc/truncate.c: Likewise.
23783 * misc/ualarm.c: Likewise.
23784 * misc/usleep.c: Likewise.
23785 * misc/ustat.c: Likewise.
23786 * misc/utimes.c: Likewise.
23787 * misc/vhangup.c: Likewise.
23788 * misc/writev.c: Likewise.
23789 * posix/_exit.c: Likewise.
23790 * posix/alarm.c: Likewise.
23791 * posix/execve.c: Likewise.
23792 * posix/fexecve.c: Likewise.
23793 * posix/fork.c: Likewise.
23794 * posix/fpathconf.c: Likewise.
23795 * posix/getaddrinfo.c: Likewise.
23796 * posix/getegid.c: Likewise.
23797 * posix/geteuid.c: Likewise.
23798 * posix/getgid.c: Likewise.
23799 * posix/getgroups.c: Likewise.
23800 * posix/getlogin.c: Likewise.
23801 * posix/getlogin_r.c: Likewise.
23802 * posix/getpgid.c: Likewise.
23803 * posix/getpid.c: Likewise.
23804 * posix/getppid.c: Likewise.
23805 * posix/getresgid.c: Likewise.
23806 * posix/getresuid.c: Likewise.
23807 * posix/getsid.c: Likewise.
23808 * posix/getuid.c: Likewise.
23809 * posix/glob64.c: Likewise.
23810 * posix/nanosleep.c: Likewise.
23811 * posix/pathconf.c: Likewise.
23812 * posix/pause.c: Likewise.
23813 * posix/posix_madvise.c: Likewise.
23814 * posix/pread.c: Likewise.
23815 * posix/pread64.c: Likewise.
23816 * posix/pwrite.c: Likewise.
23817 * posix/pwrite64.c: Likewise.
23818 * posix/sched_getaffinity.c: Likewise.
23819 * posix/sched_getp.c: Likewise.
23820 * posix/sched_gets.c: Likewise.
23821 * posix/sched_primax.c: Likewise.
23822 * posix/sched_primin.c: Likewise.
23823 * posix/sched_rr_gi.c: Likewise.
23824 * posix/sched_setaffinity.c: Likewise.
23825 * posix/sched_setp.c: Likewise.
23826 * posix/sched_sets.c: Likewise.
23827 * posix/sched_yield.c: Likewise.
23828 * posix/setgid.c: Likewise.
23829 * posix/setlogin.c: Likewise.
23830 * posix/setpgid.c: Likewise.
23831 * posix/setresgid.c: Likewise.
23832 * posix/setresuid.c: Likewise.
23833 * posix/setsid.c: Likewise.
23834 * posix/setuid.c: Likewise.
23835 * posix/sleep.c: Likewise.
23836 * posix/spawni.c: Likewise.
23837 * posix/sysconf.c: Likewise.
23838 * posix/times.c: Likewise.
23839 * posix/wait.c: Likewise.
23840 * posix/wait3.c: Likewise.
23841 * posix/wait4.c: Likewise.
23842 * posix/waitpid.c: Likewise.
23843 * resolv/gai_sigqueue.c: Likewise.
23844 * resource/getpriority.c: Likewise.
23845 * resource/getrlimit.c: Likewise.
23846 * resource/getrusage.c: Likewise.
23847 * resource/nice.c: Likewise.
23848 * resource/setpriority.c: Likewise.
23849 * resource/setrlimit.c: Likewise.
23850 * resource/ulimit.c: Likewise.
23851 * rt/aio_cancel.c: Likewise.
23852 * rt/aio_fsync.c: Likewise.
23853 * rt/aio_read.c: Likewise.
23854 * rt/aio_sigqueue.c: Likewise.
23855 * rt/aio_suspend.c: Likewise.
23856 * rt/aio_write.c: Likewise.
23857 * rt/clock_getres.c: Likewise.
23858 * rt/clock_gettime.c: Likewise.
23859 * rt/clock_nanosleep.c: Likewise.
23860 * rt/clock_settime.c: Likewise.
23861 * rt/lio_listio.c: Likewise.
23862 * rt/mq_close.c: Likewise.
23863 * rt/mq_getattr.c: Likewise.
23864 * rt/mq_notify.c: Likewise.
23865 * rt/mq_open.c: Likewise.
23866 * rt/mq_receive.c: Likewise.
23867 * rt/mq_send.c: Likewise.
23868 * rt/mq_setattr.c: Likewise.
23869 * rt/mq_timedreceive.c: Likewise.
23870 * rt/mq_timedsend.c: Likewise.
23871 * rt/mq_unlink.c: Likewise.
23872 * rt/shm_open.c: Likewise.
23873 * rt/shm_unlink.c: Likewise.
23874 * rt/timer_create.c: Likewise.
23875 * rt/timer_delete.c: Likewise.
23876 * rt/timer_getoverr.c: Likewise.
23877 * rt/timer_gettime.c: Likewise.
23878 * rt/timer_settime.c: Likewise.
23879 * setjmp/__longjmp.c: Likewise.
23880 * setjmp/setjmp.c: Likewise.
23881 * signal/kill.c: Likewise.
23882 * signal/killpg.c: Likewise.
23883 * signal/raise.c: Likewise.
23884 * signal/sigaction.c: Likewise.
23885 * signal/sigaltstack.c: Likewise.
23886 * signal/sigblock.c: Likewise.
23887 * signal/sigignore.c: Likewise.
23888 * signal/sigintr.c: Likewise.
23889 * signal/signal.c: Likewise.
23890 * signal/sigpause.c: Likewise.
23891 * signal/sigpending.c: Likewise.
23892 * signal/sigqueue.c: Likewise.
23893 * signal/sigreturn.c: Likewise.
23894 * signal/sigset.c: Likewise.
23895 * signal/sigsetmask.c: Likewise.
23896 * signal/sigstack.c: Likewise.
23897 * signal/sigsuspend.c: Likewise.
23898 * signal/sigtimedwait.c: Likewise.
23899 * signal/sigvec.c: Likewise.
23900 * signal/sigwait.c: Likewise.
23901 * signal/sigwaitinfo.c: Likewise.
23902 * signal/sysv_signal.c: Likewise.
23903 * socket/accept.c: Likewise.
23904 * socket/accept4.c: Likewise.
23905 * socket/bind.c: Likewise.
23906 * socket/connect.c: Likewise.
23907 * socket/getpeername.c: Likewise.
23908 * socket/getsockname.c: Likewise.
23909 * socket/getsockopt.c: Likewise.
23910 * socket/isfdtype.c: Likewise.
23911 * socket/listen.c: Likewise.
23912 * socket/recv.c: Likewise.
23913 * socket/recvfrom.c: Likewise.
23914 * socket/recvmsg.c: Likewise.
23915 * socket/send.c: Likewise.
23916 * socket/sendmsg.c: Likewise.
23917 * socket/sendto.c: Likewise.
23918 * socket/setsockopt.c: Likewise.
23919 * socket/shutdown.c: Likewise.
23920 * socket/sockatmark.c: Likewise.
23921 * socket/socket.c: Likewise.
23922 * socket/socketpair.c: Likewise.
23923 * stdio-common/ctermid.c: Likewise.
23924 * stdio-common/cuserid.c: Likewise.
23925 * stdio-common/remove.c: Likewise.
23926 * stdio-common/rename.c: Likewise.
23927 * stdio-common/renameat.c: Likewise.
23928 * stdio-common/tempname.c: Likewise.
23929 * stdlib/getcontext.c: Likewise.
23930 * stdlib/makecontext.c: Likewise.
23931 * stdlib/setcontext.c: Likewise.
23932 * stdlib/swapcontext.c: Likewise.
23933 * stdlib/system.c: Likewise.
23934 * streams/fattach.c: Likewise.
23935 * streams/fdetach.c: Likewise.
23936 * streams/getmsg.c: Likewise.
23937 * streams/getpmsg.c: Likewise.
23938 * streams/putmsg.c: Likewise.
23939 * streams/putpmsg.c: Likewise.
23940 * sysdeps/unix/bsd/getpt.c: Likewise.
23941 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23942 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23943 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23946 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23947 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23948 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23949 * sysvipc/msgctl.c: Likewise.
23950 * sysvipc/msgget.c: Likewise.
23951 * sysvipc/msgrcv.c: Likewise.
23952 * sysvipc/msgsnd.c: Likewise.
23953 * sysvipc/semctl.c: Likewise.
23954 * sysvipc/semget.c: Likewise.
23955 * sysvipc/semop.c: Likewise.
23956 * sysvipc/semtimedop.c: Likewise.
23957 * sysvipc/shmat.c: Likewise.
23958 * sysvipc/shmctl.c: Likewise.
23959 * sysvipc/shmdt.c: Likewise.
23960 * sysvipc/shmget.c: Likewise.
23961 * termios/tcdrain.c: Likewise.
23962 * termios/tcflow.c: Likewise.
23963 * termios/tcflush.c: Likewise.
23964 * termios/tcgetattr.c: Likewise.
23965 * termios/tcgetpgrp.c: Likewise.
23966 * termios/tcsendbrk.c: Likewise.
23967 * termios/tcsetattr.c: Likewise.
23968 * termios/tcsetpgrp.c: Likewise.
23969 * time/adjtime.c: Likewise.
23970 * time/clock.c: Likewise.
23971 * time/getitimer.c: Likewise.
23972 * time/gettimeofday.c: Likewise.
23973 * time/setitimer.c: Likewise.
23974 * time/settimeofday.c: Likewise.
23975 * time/stime.c: Likewise.
23976 * time/time.c: Likewise.
23978 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23980 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23983 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23985 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23987 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23991 FE_TONEAREST before applying Dekker multiplication and Knuth
23992 addition. Clear inexact exceptions and check for exact zero
23993 results afterwards.
23994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23995 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23997 * math/libm-test.inc (fma_test): Add more tests.
23998 (fma_test_towardzero): Likewise.
23999 (fma_test_downward): Likewise.
24000 (fma_test_upward): Likewise.
24001 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24003 (libc_fesetround): New macro.
24004 (libc_fesetroundf): Likewise.
24005 (libc_fesetroundl): Likewise.
24006 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24008 (libc_fesetround_387): Likewise.
24009 (libc_fesetroundf): New macro.
24010 (libc_fesetround): Likewise.
24011 (libc_fesetroundl): Likewise.
24012 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24014 (libc_fesetroundf): New macro.
24015 (libc_fesetround): Likewise.
24016 (libc_fesetroundl): Likewise.
24017 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24018 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24019 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24021 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24022 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24024 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24025 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24027 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24031 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24032 integer constant usable in #if and use that to give value to enum
24034 (FE_DIVBYZERO): Likewise.
24035 (FE_UNDERFLOW): Likewise.
24036 (FE_OVERFLOW): Likewise.
24037 (FE_INVALID): Likewise.
24038 (FE_INVALID_SNAN): Likewise.
24039 (FE_INVALID_ISI): Likewise.
24040 (FE_INVALID_IDI): Likewise.
24041 (FE_INVALID_ZDZ): Likewise.
24042 (FE_INVALID_IMZ): Likewise.
24043 (FE_INVALID_COMPARE): Likewise.
24044 (FE_INVALID_SOFTWARE): Likewise.
24045 (FE_INVALID_SQRT): Likewise.
24046 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24047 (FE_TONEAREST): Likewise.
24048 (FE_TOWARDZERO): Likewise.
24049 (FE_UPWARD): Likewise.
24050 (FE_DOWNWARD): Likewise.
24051 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24052 (FE_DIVBYZERO): Likewise.
24053 (FE_OVERFLOW): Likewise.
24054 (FE_UNDERFLOW): Likewise.
24055 (FE_INEXACT): Likewise.
24056 (FE_TONEAREST): Likewise.
24057 (FE_DOWNWARD): Likewise.
24058 (FE_UPWARD): Likewise.
24059 (FE_TOWARDZERO): Likewise.
24060 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24061 (FE_UNDERFLOW): Likewise.
24062 (FE_OVERFLOW): Likewise.
24063 (FE_DIVBYZERO): Likewise.
24064 (FE_INVALID): Likewise.
24065 (FE_TONEAREST): Likewise.
24066 (FE_TOWARDZERO): Likewise.
24067 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24068 (FE_OVERFLOW): Likewise.
24069 (FE_UNDERFLOW): Likewise.
24070 (FE_DIVBYZERO): Likewise.
24071 (FE_INEXACT): Likewise.
24072 (FE_TONEAREST): Likewise.
24073 (FE_TOWARDZERO): Likewise.
24074 (FE_UPWARD): Likewise.
24075 (FE_DOWNWARD): Likewise.
24076 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24077 (FE_DIVBYZERO): Likewise.
24078 (FE_OVERFLOW): Likewise.
24079 (FE_UNDERFLOW): Likewise.
24080 (FE_INEXACT): Likewise.
24081 (FE_TONEAREST): Likewise.
24082 (FE_DOWNWARD): Likewise.
24083 (FE_UPWARD): Likewise.
24084 (FE_TOWARDZERO): Likewise.
24086 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24088 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24090 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24092 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24093 commands. Quote $PWD.
24094 (blacklist_exports): Don't use remove_newlines. Replace "declare
24096 (remove_newlines): Remove.
24098 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24100 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24101 * stdlib/stdlib.h (atof): Moved to ...
24102 * include/bits/stdlib-float.h: Here. New file.
24103 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24104 * stdlib/bits/stdlib-float.h: New file.
24105 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24110 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24112 * conform/conformtest.pl (@headers): Add fenv.h.
24113 * conform/data/fenv.h-data: New file.
24114 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24115 include of <math/fenv.h>.
24117 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24118 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24119 && !UNIX98]. Enables tests for XOPEN2K8.
24120 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24121 POSIX2008]: Likewise.
24123 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24124 (struct rusage): Do not expect type or its members.
24127 * math/math.h (FP_NAN): Define macro to integer constant usable in
24128 #if and use that to give value to enum constant.
24129 (FP_INFINITE): Likewise.
24130 (FP_ZERO): Likewise.
24131 (FP_SUBNORMAL): Likewise.
24132 (FP_NORMAL): Likewise.
24134 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24136 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24137 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24140 2012-11-02 Roland McGrath <roland@hack.frob.com>
24142 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24143 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24144 autoconf-time if not.
24145 * configure.in: Remove AC_PREREQ.
24147 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24149 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24150 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24151 of the internal implementation.
24153 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24155 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24156 except include of <misc/sys/syslog.h>.
24158 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24161 function returns with a NULL context exit with zero.
24163 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24165 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24167 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24169 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24170 (run_program_cmd): This.
24171 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24172 (tst_langinfo): New variable. Use it.
24174 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24176 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24177 floating point opcodes.
24179 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24181 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24184 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24186 * sysdeps/mach/hurd/powerpc: Remove directory.
24187 * sysdeps/mach/powerpc: Likewise.
24189 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24191 * scripts/check-local-headers.sh: Ignore c++ headers.
24193 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24195 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24196 __libc_cleanup_region_start argument.
24198 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24203 x * y using scaling, not as x * y + z.
24204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24206 * math/libm-test.inc (fma_test): Add more tests.
24207 (fma_test_towardzero): Likewise.
24208 (fma_test_downward): Likewise.
24209 (fma_test_upward): Likewise.
24211 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24213 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24215 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24217 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24220 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24222 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24224 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24231 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24234 Fix the order of the list for glibc 2.17.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24238 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24242 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24245 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24246 for low part of x being zero before using __atanl (y).
24247 * math/libm-test.inc (atan2_test): Add another test.
24249 * manual/install.texi (Configuring and compiling): Document
24250 general use of test-wrapper and test-wrapper-env.
24251 * INSTALL: Regenerated.
24253 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24254 (__fma): Do not extract and scale down low bits on after-rounding
24255 systems when result rounded to normal precision would have normal
24257 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24258 (__fmal): Do not extract and scale down low bits on after-rounding
24259 systems when result rounded to normal precision would have normal
24261 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24262 (__fmal): Do not extract and scale down low bits on after-rounding
24263 systems when result rounded to normal precision would have normal
24265 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24267 (fma_test): Add more tests.
24268 (fma_test_towardzero): Likewise.
24269 (fma_test_downward): Likewise.
24270 (fma_test_upward): Likewise.
24272 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24274 * sysdeps/i386/tininess.h: Renamed to ...
24275 * sysdeps/x86/tininess.h: This.
24276 * sysdeps/x86_64/tininess.h: Removed.
24278 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24280 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24281 input. Use $(build-program-cmd).
24282 ($(objpfx)tst-array1-static.out): Likewise.
24283 ($(objpfx)tst-array2.out): Likewise.
24284 ($(objpfx)tst-array3.out): Likewise.
24285 ($(objpfx)tst-array4.out): Likewise.
24286 ($(objpfx)tst-array5.out): Likewise.
24287 ($(objpfx)tst-array5-static.out): Likewise.
24289 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24291 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24294 * nss/nsswitch.h (nss_interface_function): Provide new
24295 macro for use with NSS functions.
24296 * grp/initgroups.c: Use new macro.
24297 * nss/getXXbyYY.c: Likewise.
24298 * nss/getXXbyYY_r.c: Likewise.
24299 * nss/getXXent.c: Likewise.
24300 * nss/getXXent_r.c: Likewise.
24301 * sysdeps/posix/getaddrinfo.c: Likewise.
24303 2012-10-30 Andreas Jaeger <aj@suse.de>
24305 * po/ru.po: Update Russion translation from translation project.
24307 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24312 result and shift together with sticky bit instead of replicating
24313 round-to-nearest rounding.
24314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24316 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24317 missing underflow exceptions.
24318 (fma_test_towardzero): Add more tests.
24319 (fma_test_downward): Likewise.
24320 (fma_test_upward): Likewise.
24323 * sysdeps/generic/tininess.h: New file.
24324 * sysdeps/i386/tininess.h: Likewise.
24325 * sysdeps/sh/tininess.h: Likewise.
24326 * sysdeps/x86_64/tininess.h: Likewise.
24327 * stdlib/tst-strtod-underflow.c: Likewise.
24328 * stdlib/tst-tininess.c: Likewise.
24329 * stdlib/strtod_l.c: Include <tininess.h>.
24330 (round_and_return): Do not set errno for exact underflow cases.
24331 Force an underflow exception when setting errno for underflow.
24332 Determine underflow based on rounding to normal precision if
24333 TININESS_AFTER_ROUNDING.
24334 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24335 ERANGE for exact underflow cases.
24336 * stdlib/Makefile (tests): Add tst-tininess and
24337 tst-strtod-underflow.
24338 ($(objpfx)tst-tininess): Use $(link-libm).
24339 ($(objpfx)tst-strtod-underflow): Likewise.
24341 2012-10-30 Andreas Jaeger <aj@suse.de>
24344 * elf/Makefile (tests): Remove conditional for have-initfini-array
24345 since this is now always required and the variable does not exist
24347 (tests-static): Likewise.
24348 (modules-names): Likewise.
24350 * po/eo.po: Add Esperanto translation from translation project.
24352 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24353 merged with constructor/destructor.
24354 (init_array): Likewise.
24355 * elf/tst-array2dep.c (fini_array): Likewise.
24356 (init_array): Likewise.
24358 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24360 * manual/message.texi: Delete @cartouche tags.
24362 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24364 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24366 * sysdeps/mach/hurd/fsync.c: Likewise.
24368 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24369 [_POSIX_REALTIME_SIGNALS]: Change condition to
24370 [_POSIX_REALTIME_SIGNALS > 0].
24372 2012-10-27 Andreas Jaeger <aj@suse.de>
24374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24375 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24377 [__WORDSIZE != 64]: Likewise.
24379 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24381 * iconvdata/tst-table.sh: Remove ${SHELL}.
24382 * iconvdata/tst-tables.sh: Likewise.
24384 2012-10-25 David S. Miller <davem@davemloft.net>
24386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24387 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24392 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24393 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24394 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24397 2012-10-25 Roland McGrath <roland@hack.frob.com>
24399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24400 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24403 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24404 Jim Blandy <jimb@codesourcery.com>
24406 * scripts/cross-test-ssh.sh: New file.
24407 * manual/install.texi (Configuring and compiling): Document use of
24409 * INSTALL: Regenerated.
24411 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24413 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24416 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24418 * Makeconfig (run-program-prefix): Fix comment.
24420 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24421 Jim Blandy <jimb@codesourcery.com>
24423 * Makeconfig (test-wrapper): New variable,
24424 (test-wrapper-env): Likewise.
24425 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24426 (run-built-tests): Define to yes.
24427 (run-program-prefix): Use $(test-wrapper).
24428 (built-program-cmd): Likewise.
24429 * Rules (make-test-out): Use $(test-wrapper-env) and
24430 $(host-built-program-cmd).
24431 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24432 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24434 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24435 $(test-wrapper-env) to tst-rtld-load-self.sh.
24436 ($(objpfx)order2.out): Use $(test-wrapper).
24437 ($(objpfx)tst-initorder.out): Likewise.
24438 ($(objpfx)tst-initorder2.out): Likewise.
24439 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24440 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24441 (test_wrapper_env): New variable. Use it to run ld.so.
24442 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24443 Use it to run ld.so.
24444 (test_wrapper_env): Likewise.
24445 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24446 $(test-wrapper) to run-iconv-test.sh.
24447 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24448 (ICONV): Use $test_wrapper.
24449 * posix/Makefile ($(objpfx)globtest.out): Pass
24450 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24451 globtest.sh, not $(run-program-prefix).
24452 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24453 (test_wrapper): Likewise.
24454 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24455 set together with run_via_rtld_prefix.
24456 (run_program_prefix): Define in terms of test_wrapper and
24457 run_via_rtld_prefix.
24459 2012-10-24 Roland McGrath <roland@hack.frob.com>
24461 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24462 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24466 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24467 Declare __clock_getres, __clock_gettime, __clock_settime,
24468 __clock_nanosleep, and __clock_getcpuclockid.
24469 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24470 Remove librt_hidden_def (clock_gettime).
24471 * sysdeps/unix/clock_gettime.c: Likewise.
24472 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24474 * rt/clock_getres.c: Define __clock_getres as an alias.
24475 * sysdeps/posix/clock_getres.c: Likewise.
24476 * rt/clock_settime.c: Define __clock_settime as an alias.
24477 * sysdeps/unix/clock_settime.c: Likewise.
24478 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24479 * sysdeps/unix/clock_nanosleep.c: Likewise.
24480 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24481 * rt/clock-compat.c: New file.
24482 * rt/Makefile (librt-routines): Add clock-compat and move
24483 $(clock-routines) to ...
24484 (routines): ... here, new variable.
24485 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24486 Don't add get_clockfreq here.
24487 * rt/Versions (libc: GLIBC_2.17): New version set.
24488 Add clock_* symbols here.
24489 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24490 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24491 (GLIBC_2.17): Add clock_* symbols.
24492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24503 * NEWS: Mention the move.
24505 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24506 Use __open, __read, __close rather than their public counterparts.
24507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24508 (__get_clockfreq_via_cpuinfo): Likewise.
24509 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24510 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24512 * config.h.in (HAVE_IFUNC): New #undef.
24513 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24515 * configure: Regenerated.
24517 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24519 * configure.in: Move READELF check to start of file.
24520 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24521 libc_cv_asm_gnu_indirect_function in the process.
24522 * configure: Regenerated.
24524 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24526 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24527 send the output to /dev/null.
24528 (libc_cv_cc_with_libunwind): Likewise.
24529 (libc_cv_as_noexecstack): Likewise.
24530 * configure: Regenerate.
24532 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24534 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24536 * posix/globtest.sh (TMPDIR): Do not set.
24537 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24538 (testout): Likewise.
24540 2012-10-24 Andreas Jaeger <aj@suse.de>
24542 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24543 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24544 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24545 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24546 posix_fadvise64, posix_fallocate64.
24548 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24549 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24550 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24552 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24554 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24557 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24558 <bits/fcntl-linux.h>.
24559 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24562 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24563 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24564 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24565 [__WORDSIZE != 64]: Likewise.
24567 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24569 * Makeconfig (run-built-tests): New variable.
24570 * Rules [$(cross-compiling) = yes]: Change condition to
24571 [$(run-built-tests) = no].
24572 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24573 to [$(run-built-tests) = yes].
24574 * elf/Makefile [$(cross-compiling) = no]: Likewise
24575 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24576 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24577 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24578 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24579 * io/Makefile [$(cross-compiling) = no]: Likewise.
24580 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24581 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24582 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24583 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24584 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24585 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24586 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24587 * string/Makefile [$(cross-compiling) = no]: Likewise.
24589 * posix/Makefile ($(objpfx)globtest.out): Pass
24590 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24591 $(rtld-installed-name).
24592 * posix/globtest.sh (elf_objpfx): Remove variable.
24593 (rtld_installed_name): Likewise.
24594 (library_path): Likewise.
24595 (run_program_prefix): New variable. Use for running globtest
24598 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24599 Joseph Myers <joseph@codesourcery.com>
24601 * Makeconfig (host-built-program-cmd): New variable.
24602 * elf/Makefile (tst-stackguard1-ARGS): Use
24603 $(host-built-program-cmd).
24604 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24605 (tst-spawn-ARGS): Likewise.
24606 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24608 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24609 Jim Blandy <jimb@codesourcery.com>
24611 * Makeconfig (run-via-rtld-prefix): New variable.
24612 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24613 (built-program-cmd): Likewise.
24615 2012-10-22 Andreas Jaeger <aj@suse.de>
24617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24618 __O_RSYNC if it exists, otherwise to O_SYNC.
24620 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24621 Joseph Myers <joseph@codesourcery.com>
24623 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24625 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24627 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24630 2012-10-22 Andreas Jaeger <aj@suse.de>
24632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24637 bits/fcntl-linux.h.
24639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24640 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24647 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24648 Joseph Myers <joseph@codesourcery.com>
24650 * config.make.in (NM): New variable.
24652 2012-10-21 Andreas Jaeger <aj@suse.de>
24654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24655 definitions and declarations that are provided by
24656 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24658 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24661 * elf/Makefile (tests-static): Add tst-leaks1-static.
24662 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24663 ($(objpfx)tst-leaks1-static): New rule.
24664 ($(objpfx)tst-leaks1-static-mem): Likewise.
24665 (tst-leaks1-static-ENV): New macro.
24666 * elf/dl-open.c (dl_open_worker): Check the main application
24667 only if SHARED is defined.
24668 * elf/tst-leaks1-static.c: New file.
24670 2012-10-20 Andreas Jaeger <aj@suse.de>
24672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24673 generic values for Linux.
24674 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24675 and declarations that are provided by <bits/fcntl-linux.h> and
24676 include <bits/fcntl-linux.h>.
24677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24680 2012-10-20 Roland McGrath <roland@hack.frob.com>
24682 * io/fcntl.h: Move include of <bits/types.h> to the top and
24683 include it unconditionally.
24685 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24687 * wcsmbs/Makefile (tests-ifunc): New variable.
24688 (tests): Add $(tests-ifunc).
24689 * wcsmbs/test-wcschr-ifunc.c: New file.
24690 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24691 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24692 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24693 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24694 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24696 * string/Makefile (tests-ifunc): New variable.
24697 (tests): Add $(tests-ifunc).
24698 * string/test-memccpy.c (TEST_NAME): New macro.
24699 * string/test-memchr.c (TEST_NAME): Likewise.
24700 * string/test-memcmp.c (TEST_NAME): Likewise.
24701 * string/test-memcpy.c (TEST_NAME): Likewise.
24702 * string/test-memmem.c (TEST_NAME): Likewise.
24703 * string/test-memmove.c (TEST_NAME): Likewise.
24704 * string/test-memset.c (TEST_NAME): Likewise.
24705 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24706 * string/test-stpcpy.c (TEST_NAME): Likewise.
24707 * string/test-stpncpy.c (TEST_NAME): Likewise.
24708 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24709 * string/test-strcasestr.c (TEST_NAME): Likewise.
24710 * string/test-strcat.c (TEST_NAME): Likewise.
24711 * string/test-strchr.c (TEST_NAME): Likewise.
24712 * string/test-strcmp.c(TEST_NAME): Likewise.
24713 * string/test-strcpy.c (TEST_NAME): Likewise.
24714 * string/test-strcspn.c (TEST_NAME): Likewise.
24715 * string/test-strlen.c (TEST_NAME): Likewise.
24716 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24717 * string/test-strncmp.c (TEST_NAME): Likewise.
24718 * string/test-strncpy.c (TEST_NAME): Likewise.
24719 * string/test-strnlen.c (TEST_NAME): Likewise.
24720 * string/test-strpbrk.c (TEST_NAME): Likewise.
24721 * string/test-strrchr.c (TEST_NAME): Likewise.
24722 * string/test-strspn.c (TEST_NAME): Likewise.
24723 * string/test-strstr.c (TEST_NAME): Likewise.
24724 * string/test-bcopy-ifunc.c: New file.
24725 * string/test-bzero-ifunc.c: Likewise.
24726 * string/test-memccpy-ifunc.c: Likewise.
24727 * string/test-memchr-ifunc.c: Likewise.
24728 * string/test-memcmp-ifunc.c: Likewise.
24729 * string/test-memcpy-ifunc.c: Likewise.
24730 * string/test-memmem-ifunc.c: Likewise.
24731 * string/test-memmove-ifunc.c: Likewise.
24732 * string/test-mempcpy-ifunc.c: Likewise.
24733 * string/test-memset-ifunc.c: Likewise.
24734 * string/test-rawmemchr-ifunc.c: Likewise.
24735 * string/test-stpcpy-ifunc.c: Likewise.
24736 * string/test-stpncpy-ifunc.c: Likewise.
24737 * string/test-strcasecmp-ifunc.c: Likewise.
24738 * string/test-strcasestr-ifunc.c: Likewise.
24739 * string/test-strcat-ifunc.c: Likewise.
24740 * string/test-strchr-ifunc.c: Likewise.
24741 * string/test-strchrnul-ifunc.c: Likewise.
24742 * string/test-strcmp-ifunc.c: Likewise.
24743 * string/test-strcpy-ifunc.c: Likewise.
24744 * string/test-strcspn-ifunc.c: Likewise.
24745 * string/test-strlen-ifunc.c: Likewise.
24746 * string/test-strncasecmp-ifunc.c: Likewise.
24747 * string/test-strncat-ifunc.c: Likewise.
24748 * string/test-strncmp-ifunc.c: Likewise.
24749 * string/test-strncpy-ifunc.c: Likewise.
24750 * string/test-strnlen-ifunc.c: Likewise.
24751 * string/test-strpbrk-ifunc.c: Likewise.
24752 * string/test-strrchr-ifunc.c: Likewise.
24753 * string/test-strspn-ifunc.c: Likewise.
24754 * string/test-strstr-ifunc.c: Likewise.
24756 * debug/Makefile (tests-ifunc): New variable.
24757 (tests): Add $(tests-ifunc).
24758 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24759 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24760 * debug/test-stpcpy_chk-ifunc.c: New file.
24761 * debug/test-strcpy_chk-ifunc.c: Likewise.
24763 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24766 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24767 header is not read in.
24769 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24771 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24772 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24773 directly. Pass built executable to script as
24774 $(built-program-cmd).
24775 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24776 $testprogram without using LD_LIBRARY_PATH and $ldso.
24778 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24779 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24780 $(rtld-installed-name).
24781 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24782 (rtld_installed_name): Likewise.
24783 (library_path): Likewise.
24784 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24785 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24786 $(run-program-prefix) to tst-tables.sh.
24787 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24788 it to run tst-table-from and tst-table-to.
24789 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24790 Pass it to tst-table.sh.
24791 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24792 $(run-program-prefix) to tst-gettext.sh.
24793 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24795 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24797 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24798 to run tst-gettext.
24799 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24800 to run tst-gettext2.
24801 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24802 to run tst-translit.
24803 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24804 $(run-program-prefix) to tst-mtrace.sh.
24805 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24807 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24808 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24809 $(rtld-installed-name).
24810 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24811 (rtld_installed_name): Likewise.
24812 (run_program_prefix): New variable. Use it to run wordexp-test.
24814 * Makeconfig (ARCH): Remove all definitions.
24815 (machine): Likewise.
24816 [ARCH]: Remove conditional code.
24817 [!objdir]: Give error.
24818 [!objdir] (objpfx): Remove.
24819 [!objdir] (common-objpfx): Likewise.
24820 [!objdir] (common-objdir): Likewise.
24821 * configure.in (config_makefile): Remove. Hardcode Makefile in
24822 AC_CONFIG_FILES call.
24823 * configure: Regenerated.
24826 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24828 (testout): Likewise.
24830 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24831 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24832 $(rtld-installed-name).
24833 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24834 (rtld_installed_name): Likwise.
24835 (runit): Remove function.
24836 (run_getconf): New variable, Use it for running getconf binary.
24838 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24841 * string/test-memmem.c (check_result): New function.
24842 (do_one_test): Use it.
24843 (check1): New function.
24844 (test_main): Use it.
24846 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24848 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24850 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24852 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24853 (_G_LSEEK64): Likewise.
24854 (_G_MMAP64): Likewise.
24855 (_G_FSTAT64): Likewise.
24856 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24857 (_G_LSEEK64): Likewise.
24858 (_G_MMAP64): Likewise.
24859 (_G_FSTAT64): Likewise.
24860 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24861 unconditional. Call __mmap64 directly.
24862 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24863 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24864 __lseek64 directly.
24865 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24866 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24868 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24869 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24870 __lseek64 directly.
24871 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24872 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24873 __lseek64 directly.
24874 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24875 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24876 __lseek64 directly.
24877 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24878 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24879 __fxstat64 directly.
24880 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24881 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24883 (freopen64) [!_G_OPEN64]: Remove conditional code.
24884 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24886 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24887 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24889 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24890 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24892 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24893 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24895 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24896 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24898 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24899 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24901 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24902 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24904 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24906 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24909 * manual/memory.texi (Malloc Tunable Parameters): Add note
24910 about free list pointers overwriting some perturb bytes.
24911 Wording suggested by Roland McGrath.
24913 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24915 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24916 (lgamma_test): Likewise.
24917 (tgamma_test): Likewise.
24919 2012-10-16 Florian Weimer <fweimer@redhat.com>
24922 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24923 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24925 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24927 * NEWS: Mention BZ #14716.
24928 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24929 when removing AVAILABLE1_USES_J macro.
24931 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24933 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24934 (__bswap_64): __uint64_t for unsigned 64-bit int.
24936 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24938 * include/string.h (memmem): Declare libc hidden alias.
24939 * string/memmem.c (memmem): Define libc hidden alias.
24940 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24941 __read, __close instead of open, read, close.
24943 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24946 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24948 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24949 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24950 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24952 (__rawmemchr_sse2): Likewise.
24953 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24954 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24955 (__strchr_sse2): Likewise.
24956 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24957 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24958 (__strcasecmp_sse2): Likewise.
24959 (__strncasecmp_sse2): Likewise.
24960 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24961 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24962 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24963 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24964 (__strrchr_sse2): Likewise.
24965 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24967 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24968 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24969 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24970 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24971 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24973 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24974 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24975 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24976 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24977 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24978 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24979 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24980 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24981 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24982 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24983 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24984 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24985 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24986 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24987 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24988 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24989 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24990 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24991 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24992 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24993 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24994 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24995 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24996 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24998 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25000 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25001 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25002 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25003 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25005 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25007 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25008 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25009 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25010 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25012 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25013 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25014 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25015 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25016 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25017 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25018 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25019 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25020 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25021 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25022 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25023 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25024 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25025 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25026 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25028 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25029 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25030 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25031 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25035 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25037 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25038 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25039 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25040 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25041 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25042 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25043 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25044 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25045 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25046 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25047 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25048 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25049 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25050 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25051 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25052 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25054 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25055 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25056 * include/ifunc-impl-list.h: New file.
25057 * misc/ifunc-impl-list.c: Likewise.
25058 * misc/Makefile (routines): Add ifunc-impl-list.
25059 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25060 * string/test-string.h: Include <ifunc-impl-list.h>.
25061 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25062 TEST_NAME]: New variables.
25063 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25065 (test_init): Call __libc_ifunc_impl_list to initialize
25066 func_list if TEST_IFUNC and TEST_NAME are defined.
25068 * string/Makefile (strop-tests): Add bcopy and bzero.
25069 * string/test-bcopy.c: New file.
25070 * string/test-bzero.c: Likewise.
25071 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25073 * string/test-memset.c: Support bzero test if TEST_BZERO is
25075 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25077 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25079 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25082 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25084 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25085 * configure: Regenerated.
25087 * Makeconfig (+link-static-before-libc): Don't include
25088 $(link-static-libc).
25090 * libio/libio.h (_IO_pos_t): Remove.
25092 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25094 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25097 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25099 * crypt/crypt-entry.c: Include fips-private.h.
25100 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25101 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25102 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25103 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25105 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25107 * crypt/crypt-private.h: Include stdbool.h.
25108 (_ufc_setup_salt_r): Return bool.
25109 * crypt/crypt-entry.c: Include errno.h.
25110 (__crypt_r): Return NULL with EINVAL for bad salt.
25111 * crypt/crypt_util.c (bad_for_salt): New.
25112 (_ufc_setup_salt_r): Check that salt is long enough and within
25113 the specified alphabet.
25114 * crypt/badsalttest.c: New file.
25115 * crypt/Makefile (tests): Add it.
25116 ($(objpfx)badsalttest): New.
25118 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25120 * NEWS: Add entry for BZ #14602.
25122 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25124 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25126 * math/libm-test.inc: Update comment listing what functions and
25128 (isgreater_test): New function.
25129 (isgreaterequal_test): Likewise.
25130 (isless_test): Likewise.
25131 (islessequal_test): Likewise.
25132 (islessgreater_test): Likewise.
25133 (isunordered_test): Likewise.
25134 (main): Call the new functions.
25136 2012-10-09 Roland McGrath <roland@hack.frob.com>
25138 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25139 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25140 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25141 * sysdeps/i386/configure: Regenerated.
25142 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25143 * sysdeps/mach/configure: Regenerated.
25144 * sysdeps/mach/hurd/configure: Regenerated.
25145 * sysdeps/powerpc/configure: Regenerated.
25146 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25147 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25148 * sysdeps/s390/s390-32/configure: Regenerated.
25149 * sysdeps/s390/s390-64/configure: Regenerated.
25150 * sysdeps/sh/configure: Regenerated.
25151 * sysdeps/sparc/configure: Regenerated.
25152 * sysdeps/unix/sysv/linux/configure: Regenerated.
25153 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25154 * sysdeps/x86_64/configure: Regenerated.
25156 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25157 defined. Don't check if MAP is NULL.
25159 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25161 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25162 (_G_stat64): Likewise.
25163 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25164 (_G_stat64): Likewise.
25165 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25166 instead of struct _G_stat64.
25167 * libio/fileops.c (mmap_remap_check): Likewise.
25168 (decide_maybe_mmap): Likewise.
25169 (_IO_new_file_seekoff): Likewise.
25170 (_IO_file_stat): Likewise.
25171 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25173 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25174 instead of struct _G_stat64.
25175 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25177 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25180 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25182 (CHECK_EOL): New macro.
25183 (two_way_short_needle): Check beginning of haystack for EOL. Use
25185 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25186 Replace with CHECK_EOL.
25187 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25188 Replace with CHECK_EOL.
25190 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25192 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25194 * math/libm-test.inc: Update comment listing what functions and
25196 (finite_test): New function.
25197 (isinf_test): Likewise.
25198 (isnan_test): Likewise.
25199 (fpclassify_test): Test subnormal input.
25200 (isfinite_test): Likewise.
25201 (isnormal_test): Likewise.
25202 (main): Call the new functions.
25204 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25207 * Makerules (%.dynsym): Force C locale when running
25208 $(OBJDUMP) --dynamic-syms.
25210 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25212 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25215 2012-10-06 David S. Miller <davem@davemloft.net>
25217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25218 upper 32-bits of the length value in %o2 since we use branch-on-register
25219 tests which consider the entire 64-bit register.
25221 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25223 * string/test-strstr.c (check2): Add a test for page boundary.
25225 2012-10-05 David S. Miller <davem@davemloft.net>
25227 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25228 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25230 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25232 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25233 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25234 and bzero when HWCAP_SPARC_CRYPTO is present.
25236 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25239 * string/test-strstr.c (check2): New function.
25240 (test_main): Call check2.
25242 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25244 * string/bug-strcasestr1.c (do_test): Moved to ...
25245 * string/test-strcasestr.c (check1): Here. New function.
25246 (do_one_test): Break out result checking code into ...
25247 (check_result): This. New function.
25248 (do_one_test): Call check_result.
25249 (test_main): Call check1.
25250 * string/bug-strchr1.c (do_test): Moved to ...
25251 * string/test-strchr.c (check1): Here. New function.
25252 (do_one_test): Break out result checking code into ...
25253 (check_result): This. New function.
25254 (do_one_test): Call check_result.
25255 (test_main): Call check1.
25256 * string/bug-strstr1.c (main): Moved to ...
25257 * string/test-strstr.c (check1): Here. New function.
25258 (do_one_test): Break out result checking code into ...
25259 (check_result): This. New function.
25260 (do_one_test): Call check_result.
25261 (test_main): Call check1.
25262 * string/bug-strcasestr1.c: Removed.
25263 * string/bug-strchr1.c: Likewise.
25264 * string/bug-strstr1.c: Likewise.
25266 * elf/Makefile (dl-routines): Add hwcaps.
25267 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25268 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25269 (_dl_important_hwcaps): Moved to ...
25270 * elf/dl-hwcaps.c: Here. New file.
25271 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25274 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25275 if IS_IN_rtld isn't defined.
25277 * elf/dl-support.c (_dl_sysinfo_map): New.
25278 Include "get-dynamic-info.h" and "setup-vdso.h".
25279 (_dl_non_dynamic_init): Call setup_vdso.
25280 * elf/dynamic-link.h: Don't include <assert.h>.
25281 (elf_get_dynamic_info): Moved to ...
25282 * elf/get-dynamic-info.h: Here. New file.
25283 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25284 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25285 * elf/setup-vdso.h: Here. New file.
25286 * elf/rtld.c: Include "setup-vdso.h".
25287 (dl_main): Call setup_vdso.
25289 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25291 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25292 creal in comment listing functions tested. List finite, isinf,
25293 isnan, isless, islessequal, isgreater, isgreaterequal,
25294 islessgreater, isunordered, lgamma_r and pow10 as functions and
25295 macros not tested. Mention which functions not tested are aliases
25296 for other functions. Fix typo. Note that signs of NaNs are not
25299 * scripts/config.guess: Update from config.git.
25300 * scripts/config.sub: Likewise.
25302 2012-10-04 Roland McGrath <roland@hack.frob.com>
25304 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25305 * misc/madvise.c (madvise): Renamed to __madvise.
25306 Make madvise a weak alias.
25307 * include/sys/mman.h: Declare __madvise.
25308 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25309 * sysdeps/unix/syscalls.list
25310 (madvise): Make __madvise the strong name, and madvise a weak alias.
25311 * sysdeps/unix/sysv/linux/syscalls.list
25312 (madvise, mmap): Remove redundant entries.
25313 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25314 * malloc/malloc.c (mtrim): Likewise.
25315 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25317 2012-10-03 Roland McGrath <roland@hack.frob.com>
25319 * sysdeps/mach/hurd/dl-cache.c: File removed.
25320 * config.h.in (USE_LDCONFIG): New #undef.
25321 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25322 * configure: Regenerated.
25323 * elf/Makefile (dl-routines): Add dl-cache only under
25324 [$(use-ldconfig) = yes].
25325 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25326 cache on [USE_LDCONFIG].
25327 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25329 * elf/rtld.c (dl_main): Likewise.
25331 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25333 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25334 _SC_LEVEL4_CACHE_LINESIZE.
25336 2012-10-03 Roland McGrath <roland@hack.frob.com>
25338 * sysdeps/unix/bsd/confstr.h: File removed.
25340 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25342 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25345 2012-10-02 Roland McGrath <roland@hack.frob.com>
25347 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25348 Make 'mapoff' field ElfW(Off) rather than off_t.
25350 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25352 * nscd/Makefile: Remove nscd-cflags and all its users.
25353 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25354 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25357 * malloc.c (malloc_printerr): Clarify error message.
25359 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25363 Set bit_FMA_Usable if FMA is supported.
25364 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25366 (bit_FMA4_Usable): Updated.
25367 (index_FMA_Usable): New macro.
25368 (CPUID_FMA): Likewise
25369 (HAS_FMA): Defined with bit_FMA_Usable.
25371 2012-10-01 Roland McGrath <roland@hack.frob.com>
25373 * bits/types.h (__swblk_t): Type removed.
25374 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25375 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25377 (__SWBLK_T_TYPE): Likewise.
25378 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25379 (__SWBLK_T_TYPE): Likewise.
25380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25381 (__SWBLK_T_TYPE): Likewise.
25382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25383 (__SWBLK_T_TYPE): Likewise.
25385 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25386 Honza Horak <hhorak@redhat.com>
25388 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25389 (xdr_mapname): Use YPMAXMAP as maxsize.
25390 (xdr_peername): Use YPMAXPEER as maxsize.
25391 (xdr_keydat): Use YPAXRECORD as maxsize.
25392 (xdr_valdat): Use YPMAXRECORD as maxsize.
25394 2012-10-01 Roland McGrath <roland@hack.frob.com>
25396 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25398 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25399 * csu/init-first.c: ... here.
25400 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25401 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25402 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25403 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25404 * sysdeps/i386/init-first.c: File removed.
25405 * sysdeps/sh/init-first.c: File removed.
25407 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25411 if x * y might underflow to zero and z is zero.
25412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25413 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25414 * math/libm-test.inc (min_subnorm_value): New variable.
25415 (fma_test): Add more tests.
25416 (fma_test_towardzero): Likewise.
25417 (fma_test_downward): Likewise
25418 (fma_test_upward): Likewise.
25419 (initialize): Set min_subnorm_value.
25421 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25427 mode for addition resulting in exact zero.
25428 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25432 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25433 * math/libm-test.inc (fma_test): Add more tests.
25434 (fma_test_towardzero): New function.
25435 (fma_test_downward): Likewise.
25436 (fma_test_upward): Likewise.
25437 (main): Call the new functions.
25439 2012-09-28 David S. Miller <davem@davemloft.net>
25441 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25443 2012-09-28 Roland McGrath <roland@hack.frob.com>
25445 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25446 instead of SIGALRM.
25448 * sysdeps/gnu/_G_config.h: Moved to ...
25449 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25450 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25451 * sysdeps/generic/_G_config.h: ... here.
25453 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25455 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25457 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25458 Conditionalize target on [libnss_test1.so-version].
25460 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25462 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25463 (elfobjdir): Move out of conditionals.
25465 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25466 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25467 (__nss_lookup_function): Conditionalize label remove_from_tree on
25468 [!DO_STATIC_NSS || SHARED], matching its only use.
25470 2012-09-28 David S. Miller <davem@davemloft.net>
25472 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25473 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25475 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25477 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25479 when HWCAP_SPARC_CRYPTO is present.
25481 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25483 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25485 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25488 * stdio-common/vfprintf.c (process_string_arg): Revert
25491 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25493 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25495 * stdio-common/tst-sprintf.c: Include <locale.h>
25496 (main): Test sprintf's handling of incomplete multibyte
25499 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25501 * elf/dl-runtime.c (VERSYMIDX): Removed.
25502 * elf/dl-version.c (VERSYMIDX): Likewise.
25503 * elf/do-rel.h (VERSYMIDX): Likewise.
25504 (VALIDX): Likewise.
25505 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25506 * elf/rtld.c (VALIDX): Likewise.
25507 (ADDRIDX): Likewise.
25508 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25509 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25510 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25511 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25512 (VALIDX): Likewise.
25513 (ADDRIDX): Likewise.
25515 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25517 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25519 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25522 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25524 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25525 addresses are in the same scope as 192.0.2/24.
25526 * posix/gai.conf: Document new scope table defaults.
25528 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25531 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25532 for ftell. Compute offsets from write pointers instead.
25533 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25535 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25538 * libio/Makefile (tests): New test case tst-fseek.
25539 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25540 combination works in wide mode.
25541 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25542 state when the external buffer state changes.
25544 2012-09-27 David S. Miller <davem@davemloft.net>
25547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25548 pass reloc->r_addend in as the 'high' argument to
25549 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25553 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25555 * rt/tst-aio2.c: Include <pthread.h>.
25556 * rt/tst-aio3.c: Likewise.
25558 2012-09-27 Steve Ellcey <sellcey@mips.com>
25560 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25562 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25564 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25565 contents on [SHARED].
25567 2012-09-26 Marek Polacek <polacek@redhat.com>
25571 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25572 for C++ and GCC <4.3 as well as for non GCC compilers.
25574 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25578 2012-09-25 Roland McGrath <roland@hack.frob.com>
25580 * Makefile.in (all, install): Declare with .PHONY.
25581 Reported by Michael Hope <michael.hope@linaro.org>.
25583 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25585 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25586 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25588 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25590 (sydep_routines): Add the new and the internal functions.
25591 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25592 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25594 (GLIBC_2.17): Add the new function.
25595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25596 (GLIBC_2.17): Likewise.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25598 (GLIBC_2.17): Likewise.
25599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25600 (GLIBC_2.17): Likewise.
25601 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25603 2012-09-25 Alan Modra <amodra@gmail.com>
25605 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25606 Add release barrier before setting once_control to say
25607 initialisation is done. Add hints on lwarx. Use macro in
25609 (clear_once_control): Add release barrier.
25611 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25614 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25616 * math/s_clog10.c (__clog10): Likewise.
25617 * math/s_clog10f.c (__clog10f): Likewise.
25618 * math/s_clog10l.c (__clog10l): Likewise.
25619 * math/s_clogf.c (__clogf): Likewise.
25620 * math/s_clogl.c (__clogl): Likewise.
25621 * math/Makefile (libm-calls): Add x2y2m1.
25622 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25623 (__x2y2m1): Likewise.
25624 (__x2y2m1l): Likewise.
25625 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25626 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25629 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25630 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25631 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25632 * sysdeps/i386/fpu/libm-test-ulps: Update.
25633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25636 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25637 int as type of variable DEPTH.
25638 (glob): Use size_t instead of int as type of variables NEWCOUNT
25641 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25643 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25644 Add s_sincosf-sse2.
25645 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25646 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25647 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25648 macros for using routine as __sincosf_ia32.
25649 Use macro for function declaration and weak_alias.
25650 * sysdeps/i386/fpu/libm-test-ulps: Update.
25652 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25655 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25656 subnormal argument.
25657 * math/s_cexpf.c (__cexpf): Likewise.
25658 * math/s_csinf.c (__csinf): Likewise.
25659 * math/s_csinhf.c (__csinhf): Likewise.
25660 * math/s_ctanf.c (__ctanf): Likewise.
25661 * math/s_ctanhf.c (__ctanhf): Likewise.
25662 * math/s_ccosh.c (__ccoshf): Likewise.
25663 * math/s_cexp.c (__cexpl): Likewise.
25664 * math/s_csin.c (__csin): Likewise.
25665 * math/s_csinh.c (__csinh): Likewise.
25666 * math/s_ctan.c (__ctan): Likewise.
25667 * math/s_ctanh.c (ctanh): Likewise.
25668 * math/s_ccoshl.c (__ccoshl): Likewise.
25669 * math/s_cexpl.c (__cexpl): Likewise.
25670 * math/s_csinl.c (__csinl): Likewise.
25671 * math/s_csinhl.c (__csinhl): Likewise.
25672 * math/s_ctanl.c (__ctanl): Likewise.
25673 * math/s_ctanhl.c (__ctanhl): Likewise.
25675 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25677 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25678 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25679 (_IO_off_t): Define to __off_t, not _G_off_t.
25680 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25681 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25682 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25683 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25684 type of __dummy and __dummy2 fields.
25685 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25686 (_G_ssize_t): Likewise.
25687 (_G_off_t): Likewise.
25688 (_G_pid_t): Likewise.
25689 (_G_uid_t): Likewise.
25690 (_G_wchar_t): Likewise.
25691 (_G_wint_t): Likewise.
25692 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25693 (_G_ssize_t): Likewise.
25694 (_G_off_t): Likewise.
25695 (_G_pid_t): Likewise.
25696 (_G_uid_t): Likewise.
25697 (_G_wchar_t): Likewise.
25698 (_G_wint_t): Likewise.
25699 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25700 (_G_ssize_t): Likewise.
25701 (_G_off_t): Likewise.
25702 (_G_pid_t): Likewise.
25703 (_G_uid_t): Likewise.
25704 (_G_wchar_t): Likewise.
25705 (_G_wint_t): Likewise.
25707 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25709 * malloc/arena.c: Include malloc-sysdep.h.
25710 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25711 is sufficient to shrink the heap or an unmap is needed.
25712 * sysdeps/generic/malloc-sysdep.h: New file. Define
25713 new function check_may_shrink_heap.
25714 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25715 new function check_may_shrink_heap.
25717 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25719 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25722 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25724 * catgets/test-gencat.sh: Add "set -e".
25725 * elf/tst-pathopt.sh: Likewise.
25726 * grp/tst_fgetgrent.sh: Likewise.
25727 * iconvdata/run-iconv-test.sh: Likewise.
25728 * intl/tst-gettext.sh: Likewise.
25729 * intl/tst-gettext2.sh: Likewise.
25730 * intl/tst-gettext4.sh: Likewise.
25731 * intl/tst-gettext6.sh: Likewise.
25732 * intl/tst-translit.sh: Likewise.
25733 * io/ftwtest-sh: Likewise.
25734 * libio/test-freopen.sh: Likewise.
25735 * malloc/tst-mtrace.sh: Likewise.
25736 * posix/globtest.sh: Likewise.
25737 * posix/tst-getconf.sh: Likewise.
25738 * posix/wordexp-tst.sh: Likewise.
25739 * stdio-common/tst-printf.sh: Likewise.
25740 * stdio-common/tst-unbputc.sh: Likewise.
25741 * stdlib/tst-fmtmsg.sh: Likewise.
25742 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25743 * catgets/Makefile: Do not specify -e option when running
25744 testsuite shell scripts.
25745 * elf/Makefile: Likewise.
25746 * grp/Makefile: Likewise.
25747 * iconvdata/Makefile: Likewise.
25748 * intl/Makefile: Likewise.
25749 * io/Makefile: Likewise.
25750 * libio/Makefile: Likewise.
25751 * malloc/Makefile: Likewise.
25752 * posix/Makefile: Likewise.
25753 * stdio-common/Makefile: Likewise.
25754 * stdlib/Makefile: Likewise.
25755 * sysdeps/x86_64/Makefile: Likewise.
25757 * io/ftwtest-sh: Add copyright header.
25758 * posix/globtest.sh: Likewise.
25759 * posix/tst-getconf.sh: Likewise.
25760 * posix/wordexp-tst.sh: Likewise.
25761 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25763 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25766 * Makeconfig (+link): Defined as $(+link-static) if
25767 $(build-shared) isn't yes.
25768 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25770 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25772 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25775 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25776 new chunk size with MALLOC_ALIGN_MASK.
25778 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25781 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25783 (__printf_fphex): Determine rounding using get_rounding_mode and
25785 * stdio-common/tst-printf-round.c (struct hex_test): New
25787 (hex_tests): New variable.
25788 (test_hex_in_one_mode): New function.
25789 (do_test): Also run tests for hex float output.
25791 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25793 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25794 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25795 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25796 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25797 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25798 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25799 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25800 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25802 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25804 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25805 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25806 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25807 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25809 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25812 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25814 * elf/tst-rtld-load-self.sh: New test.
25815 * elf/Makefile: Run it.
25817 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25819 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25820 (tst-writev-ENV): Remove.
25821 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25823 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25825 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25827 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25829 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25831 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25833 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25834 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25835 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25838 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25841 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25842 * config.make.in (have-cpp-asm-debuginfo): Removed.
25843 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25844 * configure: Regenerated.
25846 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25849 * stdio-common/printf_fp.c: Include <stdbool.h> and
25851 (___printf_fp): Determine rounding using get_rounding_mode and
25853 * stdio-common/tst-printf-round.c: New file.
25854 * stdio-common/Makefile (tests): Add tst-printf-round.
25855 (link-libm): New variable.
25856 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25858 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25861 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25862 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25864 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25867 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25869 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25870 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25871 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25872 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25874 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25877 * include/rounding-mode.h: New file.
25878 * sysdeps/generic/get-rounding-mode.h: Likewise.
25879 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25880 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25881 (MAX_VALUE): New macro.
25882 (MIN_VALUE): Likewise.
25883 (overflow_value): New function.
25884 (underflow_value): Likewise.
25885 (round_and_return): Use overflow_value and underflow_value to
25886 determine return values in overflow and underflow cases. Use
25887 round_away to determine rounding depending on rounding mode.
25888 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25889 determine return values in overflow and underflow cases.
25890 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25891 (struct test_results): New structure.
25892 (struct test): Use struct test_results to store expected results
25893 for all rounding modes.
25894 (TEST): Include expected results for all rounding modes.
25895 (test_in_one_mode): New function.
25896 (do_test): Use test_in_one_mode to compute and check results.
25897 Check results for all rounding modes.
25898 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25901 2012-12-09 Allan McRae <allan@archlinux.org>
25903 * sysdeps/i386/fpu/libm-test-ulps: Update
25905 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25907 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25908 (_G_int32_t): Likewise.
25909 (_G_uint16_t): Likewise.
25910 (_G_uint32_t): Likewise.
25911 (_G_HAVE_BOOL): Likewise.
25912 (_G_HAVE_ATEXIT): Likewise.
25913 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25914 (_G_HAVE_IO_FILE_OPEN): Likewise.
25915 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25916 (_G_int32_t): Likewise.
25917 (_G_uint16_t): Likewise.
25918 (_G_uint32_t): Likewise.
25919 (_G_HAVE_BOOL): Likewise.
25920 (_G_HAVE_ATEXIT): Likewise.
25921 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25922 (_G_HAVE_IO_FILE_OPEN): Likewise.
25923 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25924 (_G_int32_t): Likewise.
25925 (_G_uint16_t): Likewise.
25926 (_G_uint32_t): Likewise.
25927 (_G_HAVE_BOOL): Likewise.
25928 (_G_HAVE_ATEXIT): Likewise.
25929 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25930 (_G_HAVE_IO_FILE_OPEN): Likewise.
25932 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25934 * csu/libc-tls.c: Update copyright years.
25936 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25938 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25939 [!_G_USING_THUNKS]: Remove conditional code.
25940 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25941 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25943 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25944 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25945 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25946 (_G_VTABLE_LABEL_PREFIX): Likewise.
25947 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25948 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25949 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25950 (_G_VTABLE_LABEL_PREFIX): Likewise.
25951 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25952 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25954 (_G_VTABLE_LABEL_PREFIX): Likewise.
25955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25957 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25959 * libio/Makefile: Include ../Makeconfig before tests.
25960 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25961 only if $(build-shared) is yes.
25963 * iconv/gconv_db.c: Update copyright years.
25965 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25967 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25968 unwind info if defined PIC. Fix special cases description.
25969 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25971 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25973 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25975 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25977 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25979 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25982 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25983 (LDLIBS-tst-chk4): This.
25984 (LDFLAGS-tst-chk5): Renamed to ...
25985 (LDLIBS-tst-chk5): This.
25986 (LDFLAGS-tst-chk6): Renamed to ...
25987 (LDLIBS-tst-chk6): This.
25988 (LDFLAGS-tst-lfschk4): Renamed to ...
25989 (LDLIBS-tst-lfschk4): This.
25990 (LDFLAGS-tst-lfschk5): Renamed to ...
25991 (LDLIBS-tst-lfschk5): This.
25992 (LDFLAGS-tst-lfschk6): Renamed to ...
25993 (LDLIBS-tst-lfschk6): This.
25995 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25996 on $(common-objpfx)soversions.mk.
25998 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26001 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26004 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26006 * malloc/arena.c (arena_get_retry): New function that gets
26007 another arena for the caller to try its request on.
26008 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26009 current arena cannot fulfill the request.
26010 (__libc_memalign): Likewise.
26011 (__libc_memalign): Likewise.
26012 (__libc_pvalloc): Likewise.
26013 (__libc_calloc): Likewise.
26015 2012-09-05 John Tobey <john.tobey@gmail.com>
26018 * manual/arith.texi (Operations on Complex): Fix description
26019 of carg branch cut.
26021 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26024 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26028 * manual/memory.texi (Memory): Make order of menu items match
26031 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26033 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26034 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26035 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26037 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26039 * csu/libc-tls.c (static_dtv): Renamed to ...
26040 (_dl_static_dtv): This. Make it global.
26041 (_dl_initial_dtv): Removed.
26042 (__libc_setup_tls): Updated.
26043 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26044 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26047 2012-09-06 Petr Machata <pmachata@redhat.com>
26049 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26050 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26051 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26052 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26054 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26057 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26058 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26061 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26064 * Makeconfig (link-static-before-libc): Replace $(+prector)
26066 (link-static-after-libc): Replace $(+postctor) with
26068 (link-bounded): Replace $(+prector)/$(+postctor) with
26069 $(+prectorT)/$(+postctorT).
26070 (+prectorT): New macro.
26071 (+postctorT): Likewise.
26073 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26075 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26076 (round_str): Handle values above the maximum for IBM long double
26078 * stdlib/tst-strtod-round.c (tests): Regenerated.
26080 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26082 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26084 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26085 zarch_nohighgprs around the zarch optimized routines.
26086 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26087 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26091 2012-09-05 David S. Miller <davem@davemloft.net>
26093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26095 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26096 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26097 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26098 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26101 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26103 * malloc/arena.c: Fold copyright years.
26104 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26106 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26108 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26110 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26112 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26114 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26116 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26117 change internal state upon failure.
26119 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26121 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26122 * malloc/memusage.c (mmap): Likewise.
26123 (mmap64, mremap): Likewise. Adjust name in comment.
26125 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26127 * libio/fileops.c: Fix typos in comments.
26128 * libio/oldfileops.c: Likewise.
26129 * libio/wfileops.c: Likewise.
26131 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26134 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26135 (tst-malloc-usable-ENV): Set environment for test case.
26136 * malloc/hooks.c (malloc_check_get_size): New function to get
26138 * malloc/malloc.c (musable): Use malloc_check_get_size.
26139 * malloc/tst-malloc-usable.c: New test case.
26141 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26143 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26145 2012-09-05 Allan McRae <allan@archlinux.org>
26148 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26149 determine header location.
26150 * configure: Regenerated.
26152 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26154 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26156 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26157 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26159 (test): Regenerate.
26161 2012-09-04 David S. Miller <davem@davemloft.net>
26163 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26164 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26165 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26167 2012-09-04 Florian Weimer <fweimer@redhat.com>
26169 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26172 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26174 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26177 * libio/iogetdelim.c: Include <limits.h>.
26178 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26179 + len + 1 would overflow.
26181 2012-09-03 Andreas Jaeger <aj@suse.de>
26183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26184 * sysdeps/i386/fpu/libm-test-ulps: Update.
26186 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26188 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26189 Add s_sinf-sse2, s_conf-sse2.
26191 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26192 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26193 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26194 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26196 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26197 for using routine as __sinf_ia32.
26198 Use macro for function declaration and weak_alias.
26199 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26200 for using routine as __cosf_ia32.
26201 Use macro for function declaration and weak_alias.
26203 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26204 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26206 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26207 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26210 * math/libm-test.inc (cos_test): Add more test cases.
26211 (sin_test): Likewise.
26212 (sincos_test): Likewise.
26214 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26216 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26217 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26219 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26221 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26224 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26225 first element of the GOT.
26226 (elf_machine_load_address): Return the difference between
26227 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26229 2012-09-01 Allan McRae <allan@archlinux.org>
26232 * configure.in (AWK): Require gawk version 3.0 or later.
26233 * configure: Regenerated.
26235 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26237 * sysdeps/unix/sysv/linux/kernel-features.h
26238 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26239 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26240 [__NR_clock_getres]: Make code unconditional.
26241 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26242 (clock_getcpuclockid): Remove code left unreachable by removal of
26244 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26245 code unconditional.
26246 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26247 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26248 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26249 Make code unconditional.
26250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26252 * sysdeps/unix/sysv/linux/clock_settime.c
26253 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26255 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26258 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26261 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26262 scripts/test-installation.pl.
26264 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26265 and $ld_so_version if it is set.
26267 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26270 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26271 failure if reading from procfs failed.
26272 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26274 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26276 * sysdeps/unix/sysv/linux/kernel-features.h
26277 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26278 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26279 Remove conditional code.
26280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26281 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26282 Remove conditional code.
26283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26284 * sysdeps/unix/sysv/linux/i386/fxstat.c
26285 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26287 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26288 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26289 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26290 * sysdeps/unix/sysv/linux/i386/lxstat.c
26291 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26292 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26293 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26294 Remove conditional code.
26295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26296 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26297 Remove conditional code.
26298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26299 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26300 <kernel-features.h>.
26301 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26303 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26304 Remove conditional code.
26305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26306 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26307 Remove conditional.
26309 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26312 * NEWS: Add fixed bug number.
26314 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26317 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26318 underflowing exponent in case of negative sign.
26319 * stdlib/tst-strtod-round-data: Add more tests.
26320 * stdlib/tst-strtod-round.c (tests): Regenerated.
26323 * stdlib/strtod_l.c (NDIG): Remove.
26324 (HEXNDIG): Likewise.
26325 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26326 smallest representable value.
26327 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26328 lie within an exact representation of 1/2 ulp of the result.
26329 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26331 (TENS_P9_IDX): Define unconditionally.
26332 (TENS_P9_SIZE): Likewise.
26333 (TENS_P10_IDX): Likewise.
26334 (TENS_P10_SIZE): Likewise.
26335 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26336 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26337 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26338 entries for 10^2^13 and 10^2^14.
26339 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26340 (TENS_P13_IDX): Define.
26341 (TENS_P13_SIZE): Likewise.
26342 (TENS_P14_IDX): Likewise.
26343 (TENS_P14_SIZE): Likewise.
26344 (_fpioconst_pow10): Change array size to
26345 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26347 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26348 1024]: Add entries for 10^2^13 and 10^2^14.
26349 [LAST_POW10 > _LAST_POW10]: Remove #error.
26350 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26351 (_fpioconst_pow10): Change array size to
26352 FPIOCONST_POW10_ARRAY_SIZE.
26353 * stdlib/gen-fpioconst.c: New file.
26354 * stdlib/gen-tst-strtod-round.c: Likewise.
26355 * stdlib/tst-strtod-round-data: Likewise.
26356 * stdlib/tst-strtod-round.c: Likewise.
26357 * stdlib/Makefile (tests): Add tst-strtod-round.
26360 * stdlib/strtod_l.c: Include <stdint.h>.
26361 (NDEBUG): Do not define.
26362 (round_and_return): Change EXPONENT parameter to type intmax_t.
26363 Rearrange calculations to avoid internal overflow possibilities.
26364 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26365 Rearrange calculations to avoid internal overflow possibilities.
26366 Assert that number fits inside MPNSIZE limbs.
26367 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26368 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26369 calculations and add assertions to avoid internal overflow
26370 possibilities. Add casts to avoid signed/unsigned operations.
26371 * stdlib/tst-strtod-overflow.c: New file.
26372 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26374 2012-08-25 Marek Polacek <polacek@redhat.com>
26376 * time/time.h: Fix some typos in comments.
26378 2012-08-23 Roland McGrath <roland@hack.frob.com>
26380 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26381 * posix/tst-rfc3484-2.c: Likewise.
26382 * posix/tst-rfc3484-3.c: Likewise.
26384 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26386 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26387 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26389 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26391 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26392 #include of fxstatat64.c.
26394 2012-08-22 Roland McGrath <roland@hack.frob.com>
26396 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26397 * shadow/getspent_r.c: Likewise.
26398 * shadow/getspnam.c: Likewise.
26399 * shadow/getspnam_r.c: Likewise.
26400 * gshadow/getsgent.c: Likewise.
26401 * gshadow/getsgent_r.c: Likewise.
26402 * gshadow/getsgnam.c: Likewise.
26403 * gshadow/getsgnam_r.c: Likewise.
26404 * inet/getnetbyad.c: Likewise.
26405 * inet/getnetbyad_r.c: Likewise.
26406 * inet/getnetbynm.c: Likewise.
26407 * inet/getnetbynm_r.c: Likewise.
26408 * inet/getnetent.c: Likewise.
26409 * inet/getnetent_r.c: Likewise.
26410 * inet/getproto.c: Likewise.
26411 * inet/getproto_r.c: Likewise.
26412 * inet/getprtent.c: Likewise.
26413 * inet/getprtent_r.c: Likewise.
26414 * inet/getprtname.c: Likewise.
26415 * inet/getprtname_r.c: Likewise.
26416 * inet/getrpcbyname.c: Likewise.
26417 * inet/getrpcbyname_r.c: Likewise.
26418 * inet/getrpcbynumber.c: Likewise.
26419 * inet/getrpcbynumber_r.c: Likewise.
26420 * inet/getrpcent.c: Likewise.
26421 * inet/getrpcent_r.c: Likewise.
26422 * inet/getaliasent.c: Likewise.
26423 * inet/getaliasent_r.c: Likewise.
26424 * inet/getaliasname.c: Likewise.
26425 * inet/getaliasname_r.c: Likewise.
26426 * nscd/getgrgid_r.c: Likewise.
26427 * nscd/getgrnam_r.c: Likewise.
26428 * nscd/gethstbyad_r.c: Likewise.
26429 * nscd/gethstbynm3_r.c: Likewise.
26430 * nscd/getpwnam_r.c: Likewise.
26431 * nscd/getpwuid_r.c: Likewise.
26432 * nscd/getsrvbynm_r.c: Likewise.
26433 * nscd/getsrvbypt_r.c: Likewise.
26434 * nscd/gai.c: Likewise.
26436 * configure.in (build_nscd): New substituted variable, set
26437 by --disable-build-nscd and defaults to $use_nscd.
26438 * configure: Regenerated.
26439 * config.make.in (build-nscd): New substituted variable.
26440 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26441 Change conditional to require [$(build-nscd) = yes] as well.
26442 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26445 * configure.in (use_nscd): New substituted variable, set by
26446 --disable-nscd. If enabled, define USE_NSCD.
26447 * configure: Regenerated.
26448 * config.h.in: Add USE_NSCD.
26449 * config.make.in (use-nscd): New substituted variable.
26450 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26451 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26452 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26453 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26454 (CFLAGS-getgrnam_r.c): Likewise.
26455 (CFLAGS-initgroups.c): Likewise.
26456 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26457 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26459 * inet/getnetgrent_r.c
26460 (nscd_setnetgrent): New function, broken out of ...
26461 (setnetgrent): ... here. Call it.
26462 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26463 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26464 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26465 * nscd/Makefile (routines, aux): Move definitions after include of
26466 Makeconfig. Conditionalize on [$(use-nscd) != no].
26467 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26468 Conditionalize on [USE_NSCD].
26469 (is_nscd, nscd_init_cb): Likewise.
26470 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26471 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26472 * nss/nss_db/db-init.c: Likewise.
26473 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26475 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26476 (make_request): Use it.
26477 (cache_valid_p): New function.
26478 (__check_pf): Use it.
26479 * NEWS: Add item for --disable-nscd.
26481 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26483 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26484 to support sed >= 4.2.1-20-ga9bf076.
26485 * configure: Regenerated.
26487 2012-08-22 Roland McGrath <roland@hack.frob.com>
26489 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26490 Conditionalize whole body on [IREL].
26492 2012-08-22 Jeff Law <law@redhat.com>
26495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26496 if the family is PF_UNSPEC.
26498 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26500 * Makerules (lib-version): Rename from V.
26501 (install-lib-nosubdir): Change V to lib-version.
26503 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26506 * powerpc32/power6/wcschr.c: New file.
26507 * powerpc32/power6/wcscpy.c: New file.
26508 * powerpc32/power6/wcsrchr.c: New file.
26509 * powerpc64/power6/wcschr.c: New file.
26510 * powerpc64/power6/wcscpy.c: New file.
26511 * powerpc64/power6/wcsrchr.c: New file.
26513 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26515 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26516 (two_way_short_needle): Use it.
26517 * string/strstr.c (AVAILABLE1_USES_J): Define.
26518 * string/strcasestr.c: Likewise.
26520 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26522 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26525 * NEWS: Add an entry.
26526 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26527 define their defaults.
26528 (two_way_short_needle): Detect end-of-string on-the-fly.
26529 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26530 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26531 * string/bug-strcasestr1.c: New test.
26532 * string/Makefile: Run it.
26534 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26537 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26538 the first character.
26540 2012-08-21 Roland McGrath <roland@hack.frob.com>
26542 * csu/elf-init.c (__libc_csu_irel): Function removed.
26543 * csu/libc-start.c (apply_irel): New function.
26544 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26546 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26548 * sysdeps/unix/sysv/linux/kernel-features.h
26549 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26550 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26551 <kernel-features.h>.
26552 [__NR_fadvise64_64]: Make code unconditional.
26553 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26554 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26555 !__NR_fadvise64_64)]: Likewise.
26556 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26557 !__NR_fadvise64_64))]: Likewise.
26558 [__NR_fadvise64]: Make code unconditional.
26559 [!__NR_fadvise64]: Remove conditional code.
26560 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26561 <kernel-features.h>.
26562 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26564 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26567 not include <kernel-features.h>.
26568 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26570 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26572 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26573 include <kernel-features.h>.
26574 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26576 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26579 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26581 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26582 slight instruction rearrangements per scrollpipe analysis.
26583 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26585 2012-08-20 Roland McGrath <roland@hack.frob.com>
26587 * manual/syslog.texi (syslog; vsyslog, closelog):
26588 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26589 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26591 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26592 DSOCAPS to match condition on defining it.
26594 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26596 * sysdeps/unix/sysv/linux/kernel-features.h
26597 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26599 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26600 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26602 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26603 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26605 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26606 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26608 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26609 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26611 * sysdeps/unix/sysv/linux/kernel-features.h
26612 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26613 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26615 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26616 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26617 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26618 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26619 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26620 Make code unconditional.
26621 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26622 (__mmap64) [!__NR_mmap2]: Likewise.
26623 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26624 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26625 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26626 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26627 [__NR_mmap2]: Make code unconditional.
26628 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26629 (__mmap64) [!__NR_mmap2]: Likewise.
26631 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26633 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26635 2012-08-18 Andreas Jaeger <aj@suse.de>
26637 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26639 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26641 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26642 * include/unistd.h (__have_sock_cloexec): Likewise.
26643 (__have_pipe2): Likewise.
26644 (__have_dup3): Likewise.
26646 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26649 * include/unistd.h (__have_pipe2): Change define into an extern int.
26650 (__have_dup3): Likewise.
26651 * socket/have_sock_cloexec.c: Include fcntl.h.
26652 (__have_pipe2): New variable.
26653 (__have_dup3): Likewise.
26655 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26657 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26659 2012-08-17 Marek Polacek <polacek@redhat.com>
26661 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26662 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26664 2012-08-17 Roland McGrath <roland@hack.frob.com>
26666 * configure.in: Add AC_SUBST for sysheaders.
26667 * configure: Regenerated.
26668 * config.make.in (sysheaders): New substituted variable.
26670 * sysdeps/unix/mkfifo.c: Moved ...
26671 * sysdeps/posix/mkfifo.c: ... here.
26672 * sysdeps/unix/mkfifoat.c: Moved ...
26673 * sysdeps/posix/mkfifoat.c: ... here.
26675 * sysdeps/unix/utime.c: Moved ...
26676 * sysdeps/posix/utime.c: ... here.
26678 * sysdeps/unix/time.c: Moved ...
26679 * sysdeps/posix/time.c: ... here.
26680 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26681 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26683 * sysdeps/unix/nice.c: Moved ...
26684 * sysdeps/posix/nice.c: ... here.
26686 * sysdeps/unix/alarm.c: Moved ...
26687 * sysdeps/posix/alarm.c: ... here.
26689 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26691 2012-08-17 Jeff Law <law@redhat.com>
26693 * intl/Makefile (codeset_mo): New variable.
26694 ($(codeset_mo)): New target.
26695 (tst-codeset.out): Depend on that. Remove explicit rule.
26696 (tst-gettext3.out, tst-gettext5.out): Likewise.
26697 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26698 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26699 * intl/tst-codeset.sh: Remove.
26700 * intl/tst-gettext3.sh: Likewise.
26701 * intl/tst-gettext5.sh: Likewise.
26703 2012-08-17 Roland McGrath <roland@hack.frob.com>
26705 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26706 * sysdeps/unix/syscalls.list: ... here.
26708 * sysdeps/posix/getaddrinfo.c
26709 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26710 (gaiconf_init, gaiconf_reload): Use them.
26711 [!_STATBUF_ST_NSEC]
26712 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26713 Define using time_t rather than struct timespec.
26715 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26716 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26718 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26720 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26721 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26724 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26725 __libc_cleanup_push argument.
26727 * bits/param.h: New file.
26728 * misc/sys/param.h: New file.
26729 * include/sys/param.h: New file.
26730 * misc/Makefile (headers): Add bits/param.h.
26731 * sysdeps/generic/sys/param.h: File removed.
26732 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26733 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26734 * sysdeps/mach/hurd/bits/param.h: New file.
26735 * sysdeps/mach/hurd/sys/param.h: File removed.
26737 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26740 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26742 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26743 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26746 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26747 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26748 rather than -D_IO_MTSAFE_IO conditionally.
26749 * stdio-common/Makefile (CPPFLAGS): Likewise.
26750 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26751 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26752 Use $(libio-mtsafe).
26753 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26754 of -D_IO_MTSAFE_IO.
26755 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26756 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26757 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26758 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26759 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26760 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26761 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26762 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26763 (CFLAGS-fread_u_chk.c): Likewise.
26764 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26765 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26766 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26767 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26768 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26769 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26770 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26771 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26772 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26774 * libio/Makefile: Test [$(libc-reentrant) = yes]
26775 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26778 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26779 * sysdeps/pthread/configure: File removed.
26780 * sysdeps/pthread/Makeconfig: New file.
26781 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26782 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26784 2012-08-16 Gary Benson <gbenson@redhat.com>
26786 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26787 unmapping the first object in a namespace.
26789 2012-08-16 Roland McGrath <roland@hack.frob.com>
26791 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26792 (__internal_setnetgrent): ... this. Add internal_function to
26793 definition. Add libc_hidden_def.
26794 (setnetgrent): Update caller.
26795 (internal_endnetgrent): Renamed to ...
26796 (__internal_endnetgrent): ... this. Add internal_function to
26797 definition. Add libc_hidden_def.
26798 (endnetgrent): Update caller.
26799 (internal_getnetgrent_r): Renamed to ...
26800 (__internal_getnetgrent_r): ... this. Add internal_function to
26801 definition. Add libc_hidden_def.
26802 (__getnetgrent_r): Update caller.
26803 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26805 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26807 * stdlib/longlong.h: Update from GCC.
26809 2012-08-16 Roland McGrath <roland@hack.frob.com>
26811 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26812 on _QL, which is set by umul_ppmm but never used.
26813 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26814 variables, which are set by GMP macros but never used.
26815 * stdio-common/_itowa.c (_itowa): Likewise.
26816 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26817 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26819 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26821 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26822 struct La_sh_regs is not constant.
26823 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26824 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26825 and struct La_sparc64_regs are not constant.
26827 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26829 * sysdeps/unix/sysv/linux/kernel-features.h
26830 (__ASSUME_POSIX_TIMERS): Remove.
26831 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26832 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26833 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26834 Make code unconditional.
26835 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26836 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26837 Make code unconditional.
26838 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26839 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26840 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26841 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26842 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26843 Make code unconditional.
26844 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26845 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26846 (__libc_missing_posix_timers): Remove.
26848 2012-08-15 Roland McGrath <roland@hack.frob.com>
26850 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26851 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26853 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26855 * elf/dl-sym.c: Include <stdlib.h>.
26857 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26858 constants, which avoids warnings in 32-bit builds.
26860 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26861 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26863 * misc/lseek.c: File moved to ...
26864 * io/lseek.c: ... here.
26866 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26868 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26869 shifting LEN more than 31 bits at once.
26871 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26874 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26875 segmentation fault for a case of two empty input strings.
26876 * string/test-strncasecmp.c (check1): Renamed to...
26877 (bz12205): ...this.
26878 (bz14195): Add new testcase for two empty input strings and N > 0.
26879 (test_main): Call new testcase, adapt for renamed function.
26881 2012-08-15 Andreas Jaeger <aj@suse.de>
26884 * crypt/md5test2.c: New test, based on test supplied by Serge
26885 Belyshev <belyshev@depni.sinp.msu.ru>.
26886 * crypt/Makefile (xtests): Add md5test-giant..
26887 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26889 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26892 * crypt/md5.c (md5_process_block): Don't assume the buffer
26893 length is less than 2**32.
26894 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26895 length is less than 2**64.
26897 2012-08-15 Roland McGrath <roland@hack.frob.com>
26899 * string/str-two-way.h: Include <sys/param.h>.
26900 (MAX): Macro removed.
26902 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26903 Move #define and #undef of memmove to just before and after
26904 including <string.h>.
26906 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26907 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26908 and after including <string.h>. Move declarations of
26909 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26910 to before #include "string/memmove.c".
26912 * include/dirent.h: Declare __getdirentries.
26914 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26915 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26917 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26919 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26920 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26921 * sysdeps/i386/configure: Regenerated.
26922 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26923 STABS_CURRENT_FILE, and STABS_FUN.
26924 (END): Remove call to STABS_FUN_END.
26925 (STABS_CURRENT_FILE1): Delete.
26926 (STABS_CURRENT_FILE): Likewise.
26927 (STABS_FUN): Likewise.
26928 (STABS_FUN_END): Likewise.
26929 (STABS_FUN2): Likewise.
26930 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26931 * sysdeps/x86_64/configure: Regenerated.
26933 2012-08-14 Roland McGrath <roland@hack.frob.com>
26935 * elf/dl-open.c: Include <atomic.h>.
26936 * elf/dl-lookup.c: Likewise.
26938 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26940 * sysdeps/unix/sysv/linux/kernel-features.h
26941 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26942 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26944 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26946 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26947 condition on __ASSUME_CLONE_THREAD_FLAGS.
26949 2012-08-14 Andreas Jaeger <aj@suse.de>
26951 * sysdeps/i386/fpu/libm-test-ulps: Update.
26953 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26955 * include/atomic.h (atomic_exchange_and_add): Split into ...
26956 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26959 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26963 2012-08-13 Jeff Law <law@redhat.com>
26965 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26966 null byte in the output string.
26968 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26970 * sysdeps/unix/sysv/linux/kernel-features.h
26971 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26972 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26973 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26975 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26976 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26977 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26979 2012-08-09 Jeff Law <law@redhat.com>
26982 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26983 When avoid_arena is set, don't retry in the that arena. Pick the
26984 next one, whatever it might be.
26985 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26986 (arena_lock): Pass in new parameter to arena_get2.
26987 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26989 (__libc_malloc): Unify retrying after main arena failure with
26990 __libc_memalign version.
26991 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26993 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26996 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26997 to __redirect_strstr.
26998 (__strstr_sse42): Use typeof __redirect_strstr.
26999 (__strstr_ia32): Likewise.
27000 (__libc_strstr): New prototype.
27001 (strstr): Renamed to ...
27002 (__libc_strstr): This.
27003 (strstr): New strong alias of __libc_strstr.
27004 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27005 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27008 (__libc_time): New prototype.
27009 (time_ifunc): Replace time with __libc_time.
27010 (time): New strong alias and hidden definition of __libc_time.
27011 (__GI_time): Remove strong alias.
27012 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27013 Include <stddef.h>.
27014 (memmove): Redefined to __redirect_memmove.
27015 (__memmove_sse2): Use typeof __redirect_memmove.
27016 (__memmove_ssse3): Likewise.
27017 (__memmove_ssse3_back): Likewise.
27018 (__libc_memmove): New prototype.
27019 (memmove): Renamed to ...
27020 (__libc_memmove): This.
27021 (memmove): New strong alias of __libc_memmove.
27023 2012-08-08 Mark Salter <msalter@redhat.com>
27026 (R_MN10300_TLS_GD): Define.
27027 (R_MN10300_TLS_LD): Likewise.
27028 (R_MN10300_TLS_LDO): Likewise.
27029 (R_MN10300_TLS_GOTIE): Likewise.
27030 (R_MN10300_TLS_IE): Likewise.
27031 (R_MN10300_TLS_LE): Likewise.
27032 (R_MN10300_TLS_DTPMOD): Likewise.
27033 (R_MN10300_TLS_DTPOFF): Likewise.
27034 (R_MN10300_TLS_TPOFF): Likewise.
27035 (R_MN10300_SYM_DIFF): Likewise.
27036 (R_MN10300_ALIGN): Likewise.
27037 (R_MN10300_NUM): Update.
27039 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27041 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27044 2012-08-08 Roland McGrath <roland@hack.frob.com>
27046 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27048 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27049 sysdeps/unix -> sysdeps/posix move.
27050 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27052 2012-08-07 Allan McRae <allan@archlinux.org>
27055 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27056 (SUNOS_CPP): Likewise.
27057 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27059 (open_input): Call CPP using execvp.
27061 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27063 * sysdeps/unix/sysv/linux/kernel-features.h
27064 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27065 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27066 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27067 (__ASSUME_WAITID_SYSCALL): Likewise.
27068 * sysdeps/unix/sysv/linux/dl-execstack.c
27069 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27070 code unconditional.
27071 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27073 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27074 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27075 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27077 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27079 [__ASSUME_WAITID_SYSCALL]: Likewise.
27080 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27082 2012-08-07 Roland McGrath <roland@hack.frob.com>
27084 * sysdeps/unix/closedir.c: Renamed to ...
27085 * sysdeps/posix/closedir.c: ... here.
27086 * sysdeps/unix/dirfd.c: Renamed to ...
27087 * sysdeps/posix/dirfd.c: ... here.
27088 * sysdeps/unix/dirstream.h: Renamed to ...
27089 * sysdeps/posix/dirstream.h: ... here.
27090 * sysdeps/unix/fdopendir.c: Renamed to ...
27091 * sysdeps/posix/fdopendir.c: ... here.
27092 * sysdeps/unix/opendir.c: Renamed to ...
27093 * sysdeps/posix/opendir.c: ... here.
27094 * sysdeps/unix/readdir.c: Renamed to ...
27095 * sysdeps/posix/readdir.c: ... here.
27096 * sysdeps/unix/readdir_r.c: Renamed to ...
27097 * sysdeps/posix/readdir_r.c: ... here.
27098 * sysdeps/unix/rewinddir.c: Renamed to ...
27099 * sysdeps/posix/rewinddir.c: ... here.
27100 * sysdeps/unix/seekdir.c: Renamed to ...
27101 * sysdeps/posix/seekdir.c: ... here.
27102 * sysdeps/unix/telldir.c: Renamed to ...
27103 * sysdeps/posix/telldir.c: ... here.
27104 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27105 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27106 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27107 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27109 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27110 * bits/fcntl.h: ... here.
27112 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27114 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27115 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27116 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27117 (struct flock): Move l_start, l_len to the beginning.
27118 Use __pid_t for l_pid.
27119 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27120 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27121 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27122 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27123 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27124 [__USE_LARGEFILE64] (struct flock64): New type.
27125 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27127 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27128 * bits/dirent.h: ... here.
27130 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27131 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27133 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27136 Change from 2.6.0 to 2.6.16.
27137 * sysdeps/unix/sysv/linux/configure: Regenerated.
27138 * sysdeps/unix/sysv/linux/kernel-features.h
27139 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27140 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27142 (__ASSUME_UTIMES): Likewise.
27143 (__ASSUME_CLONE_STOPPED): Remove.
27144 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27145 architectures, not kernel version.
27146 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27147 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27148 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27149 (__ASSUME_WAITID_SYSCALL): Likewise.
27150 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27151 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27152 * README: State 2.6.16 as minimum Linux kernel version. Do not
27153 refer to older versions.
27155 2012-08-06 Roland McGrath <roland@hack.frob.com>
27157 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27158 Define alphasort64 as an alias.
27159 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27160 Define versionsort64 as an alias.
27161 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27162 Define scandir64 as an alias.
27163 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27164 Define scandirat64 as an alias.
27165 * dirent/alphasort64.c (alphasort64):
27166 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27167 * dirent/versionsort64.c: Likewise.
27168 * dirent/scandir64.c: Likewise.
27169 * dirent/scandirat64.c: Likewise.
27170 * sysdeps/wordsize-64/alphasort.c: File removed.
27171 * sysdeps/wordsize-64/alphasort64.c: File removed.
27172 * sysdeps/wordsize-64/scandir.c: File removed.
27173 * sysdeps/wordsize-64/scandir64.c: File removed.
27174 * sysdeps/wordsize-64/scandirat.c: File removed.
27175 * sysdeps/wordsize-64/scandirat64.c: File removed.
27176 * sysdeps/wordsize-64/versionsort.c: File removed.
27177 * sysdeps/wordsize-64/versionsort64.c: File removed.
27178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27179 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27181 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27183 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27184 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27185 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27187 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27189 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27191 [defined __arch64__ || defined __sparcv9]
27192 (__INO_T_MATCHES_INO64_T): New macro.
27193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27194 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27195 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27196 * sysdeps/unix/sysv/linux/bits/dirent.h
27197 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27198 (_DIRENT_MATCHES_DIRENT64): New macro.
27200 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27201 Define lockf64 as an alias.
27202 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27203 Define fseeko64 as an alias.
27204 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27205 Define ftello64 as an alias.
27206 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27207 Define _IO_fgetpos64 and fgetpos64 as aliases.
27208 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27209 Define _IO_fsetpos64 and fsetpos64 as aliases.
27210 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27211 Conditionalize body on this.
27212 * libio/fseeko64.c: Likewise.
27213 * libio/ftello64.c: Likewise.
27214 * libio/iofgetpos64.c: Likewise.
27215 * libio/iofsetpos64.c: Likewise.
27216 * sysdeps/wordsize-64/lockf.c: File removed.
27217 * sysdeps/wordsize-64/lockf64.c: File removed.
27218 * sysdeps/wordsize-64/fseeko.c: File removed.
27219 * sysdeps/wordsize-64/fseeko64.c: File removed.
27220 * sysdeps/wordsize-64/ftello.c: File removed.
27221 * sysdeps/wordsize-64/ftello64.c: File removed.
27222 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27223 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27224 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27225 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27228 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27229 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27230 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27231 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27237 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27239 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27241 [defined __arch64__ || defined __sparcv9]
27242 (__OFF_T_MATCHES_OFF64_T): New macro.
27243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27244 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27246 (__OFF_T_MATCHES_OFF64_T): New macro.
27248 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27250 * stdlib/secure-getenv.c (__secure_getenv): Replace
27251 GLIBC_2_16 with GLIBC_2_17.
27253 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27256 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27258 2012-08-03 David S. Miller <davem@davemloft.net>
27260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27262 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27266 (__ASSUME_CORRECT_SI_PID): Likewise.
27267 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27268 (__ASSUME_TMPFS_NAME): Likewise.
27269 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27270 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27271 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27272 (HAVE_AUX_SECURE): Make definition unconditional.
27273 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27274 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27276 2012-08-03 Roland McGrath <roland@hack.frob.com>
27278 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27279 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27280 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27281 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27282 __eloop_threshold instead of SYMLOOP_MAX.
27284 * sysdeps/generic/eloop-threshold.h: New file.
27285 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27287 * elf/chroot_canon.c (chroot_canon): Likewise.
27289 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27292 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27293 Change to 2.6.0 everywhere.
27294 * sysdeps/unix/sysv/linux/configure: Regenerated.
27295 * sysdeps/unix/sysv/linux/kernel-features.h
27296 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27297 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27299 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27300 (__ASSUME_FUTEX_REQUEUE): Remove.
27301 (__ASSUME_STATFS64): Define unconditionally.
27302 (__ASSUME_AT_SECURE): Likewise.
27303 (__ASSUME_CORRECT_SI_PID): Likewise.
27304 (__ASSUME_TGKILL): Define without depending on kernel version for
27306 (__ASSUME_UTIMES): Likewise.
27307 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27309 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27310 (__ASSUME_TMPFS_NAME): Likewise.
27311 * README: Update reference to Linux kernel versions.
27313 2012-08-02 Marek Polacek <polacek@redhat.com>
27316 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27317 libc_cv_asm_type_prefix with %.
27318 * configure: Regenerated.
27319 * include/libc-symbols.h: Remove comment about
27320 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27321 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27322 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27323 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27324 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27325 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27326 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27327 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27328 * elf/tst-unique2mod1.c: Likewise.
27329 * elf/tst-unique1mod2.c: Likewise.
27330 * elf/tst-unique1mod1.c: Likewise.
27331 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27332 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27333 Replace ASM_TYPE_DIRECTIVE with .type.
27334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27335 * sysdeps/i386/sysdep.h: Likewise.
27336 * sysdeps/x86_64/sysdep.h: Likewise.
27337 * sysdeps/sh/sysdep.h: Likewise.
27338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27339 Do not define ASM_TYPE_DIRECTIVE.
27340 * sysdeps/powerpc/sysdep.h: Likewise.
27341 * sysdeps/powerpc/powerpc32/sysdep.h:
27342 Replace ASM_TYPE_DIRECTIVE with .type.
27343 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27344 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27345 * sysdeps/i386/fpu/e_powf.S: Likewise.
27346 * sysdeps/i386/fpu/e_expl.S: Likewise.
27347 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27348 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27349 * sysdeps/i386/fpu/e_pow.S: Likewise.
27350 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27351 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27352 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27353 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27354 * sysdeps/i386/fpu/e_log2.S: Likewise.
27355 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27356 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27357 * sysdeps/i386/fpu/e_powl.S: Likewise.
27358 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27359 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27360 * sysdeps/i386/fpu/e_logl.S: Likewise.
27361 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27362 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27363 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27365 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27366 * sysdeps/i386/fpu/e_log.S: Likewise.
27367 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27368 * sysdeps/i386/fpu/e_logf.S: Likewise.
27369 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27370 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27371 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27372 * sysdeps/i386/fpu/e_log10.S: Likewise.
27373 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27375 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27376 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27377 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27378 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27379 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27380 * sysdeps/i386/i686/strtok.S: Likewise.
27381 * sysdeps/i386/i386-mcount.S: Likewise.
27382 * sysdeps/i386/strtok.S: Likewise.
27383 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27384 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27385 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27387 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27388 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27389 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27390 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27391 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27392 * sysdeps/x86_64/_mcount.S: Likewise.
27393 * sysdeps/x86_64/strtok.S: Likewise.
27394 * sysdeps/sh/_mcount.S: Likewise.
27396 2012-08-01 Roland McGrath <roland@hack.frob.com>
27398 * libio/iofopen.c: Include <fcntl.h>.
27399 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27400 (_IO_fopen64, fopen64): Define as aliases.
27401 * libio/iofopen64.c: Include <fcntl.h>.
27402 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27403 Conditionalize body on this.
27404 * sysdeps/wordsize-64/iofopen.c: File removed.
27405 * sysdeps/wordsize-64/iofopen64.c: File removed.
27407 2012-08-01 Marek Polacek <polacek@redhat.com>
27409 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27410 Use dlfcn directly instead of a variable.
27411 (binfmt-subdir): Do not define.
27414 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27416 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27417 Remove all definitions.
27418 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27419 <kernel-features.h>.
27420 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27421 (miss_F_GETOWN_EX): Remove all definitions.
27422 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27424 [!__ASSUME_FCNTL64]: Remove conditional code.
27425 [__ASSUME_FCNTL64]: Make code unconditional.
27426 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27427 <kernel-features.h>.
27428 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27429 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27430 (lockf64) [__NR_fcntl64]: Make code unconditional.
27431 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27433 * sysdeps/unix/sysv/linux/kernel-features.h
27434 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27435 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27436 Make code unconditional.
27437 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27438 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27440 [__NR_vfork]: Make code unconditional.
27441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27444 [__NR_vfork]: Make code unconditional.
27445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27448 2012-08-01 Roland McGrath <roland@hack.frob.com>
27450 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27451 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27453 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27454 Define mkstemp64 as an alias.
27455 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27456 Define mkstemps64 as an alias.
27457 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27458 Define mkostemp64 as an alias.
27459 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27460 Define mkostemps64 as an alias.
27461 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27462 Conditionalize body on this.
27463 * misc/mkostemp64.c: Likewise.
27464 * misc/mkostemps64.c: Likewise.
27465 * misc/mkstemps64.c: Likewise.
27466 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27467 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27468 * sysdeps/wordsize-64/mkostemp.c: File removed.
27469 * sysdeps/wordsize-64/mkstemp.c: File removed.
27470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27473 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27476 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27477 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27478 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27479 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27481 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27482 compat_symbol macros from <shlib-compat.h> rather than the underlying
27483 default_symbol_version and symbol_version macros, so that DEFAULT
27484 lines in shlib-versions are respected.
27485 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27487 2012-08-01 Florian Weimer <fweimer@redhat.com>
27489 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27490 Declare with warn_unused_result.
27491 (setgid, setregid, setegid, setresgid): Likewise.
27492 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27494 * WUR-REPORT: Remove set*id functions.
27496 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27498 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27500 2012-07-31 Roland McGrath <roland@hack.frob.com>
27503 * include/sys/socket.h (__libc_accept, __libc_accept4):
27504 Add attribute_hidden.
27505 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27507 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27509 * inet/getnetgrent_r.c (setup): Likewise.
27511 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27513 2012-07-31 David S. Miller <davem@davemloft.net>
27515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27517 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27520 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27521 value between 1.0 and 2.0 and smaller part has absolute value less
27523 * math/s_clog10.c (__clog10): Likewise.
27524 * math/s_clog10f.c (__clog10f): Likewise.
27525 * math/s_clog10l.c (__clog10l): Likewise.
27526 * math/s_clogf.c (__clogf): Likewise.
27527 * math/s_clogl.c (__clogl): Likewise.
27528 * math/libm-test.inc (clog_test): Add more tests.
27529 (clog10_test): Likewise.
27530 * sysdeps/i386/fpu/libm-test-ulps: Update.
27531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27533 2012-07-31 Florian Weimer <fweimer@redhat.com>
27535 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27536 Exit with zero in case no suitable GID is found, and write a
27537 message to standard error.
27539 2012-07-30 Roland McGrath <roland@hack.frob.com>
27541 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27543 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27544 (MAXPATHLEN): Removed.
27545 (NOGROUP, NODEV): New macros.
27546 (setbit, clrbit, isset, isclr): New macros.
27547 (howmany, roundup, powerof2): New macros.
27548 (DEV_BSIZE): New macro.
27550 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27551 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27553 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27554 definition on [!__NO_LONG_DOUBLE_MATH].
27556 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27557 PTR_MANGLE and PTR_DEMANGLE.
27559 * socket/accept4.c (accept4): Rename to __libc_accept4.
27560 Define accept4 as a weak alias.
27562 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27563 on [_DIRENT_HAVE_D_TYPE].
27564 * io/ftw.c (ftw_dir): Likewise.
27566 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27568 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27570 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27571 Use the BSD numbers rather than the arbitrary ones we had.
27572 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27573 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27574 (SIGXCPU, SIGXFSZ): New macros.
27577 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27578 initializer on [_LIBC_REENTRANT].
27580 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27581 definitions inside [_POSIX_MAPPED_FILES].
27583 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27585 * dirent/opendir.c: Include <fcntl.h>.
27587 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27588 (__libc_getspecific): Likewise.
27589 (__libc_key_create): Likewise.
27591 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27592 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27593 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27594 (tmpfile64): Define as alias.
27595 * sysdeps/wordsize-64/tmpfile.c: File removed.
27596 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27598 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27600 * stdio-common/vfscanf.c: Include <stdbool.h>.
27601 * nss/makedb.c: Likewise.
27602 * stdio-common/_i18n_number.h: Likewise.
27603 * argp/argp-help.c: Likewise.
27604 * posix/wordexp.c: Likewise.
27605 * sysdeps/posix/spawni.c: Likewise.
27606 * nss/nss_files/files-initgroups.c: Likewise.
27607 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27608 * nss/nss_files/files-initgroups.c: Likewise.
27609 * nss/nss_db/db-netgrp.c: Likewise.
27610 * nss/nss_db/db-initgroups.c: Likewise.
27611 * io/fchmodat.c: Include <sys/stat.h>.
27613 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27614 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27616 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27619 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27620 Add multiple inclusion protection.
27622 2012-07-27 David S. Miller <davem@davemloft.net>
27624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27626 2012-07-27 Gary Benson <gbenson@redhat.com>
27629 * elf/rtld.c: Include <stap-probe.h>.
27630 (dl_main): Added static probes "init_start" and "init_complete".
27631 * elf/dl-load.c: Include <stap-probe.h>.
27632 (lose): Take new parameter "nsid".
27633 Added static probe "map_failed".
27634 (_dl_map_object_from_fd): Pass namespace id to lose.
27635 Added static probe "map_start".
27636 (open_verify): Pass namespace id to lose.
27637 * elf/dl-open.c: Include <stap-probe.h>.
27638 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27639 and "reloc_complete".
27640 * elf/dl-close.c: Include <stap-probe.h>.
27641 (_dl_close_worker): Added static probes "unmap_start" and
27643 * elf/rtld-debugger-interface.txt: New file documenting the above.
27645 2012-07-26 Roland McGrath <roland@hack.frob.com>
27647 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27648 rather than a string variable.
27649 * sunrpc/rpc_main.c (h_output): Likewise.
27650 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27652 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27654 * inet/check_native.c: New file.
27656 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27659 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27660 if larger part has absolute value 1.0.
27661 * math/s_clog10.c (__clog10): Likewise.
27662 * math/s_clog10f.c (__clog10f): Likewise.
27663 * math/s_clog10l.c (__clog10l): Likewise.
27664 * math/s_clogf.c (__clogf): Likewise.
27665 * math/s_clogl.c (__clogl): Likewise.
27666 * math/libm-test.inc (clog_test): Add more tests.
27667 (clog10_test): Likewise.
27668 * sysdeps/i386/fpu/libm-test-ulps: Update.
27669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27671 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27672 (pltexit): Likewise.
27673 (La_regs): Likewise.
27674 (La_retval): Likewise.
27675 (int_retval): Likewise.
27676 Update #error for removed macros to refer only to definitions in
27678 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27680 (pltexit): Likewise.
27681 (La_regs): Likewise.
27682 (La_retval): Likewise.
27683 (int_retval): Likewise.
27684 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27686 (pltexit): Likewise.
27687 (La_regs): Likewise.
27688 (La_retval): Likewise.
27689 (int_retval): Likewise.
27690 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27692 (pltexit): Likewise.
27693 (La_regs): Likewise.
27694 (La_retval): Likewise.
27695 (int_retval): Likewise.
27696 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27698 (pltexit): Likewise.
27699 (La_regs): Likewise.
27700 (La_retval): Likewise.
27701 (int_retval): Likewise.
27702 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27704 (pltexit): Likewise.
27705 (La_regs): Likewise.
27706 (La_retval): Likewise.
27707 (int_retval): Likewise.
27708 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27710 (pltexit): Likewise.
27711 (La_regs): Likewise.
27712 (La_retval): Likewise.
27713 (int_retval): Likewise.
27714 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27715 macro definitions in tst-audit.h.
27716 * sysdeps/i386/tst-audit.h: New file.
27717 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27718 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27719 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27720 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27721 * sysdeps/sh/tst-audit.h: Likewise.
27722 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27723 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27724 * sysdeps/x86_64/tst-audit.h: Likewise.
27726 2012-07-26 Andreas Jaeger <aj@suse.de>
27728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27731 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27732 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27733 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27735 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27736 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27737 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27739 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27742 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27744 (si_call_addr, si_syscall, si_arch): Define new macro.
27745 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27747 (si_call_addr, si_syscall, si_arch): Define new marcro.
27748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27750 (si_call_addr, si_syscall, si_arch): Define new macro.
27751 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27753 (si_call_addr, si_syscall, si_arch): Define new macro.
27755 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27759 Change to 2.4.21 where previously 2.4.1.
27760 * sysdeps/unix/sysv/linux/configure: Regenerated.
27761 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27762 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27763 Linux kernel version.
27764 (__ASSUME_STD_AUXV): Remove.
27765 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27767 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27768 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27769 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27770 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27771 (__ASSUME_NETLINK_SUPPORT): Likewise.
27772 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27773 (__no_netlink_support): Remove conditional definition.
27774 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27776 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27777 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27778 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27779 (if_nameindex_ioctl): Remove.
27780 (if_nameindex_netlink): Do not handle __no_netlink_support.
27781 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27783 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27784 Remove conditional code.
27785 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27787 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27789 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27790 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27791 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27793 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27794 [!__ASSUME_STD_AUXV]: Remove conditional code.
27795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27796 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27797 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27799 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27800 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27802 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27804 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27805 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27807 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27809 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27812 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27815 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27816 code unconditional.
27817 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27819 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27821 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27824 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27826 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27829 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27830 code unconditional.
27831 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27833 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27835 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27838 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27839 code unconditional.
27840 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27842 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27844 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27847 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27849 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27850 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27851 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27852 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27853 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27854 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27855 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27856 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27857 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27858 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27859 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27860 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27861 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27862 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27863 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27864 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27866 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27867 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27869 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27870 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27871 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27873 2012-07-25 Florian Weimer <fweimer@redhat.com>
27875 * Versions.def: Add GLIBC_2.17.
27876 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27877 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27878 Introduce __libc_secure_getenv.
27879 * stdlib/Versions (2.17): Add secure_getenv
27880 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27881 * stdlib/secure-getenv.c: Rename __secure_getenv to
27882 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27883 symbol __secure_getenv for GLIBC_2.0.
27884 * stdlib/tst-secure-getenv.c: New.
27885 * stdlib/Makefile (tests): Add testcase.
27886 * manual/startup.texi (Environment Access): Document
27888 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27889 __libc_secure_getenv.
27890 * inet/ruserpass.c (ruserpass): Likewise.
27891 * malloc/mtrace.c (mtrace): Likewise.
27892 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27893 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27894 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27895 * sysdeps/posix/tempname.c: Likewise. Evaluate
27896 HAVE_SECURE_GETENV.
27897 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27898 __secure_getenv to __libc_secure_getenv.
27899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27906 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27912 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27914 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27915 (struct La_i86_retval): Likewise.
27916 (struct La_x86_64_regs): Likewise.
27917 (struct La_x86_64_retval): Likewise.
27918 (struct La_x32_regs): Likewise.
27919 (struct La_x32_retval): Likewise.
27920 (struct La_ppc32_regs): Likewise.
27921 (struct La_ppc32_retval): Likewise.
27922 (struct La_ppc64_regs): Likewise.
27923 (struct La_ppc64_retval): Likewise.
27924 (struct La_sh_regs): Likewise.
27925 (struct La_sh_retval): Likewise.
27926 (struct La_s390_32_regs): Likewise.
27927 (struct La_s390_32_retval): Likewise.
27928 (struct La_s390_64_regs): Likewise.
27929 (struct La_s390_64_retval): Likewise.
27930 (struct La_sparc32_regs): Likewise.
27931 (struct La_sparc32_retval): Likewise.
27932 (struct La_sparc64_regs): Likewise.
27933 (struct La_sparc64_retval): Likewise.
27934 (struct audit_ifaces): Remove architecture-specific pltenter and
27936 * sysdeps/i386/ldsodefs.h: New file.
27937 * sysdeps/powerpc/ldsodefs.h: Likewise.
27938 * sysdeps/s390/ldsodefs.h: Likewise.
27939 * sysdeps/sh/ldsodefs.h: Likewise.
27940 * sysdeps/sparc/ldsodefs.h: Likewise.
27941 * sysdeps/x86_64/ldsodefs.h: Likewise.
27943 2012-07-25 Marek Polacek <polacek@redhat.com>
27946 * math/libm-test.inc (yn_test): Add another test.
27947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27948 to ERANGE when the result is +-Inf.
27949 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27950 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27951 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27952 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27954 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27956 * conform/data/time.h-data (NULL): Use macro-constant. Require
27958 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27960 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27962 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27964 * configure.in <sysdeps resolving>: Correct printing
27966 * configure: Regenerate.
27968 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27970 * math/w_ilogb.c: Include <limits.h>.
27971 * math/w_ilogbl.c: Likewise.
27973 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27975 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27976 va_copy. Document allowing for unavailable va_copy only as
27977 pre-C99 compatibility.
27978 * manual/string.texi (Copying and Concatenation): Use va_copy
27979 instead of __va_copy in concat example.
27981 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27983 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27984 (__sendto): Use create_address_port. Initialize APORT and deallocate
27987 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27988 with O_NOLINK passed to __file_name_lookup.
27990 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27991 with O_NOLINK passed to __file_name_lookup.
27993 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27994 negative N or less than NGIDS.
27996 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27997 type to string_t. Set ERANGE as errno and return it if NAME is not big
27998 enough. Use memcpy instead of strncpy.
28000 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28002 * elf/Makefile (check-data): Remove.
28003 (localplt.data): New vpath directive.
28004 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28005 instead of $(check-data).
28006 * scripts/data/localplt-generic.data: Move to ...
28007 * sysdeps/generic/localplt.data: ... here.
28008 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28009 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28010 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28013 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28016 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28019 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28022 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28025 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28029 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28031 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28032 PPC32 and PPC64 files.
28033 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28034 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28036 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28038 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28039 __makecontext_ret to ...
28040 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28041 ... here and call exit if uc_link is NULL. New file.
28042 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28043 __makecontext_ret.S.
28044 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28045 __makecontext_ret to ...
28046 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28047 ... here and call exit if uc_link is NULL. New file.
28048 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28049 __makecontext_ret.S.
28051 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28053 * elf/elf.h (R_390_IRELATIVE): New definition.
28054 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28055 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28056 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28057 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28058 (elf_machine_lazy_rel): Likewise.
28059 * sysdeps/s390/dl-irel.h: New file.
28060 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28061 * sysdeps/s390/s390-64/memset.S: New asm code.
28062 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28063 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28064 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28065 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28066 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28067 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28069 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28070 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28071 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28072 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28073 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28074 * sysdeps/s390/s390-32/memset.S: New asm code.
28075 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28077 2012-07-17 Marek Polacek <polacek@redhat.com>
28080 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28081 * sysdeps/s390/s390-64/configure.in: Likewise.
28082 * sysdeps/sparc/configure.in: Likewise.
28083 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28084 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28085 * sysdeps/i386/configure.in: Likewise.
28086 * sysdeps/x86_64/configure.in: Likewise.
28087 * sysdeps/sh/configure.in: Likewise.
28088 * sysdeps/s390/s390-32/configure: Regenerated.
28089 * sysdeps/s390/s390-64/configure: Likewise.
28090 * sysdeps/x86_64/configure: Likewise.
28091 * sysdeps/sh/configure: Likewise.
28092 * sysdeps/powerpc/powerpc64/configure: Likewise.
28093 * sysdeps/powerpc/powerpc32/configure: Likewise.
28094 * sysdeps/sparc/configure: Likwise.
28095 * sysdeps/i386/configure: Likewise.
28097 * elf/dl-open.c: Comment fixes.
28099 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28101 * Makefile [CXX] (check-data): Remove.
28102 [CXX] (c++-types.data): New vpath directive.
28103 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28104 vpath. Do not allow for C++ type data being missing.
28105 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28106 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28107 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28108 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28109 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28110 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28111 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28114 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28117 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28120 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28123 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28126 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28129 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28132 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28135 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28136 definitions to architecture-specific files.
28137 (TLS_IE): Likewise.
28138 (TLS_LD): Likewise.
28139 (TLS_GD): Likewise.
28140 * sysdeps/i386/tls-macros.h: New file.
28141 * sysdeps/powerpc/tls-macros.h: Likewise.
28142 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28143 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28144 * sysdeps/sh/tls-macros.h: Likewise.
28145 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28146 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28147 * sysdeps/x86_64/tls-macros.h: Likewise.
28149 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28151 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28152 zero value for regular exit case.
28154 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28155 (__start_context): Preserve zero value for regular exit case.
28157 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28158 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28160 * manual/setjmp.texi (setcontext): Clarify normal process
28161 termination when uc_link is the null pointer.
28162 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28165 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28167 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28168 preprocessor. Test for each exception mask separately.
28170 2012-07-16 Andreas Jaeger <aj@suse.de>
28172 * po/ru.po: Update from translation team.
28174 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28176 * conform/data/string.h-data (NULL): Use macro-constant. Require
28178 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28179 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28180 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28181 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28184 2012-07-13 Andreas Jaeger <aj@suse.de>
28186 * po/fr.po: Update from translation team.
28188 2012-07-12 Marek Polacek <polacek@redhat.com>
28191 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28192 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28195 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28199 Change to 2.4.1 where previously 2.4.0.
28200 * sysdeps/unix/sysv/linux/configure: Regenerated.
28201 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28202 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28204 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28205 (__ASSUME_AT_CLKTCK): Remove.
28206 (__ASSUME_AT_PAGESIZE): Likewise.
28207 (__ASSUME_AT_XID): Likewise.
28208 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28209 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28210 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28212 (HAVE_AUX_PAGESIZE): Likewise.
28213 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28214 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28215 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28217 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28221 the temporary buffer used to invoke __gethostbyname2_r,
28222 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28223 host_data / struct gaih_addrtuple.
28224 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28225 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28226 header file nss/nsswitch.h.
28227 * nss/nsswitch.h (global scope): Add definition of implementation
28228 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28229 resolv/nss_dns/dns-host.c).
28231 2012-07-11 Andreas Jaeger <aj@suse.de>
28233 * po/fr.po: Update from translation team.
28235 * po/sv.po: Update from translation team
28236 * po/fr.po: Another update from translation team.
28238 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28241 for subnormals or multiply small sinh result by itself.
28242 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28245 2012-07-11 David S. Miller <davem@davemloft.net>
28247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28249 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28252 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28253 (INTERNAL_MARK): Shift it here.
28255 2012-07-10 Marek Polacek <polacek@redhat.com>
28258 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28259 libc_cv_asm_global_directive with .globl.
28260 * configure: Regenerated.
28261 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28263 * sysdeps/i386/configure: Regenerated.
28264 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28266 * sysdeps/x86_64/configure: Regenerated.
28267 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28268 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28269 * elf/tst-unique2mod2.c: Likewise.
28270 * elf/tst-unique2mod1.c: Likewise.
28271 * elf/tst-unique1mod2.c: Likewise.
28272 * elf/tst-unique1mod1.c: Likewise.
28273 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28274 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28276 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28277 * sysdeps/mach/sysdep.h: Likewise.
28278 * sysdeps/i386/sysdep.h: Likewise.
28279 * sysdeps/i386/i386-mcount.S: Likewise.
28280 * sysdeps/x86_64/_mcount.S: Likewise.
28281 * sysdeps/x86_64/sysdep.h: Likewise.
28282 * sysdeps/sh/_mcount.S: Likewise.
28283 * sysdeps/sh/sysdep.h: Likewise.
28284 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28285 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28286 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28287 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28288 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28289 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28290 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28291 * locale/localeinfo.h: Likewise.
28292 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28293 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28295 2012-07-09 Roland McGrath <roland@hack.frob.com>
28298 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28300 * manual/message.texi (The Uniforum approach): Likewise.
28301 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28302 (glibc iconv Implementation): Likewise.
28304 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28307 * math/s_clog.c (__clog): Avoid scaling a value down where that
28308 could result in underflow.
28309 * math/s_clog10.c (__clog10): Likewise.
28310 * math/s_clog10f.c (__clog10f): Likewise.
28311 * math/s_clog10l.c (__clog10l): Likewise.
28312 * math/s_clogf.c (__clogf): Likewise.
28313 * math/s_clogl.c (__clogl): Likewise.
28314 * math/libm-test.inc (clog_test): Add more tests.
28315 (clog10_test): Likewise.
28316 * sysdeps/i386/fpu/libm-test-ulps: Update.
28317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28319 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28322 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28323 by 7 not 8 to examine high bit of fractional part.
28326 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28327 for call to __mcount_internal.
28328 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28329 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28330 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28332 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28335 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28336 approximation for values within 0x1p-13f of an odd multiple of
28338 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28339 exception. Add more tests.
28340 * sysdeps/i386/fpu/libm-test-ulps: Update.
28343 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28344 inputs and return -1 for them. Do not check for +Inf in case not
28345 reachable for +Inf.
28346 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28347 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28348 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28349 and return -1 for them. Do not check for +Inf in case not
28350 reachable for +Inf.
28351 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28354 and return -1 for them. Do not check for +Inf in case not
28355 reachable for +Inf.
28356 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28357 spurious underflow.
28358 * sysdeps/i386/fpu/libm-test-ulps: Update.
28359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28361 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28363 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28365 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28369 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28370 could result in spurious underflow. Scale down values above
28371 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28372 * math/s_csqrtf.c (__csqrtf): Likewise.
28373 * math/s_csqrtl.c (__csqrtl): Likewise.
28374 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28375 spurious underflow.
28376 * sysdeps/i386/fpu/libm-test-ulps: Update.
28377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28379 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28381 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28383 * catgets/xopen-msg.awk: New file.
28384 * catgets/xopen-msg.sed: Removed.
28386 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28388 * intl/po2test.awk: New file.
28389 * intl/po2test.sed: Removed.
28391 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28394 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28395 or multiply small sinh result by itself.
28396 * math/s_ctanf.c (__ctanf): Likewise.
28397 * math/s_ctanh.c (__ctanh): Likewise.
28398 * math/s_ctanhf.c (__ctanhf): Likewise.
28399 * math/s_ctanhl.c (__ctanhl): Likewise.
28400 * math/s_ctanl.c (__ctanl): Likewise.
28401 * math/libm-test.inc (ctan_test_tonearest): New function.
28402 (ctan_test_towardzero): Likewise.
28403 (ctan_test_downward): Likewise.
28404 (ctan_test_upward): Likewise.
28405 (ctanh_test_tonearest): Likewise.
28406 (ctanh_test_towardzero): Likewise.
28407 (ctanh_test_downward): Likewise.
28408 (ctanh_test_upward): Likewise.
28409 (main): Call these new functions.
28410 * sysdeps/i386/fpu/libm-test-ulps: Update.
28411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28413 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28415 * .gitignore: Delete /ports entry.
28417 2012-07-03 Andreas Jaeger <aj@suse.de>
28419 * po/bg.po: Update from translation team.
28420 * po/cs.po: Likewise.
28421 * po/de.po: Likewise.
28422 * po/hr.po: Likewise.
28423 * po/nl.pl: Likewise.
28424 * po/pl.po: Likewise.
28425 * po/vi.po: Likewise.
28427 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28429 * Makeconfig [!+link] (+link-before-libc): New variable.
28430 [!+link] (+link-after-libc): Likewise.
28431 [!+link] (+link-tests): Likewise.
28432 [!+link] (+link): Define in terms of $(+link-before-libc) and
28433 $(+link-after-libc).
28434 [!+link-static] (+link-static-before-libc): New variable.
28435 [!+link-static] (+link-static-after-libc): Likewise.
28436 [!+link-static] (+link-static-tests): Likewise.
28437 [!+link-static] (+link-static): Define in terms of
28438 $(+link-static-before-libc) and $(+link-static-after-libc).
28439 [build-shared] (link-libc-before-gnulib): New variable.
28440 [build-shared] (link-libc-tests): Likewise.
28441 [build-shared] (link-libc): Define in terms of
28442 $(link-libc-before-gnulib).
28443 [!build-shared] (link-libc-tests): New variable.
28444 (link-libc-static-tests): New variable.
28445 [!gnulib] (gnulib-arch): New variable.
28446 [!gnulib] (gnulib-tests): Likewise.
28447 [!gnulib] (static-gnulib-arch): Likewise.
28448 [!gnulib] (static-gnulib-tests): Likewise.
28449 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28450 Define with "=" instead of ":=".
28451 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28452 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28453 * Rules (binaries-all-notests): New variable.
28454 (binaries-all-tests): Likewise.
28455 (binaries-static-notests): Likewise.
28456 (binaries-static-tests): Likewise.
28457 (binaries-all): Define using $(binaries-all-notests) and
28458 $(binaries-all-tests).
28459 (binaries-static): Define using $(binaries-static-notests) and
28460 $(binaries-static-tests).
28461 (binaries-shared-tests): New variable.
28462 (binaries-shared-notests): Likewise.
28463 (binaries-shared): Remove variable.
28464 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28465 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28466 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28467 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28468 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28469 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28470 * elf/Makefile (sln-modules): New variable.
28471 (extra-objs): Add $(sln-modules:=.o).
28472 (ldconfig-modules): Add static-stubs.
28473 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28474 * elf/static-stubs.c: New file.
28477 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28478 by 7 not 8 to examine high bit of fractional part. Use volatile
28479 variables when splitting into final array of floats if
28480 __FLT_EVAL_METHOD__ != 0.
28481 * math/libm-test.inc (cos_test): Add another test.
28482 (sin_test): Likewise.
28483 * sysdeps/i386/fpu/libm-test-ulps: Update.
28486 * math/libm-test.inc (cosh_test): Add more tests.
28488 * version.h (RELEASE): Set to "development".
28489 (VERSION): Set to "2.16.90".
28491 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28493 * NEWS: Update copyright. Remove last-updated date.
28494 Mention math library bug fixes and timezone data changes.
28495 * README: Mention GNU/Hurd, x32, and HPPA support status.
28497 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28499 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28501 2012-06-27 Andreas Jaeger <aj@suse.de>
28503 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28505 2012-06-25 Andreas Jaeger <aj@suse.de>
28507 * sysdeps/s390/fpu/libm-test-ulps: Update.
28509 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28510 Thomas Schwinge <thomas@codesourcery.com>
28512 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28513 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28517 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28519 * sysdeps/mach/start.c: Remove file.
28520 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28521 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28522 * sysdeps/sh/init-first.c: Likewise.
28524 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28525 registers for frame unwinding purposes, add CFI directives.
28526 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28527 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28528 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28531 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28532 __fortify_fail returning.
28533 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28535 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28536 sysdeps/sh/____longjmp_chk.S.
28537 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28538 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28539 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28540 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28542 * sysdeps/sh/abort-instr.h: New file.
28543 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28544 process in case exit returns.
28546 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28547 initialize the GOT register before use.
28549 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28550 calculation of ARGC > 4.
28552 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28553 meaningful names to some local labels.
28555 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28556 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28558 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28559 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28560 (__arch_compare_and_exchange_val_16_acq): Likewise.
28561 (__arch_compare_and_exchange_val_32_acq): Likewise.
28562 (atomic_exchange_and_add): Fix gUSA sequence.
28563 (atomic_add): Likewise.
28564 (atomic_add_negative): Likewise.
28565 (atomic_add_zero): Likewise.
28566 (atomic_bit_test_set): Likewise.
28568 2012-06-22 Andreas Schwab <schwab@redhat.com>
28571 * include/link.h (struct link_map): Add l_free_initfini.
28572 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28574 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28575 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28576 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28579 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28581 * configure.in: Use AC_LANG_SOURCE.
28582 * configure: Regenerate.
28584 2012-06-22 Roland McGrath <roland@hack.frob.com>
28586 * configure.in (libc_cv_localstatedir): New substituted variable.
28587 * configure: Regenerated.
28588 * config.make.in (localstatedir): New variable, substituted from
28589 libc_cv_localstatedir.
28590 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28591 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28592 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28593 * sysdeps/gnu/configure: Regenerated.
28595 2012-06-21 Jeff Law <law@redhat.com>
28598 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28599 free. Simplify list management for _LIBC case.
28601 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28604 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28605 Clear sign bit of 64-bit integer value before comparing against
28608 * sysdeps/mach/configure: Regenerated.
28610 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28613 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28615 2012-06-21 Jeff Law <law@redhat.com>
28618 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28619 uint16_t for elements in the "seen" array to avoid char overflows.
28620 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28621 * elf/dl-open.c (dl_open_worker): Likewise.
28623 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28625 * scripts/list-sources.sh: Scan PORTS for translations.
28626 * po/libc.pot: Regenerated.
28628 2012-06-21 Andreas Jaeger <aj@suse.de>
28631 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28633 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28634 * bits/byteswap-16.h (__bswap_16): Likewise.
28635 * bits/byteswap.h (__bswap_constant_16): Likewise.
28637 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28640 * sysdeps/i386/fpu_control.h: Removed.
28641 * sysdeps/x86_64/fpu_control.h: Moved to ...
28642 * sysdeps/x86/fpu_control.h: Here.
28644 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28645 (_FPU_SETCW): Likewise.
28647 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28650 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28651 * sysdeps/x86/fpu/bits/mathinline.h: This.
28652 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28656 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28657 functions if __x86_64__ is defined.
28659 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28661 * string/endian.h: Add !__ASSEMBLER__ condition for including
28662 conversion interfaces.
28664 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28668 of ABS(x) in calculating zero to negative powers other than odd
28670 * math/libm-test.inc (pow_test): Add more tests.
28672 2012-06-15 Andreas Jaeger <aj@suse.de>
28674 * manual/contrib.texi (Contributors): Update entry of Liubov
28675 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28678 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28680 * string/string.h: Add __wur to GNU version of strerror_r.
28682 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28685 * string/Makefile (tests): Add tst-strtok_r.
28686 * string/tst-strtok_r.c: New file.
28687 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28688 RAX_LP/RDX_LP on SAVE_PTR.
28690 2012-06-14 Roland McGrath <roland@hack.frob.com>
28692 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28694 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28696 * libm_test.inc (csqrt_test): Allow more spurious underflow
28698 (j0_test): Likewise.
28699 (j1_test): Likewise.
28700 (y0_test): Likewise.
28701 (y1_test): Likewise.
28703 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28705 * po/Makefile (libc.pot): Use UTF-8 charset.
28707 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28710 Suppress sign-conversion warning from FD_SET.
28711 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28712 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28713 not unsigned long int.
28714 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28716 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28721 __extern_always_inline instead of __extern_inline.
28722 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28723 (__signbit): Likewise.
28724 (__signbitl): Support C++ namespace.
28725 (lrintf): New inline function.
28727 (llrintf): Likewise.
28728 (llrint): Likewise.
28738 (floorf): Likewise.
28739 (nearbyint): Likewise.
28740 (nearbyintf): Likewise.
28742 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28744 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28745 non-default versions.
28747 2012-06-11 Roland McGrath <roland@hack.frob.com>
28750 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28752 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28754 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28755 (FE_UPWARD, FE_DOWNWARD): Don't define.
28756 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28757 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28761 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28762 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28764 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28766 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28767 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28768 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28769 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28771 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28774 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28775 * sysdeps/i386/fpu/Implies: New file.
28776 * sysdeps/x86_64/fpu/Implies: Likewise.
28777 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28778 * sysdeps/x86/fpu/bits/fenv.h: This.
28780 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28783 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28786 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28787 character 0xffff that matches the last element of the
28790 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28795 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28798 values higher than 25.6283.
28800 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28802 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28803 subnormal exponent extraction and add some __builtin_expect.
28804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28805 Fix for subnormal mantissa calculation.
28807 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28809 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28810 cpu2 is -1 and errno is not ENOSYS.
28812 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28815 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28816 * sysdeps/x86/bits/string.h: This.
28817 * sysdeps/x86_64/bits/string.h: Removed.
28819 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28820 if not compiling for x86-64, but compiling for >= i486.
28822 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28823 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28825 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28826 New macro from Linux kernel 3.4.0.
28827 (FP_XSTATE_MAGIC2): Likewise.
28828 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28829 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28830 (struct _fpx_sw_bytes): New struct.
28831 (struct _xsave_hdr): Likewise.
28832 (struct _ymmh_state): Likewise.
28833 (struct _xstate): Likewise.
28835 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28836 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28838 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28839 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28840 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28842 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28843 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28844 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28845 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28846 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28847 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28849 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28852 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28853 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28854 (sysdep_headers): Include sys/platform/ppc.h.
28855 * sysdeps/powerpc/test-gettimebase.c: Test for
28856 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28857 * manual/Makefile (appendices): Include platform.texi.
28858 * manual/contrib.texi (Contributors): Update @node pointers.
28859 * manual/maint.texi (Maintenance): Likewise.
28860 (Platform): New node.
28861 * manual/platform.texi: New file. Document the new features.
28863 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28864 Jakub Jelinek <jakub@redhat.com>
28867 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28868 where __builtin_expect is unavailable.
28870 2012-06-03 David S. Miller <davem@davemloft.net>
28872 * stdlib/longlong.h: Updated from GCC.
28874 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28877 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28878 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28881 (GLIBC_2.16): Likewise.
28883 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28885 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28887 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28890 (default-abi): New variable.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28892 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28894 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28896 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28898 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28901 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28902 definition. Document in comment.
28904 2012-06-01 David S. Miller <davem@davemloft.net>
28906 * stdlib/longlong.h: Updated from GCC.
28908 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28911 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28912 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28913 sys/debugreg.h sys/io.h here.
28914 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28915 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28917 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28918 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28919 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28920 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28921 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28922 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28925 Define only if __x86_64__ is defined.
28927 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28931 Use int64_t for variable i.
28932 * math/libm-test.inc (fmod_test): Add more tests.
28934 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28935 z computation is not scheduled after fetestexcept.
28936 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28937 Use math_force_eval instead of asm to ensure calculation scheduled
28938 before exception test.
28939 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28940 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28942 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28945 computation is not scheduled after fetestexcept.
28947 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28950 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28951 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28953 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28955 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28956 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28958 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28961 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28963 (__WCHAR_MIN): Support __WORDSIZE == 64.
28964 (__WCHAR_MAX): Likewise.
28966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28967 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28971 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28974 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28975 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28977 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28978 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28981 Defined to 1 if __x86_64__ isn't defined.
28982 (_STAT_VER_LINUX_OLD): New.
28983 (st_atime): Remove duplicate.
28984 (st_mtime): Likewise.
28985 (st_ctime): Likewise.
28987 2012-05-31 David S. Miller <davem@davemloft.net>
28989 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28992 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28994 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28998 * elf/dl-reloc.c: Include <_itoa.h>.
28999 (_dl_reloc_bad_type): Remove use of INTUSE.
29000 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29001 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29002 * stdio-common/psiginfo.c (psiginfo): Likewise.
29003 * stdio-common/psignal.c (psignal): Likewise.
29004 * string/strsignal.c (strsignal): Likewise.
29005 * include/signal.h (_sys_siglist): Declare hidden proto.
29006 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29007 INTVARDEF with libc_hidden_data_def.
29008 * stdio-common/itoa-udigits.c: Likewise.
29009 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29010 (_itoa_lower_digits_internal): Remove declaration.
29011 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29012 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29013 (_sys_sigabbrev_internal): Remove aliases.
29014 (_sys_siglist): Define hidden alias.
29016 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29021 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29024 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29025 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29027 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29028 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29029 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29030 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29032 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29034 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29035 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29036 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29038 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29046 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29047 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29048 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29050 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29051 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29053 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29054 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29055 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29057 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29058 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29060 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29061 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29065 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29067 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29068 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29070 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29072 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29073 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29074 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29076 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29078 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29080 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29082 * math/math.h (M_El): Use two more decimal places.
29083 (M_LOG2El): Likewise.
29084 (M_LOG10El): Likewise.
29085 (M_LN2l): Likewise.
29086 (M_LN10l): Likewise.
29088 (M_PI_2l): Likewise.
29089 (M_PI_4l): Likewise.
29090 (M_1_PIl): Likewise.
29091 (M_2_PIl): Likewise.
29092 (M_2_SQRTPIl): Likewise.
29093 (M_SQRT2l): Likewise.
29094 (M_SQRT1_2l): Likewise.
29096 2012-05-31 David S. Miller <davem@davemloft.net>
29098 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29099 values between float registers.
29100 * sysdeps/sparc/sparc64/memset.S: Likewise.
29101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29103 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29105 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29106 -D_FORTIFY_SOURCE=1.
29107 (CPPFLAGS-tst-longjmp_chk.c): Define.
29108 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29109 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29110 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29111 CFLAGS-tst-wchar-h.c.
29113 2012-05-31 Marek Polacek <polacek@redhat.com>
29116 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29117 __endmntent_internal): Remove declaration.
29118 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29119 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29120 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29122 2012-05-30 David S. Miller <davem@davemloft.net>
29124 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29125 (___Q_simulate_exceptions): Use real FP ops rather than writing
29127 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29130 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29133 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29134 * sysdeps/x86/bits/xtitypes.h: This.
29136 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29137 * sysdeps/x86/bits/wordsize.h: This.
29139 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29140 * sysdeps/x86/bits/huge_vall.h: This.
29142 * sysdeps/i386/bits/select.h: Removed.
29143 * sysdeps/x86_64/bits/select.h: Renamed to ...
29144 * sysdeps/x86/bits/select.h: This.
29146 * sysdeps/i386/bits/setjmp.h: Removed.
29147 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29148 * sysdeps/x86/bits/setjmp.h: This.
29150 * sysdeps/i386/bits/mathdef.h: Removed.
29151 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29152 * sysdeps/x86/bits/mathdef.h: This.
29154 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29157 * include/sys/socket.h (__connect_internal)
29158 (__libc_sa_len_internal): Remove declaration.
29159 (__connect, __libc_sa_len): Declare hidden_proto.
29160 (SA_LEN): Remove use of INTUSE.
29161 * socket/connect.c: Add libc_hidden_def.
29162 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29163 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29164 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29166 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29167 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29168 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29169 of adding _internal alias.
29171 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29174 * sysdeps/i386/bits/link.h: Removed.
29175 * sysdeps/i386/bits/linkmap.h: Likewise.
29176 * sysdeps/x86_64/bits/link.h: Renamed to ...
29177 * sysdeps/x86/bits/link.h: This.
29178 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29179 * sysdeps/x86/bits/linkmap.h: This.
29181 * sysdeps/i386/bits/endian.h: Removed.
29182 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29183 * sysdeps/x86/bits/endian.h: This.
29185 * sysdeps/i386/bits/byteswap.h: Removed.
29186 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29187 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29188 * sysdeps/x86/bits/byteswap.h: This.
29189 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29190 * sysdeps/x86/bits/byteswap-16.h: This.
29191 * sysdeps/i386/Implies: Add x86.
29192 * sysdeps/x86_64/Implies: Likewise.
29194 2012-05-30 David S. Miller <davem@davemloft.net>
29196 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29197 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29198 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29199 (FP_TRAPPING_EXCEPTIONS): Define.
29200 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29201 (FP_TRAPPING_EXCEPTIONS): Define.
29202 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29203 subnormals only when inexact has been signalled or underflow
29204 exceptions are enabled.
29205 (_FP_PACK_CANONICAL): Likewise.
29207 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29211 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29213 2012-05-30 Richard Henderson <rth@twiddle.net>
29215 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29216 with #ifndef NOT_IN_libc.
29218 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29219 marked to avoid plt entry.
29221 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29224 * Makeconfig (default-abi): New macro.
29225 (abi-includes): Likewise.
29226 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29227 $(abi-$(default-abi)-lib-soname) for soname if defined.
29228 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29230 * Makefile (installed-stubs): Likewise.
29231 * include/stubs-biarch.h: Removed.
29232 * scripts/lib-names.awk: Only handle one library at a time.
29233 * scripts/soversions.awk: Remove WORDSIZE support.
29234 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29236 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29238 (syscall-list-default-condition): Likewise.
29239 (syscall-list-default-condition): Likewise.
29240 (syscall-list-includes): Likewise.
29241 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29242 syscall-list-* with abi-*. Handle undefined abi-variants.
29243 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29244 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29245 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29246 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29247 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29248 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29250 (syscall-list-32-options): Likewise.
29251 (syscall-list-32-condition): Likewise.
29252 (syscall-list-64-options): Likewise.
29253 (syscall-list-64-condition): Likewise.
29254 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29256 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29259 (abi-64-ld-soname): New macro.
29260 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29261 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29264 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29265 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29267 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29269 * sysdeps/unix/sysv/linux/kernel-features.h
29270 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29271 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29272 include <kernel-features.h>.
29273 [!__NR_ftruncate64]: Remove conditional code.
29274 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29275 [__NR_ftruncate64]: Make code unconditional.
29276 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29277 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29278 include <kernel-features.h>.
29279 [!__NR_ftruncate64]: Remove conditional code.
29280 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29281 [__NR_ftruncate64]: Make code unconditional.
29282 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29284 include <kernel-features.h>.
29285 [!__NR_ftruncate64]: Remove conditional code.
29286 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29287 [__NR_ftruncate64]: Make code unconditional.
29288 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29290 include <kernel-features.h>.
29291 [!__NR_ftruncate64]: Remove conditional code.
29292 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29293 [__NR_ftruncate64]: Make code unconditional.
29294 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29296 * configure.in (libc_cv_fpie): Weaken to a compile test using
29297 LIBC_TRY_CC_OPTION.
29298 * configure: Regenerated.
29300 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29315 2012-05-27 David S. Miller <davem@davemloft.net>
29317 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29319 (__Q_simulate_exceptions): Return void. Change to simulate
29320 exceptions by writing into the %fsr.
29321 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29322 (__Qp_handle_exceptions): Likewise.
29324 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29325 __Qp_handle_exceptions.
29326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29327 __Qp_handle_exceptions.
29328 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29329 as unused and give dummy FP_RND_NEAREST initializer.
29330 (FP_INHIBIT_RESULTS): Define.
29331 (___Q_simulate_exceptions): Update declaration.
29332 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29334 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29335 as unused and give dummy FP_RND_NEAREST initializer.
29336 (__Qp_handle_exceptions): Update declaration.
29337 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29340 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29342 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29343 the temporary FPU control word.
29344 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29345 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29346 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29347 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29348 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29349 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29350 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29351 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29352 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29353 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29354 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29356 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29358 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29361 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29363 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29364 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29365 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29366 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29368 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29369 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29372 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29374 * po/h.po: Update from translation team.
29376 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29378 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29380 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29381 handling of denormals.
29382 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29383 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29384 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29385 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29388 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29391 2012-05-26 Marek Polacek <polacek@redhat.com>
29394 * math/libm-test.inc (fma_test): Don't always expect underflow
29397 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29400 * elf/tst-execstack.c: Include stackinfo.h.
29401 (do_test): Adjust test case to ensure that pthread_getattr_np
29402 behaviour remains the same after marking stack executable.
29404 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29406 * sysdeps/unix/sysv/linux/kernel-features.h
29407 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29408 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29410 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29411 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29412 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29417 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29419 * configure.in: Define the default includes to being none.
29420 * configure: Regenerated.
29422 2012-05-25 Roland McGrath <roland@hack.frob.com>
29424 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29425 * sysdeps/x86_64/setjmp.S: Likewise.
29426 * sysdeps/i386/bsd-setjmp.S: Likewise.
29427 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29428 * sysdeps/i386/setjmp.S: Likewise.
29429 * sysdeps/i386/__longjmp.S: Likewise.
29430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29431 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29433 * include/stap-probe.h: New file.
29434 * configure.in: Handle --enable-systemtap.
29435 * configure: Regenerated.
29436 * config.h.in (USE_STAP_PROBE): New #undef.
29437 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29438 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29439 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29441 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29445 to 2.4.0 where earlier.
29446 * sysdeps/unix/sysv/linux/configure: Regenerated.
29447 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29448 <kernel-features.h>.
29449 [__ASSUME_32BITUIDS]: Make code unconditional.
29450 [!__ASSUME_32BITUIDS]: Remove conditional code.
29451 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29452 <kernel-features.h>.
29453 [__ASSUME_32BITUIDS]: Make code unconditional.
29454 [!__ASSUME_32BITUIDS]: Remove conditional code.
29455 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29456 [__ASSUME_32BITUIDS]: Make code unconditional.
29457 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29458 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
29479 <kernel-features.h>.
29480 [__ASSUME_32BITUIDS]: Make code unconditional.
29481 [!__ASSUME_32BITUIDS]: Remove conditional code.
29482 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29483 <kernel-features.h>.
29484 [__ASSUME_32BITUIDS]: Make code unconditional.
29485 [!__ASSUME_32BITUIDS]: Remove conditional code.
29486 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29487 <kernel-features.h>.
29488 [__ASSUME_32BITUIDS]: Make code unconditional.
29489 [!__ASSUME_32BITUIDS]: Remove conditional code.
29490 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29491 <kernel-features.h>.
29492 [__ASSUME_32BITUIDS]: Make code unconditional.
29493 [!__ASSUME_32BITUIDS]: Remove conditional code.
29494 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29495 <kernel-features.h>.
29496 [__ASSUME_32BITUIDS]: Make code unconditional.
29497 [!__ASSUME_32BITUIDS]: Remove conditional code.
29498 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29499 <kernel-features.h>.
29500 [__NR_setresgid] (__setresgid): Do not declare.
29501 [__ASSUME_32BITUIDS]: Make code unconditional.
29502 [!__ASSUME_32BITUIDS]: Remove conditional code.
29503 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29504 <kernel-features.h>.
29505 [__NR_setresuid] (__setresuid): Do not declare.
29506 [__ASSUME_32BITUIDS]: Make code unconditional.
29507 [!__ASSUME_32BITUIDS]: Remove conditional code.
29508 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
29529 <kernel-features.h>.
29530 [__ASSUME_32BITUIDS]: Make code unconditional.
29531 [!__ASSUME_32BITUIDS]: Remove conditional code.
29532 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29533 <kernel-features.h>.
29534 [__ASSUME_32BITUIDS]: Make code unconditional.
29535 [!__ASSUME_32BITUIDS]: Remove conditional code.
29536 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29537 <kernel-features.h>.
29538 [__ASSUME_32BITUIDS]: Make code unconditional.
29539 [!__ASSUME_32BITUIDS]: Remove conditional code.
29540 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29541 <kernel-features.h>.
29542 [__ASSUME_32BITUIDS]: Make code unconditional.
29543 [!__ASSUME_32BITUIDS]: Remove conditional code.
29544 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29545 <kernel-features.h>.
29546 [__ASSUME_32BITUIDS]: Make code unconditional.
29547 [!__ASSUME_32BITUIDS]: Remove conditional code.
29548 * sysdeps/unix/sysv/linux/kernel-features.h
29549 (__ASSUME_SETRESUID_SYSCALL): Remove.
29550 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29551 (__ASSUME_32BITUIDS): Likewise.
29552 (__ASSUME_LDT_WORKS): Likewise.
29553 (__ASSUME_O_DIRECTORY): Likewise.
29554 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29555 architecture but not kernel version.
29556 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29557 (__ASSUME_MMAP2_SYSCALL): Likewise.
29558 (__ASSUME_STAT64_SYSCALL): Likewise.
29559 (__ASSUME_IPC64): Likewise.
29560 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29561 <kernel-features.h>.
29562 [__ASSUME_32BITUIDS]: Make code unconditional.
29563 [!__ASSUME_32BITUIDS]: Remove conditional code.
29564 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29565 <kernel-features.h>.
29566 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29567 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29568 132096]: Remove conditional code.
29569 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29570 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29571 <kernel-features.h>.
29572 [__ASSUME_32BITUIDS]: Make code unconditional.
29573 [!__ASSUME_32BITUIDS]: Remove conditional code.
29574 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29575 <kernel-features.h>.
29576 [__ASSUME_32BITUIDS]: Make code unconditional.
29577 [!__ASSUME_32BITUIDS]: Remove conditional code.
29578 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29579 <kernel-features.h>.
29580 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29582 (__setresgid): Do not declare.
29583 [__ASSUME_32BITUIDS]: Make code unconditional.
29584 [!__ASSUME_32BITUIDS]: Remove conditional code.
29585 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29586 <kernel-features.h>.
29587 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29589 (__setresuid): Do not declare.
29590 [__ASSUME_32BITUIDS]: Make code unconditional.
29591 [!__ASSUME_32BITUIDS]: Remove conditional code.
29592 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29593 <kernel-features.h>.
29594 [__ASSUME_32BITUIDS]: Make code unconditional.
29595 [!__ASSUME_32BITUIDS]: Remove conditional code.
29596 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29597 <kernel-features.h>.
29598 [__ASSUME_32BITUIDS]: Make code unconditional.
29599 [!__ASSUME_32BITUIDS]: Remove conditional code.
29601 2012-05-25 Richard Henderson <rth@twiddle.net>
29603 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29604 dl_hwcap to ifunc resolver.
29605 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29607 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29608 dl_hwcap to ifunc resolver.
29609 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29611 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29614 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29615 for |x| <= 2**-26, not 2**-57.
29616 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29619 2012-05-24 Jeff Law <law@redhat.com>
29621 * stdio-common/Makefile (tests): Add bug25.
29622 * stdio-common/bug25.c: New test.
29624 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29627 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29628 multiple of MALLOC_ALIGNMENT in size.
29629 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29631 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29633 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29635 (FILENAME_MAX): Use macro-int-constant.
29636 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29637 (_IOFBF): Use macro-int-constant.
29638 (_IOLBF): Likewise.
29639 (_IONBF): Likewise.
29640 (SEEK_CUR): Likewise.
29641 (SEEK_END): Likewise.
29642 (SEEK_SET): Likewise.
29643 (TMP_MAX): Likewise.
29644 (EOF): Use macro-int-constant. Require < 0.
29645 (NULL): Use macro-constant. Require == 0.
29646 (stdin): Require type to be FILE *.
29647 (stdout): Likewise.
29648 (stderr): Likewise.
29649 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29650 macro-int-constant.
29651 (EXIT_SUCCESS): Likewise.
29652 (NULL): Use macro-constant. Require == 0.
29653 (RAND_MAX): Use macro-int-constant.
29654 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29655 [C99-based standards] (strtof): Require function.
29656 [C99-based standards] (strtold): Likewise.
29657 [C99-based standards] (strtoll): Likewise.
29658 [C99-based standards] (strtoull): Likewise.
29659 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29660 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29661 [ISO || ISO99 || ISO11] (math.h): Likewise.
29662 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29663 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29666 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29669 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29670 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29671 * intl/dgettext.c (DCGETTEXT): Likewise.
29672 * intl/gettext.c (DCGETTEXT): Likewise.
29673 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29674 * posix/regex_internal.h (gettext): Likewise.
29675 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29676 Remove declaration.
29677 * include/argz.h (__argz_count_internal)
29678 (__argz_stringify_internal): Remove declaration.
29679 (__argz_count, __argz_stringify): Declare hidden proto.
29680 * intl/dcgettext.c: Remove use of INTDEF.
29681 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29682 * string/argz-stringify.c: Likewise.
29683 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29684 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29685 Declare hidden proto.
29686 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29687 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29688 Declare hidden proto.
29689 * include/stdio.h (__asprintf_internal): Don't declare.
29690 (__asprintf): Don't define as macro. Declare hidden proto.
29691 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29692 (__fsetlocking): Declare hidden proto.
29693 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29694 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29696 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29697 (_IO_setlinebuf): Remove use of INTUSE.
29698 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29699 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29700 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29701 Remove declaration.
29702 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29703 (_IO_do_flush): Remove use of INTUSE.
29704 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29705 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29706 (_IO_adjust_column, _IO_least_wmarker)
29707 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29708 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29709 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29710 (_IO_default_doallocate, _IO_wdefault_doallocate)
29711 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29712 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29713 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29714 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29715 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29716 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29717 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29718 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29719 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29720 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29721 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29722 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29723 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29725 (_IO_flush_all_internal, _IO_adjust_column_internal)
29726 (_IO_default_uflow_internal, _IO_default_finish_internal)
29727 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29728 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29729 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29730 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29731 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29732 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29733 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29734 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29735 (_IO_file_close_internal, _IO_file_close_it_internal)
29736 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29737 (_IO_file_init_internal, _IO_file_attach_internal)
29738 (_IO_file_fopen_internal, _IO_file_read_internal)
29739 (_IO_file_sync_internal, _IO_file_seek_internal)
29740 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29741 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29742 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29743 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29744 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29745 (_IO_list_all_internal, _IO_link_in_internal)
29746 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29747 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29748 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29749 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29750 (_IO_do_write_internal, _IO_padn_internal)
29751 (_IO_getline_info_internal, _IO_getline_internal)
29752 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29753 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29754 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29755 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29756 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29757 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29758 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29759 with libc_hidden_ver, remove use of INTUSE.
29760 * libio/genops.c: Likewise.
29761 * libio/freopen.c: Likewise.
29762 * libio/freopen64.c: Likewise.
29763 * libio/iofclose.c: Likewise.
29764 * libio/iofdopen.c: Likewise.
29765 * libio/iofflush.c: Likewise.
29766 * libio/iofflush_u.c: Likewise.
29767 * libio/iofgets.c: Likewise.
29768 * libio/iofgets_u.c: Likewise.
29769 * libio/iofopen.c: Likewise.
29770 * libio/iofopncook.c: Likewise.
29771 * libio/iofread.c: Likewise.
29772 * libio/iofread_u.c: Likewise.
29773 * libio/ioftell.c: Likewise.
29774 * libio/iofwrite.c: Likewise.
29775 * libio/iogetline.c: Likewise.
29776 * libio/iogets.c: Likewise.
29777 * libio/iogetwline.c: Likewise.
29778 * libio/iopadn.c: Likewise.
29779 * libio/iopopen.c: Likewise.
29780 * libio/ioseekoff.c: Likewise.
29781 * libio/ioseekpos.c: Likewise.
29782 * libio/iosetbuffer.c: Likewise.
29783 * libio/iosetvbuf.c: Likewise.
29784 * libio/ioungetc.c: Likewise.
29785 * libio/ioungetwc.c: Likewise.
29786 * libio/iovdprintf.c: Likewise.
29787 * libio/iovsprintf.c: Likewise.
29788 * libio/iovsscanf.c: Likewise.
29789 * libio/memstream.c: Likewise.
29790 * libio/obprintf.c: Likewise.
29791 * libio/oldfileops.c: Likewise.
29792 * libio/oldiofclose.c: Likewise.
29793 * libio/oldiofdopen.c: Likewise.
29794 * libio/oldiofopen.c: Likewise.
29795 * libio/oldiopopen.c: Likewise.
29796 * libio/oldstdfiles.c: Likewise.
29797 * libio/putc.c: Likewise.
29798 * libio/setbuf.c: Likewise.
29799 * libio/setlinebuf.c: Likewise.
29800 * libio/stdfiles.c: Likewise.
29801 * libio/strops.c: Likewise.
29802 * libio/vasprintf.c: Likewise.
29803 * libio/vscanf.c: Likewise.
29804 * libio/vsnprintf.c: Likewise.
29805 * libio/vswprintf.c: Likewise.
29806 * libio/wfiledoalloc.c: Likewise.
29807 * libio/wfileops.c: Likewise.
29808 * libio/wgenops.c: Likewise.
29809 * libio/wmemstream.c: Likewise.
29810 * libio/wstrops.c: Likewise.
29811 * libio/__fpurge.c: Likewise.
29812 * libio/__fsetlocking.c: Likewise.
29813 * assert/assert.c: Likewise.
29814 * debug/fgets_chk.c: Likewise.
29815 * debug/fgets_u_chk.c: Likewise.
29816 * debug/fread_chk.c: Likewise.
29817 * debug/fread_u_chk.c: Likewise.
29818 * debug/gets_chk.c: Likewise.
29819 * debug/obprintf_chk.c: Likewise.
29820 * debug/vasprintf_chk.c: Likewise.
29821 * debug/vdprintf_chk.c: Likewise.
29822 * debug/vsnprintf_chk.c: Likewise.
29823 * debug/vsprintf_chk.c: Likewise.
29824 * malloc/mtrace.c: Likewise.
29825 * misc/error.c: Likewise.
29826 * misc/syslog.c: Likewise.
29827 * stdio-common/asprintf.c: Likewise.
29828 * stdio-common/fxprintf.c: Likewise.
29829 * stdio-common/getw.c: Likewise.
29830 * stdio-common/isoc99_fscanf.c: Likewise.
29831 * stdio-common/isoc99_scanf.c: Likewise.
29832 * stdio-common/isoc99_vfscanf.c: Likewise.
29833 * stdio-common/isoc99_vscanf.c: Likewise.
29834 * stdio-common/isoc99_vsscanf.c: Likewise.
29835 * stdio-common/printf-prs.c: Likewise.
29836 * stdio-common/printf_fp.c: Likewise.
29837 * stdio-common/printf_fphex.c: Likewise.
29838 * stdio-common/printf_size.c: Likewise.
29839 * stdio-common/putw.c: Likewise.
29840 * stdio-common/scanf.c: Likewise.
29841 * stdio-common/sprintf.c: Likewise.
29842 * stdio-common/tmpfile.c: Likewise.
29843 * stdio-common/vfprintf.c: Likewise.
29844 * stdio-common/vfscanf.c: Likewise.
29845 * stdlib/strfmon_l.c: Likewise.
29846 * sunrpc/openchild.c: Likewise.
29847 * sunrpc/xdr_stdio.c: Likewise.
29848 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29849 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29851 2012-05-24 Roland McGrath <roland@hack.frob.com>
29853 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29855 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29856 in the third column, to generate for the shared library an IFUNC
29857 that uses _dl_vdso_vsym.
29858 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29859 * Makeconfig (object-suffixes-noshared): New variable.
29861 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29862 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29863 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29864 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29867 * include/sys/time.h (__gettimeofday): Remove macro.
29868 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29869 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29871 (__gettimeofday): Add libc_hidden_def.
29872 (gettimeofday): Add libc_hidden_weak.
29873 * sysdeps/mach/gettimeofday.c: Likewise.
29874 * sysdeps/posix/gettimeofday.c: Likewise.
29875 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29876 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29877 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29878 (__gettimeofday_internal): Remove strong_alias.
29879 (__gettimeofday): Add libc_hidden_def.
29880 (gettimeofday): Add libc_hidden_weak.
29881 * sysdeps/unix/syscalls.list (gettimeofday):
29882 Remove __gettimeofday_internal alias.
29884 2012-05-24 Daniel Jacobowitz <drow@false.org>
29885 H.J. Lu <hongjiu.lu@intel.com>
29888 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29889 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29890 (largebin_index_32_big): New.
29891 (largebin_index): Use it for 16-byte alignment.
29892 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29893 correction with front_misalign.
29895 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29923 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29924 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29926 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29930 * math/libm-test.inc (exp_test): Add test from bug 14036.
29931 (pow_test): Add test from bug 10846.
29933 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29935 (special_function): Do not include flags in test name.
29936 (parse_args): Likewise.
29937 * sysdeps/i386/fpu/libm-test-ulps: Update.
29938 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29939 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29940 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29943 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29945 * math/libm-test.inc ("Philosophy"): Update comment about
29947 (UNDERFLOW_EXCEPTION): New macro.
29948 (UNDERFLOW_EXCEPTION_OK): Likewise.
29949 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29950 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29951 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29952 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29953 (INVALID_EXCEPTION_OK): Update value.
29954 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29955 (OVERFLOW_EXCEPTION_OK): Likewise.
29956 (IGNORE_ZERO_INF_SIGN): Likewise.
29957 (test_exceptions): Handle underflow exceptions.
29958 (acos_test): Update for underflow exception expectations.
29959 (cexp_test): Likewise.
29960 (clog_test): Likewise.
29961 (clog10_test): Likewise.
29962 (csqrt_test): Likewise.
29963 (ctan_test): Likewise.
29964 (ctanh_test): Likewise.
29965 (exp_test): Likewise.
29966 (exp10_test): Likewise.
29967 (exp2_test): Likewise.
29968 (expm1_test): Likewise.
29969 (fma_test): Likewise.
29970 (j0_test): Likewise.
29971 (jn_test): Likewise.
29972 (nexttoward_test): Likewise.
29973 (pow_test): Likewise.
29974 (scalbn_test): Likewise.
29975 (scalbln_test): Likewise.
29976 (tan_test): Likewise.
29977 (y1_test): Likewise.
29978 * sysdeps/i386/fpu/libm-test-ulps: Update.
29979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29981 2012-05-23 David S. Miller <davem@davemloft.net>
29983 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29984 (__libc_sigaction): Remove unused local variables.
29986 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29988 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29990 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29992 mktime: avoid signed integer overflow
29993 * time/mktime.c (__mktime_internal): Do not mishandle the case
29994 where diff == INT_MIN.
29996 mktime: simplify computation of average
29997 * time/mktime.c (ranged_convert): Use new time_t_avg function
29998 instead of rolling our own (probably-slower) code.
30000 mktime: do not assume signed right shift propagates sign bit
30001 * time/mktime.c (isdst_differ): New static function.
30002 (__mktime_internal): No need to normalize tm_isdst now.
30003 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30006 mktime: merge another wrapv change from gnulib
30007 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30008 from some compilers.
30010 mktime: remove incorrect attempt at unusual arithmetics
30011 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30012 The code didn't really work on such machines anyway.
30013 (TYPE_MINIMUM): Assume two's complement.
30014 (twos_complement_arithmetic): Verify that long_int and time_t
30015 are two's complement (or unsigned, in the latter case).
30017 mktime: check signed shifts on long_int and time_t, too
30018 * time/mktime.c (SHR): Check that shifts work as desired
30019 on the types long_int and time_t too, as SHR is used on
30022 mktime: do not assume 'long' is wide enough
30023 * time/mktime.c (verify): Move decl up.
30024 (long_int): New type.
30025 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30026 to remove assumption in the code that 'long' is wide enough to
30027 store year values. This assumption is not true on x32 and on
30028 some non-glibc platforms.
30030 mktime: merge wrapv change from gnulib
30031 * time/mktime.c (WRAPV): New macro.
30032 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30033 (guess_time_tm, __mktime_internal): Do not assume that signed
30034 integer overflow wraps around; modern compilers generate code
30035 where this assumption is no longer valid.
30037 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30039 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30040 Replace "jmp L(pseudo_end)" with "ret".
30041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30044 2012-05-23 Andreas Jaeger <aj@suse.de>
30046 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30047 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30049 2012-05-23 Andreas Jaeger <aj@suse.de>
30050 Maximilian Attems <max@stro.at>
30052 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30055 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30057 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30058 code so that pseudo_end is just ret and the stack pointer is
30059 correct also for static library in error case.
30061 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30063 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30064 move to syscalls.list.
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30070 * manual/install.texi (Running make install): Do not mention Linux
30071 kernel version for which pt_chown is not needed.
30072 (Linux): Do not mention problems with nscd with 2.0 kernels.
30073 * INSTALL: Regenerated.
30075 2012-05-23 Andreas Jaeger <aj@suse.de>
30077 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30078 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30080 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30081 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30082 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30083 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30084 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30088 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30090 * sysdeps/unix/sysv/linux/bits/in.h
30091 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30093 2012-05-22 Roland McGrath <roland@hack.frob.com>
30095 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30096 (PREPARE_VERSION): Just use assert instead, it will be elided
30097 under [NDEBUG] anyway.
30099 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30101 * sysdeps/unix/sysv/linux/Makefile: Include
30102 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30103 (sysdep_routines): Remove sysctl.
30104 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30105 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30106 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30107 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30108 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30110 2012-05-22 Andreas Jaeger <aj@suse.de>
30112 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30113 that pseudo_end is just ret and the stack pointer is correct also
30114 for static library in error case.
30116 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30119 * nss/nsswitch.c (defconfig_entries): New variable.
30120 (__nss_database_lookup): Don't leak defconfig entries.
30121 (nss_parse_service_list): Don't leak on error paths.
30122 (free_database_entries): New function.
30123 (free_defconfig): New function.
30124 (free_mem): Move common code to free_database_entries.
30126 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30128 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30130 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30132 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30133 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30136 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30137 (INTERNAL_SYSCALL_TYPES): Likewise.
30138 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30139 (LOAD_REGS_TYPES_[1-6]): Likewise.
30140 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30141 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30143 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30146 copysignl for GLIBC_2_0.
30147 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30148 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30150 logbl for GLIBC_2_0.
30151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30152 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30154 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30157 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30159 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30162 * time/mktime.c: Update copyright years.
30164 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30166 mktime: merge comment-quoting-style change from gnulib
30167 * time/mktime.c: Quote 'like this' in comments.
30168 The GNU coding standards suggest that we no longer quote `like this',
30169 as "`" and "'" are typically rendered asymmetrically nowadays.
30170 The typical gnulib style is to quote 'like this' when quoting
30171 code, and "like this" when quoting English.
30173 * time/mktime.c (compile-command): Add "-I.".
30175 mktime: merge mktime-internal.h change from gnulib
30176 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30178 mktime: merge time_r change from gnulib
30179 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30181 mktime: merge DEBUG change from gnulib
30182 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30183 case system <time.h> has a #define.
30185 mktime: merge <sys/types.h> change from gnulib
30186 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30187 since <time.t> is now guaranteed to define time_t.
30189 mktime: merge HAVE_CONFIG_H change from gnulib
30190 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30192 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30197 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30199 (struct rusage): Use anonymous union to pad each field to
30202 2012-05-21 David S. Miller <davem@davemloft.net>
30204 * Makefules (o-iterator): Remove .s cases.
30205 (compile-command.s): Delete.
30206 (COMPILE.s): Delete.
30207 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30209 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30211 * configure.in (libc_cv_predef_stack_protector): Only consider
30212 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30213 * configure: Regenerated.
30215 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30218 New macro. Use R*LP on int and pointer.
30219 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30220 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30221 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30222 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30224 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30225 [__WORDSIZE_TIME64_COMPAT32] instead of
30226 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30227 (struct utmp): Likewise.
30228 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30229 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30231 (__WORDSIZE_TIME64_COMPAT32): This.
30232 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30233 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30234 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30235 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30236 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30237 (__WORDSIZE_TIME64_COMPAT32): New macro.
30239 2012-05-21 Andreas Jaeger <aj@suse.de>
30241 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30242 only if [SHARED]. Add prototype for __wcschr_ia32.
30244 2012-05-21 Roland McGrath <roland@hack.frob.com>
30246 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30247 of %rbp unmolested in the jmp_buf while mangling the low bits.
30248 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30249 unmolested high bits of %rbp while demangling the low bits.
30250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30252 2012-05-21 Andreas Jaeger <aj@suse.de>
30254 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30255 * sunrpc/svc_simple.c: Use it for registerrpc.
30256 * sunrpc/xcrypt.c: Use it for passwd2des.
30258 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30260 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30262 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30263 Don't define if [__SYSCALL_WORDSIZE != 32].
30264 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30267 2012-05-21 Bruno Haible <bruno@clisp.org>
30268 Andreas Jaeger <aj@suse.de>
30270 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30271 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30272 inptr and inend for must_buffer_ch.
30273 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30274 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30275 * stdio-common/Makefile (tests): Remove bug15.
30276 (bug15-ENV): Remove macro.
30277 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30280 2012-05-19 Andreas Jaeger <aj@suse.de>
30281 Roland McGrath <roland@hack.frob.com>
30283 * manual/contrib.texi: Completely rewritten. It contains now an
30284 alphabetical list of contributors and their contributions.
30286 2012-05-21 Richard Henderson <rth@twiddle.net>
30288 * misc/getauxval.c (__getauxval): Use unsigned long int.
30289 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30290 (getauxval): Use unsigned long int.
30292 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30294 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30296 2012-05-21 Roland McGrath <roland@hack.frob.com>
30298 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30299 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30300 __alignof__ (long double).
30302 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30306 2012-05-20 Richard Henderson <rth@twiddle.net>
30308 * misc/getauxval.c: New file.
30309 * misc/sys/auxv.h: New file.
30310 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30311 (routines): Add getauxval.
30312 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30313 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30314 * elf/dl-sysdep.c (_dl_auxv): Remove.
30315 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30316 * elf/dl-support.c (_dl_auxv): New variable.
30317 (_dl_aux_init): Initialize it.
30318 * manual/startup.texi (Auxiliary Vector): New node.
30319 * sysdeps/generic/bits/hwcap.h: New file.
30320 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30321 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30322 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30323 * sysdeps/sparc/sysdep.h: ... here. Include it.
30324 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30337 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30341 2012-05-19 David S. Miller <davem@davemloft.net>
30343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30345 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30348 * math/s_ccosh.c: Include <float.h>
30349 (__ccosh): Avoid internal overflow calculating sinh and cosh
30350 values before multiplying by sin and cos values.
30351 * math/s_ccoshf.c: Likewise.
30352 * math/s_ccoshl.c: Likewise.
30353 * math/s_csin.c: Likewise.
30354 * math/s_csinf.c: Likewise.
30355 * math/s_csinl.c: Likewise.
30356 * math/s_csinh.c: Likewise.
30357 * math/s_csinhf.c: Likewise.
30358 * math/s_csinhl.c: Likewise.
30359 * math/libm-test.inc (ccos_test): Add more tests.
30360 (ccosh_test): Likewise.
30361 (csin_test): Likewise.
30362 (csinh_test): Likewise.
30363 * sysdeps/i386/fpu/libm-test-ulps: Update.
30364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30366 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30368 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30369 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30371 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30373 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30375 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30376 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30377 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30378 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30379 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30380 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30381 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30382 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30383 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30384 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30385 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30386 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30387 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30388 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30389 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30390 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30391 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30392 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30393 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30394 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30395 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30396 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30397 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30398 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30399 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30400 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30401 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30402 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30403 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30404 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30405 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30407 2012-05-18 Andreas Jaeger <aj@suse.de>
30409 * csu/.gitignore: Delete.
30411 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30413 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30414 (timex): Use __syscall_slong_t.
30416 2012-05-18 Andreas Jaeger <aj@suse.de>
30417 Carlos O'Donell <carlos_odonell@mentor.com>
30419 * manual/install.texi (Configuring and compiling): Update
30420 description about files modified in the source directory.
30421 * INSTALL: Regenerated.
30423 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30425 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30426 value. Use "or" to set return value to -1.
30427 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30428 negate return value.
30430 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30432 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30433 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30434 failure if the compiler has Graphite support disabled.
30435 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30437 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30438 (CFLAGS-memmove.c): Likewise.
30439 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30442 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30444 * sysdeps/x86_64/x32/_itoa.h: New file.
30446 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30447 getdents system call only if kernel and user dirents have the
30448 same d_ino and d_off.
30450 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30451 LLONG_MAX != LONG_MAX.
30452 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30453 (_fitoa_word): Likewise.
30455 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30457 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30458 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30459 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30461 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30462 include <bits/wordsize.h>. Check __x86_64__ instead of
30464 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30465 if __x86_64__ is defined. Use anonymous union on fpstate.
30467 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30470 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30472 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30473 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30474 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30475 Refer to _rtld_local_ro instead of _rtld_global_ro.
30476 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30478 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30480 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30482 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30483 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30484 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30486 * sysdeps/powerpc/powerpc32/dl-machine.c
30487 (__elf_machine_runtime_setup) [PROF]: Don't reference
30490 2012-05-18 Andreas Jaeger <aj@suse.de>
30492 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30493 function only available for GCCs before 3.4 since GCC 3.4
30494 introduced a builtin.
30496 (llrintf): Likewise.
30497 (llrint): Likewise.
30504 (nearbyint): Likewise.
30505 (nearbyintf): Likewise.
30509 (floorf): Likewise.
30511 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30513 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30514 on both fields and cast pointer to __syscall_ulong_t.
30516 * bits/types.h (__fsword_t): New type.
30517 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30518 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30520 (__FSWORD_T_TYPE): Likewise.
30521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30522 (__FSWORD_T_TYPE): Likewise.
30523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30524 (__FSWORD_T_TYPE): Likewise.
30525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30526 (__FSWORD_T_TYPE): Likewise.
30527 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30528 __SWORD_TYPE with __fsword_t.
30529 (statfs64): Likewise.
30531 2012-05-17 David S. Miller <davem@davemloft.net>
30533 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30535 2012-05-17 Andreas Jaeger <aj@suse.de>
30537 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30540 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30542 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30544 2012-05-17 Andreas Jaeger <aj@suse.de>
30546 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30549 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30551 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30553 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30555 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30556 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30558 2012-05-17 Andreas Jaeger <aj@suse.de>
30559 Carlos O'Donell <carlos_odonell@mentor.com>
30562 * sysdeps/x86_64/multiarch/init-arch.h
30563 (bit_YMM_Usable): Rename to...
30564 (bit_AVX_Usable): ... this.
30565 (bit_FMA4_Usable): New macro.
30566 (bit_XMM_state): New macro.
30567 (bit_YMM_state): New macro.
30568 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30569 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30570 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30571 (CPUID_OSXSAVE): New macro.
30572 (CPUID_AVX): New macro.
30573 (CPUID_FMA4): New macro.
30574 (index_YMM_Usable): Rename to...
30575 (index_AVX_Usable): ... this.
30576 (HAS_AVX): Use HAS_ARCH_FEATURE.
30577 (HAS_FMA4): Likewise.
30578 (HAS_YMM_USABLE): Remove.
30579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30580 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30582 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30583 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30584 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30585 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30586 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30588 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30590 * math/libm-test.c: Support platforms without multiple rounding modes.
30591 * math/bug-nextafter.c: Support platforms without FP exceptions.
30592 * math/bug-nexttoward.c: Likewise.
30593 * math/test-fenv.c: Likewise.
30594 * math/test-misc.c: Likewise.
30595 * stdlib/bug-getcontext.c: Likewise.
30597 2012-05-17 Andreas Jaeger <aj@suse.de>
30599 * manual/examples/search.c (critter_cmp): Change signature to
30601 * manual/string.texi (Collation Functions): Likewise.
30603 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30605 * bits/types.h: Fold copyright years.
30606 * bits/typesizes.h: Likewise.
30607 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30611 * time/time.h: Likewise.
30613 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30616 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30617 in instead of returning them. Return void.
30618 (__libc_mallinfo): Accumulate over all arenas.
30619 (__malloc_stats): Adjust for change in int_mallinfo interface.
30621 2012-05-16 Roland McGrath <roland@hack.frob.com>
30624 * configure.in (NM): Add AC_CHECK_TOOL for it.
30625 (libc_extra_cflags): New substituted variable.
30626 Check for -fstack-protector being used implicitly.
30627 * configure: Regenerated.
30628 * config.make.in (config-extra-cflags): New variable,
30629 gets @libc_extra_cflags@.
30630 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30633 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30634 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30635 * configure: Regenerated.
30636 * config.make.in (CPPUNDEFS): New substituted variable.
30637 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30638 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30639 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30641 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30643 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30644 (mq_attr): Use __syscall_slong_t.
30646 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30648 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30649 Check __x86_64__ instead of __WORDSIZE.
30650 (_STAT_VER_LINUX): Likewise.
30651 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30652 __syscall_ulong_t and __syscall_slong_t.
30653 (stat64): Likewise.
30655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30657 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30661 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30665 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30668 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30669 include <bits/wordsize.h>. Check __x86_64__ instead of
30671 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30673 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30676 include <bits/wordsize.h>. Check __x86_64__ instead of
30678 (user_regs_struct): Use "__extension__ unsigned long long"
30679 instead of "unsigned long" if __x86_64__ is defined.
30680 (user): Likewise. Pad after pointer field if __ILP32__ is
30683 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30685 * configure.in (makeinfo): Require version 4.5 or later. Allow
30687 * configure: Regenerated.
30688 * manual/install.texi (texinfo): Increase version requirement to
30690 * INSTALL: Regenerated.
30692 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30694 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30696 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30698 * sysdeps/x86_64/x32/ffs.c: New file.
30700 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30702 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30703 defined. Use __syscall_ulong_t.
30704 (shminfo): Use __syscall_ulong_t.
30705 (shm_info): Likewise.
30707 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30710 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30712 (msgqnum_t): Use __syscall_ulong_t.
30713 (msglen_t): Likewise.
30714 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30717 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30718 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30720 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30722 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30723 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30725 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30728 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30729 include <bits/wordsize.h>. Check __x86_64__ instead of
30732 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30733 "unsigned long long int" if __x86_64__ is defined.
30734 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30736 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30737 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30738 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30740 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30742 (GET_PC): Cast to uintptr_t first.
30743 (GET_FRAME): Likewise.
30744 (GET_STACK): Likewise.
30746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30747 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30749 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30751 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30752 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30753 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30754 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30756 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30758 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30759 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30760 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30761 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30764 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30766 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30767 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30768 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30769 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30770 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30772 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30773 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30774 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30776 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30778 * Makerules (+depfiles): Also collect depfiles from .oS in
30780 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30781 .oS, $(libnldbl-routines)).
30783 * Makerules (native-compile-mkdep-flags): Define.
30784 * sunrpc/Makefile (extra-objs): Add $(addprefix
30785 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30786 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30787 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30788 calling $(make-target-directory).
30790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30792 * bits/types.h (__snseconds_t): Removed.
30793 * time/time.h (struct timespec): Replace __snseconds_t with
30795 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30796 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30799 (__SNSECONDS_T_TYPE): Likewise.
30800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30801 (__SNSECONDS_T_TYPE): Likewise.
30802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30803 (__SNSECONDS_T_TYPE): Likewise.
30805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30807 * sysdeps/mach/hurd/bits/typesizes.h
30808 (__SYSCALL_SLONG_TYPE): New macro.
30809 (__SYSCALL_ULONG_TYPE): Likewise.
30811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30813 * bits/types.h (__syscall_slong_t): New type.
30814 (__syscall_ulong_t): Likewise.
30816 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30817 (__SYSCALL_ULONG_TYPE): Likewise.
30818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30819 (__SYSCALL_SLONG_TYPE): Likewise.
30820 (__SYSCALL_ULONG_TYPE): Likewise.
30821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30822 (__SYSCALL_SLONG_TYPE): Likewise.
30823 (__SYSCALL_ULONG_TYPE): Likewise.
30824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30825 (__SYSCALL_SLONG_TYPE): Likewise.
30826 (__SYSCALL_ULONG_TYPE): Likewise.
30828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30830 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30831 Add sigaltstack-offsets.sym.
30832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30833 <sigaltstack-offsets.h>.
30834 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30835 longjmp_msg pointer.
30836 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30837 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30839 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30841 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30843 * elf/stackguard-macros.h: Remove file.
30844 * sysdeps/generic/stackguard-macros.h: New file.
30845 * sysdeps/i386/stackguard-macros.h: Likewise.
30846 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30847 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30848 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30849 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30850 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30851 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30852 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30853 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30854 <elf/stackguard-macros.h>.
30857 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30858 __aligned__ in attribute.
30859 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30860 (gregset_t): Likewise.
30862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30864 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30865 * sysdeps/x86_64/64/Implies-after: Here. New file.
30866 * sysdeps/x86_64/x32/Implies-after: New file.
30868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30870 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30871 and access return value for _dl_profile_fixup. Use R10_LP to
30874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30876 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30880 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30881 * sysdeps/x86_64/x32/sysdep.h: New file.
30883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30885 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30886 * sysdeps/x86_64/setjmp.S: Likewise.
30888 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30891 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30892 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30893 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30894 remove unused global constant.
30896 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30898 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30899 include of <not-cancel.h>.
30901 2012-05-15 Roland McGrath <roland@hack.frob.com>
30903 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30905 2012-05-15 Jeff Law <law@redhat.com>
30906 Andreas Jaeger <aj@suse.de>
30909 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30911 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30912 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30913 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30914 code changing __hst_map_handle.map.
30916 2012-05-15 Roland McGrath <roland@hack.frob.com>
30918 * configure.in (sysnames): Look for Implies-before and Implies-after
30920 * configure: Regenerated.
30922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30924 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30925 8-byte data alignment with LP_SIZE alignment.
30927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30929 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30934 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30938 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30939 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30940 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30942 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30946 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30947 (stackinfo_sub_sp): Likewise.
30949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30951 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30966 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30970 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30971 into R11_LP and load __x86_64_shared_cache_size_half into
30974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30976 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30979 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30988 powerpc32/power7/fpu/s_logb.c via #include.
30989 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30990 powerpc32/power7/fpu/s_logbf.c via #include.
30991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30992 powerpc32/power7/fpu/s_logbl.c via #include.
30994 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30996 * README.libm: Remove file.
30998 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31000 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31001 count for x32. Use R*_LP and omit operand-size suffix.
31003 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31005 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31006 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31007 * sysdeps/x86_64/x32/shlib-versions: New file.
31009 2012-05-14 Roland McGrath <roland@hack.frob.com>
31011 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31012 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31013 Use _dl_fatal_printf instead.
31015 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31017 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31018 set if not set by the user. Do not allow for being unset.
31019 * sysdeps/unix/sysv/linux/configure: Regenerated.
31021 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31023 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31024 the `q' suffix from lea and replace .quad with ASM_ADDR.
31026 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31029 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31031 (PTR_DEMANGLE): Likewise.
31033 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31035 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31037 (ASM_ADDR): Likewise.
31038 (RAX_LP): Likewise.
31039 (RBP_LP): Likewise.
31040 (RBX_LP): Likewise.
31041 (RCX_LP): Likewise.
31042 (RDI_LP): Likewise.
31043 (RSI_LP): Likewise.
31044 (RSP_LP): Likewise.
31047 (R10_LP): Likewise.
31048 (R10_LP): Likewise.
31049 (R11_LP): Likewise.
31050 (R12_LP): Likewise.
31051 (R13_LP): Likewise.
31052 (R14_LP): Likewise.
31053 (R15_LP): Likewise.
31055 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31057 * sysdeps/x86_64/x32/dl-machine.h: New file.
31059 2012-05-14 Andreas Jaeger <aj@suse.de>
31061 * manual/Makefile (subdir): Remove export of subdir.
31062 (all): Remove target.
31063 (.PHONY): Remove all from list.
31064 (mkinstalldirs): Remove.
31065 (.PHONY): Remove installdirs from list.
31066 ($(inst_infodir)/libc.info): Use make-target-directory.
31067 (installdirs): Remove.
31068 (subdir_%): Remove.
31069 (glibc-targets): Remove.
31072 ($(objpfx)stubs ../po/manual.pot): Remove.
31073 ($(objpfx)stamp%): Remove.
31074 (make-target-directory): Remove.
31075 (subdir_install): Remove.
31076 (routines): Remove.
31083 * manual/.gitignore: Remove, it's not needed anymore.
31084 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31086 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31088 (texis): Renamed to $(objpfx)texis.
31089 (texis-path): New, contains path to generated files.
31090 (chapters.%): Use texis-path for complete path, add extra argument
31092 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31093 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31094 (summary,texi, stamp-summary): Use complete path of
31095 files. Generate files in build dir.
31096 (dir-add.texi): Build in build dir.
31097 (libm-err.texi,stamp-libm-err): Likewise.
31098 (version.texi, stamp-version): Likewise.
31099 (.%c.texi): Likewise.
31100 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31101 (mostlyclean): Remove target.
31102 (realclean): Remove target.
31103 (generated): Add new variable with contents from mostlyclean and
31104 realclean, remove entries duplicated in common-mostlyclean, add
31105 stamp-libm-err and stamp-version.
31106 (generated-dirs): Add libc directory.
31107 ($(inst_infodir)/libc.info): Install files from build dir.
31109 * manual/install.texi (Configuring and compiling): Adjust since
31110 the info files are not part of the tar ball anymore.
31112 2012-05-14 Andreas Jaeger <aj@suse.de>
31114 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31117 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31121 to 2.2.0 where earlier.
31122 * sysdeps/unix/sysv/linux/configure: Regenerated.
31123 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31124 Remove conditional code.
31125 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31126 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31127 Remove conditional code.
31128 [!__NR_lchown]: Likewise.
31129 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31130 [__NR_lchown]: Likewise.
31131 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31132 comment referencing __ASSUME_LCHOWN_SYSCALL.
31133 * sysdeps/unix/sysv/linux/i386/sigaction.c
31134 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31135 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31136 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31137 Remove conditional code.
31138 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31139 (__protocol_available): Remove #if 0 code.
31140 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31142 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31143 * sysdeps/unix/sysv/linux/kernel-features.h
31144 (__ASSUME_GETCWD_SYSCALL): Don't define.
31145 (__ASSUME_REALTIME_SIGNALS): Likewise.
31146 (__ASSUME_PREAD_SYSCALL): Likewise.
31147 (__ASSUME_PWRITE_SYSCALL): Likewise.
31148 (__ASSUME_POLL_SYSCALL): Likewise.
31149 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31150 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31152 (__ASSUME_SIOCGIFNAME): Don't define.
31153 (__ASSUME_MSG_NOSIGNAL): Likewise.
31154 (__ASSUME_SENDFILE): Define unconditionally.
31155 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31156 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31158 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31159 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31160 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31161 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31162 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31163 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31164 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31166 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31169 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31175 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31178 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31181 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31184 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31187 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31189 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31190 Remove conditional code.
31191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31192 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31193 Remove conditional code.
31194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31195 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31196 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31197 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31198 Remove conditional code.
31199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31200 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31201 Remove conditional code.
31202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31203 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31204 Remove conditional code.
31205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31206 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31207 Remove conditional code.
31208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31209 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31210 Remove conditional code.
31211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31212 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31213 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31215 * sysdeps/unix/sysv/linux/sigaction.c
31216 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31217 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31218 * sysdeps/unix/sysv/linux/sigpending.c
31219 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31220 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31221 * sysdeps/unix/sysv/linux/sigprocmask.c
31222 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31223 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31224 * sysdeps/unix/sysv/linux/sigsuspend.c
31225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31228 (__libc_missing_rt_sigs): Remove.
31229 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31230 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31231 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31232 Remove conditional code.
31233 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31234 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31236 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31237 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31238 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31239 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31241 2012-05-14 Andreas Jaeger <aj@suse.de>
31243 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31244 it's not used in glibc.
31245 (__coshm1): Likewise.
31246 (__acosh1p): Likewise.
31249 * manual/string.texi (Copying and Concatenation): Add missing
31250 variable in concat example.
31251 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31253 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31256 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31257 __builtin_clzl with __builtin_clzll.
31259 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31262 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31265 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31267 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31268 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31269 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31270 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31272 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31274 * NEWS: Update ia64 info.
31276 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31278 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31281 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31283 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31284 * sysdeps/unix/syscalls.list (dup3): Likewise.
31285 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31286 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31288 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31290 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31291 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31293 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31295 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31297 (TLS_IE): Use mov/add instead of movq/addq to load thread
31299 (TLS_GD_PREFIX): New.
31302 2012-05-11 David S. Miller <davem@davemloft.net>
31304 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31305 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31306 (_FPU_SETCW): Likewise.
31308 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31310 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31311 is 32-byte aligned.
31313 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31316 * iconvdata/gb18030.c: Update tables.
31317 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31318 characters specially.
31319 (BODY for TO_LOOP): Add encoding of missing ranges.
31321 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31324 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31325 * sysdeps/mach/hurd/dup3.c: Likewise.
31326 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31327 * sysdeps/powerpc/memmove.c:: Likewise.
31329 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31332 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31334 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31336 * elf/elf.h (R_X86_64_RELATIVE64): New.
31337 (R_X86_64_NUM): Updated.
31338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31339 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31340 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31341 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31342 tst-quad1pie tst-quad2pie
31343 (modules-names): Add tst-quadmod1 tst-quadmod2.
31344 ($(objpfx)tst-quad1): New dependency.
31345 ($(objpfx)tst-quad2): Likewise.
31346 ($(objpfx)tst-quad1pie): Likewise.
31347 ($(objpfx)tst-quad2pie): Likewise.
31348 * sysdeps/x86_64/tst-quad1.c: New file.
31349 * sysdeps/x86_64/tst-quad1pie.c: New file.
31350 * sysdeps/x86_64/tst-quad2.c: Likewise.
31351 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31352 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31353 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31354 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31355 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31357 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31359 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31360 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31361 * streams/stropts.h (t_scalar_t): Define type.
31363 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31364 (_PATH_PRESERVE): Set to "/var/lib".
31365 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31367 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31370 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31371 if __dir_mkfile succeeded.
31373 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31374 checking for _hurd_dtablesize. Unlock it right after having
31375 finished _hurd_dtable allocation.
31377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31379 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31380 * sysdeps/mach/hurd/configure: Regenerated.
31381 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31382 special-casing to...
31383 * sysdeps/gnu/configure.in: ... this new file.
31384 * sysdeps/unix/sysv/linux/configure: Regenerated.
31385 * sysdeps/gnu/configure: New generated file.
31387 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31388 for Linux: use nsec instead of usec, as well as:
31389 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31390 members of type struct timespec.
31391 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31393 (struct stat64): Likewise.
31394 (_STATBUF_ST_NSEC): New macro.
31395 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31397 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31398 __strtoul_internal rather than strtoul.
31400 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31402 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31405 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31407 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31408 which preserves existing values.
31409 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31411 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31413 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31414 TIMEOUT values. Return EINVAL for NFDS values either negative or
31415 greater than FD_SETSIZE.
31417 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31419 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31420 allocated, call __vm_protect to finish enabling the existing space, and
31421 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31422 allocate the remainder.
31424 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31426 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31427 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31431 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31432 sysdeps/mach/hurd/readlink.c.
31434 * posix/tst-sysconf.c (posix_options): Only use
31435 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31436 _POSIX_SYNCHRONIZED_IO when they are defined
31437 * sysdeps/mach/hurd/bits/posix_opt.h:
31438 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31439 (_XOPEN_REALTIME): Undefine macro.
31440 (_XOPEN_REALTIME_THREADS): Undefine macro.
31441 (_XOPEN_SHM): Undefine macro.
31442 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31444 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31446 (_POSIX_ASYNC_IO): Undefine macro.
31447 (_POSIX_PRIORITIZED_IO): Undefine macro.
31448 (_POSIX_SPIN_LOCKS): Define macro to -1.
31450 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31451 SA_NODEFER, SA_RESETHAND.
31452 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31453 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31456 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31458 * elf/Makefile (pldd-modules): Define unconditionally.
31460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31462 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31466 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31467 Return ENOENT when name is empty.
31468 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31470 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31472 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31474 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31476 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31478 Fix mlock in all cases except non-readable pages.
31479 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31480 instead of VM_PROT_ALL as parameter to __vm_wire function.
31482 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31483 (__mkdir): When path is `/', just fail with EEXIST.
31484 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31486 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31488 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31489 <sys/uio.h> (for writev).
31490 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31491 and <sys/param.h> (for MIN).
31493 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31495 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31496 REQUESTED_TIME. Properly set the remaining time and return EINTR
31499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31501 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31502 Depend on against $(link-rpcuserlibs).
31504 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31506 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31507 (__libc_stack_end): Do not use attribute_relro.
31508 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31509 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31510 to libthread-provided value.
31511 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31514 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31517 * bits/libc-lock.h (__libc_once_get): New macro.
31518 * sysdeps/mach/bits/libc-lock.h: Likewise.
31519 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31521 instead of using implementation details.
31523 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31524 * libio/freopen.c: Likewise.
31525 * libio/freopen64.c: Likewise.
31526 * misc/syslog.c: Likewise.
31527 * nscd/connections.c: Likewise.
31528 * nscd/netgroupcache.c: Likewise.
31529 * sysdeps/posix/getcwd.c: Likewise.
31531 2012-05-10 Roland McGrath <roland@hack.frob.com>
31533 * math/w_ilogbf.c: Add #include <limits.h>.
31535 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31537 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31538 path instead of returning without unlocking.
31540 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31541 immediate-write ioctls.
31542 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31546 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31547 __builtin_frame_address instead of making assumptions about the
31548 location of the return address relative to DATA. Force early load of
31549 the return address.
31550 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31551 __builtin_frame_address.
31554 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31555 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31556 implement dup3 and do some further code clean-ups.
31557 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31558 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31560 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31562 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31564 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31565 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31566 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31567 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31568 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31571 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31572 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31573 when handler == SIG_ERR, not when handler != SIG_ERR.
31575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31577 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31578 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31581 accept4 for GNU Hurd.
31582 * include/sys/socket.h (__libc_accept4): New prototype.
31583 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31584 to implement __libc_accept4.
31585 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31587 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31589 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31590 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31591 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31592 signal-defines.sym.
31594 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31596 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31600 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31601 assertion on O_CLOEXEC flag.
31602 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31603 * hurd/intern-fd.c: Likewise.
31604 * hurd/port2fd.c: Likewise.
31606 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31609 * bits/in.h (IPV6_PKTINFO): Define new macro.
31610 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31612 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31617 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31619 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31620 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31621 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31622 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31623 * math/libm-test.inc (logb_test) : Additional logb tests.
31625 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31626 Andreas Jaeger <aj@suse.de>
31628 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31629 * configure: Regenerated.
31630 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31631 * config.make.in (link-obsolete-rpc): New substituted variable.
31632 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31633 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31634 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31635 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31636 so that libc.a contains the symbols.
31637 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31638 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31639 * sunrpc/auth_none.c: Likewise.
31640 * sunrpc/auth_unix.c: Likewise.
31641 * sunrpc/authdes_prot.c: Likewise.
31642 * sunrpc/authuxprot.c: Likewise.
31643 * sunrpc/clnt_gen.c: Likewise.
31644 * sunrpc/clnt_perr.c: Likewise.
31645 * sunrpc/clnt_raw.c: Likewise.
31646 * sunrpc/clnt_simp.c: Likewise.
31647 * sunrpc/clnt_tcp.c: Likewise.
31648 * sunrpc/clnt_udp.c: Likewise.
31649 * sunrpc/clnt_unix.c: Likewise.
31650 * sunrpc/des_crypt.c: Likewise.
31651 * sunrpc/des_soft.c: Likewise.
31652 * sunrpc/get_myaddr.c: Likewise.
31653 * sunrpc/key_call.c: Likewise.
31654 * sunrpc/key_prot.c: Likewise.
31655 * sunrpc/netname.c: Likewise.
31656 * sunrpc/pm_getmaps.c: Likewise.
31657 * sunrpc/pm_getport.c: Likewise.
31658 * sunrpc/pmap_clnt.c: Likewise.
31659 * sunrpc/pmap_prot.c: Likewise.
31660 * sunrpc/pmap_prot2.c: Likewise.
31661 * sunrpc/pmap_rmt.c: Likewise.
31662 * sunrpc/publickey.c: Likewise.
31663 * sunrpc/rpc_cmsg.c: Likewise.
31664 * sunrpc/rpc_common.c: Likewise.
31665 * sunrpc/rpc_dtable.c: Likewise.
31666 * sunrpc/rpc_prot.c: Likewise.
31667 * sunrpc/rpc_thread.c: Likewise.
31668 * sunrpc/rtime.c: Likewise.
31669 * sunrpc/svc.c: Likewise.
31670 * sunrpc/svc_auth.c: Likewise.
31671 * sunrpc/svc_raw.c: Likewise.
31672 * sunrpc/svc_run.c: Likewise.
31673 * sunrpc/svc_tcp.c: Likewise.
31674 * sunrpc/svc_udp.c: Likewise.
31675 * sunrpc/svc_unix.c: Likewise.
31676 * sunrpc/svcauth_des.c: Likewise.
31677 * sunrpc/xcrypt.c: Likewise.
31678 * sunrpc/xdr.c: Likewise.
31679 * sunrpc/xdr_array.c: Likewise.
31680 * sunrpc/xdr_float.c: Likewise.
31681 * sunrpc/xdr_intXX_t.c: Likewise.
31682 * sunrpc/xdr_mem.c: Likewise.
31683 * sunrpc/xdr_rec.c: Likewise.
31684 * sunrpc/xdr_ref.c: Likewise.
31685 * sunrpc/xdr_sizeof.c: Likewise.
31686 * sunrpc/xdr_stdio.c: Likewise.
31688 2012-05-10 Roland McGrath <roland@hack.frob.com>
31690 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31691 change. Update copyright years.
31693 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31695 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31697 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31698 Joseph Myers <joseph@codesourcery.com>
31699 Paul Pluzhnikov <ppluzhnikov@google.com>
31702 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31704 [cross-compiling] (extra-libs): Likewise.
31705 [cross-compiling] (extra-libs-others): Likewise.
31706 [cross-compiling] (librpcsvc-routines): Likewise.
31707 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31708 [cross-compiling] (omit-deps): Likewise.
31709 (sunrpc-CPPFLAGS): New variable.
31710 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31711 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31712 (cross-rpcgen-objs): New variable.
31713 (extra-objs): Append $(cross-rpcgen-objs).
31714 ($(cross-rpcgen-objs)): New rule.
31715 ($(objpfx)cross-rpcgen): Likewise.
31716 (rpcgen-cmd): Define to use $(built-program-file). Expand
31718 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31719 ($(objpfx)x%.stmp): Likewise.
31720 * sunrpc/proto.h [IS_IN_build] (_): Define.
31721 [IS_IN_build] (_libc_intl_domainname): Likewise.
31723 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31725 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31726 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31727 and R_X86_64_TPOFF64.
31729 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31731 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31732 sysdeps/unix/sysv/syscalls.list.
31735 * sysdeps/unix/sysv/syscalls.list: Remove file.
31737 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31740 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31741 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31742 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31743 (__LC_IDENTIFICATION): Make these macros useful in #if
31744 expressions, as required by C99.
31746 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31748 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31749 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31752 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31754 * stdlib/longlong.h: Updated from GCC.
31756 2012-05-09 Andreas Jaeger <aj@suse.de>
31758 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31759 default is first entry.
31760 (run_mode): Set type.
31761 (main): Remove informal message about syslog.
31762 (options): Fix typo.
31765 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31768 (llrintf): Likewise.
31769 (llrint): Likewise.
31772 (nearbyint): Likewise.
31773 (nearbyintf): Likewise.
31775 2012-05-09 Andreas Jaeger <aj@suse.de>
31776 Pedro Alves <palves@redhat.com>
31778 * nscd/nscd.c (run_mode): Use enum.
31779 (main): Cleanup coding style issue.
31781 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31782 Andreas Jaeger <aj@suse.de>
31784 * nscd/nscd.c (go_background): Replaced with...
31785 (run_mode): ... this.
31786 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31787 (options): Add -F --foreground.
31788 (main): Implement it.
31789 (parse_opt): Parse it.
31791 2012-05-09 Andreas Jaeger <aj@suse.de>
31794 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31795 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31796 -Wconversion warning.
31797 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31800 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31802 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31804 (LC_ALL): Use macro-int-constant.
31805 (LC_COLLATE): Likewise.
31806 (LC_CTYPE): Likewise.
31807 (LC_MESSAGES): Likewise.
31808 (LC_MONETARY): Likewise.
31809 (LC_NUMERIC): Likewise.
31810 (LC_TIME): Likewise.
31811 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31812 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31813 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31814 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31816 [C99-based standards] (float_t): Expect type.
31817 [C99-based standards] (double_t): Expect type.
31818 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31820 [C99-based standards] (HUGE_VALL): Likewise.
31821 [C99-based standards] (INFINITY): Likewise.
31822 [C99-based standards] (NAN): Likewise.
31823 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31824 [C99-based standards] (FP_NAN): Likewise.
31825 [C99-based standards] (FP_NORMAL): Likewise.
31826 [C99-based standards] (FP_SUBNORMAL): Likewise.
31827 [C99-based standards] (FP_ZERO): Likewise.
31828 [C99-based standards] (FP_FAST_FMA): Use
31829 optional-macro-int-constant. Specify type. Require == 1.
31830 [C99-based standards] (FP_FAST_FMAF): Likewise.
31831 [C99-based standards] (FP_FAST_FMAL): Likewise.
31832 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31833 [C99-based standards] (FP_ILOGBNAN): Likewise.
31834 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31836 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31837 [C99-based standards] (math_errhandling): Specify type.
31838 [ISO99 || ISO11] (signgam): Do not allow.
31839 [non-C99-based standards] (copysignf): Do not allow.
31840 [non-C99-based standards] (exp2f): Likewise.
31841 [non-C99-based standards] (log2f): Likewise.
31842 [non-C99-based standards] (modff): Allow.
31843 [non-C99-based standards] (erff): Do not allow.
31844 [non-C99-based standards] (erfcf): Likewise.
31845 [non-C99-based standards] (gammaf): Likewise.
31846 [non-C99-based standards] (hypotf): Likewise.
31847 [non-C99-based standards] (j0f): Likewise.
31848 [non-C99-based standards] (j1f): Likewise.
31849 [non-C99-based standards] (jnf): Likewise.
31850 [non-C99-based standards] (lgammaf): Likewise.
31851 [non-C99-based standards] (tgammaf): Likewise.
31852 [non-C99-based standards] (y0f): Likewise.
31853 [non-C99-based standards] (y1f): Likewise.
31854 [non-C99-based standards] (ynf): Likewise.
31855 [non-C99-based standards] (isnanf): Likewise.
31856 [non-C99-based standards] (acoshf): Likewise.
31857 [non-C99-based standards] (asinhf): Likewise.
31858 [non-C99-based standards] (atanhf): Likewise.
31859 [non-C99-based standards] (cbrtf): Likewise.
31860 [non-C99-based standards] (expm1f): Likewise.
31861 [non-C99-based standards] (ilogbf): Likewise.
31862 [non-C99-based standards] (log1pf): Likewise.
31863 [non-C99-based standards] (logbf): Likewise.
31864 [non-C99-based standards] (nextafterf): Likewise.
31865 [non-C99-based standards] (remainderf): Likewise.
31866 [non-C99-based standards] (rintf): Likewise.
31867 [non-C99-based standards] (scalbf): Likewise.
31868 [non-C99-based standards] (copysignl): Likewise.
31869 [non-C99-based standards] (exp2l): Likewise.
31870 [non-C99-based standards] (log2l): Likewise.
31871 [non-C99-based standards] (modfl): Allow.
31872 [non-C99-based standards] (erfl): Do not allow.
31873 [non-C99-based standards] (erfcl): Likewise.
31874 [non-C99-based standards] (gammal): Likewise.
31875 [non-C99-based standards] (hypotl): Likewise.
31876 [non-C99-based standards] (j0l): Likewise.
31877 [non-C99-based standards] (j1l): Likewise.
31878 [non-C99-based standards] (jnl): Likewise.
31879 [non-C99-based standards] (lgammal): Likewise.
31880 [non-C99-based standards] (tgammal): Likewise.
31881 [non-C99-based standards] (y0l): Likewise.
31882 [non-C99-based standards] (y1l): Likewise.
31883 [non-C99-based standards] (ynl): Likewise.
31884 [non-C99-based standards] (isnanl): Likewise.
31885 [non-C99-based standards] (acoshl): Likewise.
31886 [non-C99-based standards] (asinhl): Likewise.
31887 [non-C99-based standards] (atanhl): Likewise.
31888 [non-C99-based standards] (cbrtl): Likewise.
31889 [non-C99-based standards] (expm1l): Likewise.
31890 [non-C99-based standards] (ilogbl): Likewise.
31891 [non-C99-based standards] (log1pl): Likewise.
31892 [non-C99-based standards] (logbl): Likewise.
31893 [non-C99-based standards] (nextafterl): Likewise.
31894 [non-C99-based standards] (remainderl): Likewise.
31895 [non-C99-based standards] (rintl): Likewise.
31896 [non-C99-based standards] (scalbl): Likewise.
31897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31898 [non-C99-based standards] (FP_*): Do not allow.
31899 [C99-based standards] (FP_*): Change to
31900 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31901 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31903 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31904 (SIG_ERR): Likewise.
31905 [X/Open-based standards] (SIG_HOLD): Likewise.
31906 (SIG_IGN): Likewise.
31907 (SIGABRT): Use macro-int-constant. Specify type. Require
31909 (SIGFPE): Likewise.
31910 (SIGILL): Likewise.
31911 (SIGINT): Likewise.
31912 (SIGSEGV): Likewise.
31913 (SIGTER): Likewise.
31914 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31915 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31916 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31917 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31918 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31919 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31920 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31921 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31922 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31923 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31924 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31925 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31926 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31927 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31928 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31929 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31930 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31931 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31932 [X/Open-based standards] (SIGTRAP): Likewise.
31933 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31934 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31935 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31936 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31937 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31940 2012-05-08 Ian Wienand <ianw@vmware.com>
31943 * time/tzset.c (__tzset_parse_tz): Update default rules for
31944 daylight time changes in the Energy Policy Act of 2005.
31946 2012-05-09 Andreas Jaeger <aj@suse.de>
31949 * elf/ldconfig.c (parse_conf): Change string to make clear that
31950 ldconfig only issued a warning if ld.so.conf does not exist.
31952 2012-05-08 David S. Miller <davem@davemloft.net>
31954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31955 movxtod instead of popping the value on the stack.
31957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31959 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31961 * config.h.in: Add HAVE_ARM_PCS_VFP.
31963 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31966 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31967 checking but the checks are disabled for any reason.
31969 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31971 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31972 and ELF64_R_TYPE with ELFW(R_TYPE).
31974 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31976 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31977 (ulimit): Likewise.
31979 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31980 (settimeofday): Likewise.
31982 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31984 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31985 a struct th_u2 inside the union, and move tu_block/tu_code into
31986 a new th_u3 union of tu_block/tu_code inside of that. Move
31987 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31988 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31989 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31990 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31991 (th_stuff): Change to th_u1.tu_stuff.
31993 (th_msg): Change to th_u1.th_u2.tu_data.
31995 2012-05-07 David S. Miller <davem@davemloft.net>
31997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32000 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32001 (SETUP_PIC_REG): Use it.
32002 (SETUP_PIC_REG_LEAF): Use it.
32004 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32008 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32010 (EXPL_FINITE): Likewise.
32011 (FLDLOG): Likewise.
32012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32013 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32015 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32017 (EXPL_FINITE): Likewise.
32018 (FLDLOG): Likewise.
32019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32020 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32022 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32023 test of -max_value argument for long double.
32024 * sysdeps/i386/fpu/libm-test-ulps: Update.
32025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32027 2012-05-06 David S. Miller <davem@davemloft.net>
32029 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32030 quad soft-float symbols whose references which are compiler
32032 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32034 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32040 (EXPL_FINITE): Likewise.
32041 (FLDLOG): Likewise.
32044 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32045 Adjust comments for base varying.
32046 (__expl_finite): Change alias to EXPL_FINITE.
32047 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32049 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32050 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32051 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32052 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32053 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32055 (EXPL_FINITE): Likewise.
32056 (FLDLOG): Likewise.
32059 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32060 Adjust comments for base varying.
32061 (__expl_finite): Change alias to EXPL_FINITE.
32062 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32067 * math/libm-test.inc (check_float_internal): Correct ulp
32068 calculation for subnormal expected results.
32070 2012-05-06 Andreas Jaeger <aj@suse.de>
32072 * Makeconfig (+math-flags): New, set to -frounding-math.
32073 (+cflags): Add +math-flags so that all of glibc gets compiled with
32076 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32078 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32080 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32086 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32087 (__ieee754_expl): Allow for and saturate large arguments.
32088 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32089 (u_threshold): Likewise.
32090 (__exp): Call __ieee754_exp before checking for overflow and
32092 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32093 (u_threshold): Likewise.
32094 (__expf): Call __ieee754_expf before checking for overflow and
32096 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32097 (u_threshold): Likewise.
32098 (__expl): Call __ieee754_expl before checking for overflow and
32100 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32101 (__ieee754_expl): Allow for and saturate large arguments.
32102 * math/libm-test.inc (exp_test): Add another test. Do not allow
32103 missing overflow exception on overflow.
32104 (expm1_test): Do not allow missing overflow exception on overflow.
32106 * sysdeps/i386/fpu/e_expl.c: Move to ...
32107 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32108 rather than using inline asm.
32109 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32110 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32111 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32113 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32116 (signal): Likewise.
32120 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32122 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32123 sysdeps/unix/common/syscalls.list.
32124 (fchmod): Likewise.
32125 (fchown): Likewise.
32126 (ftruncate): Likewise.
32127 (getrusage): Likewise.
32128 (gettimeofday): Likewise.
32129 (setpgid): Likewise.
32130 (setregid): Likewise.
32131 (setreuid): Likewise.
32132 (sigaction): Likewise.
32133 (truncate): Likewise.
32134 (vhangup): Likewise.
32135 * sysdeps/unix/common/syscalls.list: Remove file.
32136 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32137 * sysdeps/unix/sysv/linux/Implies: Likewise.
32139 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32141 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32143 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32147 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32150 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32153 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32156 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32159 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32162 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32165 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32169 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32173 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32176 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32180 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32184 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32186 * sysdeps/unix/common/bits/dirent.h: Remove file.
32187 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32189 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32190 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32191 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32192 * sysdeps/unix/bsd/isatty.c: Likewise.
32193 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32194 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32195 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32197 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32201 long double comparison inaccuracies.
32202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32205 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32207 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32210 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32213 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32214 nonzero digits before rounding a hex value.
32215 * stdlib/tst-strtod.c (tests): Add another test.
32217 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32219 * sysdeps/s390/fpu/libm-test-ulps: Update.
32221 2012-05-03 Andreas Jaeger <aj@suse.de>
32223 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32224 does not get optimized out.
32225 (malloc_opt_barrier): New.
32227 2012-05-03 Andreas Jaeger <aj@suse.de>
32228 Roland McGrath <roland@hack.frob.com>
32230 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32231 intermediate file deletion.
32232 (generated): Add .symlist files.
32234 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32237 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32238 Redirect under this condition.
32239 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32240 [__USE_GNU] (__dprintf_chk): Not under this condition.
32241 [__USE_GNU] (__vdprintf_chk): Likewise.
32242 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32243 under this condition.
32244 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32245 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32246 [__USE_XOPEN2K8] (vdprintf): Likewise.
32247 [__USE_GNU] (__dprintf_chk): Not under this condition.
32248 [__USE_GNU] (__vdprintf_chk): Likewise.
32249 [__USE_GNU] (dprintf): Likewise.
32250 [__USE_GNU] (vdprintf): Likewise.
32252 2012-05-03 Roland McGrath <roland@hack.frob.com>
32254 * elf/Makefile (common-generated): Set this instead of generated for
32255 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32256 $(all-built-dso)-derived lists.
32258 2012-05-03 Andreas Jaeger <aj@suse.de>
32260 * sysdeps/i386/fpu/libm-test-ulps: Update.
32263 * FAQ.in: Likewise.
32264 * scripts/gen-FAQ.pl: Likewise.
32265 * manual/install.texi (Installation): Point to online location of
32267 * Makefile (files-for-dist): Remove FAQ.
32270 2012-05-02 Allan McRae <allan@archlinux.org>
32272 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32273 (LDFLAGS-reldepmod5.so): Likewise.
32274 (LDFLAGS-reldep6mod1.so): Likewise.
32275 (LDFLAGS-reldep6mod4.so): Likewise.
32276 (LDFLAGS-reldep8mod3.so): Likewise.
32277 (LDFLAGS-unload4mod1.so): Likewise.
32278 (LDFLAGS-unload4mod2.so): Likewise.
32279 (LDFLAGS-tst-initorder): Likewise.
32280 (LDFLAGS-tst-initordera2.so): Likewise.
32281 (LDFLAGS-tst-initordera3.so): Likewise.
32282 (LDFLAGS-tst-initordera4.so): Likewise.
32283 (LDFLAGS-tst-initorderb2.so): Likewise.
32284 (LDFLAGS-noload): Likewise.
32285 (LDFLAGS-next): Likewise.
32286 (LDFLAGS-order2mod1.so): Likewise.
32287 (LDFLAGS-order2mod2.so): Likewise.
32288 (LDFLAGS-tst-initorder2): Likewise.
32289 (LDFLAGS-tst-initorder2a.so): Likewise.
32290 (LDFLAGS-tst-initorder2b.so): Likewise.
32291 (LDFLAGS-tst-initorder2c.so): Likewise.
32292 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32294 2012-05-02 David S. Miller <davem@davemloft.net>
32296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32298 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32301 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32303 2012-05-02 Andreas Jaeger <aj@suse.de>
32305 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32306 since we manipulate rounding mode.
32307 (CPPFLAGS-test-idouble.c): Likewise.
32308 (CPPFLAGS-test-ifloat.c): Likewise.
32309 (CFLAGS-test-ldouble.c): Likewise.
32310 (CFLAGS-test-double.c): Likewise.
32311 (CFLAGS-test-float.c): Likewise.
32312 (CFLAGS-test-misc.c): Likewise.
32313 (CFLAGS-test-test-fenv.c): Likewise.
32315 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32319 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32320 comparisons to determine direction to adjust input.
32322 2012-05-01 Roland McGrath <roland@hack.frob.com>
32324 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32325 output to the target.
32327 * scripts/localplt.awk: New file.
32328 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32329 (check-localplt-CFLAGS): Variable removed.
32330 ($(all-built-dso:=.jmprel)): New static pattern rule.
32331 (generated): Add those targets.
32332 (localplt-built-dso): New variable.
32333 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32335 * elf/check-localplt.c: File removed.
32337 * scripts/check-execstack.awk: New file.
32338 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32339 (check-execstack-CFLAGS): Variable removed.
32340 ($(objpfx)check-execstack.h): Target removed.
32341 ($(objpfx)execstack-default): New target.
32342 (generated): Add that instead of check-execstack.h.
32343 ($(all-built-dso:=.phdr)): New static pattern rule.
32344 (generated): Add those targets.
32345 * elf/check-execstack.c: File removed.
32347 * scripts/check-textrel.awk: New file.
32348 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32349 (check-textrel-CFLAGS): Variable removed.
32350 (all-built-dso): Use := to define.o
32351 ($(all-built-dso:=.dyn)): New static pattern rule.
32352 (generated): Add those targets.
32353 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32354 * config.make.in (READELF): New substituted variable.
32355 * elf/check-textrel.c: File removed.
32357 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32359 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32361 * conform/data/ctype.h-data [C99-based standards] (isblank):
32363 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32364 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32366 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32367 Specify type. Require positive value.
32368 (EILSEQ): Likewise.
32369 (ERANGE): Likewise.
32370 [ISO || POSIX] (EILSEQ): Do not expect.
32371 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32372 Specify type. Require positive value.
32373 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32374 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32375 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32376 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32377 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32378 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32379 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32380 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32381 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32382 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32383 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32384 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32385 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32386 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32387 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32388 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32389 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32390 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32391 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32392 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32393 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32394 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32395 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32396 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32397 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32398 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32399 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32400 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32401 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32402 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32403 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32404 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32405 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32406 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32407 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32408 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32409 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32410 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32411 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32412 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32413 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32414 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32415 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32416 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32417 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32418 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32419 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32420 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32421 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32422 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32423 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32424 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32425 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32426 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32427 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32428 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32429 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32430 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32431 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32432 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32433 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32434 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32435 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32436 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32437 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32438 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32439 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32440 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32441 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32442 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32443 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32444 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32445 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32446 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32447 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32448 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32449 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32451 (FLT_ROUNDS): Expect as macro, not constant.
32452 (FLT_MANT_DIG): Use macro-int-constant.
32453 (DBL_MANT_DIG): Likewise.
32454 (LDBL_MANT_DIG): Likewise.
32455 (FLT_DIG): Likewise.
32456 (DBL_DIG): Likewise.
32457 (LDBL_DIG): Likewise.
32458 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32459 (DBL_MIN_EXP): Likewise.
32460 (LDBL_MIN_EXP): Likewise.
32461 (FLT_MAX_EXP): Use macro-int-constant.
32462 (DBL_MAX_EXP): Likewise.
32463 (LDBL_MAX_EXP): Likewise.
32464 (FLT_MAX_10_EXP): Likewise.
32465 (DBL_MAX_10_EXP): Likewise.
32466 (LDBL_MAX_10_EXP): Likewise.
32467 (FLT_MAX): Use macro-constant.
32468 (DBL_MAX): Likewise.
32469 (LDBL_MAX): Likewise.
32470 (FLT_EPSILON): Use macro-constant. Give upper bound.
32471 (DBL_EPSILON): Likewise.
32472 (LDBL_EPSILON): Likewise.
32473 (FLT_MIN): Likewise.
32474 (DBL_MIN): Likewise.
32475 (LDBL_MIN): Likewise.
32476 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32477 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32478 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32479 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32480 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32481 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32482 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32483 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32484 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32485 [ISO11] (FLT_TRUE_MIN): Likewise.
32486 [ISO11] (LDBL_TRUE_MIN): Likewise.
32487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32488 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32489 (SCHAR_MIN): Use macro-int-constant. Specify type.
32490 (SCHAR_MAX): Likewise.
32491 (UCHAR_MAX): Likewise.
32492 (CHAR_MIN): Likewise.
32493 (CHAR_MAX): Likewise.
32494 (MB_LEN_MAX): Use macro-int-constant.
32495 (SHRT_MIN): Use macro-int-constant. Specify type.
32496 (SHRT_MAX): Likewise.
32497 (USHRT_MAX): Likewise.
32498 (INT_MAX): Likewise.
32499 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32501 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32503 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32505 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32506 bound negative. Suffix upper bound with "L".
32507 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32509 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32511 [C99-based standards] (LLONG_MAX): Likewise.
32512 [C99-based standards] (ULLONG_MAX): Likewise.
32513 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32515 [ISO11] (max_align_t): Require type.
32516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32518 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32519 from $CFLAGS, without defining away __attribute__ calls.
32520 (checknamespace): Use $CFLAGS_namespace.
32522 * conform/conformtest.pl (@keywords): Only include C99 keywords
32523 for standards based on C99 or C11.
32525 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32527 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32530 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32531 usability of symbols in #if.
32533 * conform/conformtest.pl: If macro or constant types start
32534 "promoted:", expect the symbol to be of the following type
32535 promoted by the integer promotions.
32537 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32538 in one place. Also handle "macro-constant".
32540 * conform/conformtest.pl: Only accept expected macro values with
32541 "==". Parse all "macro" lines in one place.
32542 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32544 * conform/conformtest.pl: Handle braced types on "constant" lines
32545 instead of handling "typed-constant".
32546 * conform/data/signal.h-data: Use "constant" instead of
32549 * conform/conformtest.pl: Handle "optional-" at start of lines in
32550 one place rather than duplicating several cases. Handle each
32551 format of "macro" line with initial "optional-".
32553 * conform/conformtest.pl: Only accept expected constant or
32554 optional-constant values with "==". Parse all "constant" lines in
32555 one place. Parse all "optional-constant" lines in one place.
32556 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32557 * conform/data/fmtmsg.h-data: Likewise.
32558 * conform/data/netinet/in.h-data: Likewise.
32559 * conform/data/tar.h-data: Likewise.
32560 * conform/data/limits.h-data: Use "==" form on "constant" and
32561 "optional-constant" lines.
32563 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32564 Use -std=c99 for XOPEN2K.
32565 (@knownproblems): Remove.
32566 (newtoken): Don't check %isknown.
32568 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32569 Do not expect macro.
32570 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32582 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32583 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32592 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32600 [XPG3] (acosh): Likewise.
32601 [XPG3] (asinh): Likewise.
32602 [XPG3] (atanh): Likewise.
32603 [XPG3] (cbrt): Likewise.
32604 [XPG3] (expm1): Likewise.
32605 [XPG3] (ilogb): Likewise.
32606 [XPG3] (log1p): Likewise.
32607 [XPG3] (logb): Likewise.
32608 [XPG3] (nextafter): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32611 [XPG3] (remainder): Likewise.
32612 [XPG3] (rint): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32620 [UNIX98 || XOPEN2K] (scalb): Expect.
32621 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32622 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32738 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32739 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32740 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32742 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32743 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32744 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32745 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32746 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32747 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32748 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32749 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32750 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32751 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32752 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32753 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32754 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32755 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32756 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32757 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32759 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32760 _XOPEN_SOURCE_EXTENDED for XPG4.
32762 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32764 * Makeconfig (localtime): Remove variable.
32765 (inst_localtime-file): Likewise.
32767 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32788 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32792 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32793 comparisons to determine direction to adjust input.
32794 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32795 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32796 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32798 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32800 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32805 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32807 * math/libm-test.inc (nexttoward_test): Add more tests.
32809 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32813 in version GLIBC_2.1, not GLIBC_2.0.
32814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32817 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32820 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32822 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32823 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32824 * math/libm-test.inc (acos_test): Add more tests.
32825 (asin_test): Likewise.
32826 * sysdeps/i386/fpu/libm-test-ulps: Update.
32827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32830 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32832 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32833 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32834 * math/libm-test.inc (acos_test_tonearest): New function.
32835 (acos_test_towardzero): Likewise.
32836 (acos_test_downward): Likewise.
32837 (acos_test_upward): Likewise.
32838 (asin_test_tonearest): Likewise.
32839 (asin_test_towardzero): Likewise.
32840 (asin_test_downward): Likewise.
32841 (asin_test_upward): Likewise.
32842 (main): Call the new functions.
32843 * sysdeps/i386/fpu/libm-test-ulps: Update.
32844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32848 * math/e_exp10.c: Include <float.h>.
32849 (__ieee754_exp10): Handle underflow here rather than multiplying
32850 large negative argument by M_LN10.
32851 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32853 * math/e_exp10l.c: Include <float.h>.
32854 (__ieee754_exp10l): Handle underflow here rather than multiplying
32855 large negative argument by M_LN10l.
32856 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32857 spurious overflow exception on underflow.
32859 2012-04-29 Marek Polacek <polacek@redhat.com>
32861 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32862 (__fortify_function): New macro.
32863 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32864 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32865 __extern_always_inline.
32866 * libio/bits/stdio2.h: Likewise.
32867 * libio/bits/stdio.h: Likewise.
32868 * string/string.h: Likewise.
32869 * string/bits/string3.h: Likewise.
32870 * include/stdio.h: Likewise.
32871 * stdlib/bits/stdlib.h: Likewise.
32872 * stdlib/stdlib.h: Likewise.
32873 * rt/bits/mqueue2.h: Likewise.
32874 * rt/mqueue.h: Likewise.
32875 * posix/bits/unistd.h: Likewise.
32876 * posix/unistd.h: Likewise.
32877 * io/bits/poll2.h: Likewise.
32878 * io/bits/fcntl2.h: Likewise.
32879 * io/fcntl.h: Likewise.
32880 * io/sys/poll.h: Likewise.
32881 * misc/bits/syslog.h: Likewise.
32882 * misc/bits/syslog-ldbl.h: Likewise.
32883 * misc/sys/syslog.h: Likewise.
32884 * socket/bits/socket2.h: Likewise.
32885 * socket/sys/socket.h: Likewise.
32886 * debug/tst-chk1.c: Likewise.
32887 * wcsmbs/bits/wchar2.h: Likewise.
32888 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32889 * wcsmbs/wchar.h: Likewise.
32891 2012-04-29 Andreas Jaeger <aj@suse.de>
32893 * Makerules (tests): Remove enable-check-abi protection.
32894 (check-abi-warn): Remove.
32895 (check-abi-%): Remove check-abi-warn usage.
32897 * configure.in: Remove check-abi configure option.
32898 * configure: Regenerated.
32899 * config.make.in (enable-check-abi): Remove.
32901 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32904 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32905 double functions to double *_finite functions.
32908 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32909 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32911 * stdio-common/Makefile (tests): Add tst-sprintf3.
32912 * stdio-common/tst-sprintf3.c: New file.
32914 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32915 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32917 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32919 * conform/conformtest.pl: Remove duplicate typed-constant
32922 2012-04-28 David S. Miller <davem@davemloft.net>
32924 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32925 (check-abi-%): Remove AWK script prerequisite and explicit
32927 (check-abi): Rewrite to just diff the symlist with the abilist.
32928 (config-tls, config-abi-config): Delete, no longer used.
32929 (update-abi-%): Remove AWK script and explicit abilist directory.
32930 (update-abi): Rewrite to simply compare and conditionally copy the
32931 symlist and the sysdep abilist file. Remove update-abi-config
32933 * abilist/ld.abilist: Remove.
32934 * abilist/libBrokenLocale.abilist: Remove.
32935 * abilist/libanl.abilist: Remove.
32936 * abilist/libcrypt.abilist: Remove.
32937 * abilist/libdl.abilist: Remove.
32938 * abilist/librt.abilist: Remove.
32939 * abilist/libthread_db.abilist: Remove.
32940 * abilist/libutil.abilist: Remove.
32941 * scripts/extract-abilist.awk: Remove.
32942 * scripts/merge-abilist.awk: Remove.
32943 * sysdeps/generic/libcidn.abilist: New file.
32944 * sysdeps/generic/libnss_compat.abilist: New file.
32945 * sysdeps/generic/libnss_db.abilist: New file.
32946 * sysdeps/generic/libnss_dns.abilist: New file.
32947 * sysdeps/generic/libnss_files.abilist: New file.
32948 * sysdeps/generic/libnss_hesiod.abilist: New file.
32949 * sysdeps/generic/libnss_nis.abilist: New file.
32950 * sysdeps/generic/libnss_nisplus.abilist: New file.
32951 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32952 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32953 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32956 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32957 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32958 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32959 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32960 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32961 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32962 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32963 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32965 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32966 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32967 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32968 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32970 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32971 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32972 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32973 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32974 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32975 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32977 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32978 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32979 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32981 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33084 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33085 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33086 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33089 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33090 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33091 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33092 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33093 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33094 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33095 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33096 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33097 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33149 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33151 * conform/conformtest.pl: Fix typo in handling typed-constant from
33154 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33156 * README: Cut down references to pre-2.6 Linux kernels and
33157 Linuxthreads. Update lists of configurations in libc and ports
33158 and sort alphabetically. Say "or newer" with Linux kernel version
33161 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33163 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33166 * math/libm-test.inc (logb_test_downward): New test to expose
33167 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33170 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33173 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33175 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33176 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33178 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33180 * sysdeps/unix/i386/brk.S: Remove file.
33181 * sysdeps/unix/i386/dl-brk.S: Likewise.
33182 * sysdeps/unix/i386/pipe.S: Likewise.
33183 * sysdeps/unix/i386/sigreturn.S: Likewise.
33184 * sysdeps/unix/i386/syscall.S: Likewise.
33185 * sysdeps/unix/i386/vfork.S: Likewise.
33186 * sysdeps/unix/i386/wait.S: Likewise.
33188 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33189 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33191 * configure.in (arm*-none*): Do not allow without
33192 --enable-hacker-mode.
33193 (netbsd*): Remove case setting base_os.
33194 (386bsd*): Likewise.
33195 (freebsd*): Likewise.
33198 (sunos*): Likewise.
33199 (ultrix*): Likewise.
33200 (newsos*): Likewise.
33201 (dynix*): Likewise.
33207 (minix*): Likewise.
33208 (irix4*): Likewise.
33209 (irix6*): Likewise.
33210 (solaris[2-9]*): Likewise.
33212 * configure: Regenerated.
33214 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33217 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33218 overflow or cancellation in calculating denominator.
33219 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33221 down expression to avoid unexpected rounding in newer GCCs.
33222 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33224 2012-04-26 David S. Miller <davem@davemloft.net>
33226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33227 long-double compat symbols.
33228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33242 2012-04-25 David S. Miller <davem@davemloft.net>
33244 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33245 HWCAP_* values only after the memory barriers have been defined.
33246 (atomic_full_barrier): Define.
33247 (atomic_read_barrier): Define.
33248 (atomic_write_barrier): Define.
33250 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33252 * shlib-versions: Add libgcc_s version information.
33253 * sysdeps/generic/libgcc_s.h: Remove.
33254 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33256 * sysdeps/gnu/unwind-resume.c: Likewise.
33257 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33259 2012-04-25 David S. Miller <davem@davemloft.net>
33261 * sysdeps/unix/sparc/brk.S: Delete.
33262 * sysdeps/unix/sparc/dl-brk.S: Delete.
33263 * sysdeps/unix/sparc/pipe.S: Delete.
33264 * sysdeps/unix/sparc/sysdep.S: Delete.
33265 * sysdeps/unix/sparc/sysdep.h: Delete.
33266 * sysdeps/unix/sparc/vfork.S: Delete.
33267 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33268 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33270 (ret_ERRVAL, r0, r1, MOVE): Define.
33271 (JUMPTARGET): Remove.
33272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33273 sysdeps/unix/sparc/sysdep.h
33274 (ENTRY, END): Remove.
33275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33277 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33279 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33280 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33283 * timezone/README: Update upstream location and email address for
33285 * timezone/zdump.c: Update from tzcode 2012b.
33286 * timezone/zic.c: Likewise.
33288 * configure.in (libc_cv_as_needed): Remove test.
33289 * configure: Regenerated.
33290 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33291 conditional definition.
33292 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33293 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33294 * config.make.in (have-as-needed): Remove variable.
33296 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33297 Paul Pluzhnikov <ppluzhnikov@google.com>
33299 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33302 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33304 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33305 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33306 * sysdeps/sh/strlen.S: Likewise.
33308 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33310 * sysdeps/unix/fork.S: Remove file.
33311 * sysdeps/unix/i386/fork.S: Likewise.
33312 * sysdeps/unix/sparc/fork.S: Likewise.
33314 * sysdeps/unix/system.c: Remove file.
33315 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33317 * sysdeps/unix/getegid.S: Remove file.
33318 * sysdeps/unix/geteuid.S: Likewise.
33320 2012-04-24 Roland McGrath <roland@hack.frob.com>
33322 * scripts/check-localplt.awk: New file.
33323 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33325 * scripts/data/localplt-generic.data: Add a comment.
33327 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33328 NODE when __dir_mkfile failed.
33329 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33330 Reported by Ludovic Courtès <ludo@gnu.org>.
33332 2012-04-24 Andreas Jaeger <aj@suse.de>
33334 * Makerules (common-clean): Also remove gen-as-const-headers
33337 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33339 * Makerules (native-compile): Do not change working directory for
33340 build. Use $(OUTPUT_OPTION) in command.
33341 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33343 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33346 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33347 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33348 * math/libm-test.inc (floor_test): Add more tests.
33349 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33351 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33353 * sysdeps/unix/getdents.c: Remove file.
33354 * sysdeps/unix/sysv/getdents.c: Likewise.
33355 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33357 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33358 sysdeps/unix/mman/syscalls.list.
33360 (mprotect): Likewise.
33362 (munmap): Likewise.
33363 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33364 * sysdeps/unix/mman/syscalls.list: Remove.
33365 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33367 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33368 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33369 * configure: Regenerated.
33370 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33371 $(libgcc_s_suffix).
33372 * config.make.in (libgcc_s_suffix): Remove variable.
33374 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33376 * sysdeps/unix/sysv/gethostname.c: Move to ...
33377 * sysdeps/posix/gethostname.c: ... here.
33379 * sysdeps/unix/execve.S: Remove file.
33381 * sysdeps/unix/_exit.S: Remove file.
33383 2012-04-23 Andreas Jaeger <aj@suse.de>
33386 * manual/Makefile: Remove make dist support, there's no
33387 need for a stand-alone documentation tar ball.
33388 (TEXI2DVI): Define always, it's not in Makeconfig.
33391 (edition): Removed.
33392 (glibc-doc-$(edition).tar): Removed
33396 (ETAGS): Remove, it's in Makeconfig.
33397 (move-if-change): Remove, it's in Makeconfig.
33399 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33402 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33403 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33404 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33405 (strtod_l, strtof_l, strtold_l): Remove __wur.
33406 It is not necessarily an error to ignore strtol's return value.
33407 One can reliably look at the stored endptr to decide whether
33408 the number had valid syntax.
33410 2012-04-21 Andreas Jaeger <aj@suse.de>
33413 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33415 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33417 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33418 * sysdeps/unix/sysv/Versions: Remove file.
33420 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33425 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33429 version from __vm86.
33431 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33433 * sysdeps/unix/common/lxstat.c: Remove file.
33434 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33436 * sysdeps/unix/sysv/Makefile: Remove file.
33438 * sysdeps/unix/sysv/direct.h: Remove file.
33440 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33441 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33442 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33443 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33444 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33445 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33446 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33448 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33450 * sysdeps/unix/xmknod.c: Remove file.
33451 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33453 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33455 * sysdeps/unix/sysv/i386/time.S: Remove file.
33457 * sysdeps/unix/fxstat.c: Remove file.
33458 * sysdeps/unix/xstat.c: Likewise.
33459 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33461 * sysdeps/unix/sysv/sigaction.c: Remove file.
33463 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33464 (sysdep_headers): Remove variable.
33465 [termio.h not in sysdep_headers] (generated): Likewise.
33466 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33467 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33468 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33469 * sysdeps/unix/sysv/tcflow.c: Likewise.
33470 * sysdeps/unix/sysv/tcflush.c: Likewise.
33471 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33472 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33473 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33474 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33475 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33477 * sysdeps/unix/siglist.c: Remove file.
33479 * sysdeps/unix/getppid.S: Remove file.
33481 * sysdeps/unix/mkdir.c: Remove file.
33482 * sysdeps/unix/rmdir.c: Likewise.
33484 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33486 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33488 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33489 errlist-compat value.
33491 2012-04-18 David S. Miller <davem@davemloft.net>
33493 * sysdeps/generic/memcopy.h (reg_char): Delete.
33494 * debug/strcat_chk.c: Use char, not reg_char.
33495 * debug/strcpy_chk.c: Likewise.
33496 * debug/strncat_chk.c: Likewise.
33497 * debug/strncpy_chk.c: Likewise.
33498 * string/memchr.c: Likewise.
33499 * string/memrchr.c: Likewise.
33500 * string/rawmemchr.c: Likewise.
33501 * string/strcat.c: Likewise.
33502 * string/strchr.c: Likewise.
33503 * string/strchrnul.c: Likewise.
33504 * string/strcmp.c: Likewise.
33505 * string/strcpy.c: Likewise.
33506 * string/strncat.c: Likewise.
33507 * string/strncmp.c: Likewise.
33508 * string/strncpy.c: Likewise.
33510 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33512 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33513 __builtin_memcopy is called when src and dest ranges are known to not
33516 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33518 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33519 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33520 fwd_align_merge macro call.
33521 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33522 bwd_align_merge macro call.
33523 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33525 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33528 bwd_align_merge macros.
33529 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33530 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33531 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33533 2012-04-18 David S. Miller <davem@davemloft.net>
33535 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33537 2012-04-18 Andreas Jaeger <aj@suse.de>
33540 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33541 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33542 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33544 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33545 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33548 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33549 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33550 Adjust for changed ldbl-128 files.
33552 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33553 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33554 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33556 2012-04-17 David S. Miller <davem@davemloft.net>
33558 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33560 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33562 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33563 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33564 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33565 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33566 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33567 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33569 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33572 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33573 * math/libm-test.inc: Add ilogb errno and exception tests.
33574 * math/w_ilogb.c: New file: ilogb wrapper.
33575 * math/w_ilogbf.c: New file: ilogbf wrapper.
33576 * math/w_ilogbl.c: New file: ilogbl wrapper.
33577 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33578 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33579 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33580 exception being thrown with 0.0 as argument.
33581 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33582 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33583 exception being thrown with 0.0 as argument.
33584 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33585 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33586 exception being thrown with 0.0 as argument.
33587 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33588 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33589 exception being thrown with 0.0 as argument.
33590 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33591 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33592 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33593 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33594 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33595 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33596 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33597 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33598 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33600 2012-04-17 Petr Baudis <pasky@ucw.cz>
33602 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33605 2012-04-16 Marek Polacek <polacek@redhat.com>
33607 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33609 2012-04-16 Marek Polacek <polacek@redhat.com>
33611 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33612 operands of fdivp instruction.
33614 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33616 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33617 * elf/tst-auditmod3b.c: Likewise.
33618 * elf/tst-auditmod4b.c: Likewise.
33619 * elf/tst-auditmod5b.c: Likewise.
33620 * elf/tst-auditmod6b.c: Likewise.
33621 * elf/tst-auditmod6c.c: Likewise.
33622 * elf/tst-auditmod7b.c: Likewise.
33623 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33624 * sysdeps/x86_64/preconfigure.in: Likewise.
33625 * sysdeps/x86_64/preconfigure: Regenerated.
33627 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33629 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33632 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33635 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33637 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33640 * locale/iso-639.def: Fix gl language name. Spotted by
33643 2012-04-12 Roland McGrath <roland@hack.frob.com>
33646 * libio/libio.h (__io_write_fn): Update comment.
33648 2012-04-12 Petr Baudis <pasky@ucw.cz>
33651 * stdio.texi (Hook Functions): The user provided writer function
33652 is not allowed to return -1.
33654 2012-04-11 David S. Miller <davem@davemloft.net>
33656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33658 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33660 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33661 Add a leading slash to rtkaio.
33663 2012-04-11 Jim Meyering <meyering@redhat.com>
33666 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33667 It is not necessarily an error to ignore fwrite's return
33668 value. One can reliably use ferror to test for errors after
33671 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33673 * bits/types.h (__snseconds_t): New type.
33674 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33676 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33678 (__SNSECONDS_T_TYPE): Likewise.
33679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33680 (__SNSECONDS_T_TYPE): Likewise.
33681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33682 (__SNSECONDS_T_TYPE): Likewise.
33684 2012-04-10 Andreas Jaeger <aj@suse.de>
33687 * manual/time.texi (Processor Time): Return type of times is
33688 elapsed real time since an arbitrary point in the past.
33689 (CPU Time): Move CLK_TCK from here...
33690 (Processor Time): ...to here. Correct description.
33691 * manual/conf.texi (Constants for Sysconf): Correct description of
33694 2012-04-10 David S. Miller <davem@davemloft.net>
33697 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33698 where the is a gap between DT_REL(A) and DT_JMPREL.
33700 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33702 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33703 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33704 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33706 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33708 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33709 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33710 (dl_main): Handle --inhibit-cache.
33711 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33713 * elf/dl-load.c (_dl_map_object): Use it.
33714 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33716 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33719 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33720 (__ieee754_powl): Saturate large exponents rather than testing for
33721 overflow of y*log2(x).
33722 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33723 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33727 * math/s_ctan.c: Include <float.h>.
33728 (__ctan): Avoid internal overflow or cancellation in calculating
33730 * math/s_ctanf.c: Likewise.
33731 * math/s_ctanl.c: Likewise.
33732 * math/s_ctanh.c: Likewise.
33733 * math/s_ctanhf.c: Likewise.
33734 * math/s_ctanhl.c: Likewise.
33735 * math/libm-test.inc (ctan_test): Add more tests.
33736 (ctanh_test): Likewise.
33737 * sysdeps/i386/fpu/libm-test-ulps: Update.
33738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33740 2012-04-09 Andreas Jaeger <aj@suse.de>
33743 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33744 is an optional BSD extension.
33747 * manual/stdio.texi (Opening Streams): Document additional fopen
33750 2012-04-09 Roland McGrath <roland@hack.frob.com>
33752 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33753 %eax without telling the compiler.
33755 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33758 * manual/install.texi: Use sourceware.org.
33760 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33763 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33764 (__ieee754_pow): Generate overflow and underflow using huge*huge
33765 and tiny*tiny rather than just returning constant infinity or zero
33766 for large exponents.
33767 * math/libm-test.inc (pow_test): Require overflow exceptions for
33768 applicable cases of large exponents.
33771 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33772 (__ieee754_pow): Use iterative multiplication algorithm only for
33773 integer exponents with absolute value below 1024. Check for odd
33774 integer exponents when using algorithm for real exponents.
33775 * math/libm-test.inc (pow_test): Add more tests.
33776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33778 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33781 * math/libm-test.inc (exp_test): Do not allow overflow exception
33784 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33787 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33788 instead of __kernel_standard_f.
33790 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33792 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33793 * sysdeps/x86_64/memset_chk.S: Likewise.
33795 2012-04-08 Andreas Jaeger <aj@suse.de>
33798 * manual/startup.texi (Environment Access): Describe return value
33799 for putenv and setenv.
33802 * manual/filesys.texi (Directory Entries): Add description for
33806 * manual/filesys.texi (Directory Entries): Clarify that it's file
33807 system not operating system in the description of DT_UNKNOWN.
33810 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33812 2012-04-08 Stephen Compall <s11@member.fsf.org>
33815 * manual/llio.texi (Opening and Closing Files): Add cross
33816 reference to explain mode argument.
33818 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33820 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33821 * sysdeps/x86_64/memset_chk.S: Likewise.
33823 2012-04-07 David S. Miller <davem@davemloft.net>
33825 * elf/elf.h (R_SPARC_WDISP10): Define.
33826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33829 R_SPARC_SIZE64 and R_SPARC_H34.
33831 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33833 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33834 conditions and remove no longer applicable assertion.
33836 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33838 * bits/byteswap.h: Include <features.h>.
33839 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33840 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33842 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33844 * bits/byteswap.h (__bswap_16): Removed.
33845 Include <bits/byteswap-16.h> to get __bswap_16.
33846 * sysdeps/i386/bits/byteswap.h: Likewise.
33847 * sysdeps/s390/bits/byteswap.h: Likewise.
33848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33849 * bits/byteswap-16.h: New file.
33850 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33851 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33852 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33853 * string/Makefile (headers): Add bits/byteswap-16.h.
33855 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33858 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33860 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33861 * nss/tst-nss-static.c: New.
33863 2012-04-06 Robert Millan <rmh@gnu.org>
33866 * manual/llio.texi (File Position Primitive): lseek
33867 refers to WHENCE when it really means OFFSET.
33869 2012-04-06 Andreas Jaeger <aj@suse.de>
33871 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33872 strncmp declarations.
33874 * abilist/libc.abilist: Add __poll and __ppoll.
33876 2012-04-05 David S. Miller <davem@davemloft.net>
33878 * scripts/check-local-headers.sh: Accept a host triplet in the
33879 path matched by the exclude regexp.
33881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33883 * sysdeps/powerpc/powerpc32/dl-machine.h
33884 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33885 * sysdeps/s390/s390-32/dl-machine.h
33886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33887 * sysdeps/sparc/sparc32/dl-machine.h
33888 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33889 * sysdeps/sparc/sparc64/dl-machine.h
33890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33892 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33894 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33895 undefined symbol errors.
33897 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33900 2012-04-05 Michael Matz <matz@suse.de>
33903 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33905 2012-04-05 Andreas Jaeger <aj@suse.de>
33908 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33911 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33913 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33914 which ROUND is no valid rounding mode.
33916 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33918 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33920 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33922 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33924 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33925 an exception using FPU order intentionally.
33927 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33929 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33930 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33931 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33932 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33934 2012-04-05 Simon Josefsson <simon@josefsson.org>
33937 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33938 EINVAL when BUFLEN is too smal.
33940 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33943 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33944 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33946 2012-04-03 Andreas Jaeger <aj@suse.de>
33949 * manual/setjmp.texi (System V contexts): Fix sentence.
33952 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33953 New macro for this case.
33954 [!__GNUC__] (__bswap_64): New inline function for this case.
33955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33956 * bits/byteswap.h: Likewise.
33957 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33958 ull, guard with __GLIBC_HAVE_LONG_LONG.
33960 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33961 __GLIBC_HAVE_LONG_LONG.
33963 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33964 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33966 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33969 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33970 inptr and inend, rather than using last_ch.
33972 2012-04-02 David S. Miller <davem@davemloft.net>
33974 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33975 * stdio-common/printf-parse.h (read_int): Change return type to
33976 'int', return -1 on INT_MAX overflow.
33977 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33978 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33979 overflows INT_MAX. Check for overflow of in-format-string precision
33980 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33981 SIZE_MAX not INT_MAX for integer overflow test.
33982 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33983 skip the construct in the format string but do not record anything.
33984 * stdio-common/bug22.c: Adjust to test both width/prevision
33985 INT_MAX overflow as well as total length INT_MAX overflow. Check
33986 explicitly for proper errno values.
33988 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33990 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33992 * string/test-strcmp.c [! WIDE]: Likewise.
33993 * time/tst-mktime2.c: Likewise for INT_MAX.
33994 * string/test-string.h: #include <sys/param.h> for MIN.
33996 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33997 * sysdeps/i386/init-first.c (init): Likewise.
33998 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33999 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34000 * sysdeps/sh/init-first.c (init): Likewise.
34002 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34004 * po/ru.po: Update from translation team.
34005 * po/vi.po: Likewise.
34007 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34009 * resolv/nss_dns/dns-host.c: Merge copyright years.
34011 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34014 Optimize memcpy with prefetch if
34015 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34016 src, dst pointers have unequal 16 byte alignments.
34018 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34021 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34022 from a CNAME entry and return the minimum ttl for the query.
34023 (gaih_getanswer_slice): Likewise.
34025 2012-03-30 Jeff Law <law@redhat.com>
34027 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34029 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34030 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34032 * resolv/nss_dns/dns-host.c: Update copyright year.
34034 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34036 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34037 requests to save a system call. Fix check that all bytes are sent.
34039 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34040 comments for sendmmsg.
34042 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34045 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34046 with only 1 character between 0x0041 and 0x01b0.
34047 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34048 * wcsmbs/tst-mbsnrtowcs.c: New file.
34050 2012-03-29 David S. Miller <davem@davemloft.net>
34052 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34053 small copies by hand.
34055 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34058 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34059 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34062 2012-03-28 David S. Miller <davem@davemloft.net>
34064 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34065 that branches into memcpy.
34066 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34067 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34068 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34069 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34072 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34073 implementation too.
34074 * sysdeps/sparc/mempcpy.S: New file.
34076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34077 the IFUNC routine in the libc case.
34078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34080 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34081 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34082 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34083 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34084 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34085 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34086 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34087 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34089 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34090 loop to 256 bytes instead of 64 bytes and fix test signedness.
34092 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34093 * sysdeps/sparc/sparc32/Makefile: rather than here...
34094 * sysdeps/sparc/sparc64/Makefile: and here.
34096 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34098 * malloc/mallocbug.c: Avoid warnings about unused variables.
34100 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34103 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34104 in the right place. Discard and retry query if response is
34105 larger than input buffer size.
34107 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34112 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34113 x for large integer exponent.
34114 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34115 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34116 sign of result as needed afterwards.
34117 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34118 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34119 result for underflowing pow the same as for overflow.
34120 (__kernel_standard_l): Handle powl overflow and underflow here
34121 rather than calling __kernel_standard.
34122 * math/libm-test.inc (pow_test): Add more tests.
34137 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34138 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34139 (__kernel_standard_l): New function.
34140 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34142 * math/w_acosl.c (__acosl): Likewise.
34143 * math/w_asinl.c (__asinl): Likewise.
34144 * math/w_atan2l.c (__atan2l): Likewise.
34145 * math/w_atanhl.c (__atanhl): Likewise.
34146 * math/w_coshl.c (__coshl): Likewise.
34147 * math/w_exp10l.c (__exp10l): Likewise.
34148 * math/w_exp2l.c (__exp2l): Likewise.
34149 * math/w_fmodl.c (__fmodl): Likewise.
34150 * math/w_hypotl.c (__hypotl): Likewise.
34151 * math/w_j0l.c (__j0l, __y0l): Likewise.
34152 * math/w_j1l.c (__j1l, __y1l): Likewise.
34153 * math/w_jnl.c (__jnl, __ynl): Likewise.
34154 * math/w_lgammal.c (__lgammal): Likewise.
34155 * math/w_log10l.c (__log10l): Likewise.
34156 * math/w_log2l.c (__log2l): Likewise.
34157 * math/w_logl.c (__logl): Likewise.
34158 * math/w_powl.c (__powl): Likewise.
34159 * math/w_remainderl.c (__remainderl): Likewise.
34160 * math/w_scalbl.c (sysv_scalbl): Likewise.
34161 * math/w_sinhl.c (__sinhl): Likewise.
34162 * math/w_sqrtl.c (__sqrtl): Likewise.
34163 * math/w_tgammal.c (__tgammal): Likewise.
34164 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34165 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34166 * math/libm-test.inc (acos_test): Add more tests.
34167 (acosh_test): Likewise.
34168 (asin_test): Likewise.
34169 (atanh_test): Likewise.
34170 (exp_test): Likewise.
34171 (exp10_test): Likewise.
34172 (exp2_test): Likewise.
34173 (expm1_test): Likewise.
34174 (lgamma_test): Likewise.
34175 (log_test): Likewise.
34176 (log10_test): Likewise.
34177 (log1p_test): Likewise.
34178 (log2_test): Likewise.
34179 (pow_test): Do not allow some spurious overflow exceptions.
34180 (sqrt_test): Add more tests.
34181 (tgamma_test): Likewise.
34182 (y0_test): Likewise.
34183 (y1_test): Likewise.
34184 (yn_test): Likewise.
34186 2012-03-27 Anton Blanchard <anton@samba.org>
34188 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34190 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34191 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34192 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34194 2012-03-27 David S. Miller <davem@davemloft.net>
34196 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34198 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34199 have-as-vis3 check.
34201 2012-03-27 Andreas Jaeger <aj@suse.de>
34203 * sysdeps/x86_64/elf/configure.in: Moved to ...
34204 * sysdeps/x86_64/configure.in: ... here.
34205 * sysdeps/x86_64/elf/start.S: Moved to ...
34206 * sysdeps/x86_64/start.S: ... here.
34207 * sysdeps/x86_64/elf/configure: Delete.
34209 * sysdeps/x86_64/configure.in: Merge contents from
34210 sysdeps/i386/configure.in (without i686 check).
34212 * sysdeps/i386/elf/Versions: Merge into ...
34213 * sysdeps/i386/Versions: ... this.
34214 * sysdeps/i386/elf/Versions: Delete file.
34215 * sysdeps/i386/elf/start.S: Moved to ...
34216 * sysdeps/i386/start.S: ...here.
34217 * sysdeps/i386/elf/configure.in: Merge into...
34218 * sysdeps/i386/configure.in: ...here.
34219 * sysdeps/i386/elf/configure.in: Delete file.
34220 * sysdeps/i386/elf/configure: Delete file.
34222 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34223 * debug/backtracesyms.c: ... here.
34224 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34225 * debug/backtracesymsfd.c: ... here.
34226 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34227 * sysdeps/generic/ifunc-sel.h: ... here.
34229 * sysdeps/unix/i386/start.c: Delete file.
34230 * sysdeps/unix/sparc/start.c: Delete file.
34231 * sysdeps/unix/start.c: Delete file.
34233 * sysdeps/sh/elf/configure.in: Moved to ...
34234 * sysdeps/sh/configure.in: ... here.
34235 * sysdeps/sh/elf/start.S: Moved to ...
34236 * sysdeps/sh/start.S: ... here.
34237 * sysdeps/sh/elf/configure: Delete file.
34239 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34240 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34241 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34242 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34243 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34244 * sysdeps/powerpc/powerpc64/start.S: here.
34245 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34246 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34247 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34248 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34249 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34251 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34252 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34253 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34254 * sysdeps/powerpc/powerpc32/start.S: ... here.
34255 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34256 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34257 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34259 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34260 * sysdeps/powerpc/ifunc-sel.h: ... here.
34261 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34262 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34264 * sysdeps/sparc/elf/configure.in: Moved to ...
34265 * sysdeps/sparc/configure.in: ... here.
34266 * sysdeps/sparc/elf/configure: Delete file.
34267 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34268 * sysdeps/sparc/sparc32/start.S: ... here.
34269 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34270 * sysdeps/sparc/sparc64/start.S: ... here.
34271 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34272 * sysdeps/sparc/sparc32/Makefile: ... this.
34273 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34274 * sysdeps/sparc/sparc64/Makefile: ... this.
34276 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34277 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34278 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34279 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34280 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34281 * sysdeps/s390/s390-32/setjmp.S: ... here.
34282 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34283 * sysdeps/s390/s390-32/configure.in: ... here.
34284 * sysdeps/s390/s390-32/elf/configure: Delete file.
34285 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34286 * sysdeps/s390/s390-32/start.S: ... here.
34288 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34289 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34290 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34291 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34292 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34293 * sysdeps/s390/s390-64/setjmp.S: ... here.
34294 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34295 * sysdeps/s390/s390-64/configure.in: ... here
34296 * sysdeps/s390/s390-64/elf/configure: Delete file.
34297 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34298 * sysdeps/s390/s390-64/start.S: ... here.
34299 * sysdeps/s390/s390-64/elf/configure: Delete.
34301 * configure.in: Remove support for elf directories in sysdeps.
34303 * configure: Regenerated.
34304 * sysdeps/i386/configure: Regenerated.
34305 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34306 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34307 * sysdeps/s390/s390-32/configure: Regenerated.
34308 * sysdeps/s390/s390-64/configure: Regenerated.
34309 * sysdeps/sh/configure: Regenerated.
34310 * sysdeps/sparc/configure: Regenerated.
34311 * sysdeps/x86_64/configure: Regenerated.
34313 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34318 denormal result into account.
34320 2012-03-25 Roland McGrath <roland@hack.frob.com>
34322 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34323 Reported by Allan McRae <allan@archlinux.org>.
34325 2012-03-23 Jeff Law <law@redhat.com>
34327 * nss/getnssent.c (__nss_getent): Fix typo.
34329 2012-03-23 David S. Miller <davem@davemloft.net>
34331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34333 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34335 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34336 to pad to uint64_t for each field.
34337 (dl_tls_index): Replace unsigned long with uint64_t.
34339 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34340 Paul Pluzhnikov <ppluzhnikov@google.com>
34343 * grp/Makefile (otherlibs): Don't set it.
34344 * inet/Makefile (otherlibs): Likewise.
34345 * login/Makefile (otherlibs): Likewise.
34346 * nscd/Makefile (otherlibs): Likewise.
34347 * posix/Makefile (otherlibs): Likewise.
34348 * pwd/Makefile (otherlibs): Likewise.
34349 * rt/Makefile (otherlibs): Likewise.
34350 * sunrpc/Makefile (otherlibs): Likewise.
34351 * nss/Makefile (otherlibs): Likewise.
34352 Add libnss_files to routines and static-only-routines.
34353 ($(objpfx)getent): Remove rule.
34354 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34355 static-only-routines.
34357 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34360 * math/s_cexp.c: Include <float.h>.
34361 (__cexp): Handle exp result overflowing not necessarily
34362 overflowing both real and imaginary parts of result.
34363 * math/s_cexpf.c: Likewise.
34364 * math/s_cexpl.c: Likewise.
34365 * math/libm-test.inc (cexp_test): Add more tests.
34366 * sysdeps/i386/fpu/libm-test-ulps: Update.
34367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34369 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34371 * include/link.h (ELFW): New macro.
34372 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34373 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34375 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34377 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34380 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34382 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34384 (struct La_x32_retval): Likewise.
34386 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34388 * sysdeps/x86_64/preconfigure.in: New file.
34389 * sysdeps/x86_64/preconfigure: New generated file.
34391 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34394 * math/e_exp2l.c: Include <float.h>.
34395 (__ieee754_exp2l): Handle overflow and underflow cases
34396 separately. Only pass fractional part of argument to
34398 * math/libm-test.inc (exp2_test): Add more tests.
34400 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34401 negating x to take absolute value.
34402 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34404 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34405 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34407 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34408 computing low part if x was negated.
34409 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34411 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34413 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34414 la_x32_gnu_pltexit.
34415 (pltexit): Cast int_retval to ptrdiff_t.
34416 * elf/tst-auditmod3b.c: Likewise.
34417 * elf/tst-auditmod4b.c: Likewise.
34418 * elf/tst-auditmod5b.c: Likewise.
34419 * elf/tst-auditmod6b.c: Likewise.
34420 * elf/tst-auditmod6c.c: Likewise.
34421 * elf/tst-auditmod7b.c: Likewise.
34423 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34424 and x32_gnu_pltexit.
34426 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34427 __ELF_NATIVE_CLASS.
34428 (La_x32_regs): New macro.
34429 (La_x32_retval): Likewise.
34430 (la_x32_gnu_pltenter): New function prototype.
34431 (la_x32_gnu_pltexit): Likewise.
34433 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34440 * configure.in (libc_cv_cc_nofma): Check for option to disable
34441 generation of FMA instructions.
34442 * configure: Regenerate.
34443 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34444 * sysdeps/ieee754/dbl-64/Makefile: New file.
34445 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34446 Remove brandred-fma4.
34447 (CFLAGS-brandred-fma4.c): Remove.
34448 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34454 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34456 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34457 LLONG_MAX != LONG_MAX.
34458 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34459 (_fitoa_word): Likewise.
34460 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34461 LLONG_MAX != LONG_MAX.
34462 * stdio-common/_itowa.h: Include <_itoa.h>.
34463 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34464 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34465 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34466 only if not defined.
34467 (_ITOA_WORD_TYPE): Likewise.
34468 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34469 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34471 2012-03-21 David S. Miller <davem@davemloft.net>
34473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34475 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34477 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34478 of x86_64 when setting libc_cv_slibdir, libdir and
34480 * sysdeps/unix/sysv/linux/configure: Regenerated.
34482 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34484 * manual/lang.texi (Old Varargs): Remove section.
34485 (How Variadic): Update menu.
34486 (va_start): Do not mention varargs.h.
34488 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34489 Joseph Myers <joseph@codesourcery.com>
34491 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34493 * configure: Regenerated.
34495 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34497 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34498 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34501 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34504 * Makefile (files-for-dist): Remove NOTES.
34505 (NOTES): Remove rule.
34506 * README: Don't refer to NOTES.
34507 * manual/creature.texi: Don't include macros.texi.
34508 * manual/intro.texi (creature.texi): Remove comment referring to
34511 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34512 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34513 * configure: Regenerated.
34514 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34515 LIBC_TRY_CC_OPTION.
34516 (libc_cv_as_i686): Likewise.
34517 (libc_cv_cc_avx): Likewise.
34518 (libc_cv_cc_sse2avx): Likewise.
34519 (libc_cv_cc_fma4): Likewise.
34520 (libc_cv_cc_novzeroupper): Likewise.
34521 * sysdeps/i386/configure: Regenerated.
34524 * sysdeps/i386/fpu/s_cexp.S: Remove.
34525 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34526 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34527 * math/libm-test.inc (cexp_test): Add more tests.
34528 * sysdeps/i386/fpu/libm-test-ulps: Update.
34529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34531 2012-03-21 Allan McRae <allan@archlinux.org>
34533 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34535 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34538 * math/w_exp2.c: Do not include <float.h>.
34539 (o_threshold, u_threshold): Remove.
34540 (__exp2): Calculate result before checking finiteness and calling
34542 * math/w_exp2f.c: Likewise.
34543 * math/w_exp2l.c: Likewise.
34544 * math/libm-test.inc (exp2_test): Require overflow exception for
34548 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34549 range of signed 64-bit integers before using fistpll. Remove
34550 checks for whether integers fit in mantissa bits.
34551 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34552 the range of signed 32-bit integers before using fistpl. Remove
34553 checks for whether integers fit in mantissa bits.
34554 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34555 (__ieee754_powl): Test for y outside the range of signed 64-bit
34556 integers before using fistpll. Reduce 64-bit values to 63-bit
34558 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34559 divide-by-zero is raised for zero to large negative powers.
34560 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34561 (__ieee754_powl): Test for y outside the range of signed 64-bit
34562 integers before using fistpll. Reduce 64-bit values to 63-bit
34564 * math/libm-test.inc (pow_test): Add more tests.
34566 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34568 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34569 <stdio-common/_itoa.h>.
34570 * debug/segfault.c: Likewise.
34571 * elf/dl-cache.c: Likewise.
34572 * elf/dl-minimal.c: Likewise.
34573 * elf/dl-misc.c: Likewise.
34574 * elf/dl-sysdep.c: Likewise.
34575 * elf/dl-version.c: Likewise.
34576 * elf/rtld.c: Likewise.
34577 * hurd/hurdsock.c: Likewise.
34578 * hurd/lookup-retry.c: Likewise.
34579 * malloc/malloc.c: Likewise.
34580 * malloc/mtrace.c: Likewise.
34581 * nscd/nscd_getgr_r.c: Likewise.
34582 * nscd/nscd_getpw_r.c: Likewise.
34583 * nscd/nscd_getserv_r.c: Likewise.
34584 * posix/getopt_init.c: Likewise.
34585 * posix/wordexp.c: Likewise.
34586 * stdio-common/_itoa.c: Likewise.
34587 * stdio-common/printf_fphex.c: Likewise.
34588 * stdio-common/vfprintf.c: Likewise.
34589 * string/_strerror.c: Likewise.
34590 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34591 * sysdeps/i386/i686/hp-timing.h: Likewise.
34592 * sysdeps/mach/_strerror.c: Likewise.
34593 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34594 * sysdeps/mach/hurd/sethostid.c: Likewise.
34595 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34596 * sysdeps/mach/xpg-strerror.c: Likewise.
34597 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34598 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34599 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34600 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34601 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34602 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34603 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34604 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34605 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34606 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34607 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34608 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34609 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34610 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34611 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34612 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34613 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34614 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34615 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34616 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34617 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34619 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34621 * stdio-common/_itoa.h: Moved to ...
34622 * sysdeps/generic/_itoa.h: Here.
34624 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34626 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34627 instead of "_itoa.h" and "_itowa.h".
34628 * stdio-common/vfprintf.: Likewise.
34630 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34632 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34634 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34635 (__signbit): Likwise.
34636 (llrintf): Likwise.
34639 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34641 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34644 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34646 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34647 OVERFLOW_EXCEPTION_OK.
34648 * math/libm-test.inc ("Philosophy"): Update comment about
34650 (OVERFLOW_EXCEPTION): Define.
34651 (OVERFLOW_EXCEPTION_OK): Likewise.
34652 (INVALID_EXCEPTION_OK): Renumber.
34653 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34654 (IGNORE_ZERO_INF_SIGN): Likewise.
34655 (test_exceptions): Handle FE_OVERFLOW.
34656 (exp10_test): Expect overflow exceptions.
34657 (exp2_test): Likewise.
34658 (expm1_test): Likewise.
34659 (nextafter_test): Likewise.
34660 (pow_test): Likewise.
34661 (scalbn_test): Likewise.
34662 (scalbln_test): Likewise.
34664 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34666 * sysdeps/x86_64/bits/atomic.h
34667 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34669 (atomic_exchange_acq): Likewise.
34670 (__arch_exchange_and_add_body): Likewise.
34671 (__arch_add_body): Likewise.
34672 (atomic_add_negative): Likewise.
34673 (atomic_add_zero): Likewise.
34675 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34677 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34678 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34680 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34682 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34683 Check __x86_64__ instead of __WORDSIZE.
34685 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34687 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34689 2012-03-19 David S. Miller <davem@davemloft.net>
34691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34693 * sysdeps/sparc/fpu/fenv_private.h: New file.
34694 * sysdeps/sparc/fpu/math_private.h: Use it.
34695 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34697 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34698 (libc_feholdexcept_setroundl): Remove.
34699 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34701 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34702 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34704 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34706 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34707 int64_t instead of long int.
34708 (INSERT_WORDS64): Likwise.
34710 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34712 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34713 _Unwind_GetCFA return to _Unwind_Ptr first.
34715 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34718 * math/s_clog.c: Include <float.h>.
34719 (__clog): Scale large or subnormal inputs.
34720 * math/s_clogf.c: Likewise.
34721 * math/s_clogl.c: Likewise.
34722 * math/s_clog10.c: Include <float.h>.
34723 (M_LOG10_2): Define.
34724 (__clog10): Scale large or subnormal inputs.
34725 * math/s_clog10f.c: Likewise.
34726 * math/s_clog10l.c: Likewise.
34727 * math/libm-test.inc (clog_test): Add more tests.
34728 (clog10_test): Likewise.
34729 * sysdeps/i386/fpu/libm-test-ulps: Update.
34730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34733 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34735 * math/libm-test.inc (atan2_test): Add another test.
34737 * Makerules (common-objdir-compile): Remove.
34738 * sysdeps/unix/Makefile (config-generated): Do not add
34739 $(unix-generated) to variable.
34740 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34741 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34743 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34745 [generic bits/local_lim.h] (before-compile): Do not append to
34747 [generic bits/local_lim.h] (common-generated): Likewise.
34748 [generic sys/param.h] (before-compile): Do not append to variable.
34749 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34750 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34751 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34752 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34754 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34755 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34756 [generic sys/param.h] ($(addprefix
34757 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34758 [generic sys/param.h] (common-generated): Do not append to
34760 [generic sys/param.h] (sysdep_headers): Likewise.
34761 [generic bits/errno.h] (before-compile): Do not append to
34763 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34765 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34766 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34767 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34768 [generic bits/errno.h] (common-generated): Do not append to
34770 [generic bits/ioctls.h] (before-compile): Do not append to
34772 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34774 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34775 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34776 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34778 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34779 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34780 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34781 [generic bits/ioctls.h] (common-generated): Do not append to
34783 [generic sys/syscall.h] (syscall.h): Remove variable.
34784 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34786 [generic sys/syscall.h] (before-compile): Do not append to
34788 [generic sys/syscall.h] (common-generated): Likewise.
34789 * sysdeps/unix/errnos-tmpl.c: Remove file.
34790 * sysdeps/unix/errnos.awk: Likewise.
34791 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34792 * sysdeps/unix/ioctls.awk: Likewise.
34793 * sysdeps/unix/mk-local_lim.c: Likewise.
34794 * sysdeps/unix/snarf-ioctls: Likewise.
34796 2012-03-19 Richard Henderson <rth@twiddle.net>
34798 * sysdeps/i386/fpu/fenv_private.h: New file.
34799 * sysdeps/i386/fpu/math_private.h: Use it.
34800 (math_opt_barrier, math_force_eval): Remove.
34801 (libc_feholdexcept_setround_53bit): Remove.
34802 (libc_feupdateenv_53bit): Remove.
34803 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34804 (math_opt_barrier, math_force_eval): Remove.
34805 (libc_feholdexcept): Remove.
34806 (libc_feholdexcept_setround): Remove.
34807 (libc_fetestexcept, libc_fesetenv): Remove.
34808 (libc_feupdateenv_test): Remove.
34809 (libc_feupdateenv, libc_feholdsetround): Remove.
34810 (libc_feresetround): Remove.
34812 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34813 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34815 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34816 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34817 (libc_feupdateenv_testl): New.
34818 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34819 (libc_feupdateenv_testf): New.
34820 (libc_feupdateenv): Use libc_feupdateenv_test.
34821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34824 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34825 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34826 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34827 (libc_feresetround_noex): New.
34828 (libc_feresetround_noexf): New.
34829 (libc_feresetround_noexl): New.
34830 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34831 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34832 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34838 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34839 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34840 SET_RESTORE_ROUND_NOEX.
34841 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34842 SET_RESTORE_ROUND_NOEXF.
34843 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34844 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34845 (libc_feholdsetroundf): New.
34846 (libc_feresetround, libc_feresetroundf): New.
34848 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34849 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34850 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34852 * sysdeps/generic/math_private.h: Include <fenv.h>.
34853 (default_libc_feholdexcept): New.
34854 (default_libc_feholdexcept_setround): New.
34855 (default_libc_fesetenv, default_libc_feupdateenv): New.
34856 (libc_feholdexcept): Only define if undefined.
34857 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34858 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34859 (libc_feholdexcept_setroundl): Likewise.
34860 (libc_feholdexcept_setround_53bit): Likewise.
34861 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34862 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34863 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34864 (libc_feupdateenv_53bit): Likewise.
34865 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34866 (libc_feholdexcept): Convert from macro to inline function.
34867 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34868 (libc_fesetenv, libc_feupdateenv): Likewise.
34870 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34871 not previously defined.
34872 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34873 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34874 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34875 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34876 * sysdeps/ieee754/flt-32/math_private.h: New file.
34877 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34878 math_private.h below SET_FLOAT_WORD.
34879 (__isnan, __isinf_ns, __finite): Remove.
34880 (__isnanf, __isinf_nsf, __finitef): Remove.
34882 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34886 2012-03-17 David S. Miller <davem@davemloft.net>
34889 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34892 2012-03-16 David S. Miller <davem@davemloft.net>
34894 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34900 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34901 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34902 sysdep_routines when subdir is sysvipc.
34903 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34904 __getshmlba helper.
34906 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34908 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34910 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34913 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34915 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34916 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34917 (__lround): Renamed to ...
34918 (__llround): This. Replace long int with long long int.
34919 Define lround functions as aliases of llround functions.
34920 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34922 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34924 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34925 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34926 adresses to uintptr_t. Replace "long int" and "unsigned long
34927 int" with "greg_t" on va_arg.
34929 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34931 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34932 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34934 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34935 Move e_machine check before EI_CLASS check. Handle x32
34936 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34937 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34938 SKIP_EM_IA_64 and include
34939 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34941 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34942 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34943 (add_system_dir): New macro.
34945 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34946 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34948 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34959 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34961 * math/w_j0f.c (j0f): Likewise.
34963 * math/w_j0l.c (__j0l): Likewise.
34965 * math/w_j1.c (j1): Likewise.
34967 * math/w_j1f.c (j1f): Likewise.
34969 * math/w_j1l.c (__j1l): Likewise.
34971 * math/w_jn.c (jn): Likewise.
34973 * math/w_jnf.c (jnf): Likewise.
34975 * math/w_jnl.c (__jnl): Likewise.
34977 * math/libm-test.inc (j0_test): Add more tests.
34978 (j1_test): Likewise.
34979 (jn_test): Likewise. Add trailing semicolon to existing test.
34980 (y0_test): Likewise.
34981 (y1_test): Likewise.
34982 * sysdeps/i386/fpu/libm-test-ulps: Update.
34983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34987 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34988 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34989 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34990 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34991 (__tanl): Set errno for infinite argument.
34992 * sysdeps/i386/fpu/mptan.c: Remove.
34993 * sysdeps/i386/fpu/s_tan.S: Likewise.
34994 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34995 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34996 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34997 * math/libm-test.inc (tan_test): Add more tests and enable more
34998 tests for double and long double.
34999 * sysdeps/i386/fpu/libm-test-ulps: Update.
35000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35002 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35004 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35005 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35007 2012-03-16 Roland McGrath <roland@hack.frob.com>
35009 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35010 * configure.in: Use it for both main tree and add-ons.
35011 * configure: Regenerated.
35013 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35015 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35017 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35019 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35023 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35024 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35025 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35026 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35027 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35029 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35031 != 0 for prec == 2.
35032 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35033 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35034 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35035 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35036 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35037 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35038 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35039 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35040 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35041 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35042 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35043 * math/libm-test.inc (cos_test): Add more tests and enable more
35044 tests for long double.
35045 (sin_test): Likewise.
35046 (sincos_test): Likewise.
35047 * sysdeps/i386/fpu/libm-test-ulps: Update.
35048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35050 2012-03-16 David S. Miller <davem@davemloft.net>
35052 * sysdeps/sparc/fpu/math_private.h: New file.
35054 2012-03-15 David S. Miller <davem@davemloft.net>
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35066 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35070 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35071 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35073 * sysdeps/sparc/sparc-ifunc.h: New file.
35074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35117 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35119 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35121 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35125 2012-03-15 Andreas Jaeger <aj@suse.de>
35128 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35129 ieee754/flt-32 implementation for sin, cos and sincos.
35130 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35131 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35132 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35133 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35134 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35135 ieee754/flt-32 implementation for tan.
35137 * math/libm-test.inc (cos_test): Enable some large input tests for
35139 (sin_test): Likewise.
35140 (sincos_test): Likewise.
35141 (tan_test): Add tests for large input.
35143 * sysdeps/i386/fpu/libm-test-ulps: Update.
35145 2012-03-15 Andreas Jaeger <aj@suse.de>
35148 * math/libm-test.inc (cos_test): Add more test cases.
35149 (sin_test): Likewise.
35150 (sincos_test): Likewise.
35152 2012-03-15 Andreas Jaeger <aj@suse.de>
35155 * math/libm-test.inc (cos_test): Add a test case for large input
35157 (sin_test): Likewise.
35158 (sincos_test): Likewise.
35160 2012-03-15 Andreas Jaeger <aj@suse.de>
35161 Joseph Myers <joseph@codesourcery.com>
35164 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35165 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35166 * sysdeps/i386/fpu/branred.c: Likewise.
35167 * sysdeps/i386/fpu/dosincos.c: Likewise.
35168 * sysdeps/i386/fpu/mpa.c: Likewise.
35169 * sysdeps/i386/fpu/s_cos.S: Likewise.
35170 * sysdeps/i386/fpu/s_sin.S: Likewise.
35171 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35172 * sysdeps/i386/fpu/sincos32.c: Likewise.
35174 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35176 (libc_feupdateenv_53bit): Define.
35177 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35179 (libc_feupdateenv_53bit): Define.
35181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35182 53 bit (without extend i386 double precision).
35184 * math/libm-test.inc (sincos_test): Add tests for large input.
35188 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35190 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35194 2012-03-15 David S. Miller <davem@davemloft.net>
35196 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35197 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35198 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35199 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35224 fmin/fmax sysdep routines.
35225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35227 2012-03-14 David S. Miller <davem@davemloft.net>
35229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35236 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35252 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35301 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35306 * sysdeps/sparc/configure.in: New file.
35307 * sysdeps/sparc/configure: Generate.
35308 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35309 * configure: Regenerate.
35310 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35311 * config.make.in (have-as-vis3): New.
35312 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35313 available use -Av9d instead of -Av9a.
35314 * sysdeps/sparc/sparc64/Makefile: Likewise.
35315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35330 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35331 fzeros/fnegs to load 0x80000000 into a float register instead of
35333 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35335 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35339 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35340 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35341 ($(inst_includedir)/bits/syscall.h): Remove rule.
35342 ($(objpfx)bits/syscall.d): Include instead of
35343 $(objpfx)syscall-list.d.
35344 (generated): Change syscall-list.h and syscall-list.d to
35345 bits/syscall.h and bits/syscall.d.
35347 2012-03-14 Roland McGrath <roland@hack.frob.com>
35350 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35352 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35355 * math/s_csqrt.c: Include <float.h>.
35356 (__csqrt): Scale large or subnormal inputs.
35357 * math/s_csqrtf.c: Likewise.
35358 * math/s_csqrtl.c: Likewise.
35359 * math/libm-test.inc (csqrt_test): Add more tests.
35360 * sysdeps/i386/fpu/libm-test-ulps: Update.
35361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35364 * math/libm-test.inc (hypot_test): Add more tests.
35366 2012-03-13 David S. Miller <davem@davemloft.net>
35369 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35370 double-precision for the calculation instead of scaling.
35372 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35374 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35375 manipulate bits before adding and subtracting TWO52[sx].
35376 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35377 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35379 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35381 2012-03-13 David S. Miller <davem@davemloft.net>
35383 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35384 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35386 rtld-global-offsets.h
35387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35389 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35392 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35394 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35395 'err' in the ifdef scope in which it is actually used.
35397 * nss/nss_db/db-init.c: Include string.h
35399 2012-03-12 David S. Miller <davem@davemloft.net>
35401 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35402 masking out of the most significant byte of random value used.
35403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35404 Fix coding style in previous change.
35406 * sysdeps/unix/sysv/linux/kernel-features.h
35407 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35408 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35410 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35413 2012-03-11 David S. Miller <davem@davemloft.net>
35415 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35416 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35417 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35418 for 'resultvar' otherwise things get truncated on 64-bit.
35420 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35421 Fix masking out of the most significant byte of random value used.
35423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35425 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35429 2012-03-09 David S. Miller <davem@davemloft.net>
35431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35432 variables with appropriate CPP guards.
35433 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35434 from the frame pointer, not the stack pointer. Correct layout
35435 comments. Fix test on resulting framesize and the management of
35436 the outregs buffer for pltexit. Preserve floating point return
35437 values across _dl_call_pltexit call.
35438 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35439 framesize and the management of the outregs buffer for pltexit.
35440 Preserve floating point return values across _dl_call_pltexit
35442 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35443 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35444 (la_sparc64_gnu_pltexit): New functions.
35445 (print_exit): Fix format string for return register value.
35447 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35449 * sunrpc/Makefile (others): Add rpcgen.
35450 ($(objpfx)rpcgen): Remove special build rule and dependency on
35452 * sunrpc/rpcgen.c: New file.
35454 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35457 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35458 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35459 * sysdeps/i386/crti.S: Likewise.
35460 * sysdeps/i386/crtn.S: Likewise.
35461 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35462 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35463 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35464 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35465 * sysdeps/sh/crti.S: Likewise.
35466 * sysdeps/sh/crtn.S: Likewise.
35467 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35470 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35472 * locale/programs/locfile-kw.gperf: Likewise.
35473 * locale/programs/charmap-kw.h: Regenerated.
35474 * locale/programs/locfile-kw.h: Likewise.
35477 * intl/plural.y: Replace FSF snail mail address with URL.
35478 * intl/plural.c: Regenerated.
35480 2012-03-09 Richard Henderson <rth@twiddle.net>
35482 * include/math_private.h: Remove file.
35483 * math/math_private.h: Move file ...
35484 * sysdeps/generic/math_private.h: ... here.
35486 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35487 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35488 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35490 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35491 and <math_private.h>.
35492 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35493 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35494 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35495 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35496 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35506 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35507 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35508 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35509 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35511 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35513 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35514 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35516 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35517 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35518 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35519 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35520 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35522 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35523 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35524 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35525 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35526 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35527 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35528 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35529 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35530 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35531 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35532 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35533 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35534 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35535 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35536 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35537 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35538 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35539 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35541 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35542 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35543 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35544 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35545 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35546 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35547 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35548 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35549 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35550 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35551 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35552 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35553 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35555 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35556 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35560 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35561 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35562 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35563 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35565 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35571 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35572 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35574 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35575 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35576 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35579 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35580 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35581 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35582 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35583 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35584 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35586 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35587 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35589 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35592 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35593 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35594 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35595 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35596 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35597 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35598 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35599 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35600 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35601 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35602 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35603 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35604 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35605 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35606 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35607 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35608 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35609 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35610 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35611 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35613 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35614 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35615 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35616 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35617 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35618 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35619 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35620 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35621 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35622 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35623 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35624 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35625 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35626 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35627 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35628 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35629 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35630 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35631 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35632 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35633 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35634 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35635 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35636 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35637 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35638 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35639 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35640 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35641 * sysdeps/ieee754/k_standard.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35757 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35761 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35762 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35764 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35769 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35774 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35790 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35791 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35792 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35793 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35802 * sysdeps/ieee754/s_lib_version.c: Likewise.
35803 * sysdeps/ieee754/s_matherr.c: Likewise.
35804 * sysdeps/ieee754/s_signgam.c: Likewise.
35805 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35806 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35807 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35808 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35809 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35810 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35811 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35812 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35813 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35814 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35815 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35816 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35817 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35818 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35819 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35820 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35821 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35822 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35823 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35824 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35827 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35829 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35830 * sunrpc/rpc_main.c: Likewise.
35831 * sunrpc/rpc_svcout.c: Likewise.
35833 2012-03-09 David S. Miller <davem@davemloft.net>
35835 * include/math_private.h: New file.
35837 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35839 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35840 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35841 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35842 from <bits/socket_type.h>.
35843 (enum __socket_type): Don't define here.
35844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35846 bits/socket_type.h.
35849 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35850 checking __USE_GNU.
35852 * Makerules ($(inst_includedir)/%.h): New rule.
35853 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35854 (install-others): Remove variable setting.
35855 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35857 2012-03-08 Richard Henderson <rth@twiddle.net>
35859 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35860 from macro to inline function; merge with the
35861 !__LIBC_INTERNAL_MATH_INLINES version.
35862 (__ieee754_sqrtf): Likewise.
35864 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35865 to inline function.
35866 (__rintf, __floor, __floorf): Likewise.
35868 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35869 macro to inline function.
35870 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35873 not <math/math_private.h>.
35875 2012-03-08 David S. Miller <davem@davemloft.net>
35877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35879 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35881 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35883 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35885 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35886 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35888 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35890 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35891 be defined individually, they must be defined as a block. Define
35892 S for printing a string instead of hidint the different by using a
35893 macro for adding the 'l'.
35894 * stdio-common/tst-fphex-wide.c: Adjust.
35896 2012-03-07 Marek Polacek <polacek@redhat.com>
35898 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35900 2012-03-08 Marek Polacek <polacek@redhat.com>
35903 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35904 * stdio-common/tst-fphex.c: Define a few macros to make the
35905 test reusable. Use them.
35906 * stdio-common/tst-fphex-wide.c: New file.
35908 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35911 * manual/macros.texi (gnusystems): New macro.
35912 (nongnusystems): Likewise.
35913 (gnulinuxhurdsystems): Likewise.
35914 (gnuhurdsystems): Likewise..
35915 (gnulinuxsystems): Likewise.
35916 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35917 variants of the GNU system, not "GNU system".
35918 * manual/conf.texi: Likewise.
35919 * manual/errno.texi: Likewise. Update example of errno macro
35921 * manual/filesys.texi: Likewise.
35922 (getumask): Document as specific to GNU/Hurd.
35923 * manual/install.texi: Likewise. Reword some references to
35925 * manual/intro.texi: Likewise.
35926 * manual/io.texi: Likewise.
35927 (File Name Portability): Detail which constraints are inapplicable
35928 to all GNU systems and which are only inapplicable to GNU/Hurd.
35929 * manual/job.texi: Likewise.
35930 * manual/llio.texi: Likewise.
35931 (O_NOCTTY): Document as present on GNU/Linux.
35932 * manual/maint.texi: Likewise.
35933 * manual/memory.texi: Likewise.
35934 * manual/pattern.texi: Likewise.
35935 * manual/pipe.texi: Likewise.
35936 * manual/process.texi: Likewise.
35937 * manual/resource.texi: Likewise.
35938 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35940 * manual/setjmp.texi: Likewise.
35941 * manual/signal.texi: Likewise.
35942 * manual/startup.texi: Likewise.
35943 * manual/stdio.texi: Likewise.
35944 * manual/terminal.texi: Likewise.
35945 (ONLCR): Document as POSIX.
35946 (OXTABS): Document availability on GNU/Linux as XTABS.
35947 (ONOEOT): Document availability separately from other bits.
35948 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35949 * manual/time.texi: Likewise.
35950 * manual/users.texi: Likewise.
35951 * INSTALL: Regenerated.
35952 * sysdeps/gnu/errlist.c: Regenerated.
35954 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35955 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35956 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35958 * configure: Regenerated.
35960 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35962 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35963 default includes instead of AC_HEADER_CHECK.
35964 * sysdeps/i386/configure: Regenerated.
35967 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35968 * math/s_cacoshf.c (__cacoshf): Likewise.
35969 * math/s_cacoshl.c (__cacoshl): Likewise.
35970 * math/s_casinh.c (__casinh): Set signs of result from argument.
35971 * math/s_casinhf.c (__casinhf): Likewise.
35972 * math/s_casinhl.c (__casinhl): Likewise.
35973 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35974 (casinh_test): Add more tests.
35975 * sysdeps/i386/fpu/libm-test-ulps: Update.
35976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35978 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35980 * po/zh_TW.po: Update from translation team.
35982 * login/Makefile (distribute): Remove variable.
35983 * catgets/Makefile: Likewise.
35984 * mach/Makefile: Likewise.
35985 * malloc/Makefile: Likewise.
35986 * misc/Makefile: Likewise.
35987 * iconv/Makefile: Likewise.
35988 * nscd/Makefile: Likewise.
35989 * hurd/Makefile: Likewise.
35990 * manual/Makefile: Likewise.
35991 * locale/Makefile: Likewise.
35992 * intl/Makefile: Likewise.
35993 * conform/Makefile: Likewise.
35994 * nss/Makefile: Likewise.
35995 * time/Makefile: Likewise.
35996 * soft-fp/Makefile: Likewise.
35997 * dirent/Makefile: Likewise.
35998 * gmon/Makefile: Likewise.
35999 * po/Makefile: Likewise.
36000 * rt/Makefile: Likewise.
36001 * socket/Makefile: Likewise.
36002 * math/Makefile: Likewise.
36003 * signal/Makefile: Likewise.
36004 * debug/Makefile: Likewise.
36005 * elf/Makefile: Likewise.
36006 * timezone/Makefile: Likewise.
36007 * stdlib/Makefile: Likewise.
36008 * iconvdata/Makefile: Likewise.
36009 * sunrpc/Makefile: Likewise.
36010 * io/Makefile: Likewise.
36011 * argp/Makefile: Likewise.
36012 * inet/Makefile: Likewise.
36013 * hesiod/Makefile: Likewise.
36014 * grp/Makefile: Likewise.
36015 * csu/Makefile: Likewise.
36016 * wctype/Makefile: Likewise.
36017 * crypt/Makefile: Likewise.
36018 * libio/Makefile: Likewise.
36019 * string/Makefile: Likewise.
36020 * nis/Makefile: Likewise.
36021 * resolv/Makefile: Likewise.
36022 * stdio-common/Makefile: Likewise.
36023 * wcsmbs/Makefile: Likewise.
36024 * dlfcn/Makefile: Likewise.
36025 * posix/Makefile: Likewise.
36028 * timezone/Makefile: Don't install timezone files, just the programs
36031 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36033 * nss/databases.def: Add missing gshadow entry.
36035 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36037 2012-03-06 Marek Polacek <polacek@redhat.com>
36040 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36041 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36042 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36043 * stdio-common/tst-long-dbl-fphex.c: New file.
36045 2012-03-06 David S. Miller <davem@davemloft.net>
36047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36048 (set_obp_int): New function.
36049 (get_obp_int): New function.
36050 (__get_clockfreq_via_dev_openprom): Likewise.
36051 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36052 Avoid unused variable warnings on 'val' and use builtin_expect.
36053 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36055 (INLINE_CLONE_SYSCALL): Likewise.
36057 2012-03-05 David S. Miller <davem@davemloft.net>
36059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36061 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36066 only for |x| >= 40.
36067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36069 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36072 Replace gettimeofday with __vdso_gettimeofday.
36074 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36075 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36076 __vdso_clock_gettime and __vdso_getcpu.
36078 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36079 time with __vdso_time.
36081 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36083 * manual/lang.texi (size_t): Note types to which size_t may be
36084 equivalent with the GNU C Library, but do not describe when
36085 differences between them are significant.
36087 2012-03-05 Andreas Jaeger <aj@suse.de>
36089 * sysdeps/i386/fpu/libm-test-ulps: Update.
36091 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36094 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36095 (__ieee754_pow): Save and restore rounding mode and use
36096 round-to-nearest for main computations.
36097 * math/libm-test.inc (pow_test_tonearest): New function.
36098 (pow_test_towardzero): Likewise.
36099 (pow_test_downward): Likewise.
36100 (pow_test_upward): Likewise.
36101 (main): Call the new functions.
36102 * sysdeps/i386/fpu/libm-test-ulps: Update.
36103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36106 * math/libm-test.inc (cosh_test_tonearest): New function.
36107 (cosh_test_towardzero): Likewise.
36108 (cosh_test_downward): Likewise.
36109 (cosh_test_upward): Likewise.
36110 (sinh_test_tonearest): Likewise.
36111 (sinh_test_towardzero): Likewise.
36112 (sinh_test_downward): Likewise.
36113 (sinh_test_upward): Likewise.
36114 (main): Call the new functions.
36115 * sysdeps/i386/fpu/libm-test-ulps: Update.
36116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36118 2012-03-05 Tom de Vries <tom@codesourcery.com>
36120 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36121 default stack guard is set in last bytes.
36122 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36124 2012-03-05 Kees Cook <keescook@chromium.org>
36126 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36129 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36130 possibly allocate from heap instead of stack.
36131 * stdio-common/bug-vfprintf-nargs.c: New file.
36132 * stdio-common/Makefile (tests): Add nargs overflow test.
36134 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36138 2012-03-03 Marek Polacek <polacek@redhat.com>
36140 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36141 * math/math_private.h: Likewise.
36142 * stdlib/tst-strtod.c: Likewise.
36143 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36144 * sysdeps/x86_64/bits/atomic.h: Likewise.
36146 2012-03-02 David S. Miller <davem@davemloft.net>
36148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36152 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36153 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36154 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36155 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36157 2012-03-02 Roland McGrath <roland@hack.frob.com>
36160 * manual/examples/README: New file, says the example source files
36161 can be used under GPL>=2.
36162 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36163 line containing just "*/".
36164 * manual/examples/add.c: Add copyright header (GPL>=2).
36165 * manual/examples/argp-ex1.c: Likewise.
36166 * manual/examples/argp-ex2.c: Likewise.
36167 * manual/examples/argp-ex3.c: Likewise.
36168 * manual/examples/argp-ex4.c: Likewise.
36169 * manual/examples/atexit.c: Likewise.
36170 * manual/examples/db.c: Likewise.
36171 * manual/examples/dir.c: Likewise.
36172 * manual/examples/dir2.c: Likewise.
36173 * manual/examples/execinfo.c: Likewise.
36174 * manual/examples/filecli.c: Likewise.
36175 * manual/examples/filesrv.c: Likewise.
36176 * manual/examples/fmtmsgexpl.c: Likewise.
36177 * manual/examples/genpass.c: Likewise.
36178 * manual/examples/inetcli.c: Likewise.
36179 * manual/examples/inetsrv.c: Likewise.
36180 * manual/examples/isockad.c: Likewise.
36181 * manual/examples/longopt.c: Likewise.
36182 * manual/examples/memopen.c: Likewise.
36183 * manual/examples/memstrm.c: Likewise.
36184 * manual/examples/mkfsock.c: Likewise.
36185 * manual/examples/mkisock.c: Likewise.
36186 * manual/examples/mygetpass.c: Likewise.
36187 * manual/examples/pipe.c: Likewise.
36188 * manual/examples/popen.c: Likewise.
36189 * manual/examples/rprintf.c: Likewise.
36190 * manual/examples/search.c: Likewise.
36191 * manual/examples/select.c: Likewise.
36192 * manual/examples/setjmp.c: Likewise.
36193 * manual/examples/sigh1.c: Likewise.
36194 * manual/examples/sigusr.c: Likewise.
36195 * manual/examples/stpcpy.c: Likewise.
36196 * manual/examples/strdupa.c: Likewise.
36197 * manual/examples/strftim.c: Likewise.
36198 * manual/examples/strncat.c: Likewise.
36199 * manual/examples/subopt.c: Likewise.
36200 * manual/examples/swapcontext.c: Likewise.
36201 * manual/examples/termios.c: Likewise.
36202 * manual/examples/testopt.c: Likewise.
36203 * manual/examples/testpass.c: Likewise.
36204 * manual/examples/timeval_subtract.c: Likewise.
36207 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36209 * manual/timeval_subtract.c.texi: ... here, new file.
36211 2012-03-02 David S. Miller <davem@davemloft.net>
36213 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36215 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36218 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36219 (__sin): Save and restore rounding mode and use round-to-nearest
36220 for all computations.
36221 (__cos): Save and restore rounding mode and use round-to-nearest
36222 for all computations.
36223 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36225 (tan): Save and restore rounding mode and use round-to-nearest for
36227 * math/libm-test.inc (cos_test_tonearest): New function.
36228 (cos_test_towardzero): Likewise.
36229 (cos_test_downward): Likewise.
36230 (cos_test_upward): Likewise.
36231 (sin_test_tonearest): Likewise.
36232 (sin_test_towardzero): Likewise.
36233 (sin_test_downward): Likewise.
36234 (sin_test_upward): Likewise.
36235 (tan_test_tonearest): Likewise.
36236 (tan_test_towardzero): Likewise.
36237 (tan_test_downward): Likewise.
36238 (tan_test_upward): Likewise.
36239 (main): Call the new functions.
36240 * sysdeps/i386/fpu/libm-test-ulps: Update.
36241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36244 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36245 small n, then large n, before computing and testing k+n.
36246 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36251 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36252 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36254 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36255 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36256 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36257 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36258 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36259 * math/libm-test.inc (scalbn_test): Add more tests.
36260 (scalbln_test): Likewise.
36262 * manual/filesys.texi (mode_t): Describe constraints on size and
36263 signedness, not exact equivalence to a particular type.
36265 (ino64_t): Likewise.
36267 (nlink_t): Likewise.
36268 (blkcnt_t): Likewise.
36269 (blkcnt64_t): Likewise.
36270 * manual/llio.texi (off_t): Likewise.
36273 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36274 (__ieee754_exp): Save and restore rounding mode and use
36275 round-to-nearest for all computations.
36276 * math/libm-test.inc (exp_test_tonearest): New function.
36277 (exp_test_towardzero): Likewise.
36278 (exp_test_downward): Likewise.
36279 (exp_test_upward): Likewise.
36280 (main): Call the new functions.
36281 * sysdeps/i386/fpu/libm-test-ulps: Update.
36282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36284 2012-03-01 Chris Demetriou <cgd@google.com>
36286 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36287 have predictable order.
36289 2012-03-01 David S. Miller <davem@davemloft.net>
36291 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36293 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36294 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36295 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36296 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36298 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36299 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36300 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36302 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36303 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36304 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36305 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36306 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36310 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36311 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36312 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36314 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36315 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36316 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36317 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36318 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36320 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36321 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36322 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36323 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36324 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36325 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36327 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36328 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36330 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36331 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36332 * sysdeps/sparc/elf/configure: Regenerated.
36334 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36336 * configure.in (AS, LD): Require binutils 2.20 or later.
36337 * configure: Regenerated.
36338 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36339 as required minimum version.
36340 * INSTALL: Regenerated.
36344 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36345 before squaring exponent.
36346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36347 bottom long double and 27 bits of top long double before squaring
36349 * math/libm-test.inc (erfc_test): Add more tests.
36350 * sysdeps/i386/fpu/libm-test-ulps: Update.
36351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36354 2012-03-01 Kai Tietz <ktietz@redhat.com>
36356 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36357 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36358 containing bit-fields.
36359 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36360 * soft-fp/single.h (_FP_UNION_S): Likewise.
36361 * soft-fp/double.h (_FP_UNION_D): Likewise.
36363 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36366 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36367 not include ../strcmp.S.
36368 [USE_AS_STRNCASECMP_L]: Likewise.
36369 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36370 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36371 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36372 (__strncasecmp_l_ia32): Define as alias to
36373 __strncasecmp_l_nonascii.
36376 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36377 * sysdeps/i386/fpu/libm-test-ulps: Update.
36378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36380 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36383 2012-02-29 Jeff Law <law@redhat.com>
36385 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36386 out of bounds read.
36388 2012-02-29 Marek Polacek <polacek@redhat.com>
36391 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36392 * elf/Makefile: Add rules to run tst-unused-dep.out.
36394 2012-02-28 David S. Miller <davem@davemloft.net>
36396 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36397 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36398 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36399 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36400 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36401 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36403 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36405 * math/libm-test.inc (llround_test): Move one test from
36406 lround_test. Use TEST_f_L in moved test.
36407 (lround_test): Move misplaced test to llround_test. Add testcase
36410 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36412 * sysdeps/x86_64/fpu/e_expf.S: New file.
36413 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36415 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36418 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36419 of remain_len that may cause incomplete multi-byte character and
36421 * posix/bug-regex33.c: New file.
36422 * posix/Makefile (tests): Add bug-regex33.
36424 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36426 * manual/macros.texi: New file.
36427 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36428 * manual/libc.texinfo: Include macros.texi.
36429 * manual/creatute.texi: Likewise.
36430 * manual/install.texi: Likewise.
36431 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36432 @glibcadj{} in references to the GNU C Library.
36433 * manual/charset.texi: Likewise.
36434 * manual/conf.texi: Likewise.
36435 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36436 when not using those macros.
36437 * manual/creature.texi: Likewise.
36438 * manual/crypt.texi: Likewise.
36439 * manual/errno.texi: Likewise.
36440 * manual/filesys.texi: Likewise.
36441 * manual/header.texi: Likewise.
36442 * manual/install.texi: Likewise.
36443 * manual/intro.texi: Likewise.
36444 * manual/io.texi: Likewise.
36445 * manual/job.texi: Likewise.
36446 * manual/lang.texi: Likewise.
36447 * manual/libc.texiinfo: Likewise.
36448 * manual/llio.texi: Likewise.
36449 * manual/locale.texi: Likewise.
36450 * manual/maint.texi: Likewise.
36451 * manual/math.texi: Likewise.
36452 * manual/memory.texi: Likewise.
36453 * manual/message.texi: Likewise.
36454 * manual/nss.texi: Likewise.
36455 * manual/pattern.texi: Likewise.
36456 * manual/process.texi: Likewise.
36457 * manual/resource.texi: Likewise.
36458 * manual/search.texi: Likewise.
36459 * manual/setjmp.texi: Likewise.
36460 * manual/signal.texi: Likewise.
36461 * manual/socket.texi: Likewise.
36462 * manual/startup.texi: Likewise.
36463 * manual/stdio.texi: Likewise.
36464 * manual/string.texi: Likewise.
36465 * manual/sysinfo.texi: Likewise.
36466 * manual/syslog.texi: Likewise.
36467 * manual/terminal.texi: Likewise.
36468 * manual/time.texi: Likewise.
36469 * manual/users.texi: Likewise.
36470 * INSTALL: Regenerated.
36471 * NOTES: Regenerated.
36472 * sysdeps/gnu/errlist.c: Regenerated.
36474 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36476 * include/dirent.h: Include <dirstream.h> before
36479 2012-02-28 David S. Miller <davem@davemloft.net>
36481 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36482 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36483 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36484 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36486 2012-02-27 David S. Miller <davem@davemloft.net>
36488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36490 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36491 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36494 frame pointer instead of stack pointer relative arg slot.
36495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36496 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36497 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36499 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36502 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36504 2012-02-27 David S. Miller <davem@davemloft.net>
36506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36510 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36511 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36512 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36513 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36515 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36517 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36518 later. Allow versions 5-9.
36519 * configure: Regenerated.
36520 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36521 required minimum version and 4.6 as recommended version. Do not
36522 mention bugs in GCC 2.7 and 2.8.
36523 * INSTALL: Regenerated.
36525 2012-02-27 David S. Miller <davem@davemloft.net>
36527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36531 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36532 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36533 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36534 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36536 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36537 manipulate bits before adding and subtracting TWO112[sx].
36538 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36540 2012-02-27 Roland McGrath <roland@hack.frob.com>
36543 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36544 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36545 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36546 being in POSIX, because they are in 1003.1-2008.
36548 * rt/tst-aio.c: Include <fcntl.h>.
36549 * rt/tst-aio7.c: Likewise.
36550 * rt/tst-aio64.c: Likewise.
36552 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36554 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36556 * manual/install.texi (--with-headers): Describe headers as
36557 interface headers, not private headers.
36558 (Specific advice for GNU/Linux systems): Describe use of headers
36559 from "make headers_install", not private headers from older
36561 * INSTALL: Regenerated.
36562 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36564 * sysdeps/unix/sysv/linux/configure: Regenerated.
36566 * manual/llio.texi (fclean): Remove documentation.
36568 * manual/Makefile (libc-texi-generated): New variable. Include
36570 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36571 $(libc-texi-generated), not duplicated list of files.
36572 (version.texi, stamp-version): New rules.
36573 (realclean): Remove $(libc-texi-generated), not individual files
36574 from that list. Do not remove dir-add.texinfo.
36575 * manual/libc.texinfo: Comment out uses of edition numbers and
36576 references to printed manual. Remove last-updated dates.
36577 (EDITION): Comment out.
36579 (VERSION, UPDATED): Remove.
36580 (version.texi): Include.
36582 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36584 * sysdeps/posix/spawni.c: Include <signal.h>.
36585 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36586 * sysdeps/pthread/aio_fsync.c: Likewise.
36588 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36590 * conform/Makefile (tests): Run only when not cross-compiling and
36591 when fast-check is not defined.
36593 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36594 * conform/data/limits.h-data: Fixes for POSIX2008.
36595 * conform/run-conformtest.sh: Run all tests.
36596 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36598 * include/bits/dlfcn.h: Likewise.
36599 * include/langinfo.h: Likewise.
36600 * include/monetary.h: Likewise.
36601 * include/sys/poll.h: Likewise.
36603 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36605 * posix/spawn.h: Define __need_sigset_t.
36606 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36607 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36608 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36609 to get sigevent_t only.
36610 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36611 only for __USE_GNU.
36612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36613 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36614 process_vm_writev only for __USE_GNU.
36615 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36617 * conform/Makefile: For now ignore errors from run-conformtest.
36618 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36619 POSIX to avoid namespace pollution. Don't prepend headers.
36620 * conform/data/aio.h-data: Fixes for POSIX testing.
36621 * conform/data/fcntl.h-data: Likewise.
36622 * conform/data/glob.h-data: Likewise.
36623 * conform/data/grp.h-data: Likewise.
36624 * conform/data/pthread.h-data: Likewise.
36625 * conform/data/pwd.h-data: Likewise.
36626 * conform/data/signal.h-data: Likewise.
36627 * conform/data/spawn.h-data: Likewise.
36628 * conform/data/stdio.h-data: Likewise.
36629 * conform/data/stdlib.h-data: Likewise.
36630 * conform/data/stropts.h-data: Likewise.
36631 * conform/data/sys/mman.h-data: Likewise.
36632 * conform/data/sys/stat.h-data: Likewise.
36633 * conform/data/sys/types.h-data: Likewise.
36634 * conform/data/sys/wait.h-data: Likewise.
36635 * conform/data/time.h-data: Likewise.
36636 * conform/data/unistd.h-data: Likewise.
36637 * conform/data/utime.h-data: Likewise.
36639 * io/sys/stat.h: fchmod was always in POSIX.
36640 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36641 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36642 * rt/aio.h: Define __need_timespec before including <time.h>.
36643 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36644 struct. Add forward declaration of pthread_attr_t and use it in
36646 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36647 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36648 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36649 always remove CLK_TCK definition.
36651 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36653 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36655 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36657 * conform/run-conformtest.sh: New file.
36658 * conform/Makefile: Run run-conformtest for tests.
36659 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36662 * conform/data/uchar.h-data: New file.
36663 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36664 * conform/data/arpa/inet.h-data: Likewise.
36665 * conform/data/assert.h-data: Likewise.
36666 * conform/data/complex.h-data: Likewise.
36667 * conform/data/cpio.h-data: Likewise.
36668 * conform/data/ctype.h-data: Likewise.
36669 * conform/data/dirent.h-data: Likewise.
36670 * conform/data/dlfcn.h-data: Likewise.
36671 * conform/data/errno.h-data: Likewise.
36672 * conform/data/fcntl.h-data: Likewise.
36673 * conform/data/float.h-data: Likewise.
36674 * conform/data/fmtmsg.h-data: Likewise.
36675 * conform/data/fnmatch.h-data: Likewise.
36676 * conform/data/ftw.h-data: Likewise.
36677 * conform/data/glob.h-data: Likewise.
36678 * conform/data/grp.h-data: Likewise.
36679 * conform/data/iconv.h-data: Likewise.
36680 * conform/data/inttypes.h-data: Likewise.
36681 * conform/data/langinfo.h-data: Likewise.
36682 * conform/data/libgen.h-data: Likewise.
36683 * conform/data/limits.h-data: Likewise.
36684 * conform/data/locale.h-data: Likewise.
36685 * conform/data/math.h-data: Likewise.
36686 * conform/data/monetary.h-data: Likewise.
36687 * conform/data/mqueue.h-data: Likewise.
36688 * conform/data/ndbm.h-data: Likewise.
36689 * conform/data/net/if.h-data: Likewise.
36690 * conform/data/netdb.h-data: Likewise.
36691 * conform/data/netinet/in.h-data: Likewise.
36692 * conform/data/nl_types.h-data: Likewise.
36693 * conform/data/poll.h-data: Likewise.
36694 * conform/data/pthread.h-data: Likewise.
36695 * conform/data/pwd.h-data: Likewise.
36696 * conform/data/regex.h-data: Likewise.
36697 * conform/data/sched.h-data: Likewise.
36698 * conform/data/search.h-data: Likewise.
36699 * conform/data/semaphore.h-data: Likewise.
36700 * conform/data/setjmp.h-data: Likewise.
36701 * conform/data/signal.h-data: Likewise.
36702 * conform/data/spawn.h-data: Likewise.
36703 * conform/data/stdarg.h-data: Likewise.
36704 * conform/data/stdio.h-data: Likewise.
36705 * conform/data/stdlib.h-data: Likewise.
36706 * conform/data/string.h-data: Likewise.
36707 * conform/data/strings.h-data: Likewise.
36708 * conform/data/stropts.h-data: Likewise.
36709 * conform/data/sys/ipc.h-data: Likewise.
36710 * conform/data/sys/mman.h-data: Likewise.
36711 * conform/data/sys/msg.h-data: Likewise.
36712 * conform/data/sys/resource.h-data: Likewise.
36713 * conform/data/sys/select.h-data: Likewise.
36714 * conform/data/sys/sem.h-data: Likewise.
36715 * conform/data/sys/shm.h-data: Likewise.
36716 * conform/data/sys/socket.h-data: Likewise.
36717 * conform/data/sys/stat.h-data: Likewise.
36718 * conform/data/sys/statvfs.h-data: Likewise.
36719 * conform/data/sys/time.h-data: Likewise.
36720 * conform/data/sys/timeb.h-data: Likewise.
36721 * conform/data/sys/times.h-data: Likewise.
36722 * conform/data/sys/types.h-data: Likewise.
36723 * conform/data/sys/uio.h-data: Likewise.
36724 * conform/data/sys/un.h-data: Likewise.
36725 * conform/data/sys/utsname.h-data: Likewise.
36726 * conform/data/sys/wait.h-data: Likewise.
36727 * conform/data/syslog.h-data: Likewise.
36728 * conform/data/tar.h-data: Likewise.
36729 * conform/data/termios.h-data: Likewise.
36730 * conform/data/utime.h-data: Likewise.
36731 * conform/data/utmpx.h-data: Likewise.
36732 * conform/data/varargs.h-data: Likewise.
36733 * conform/data/wchar.h-data: Likewise.
36734 * conform/data/wctype.h-data: Likewise.
36735 * conform/data/wordexp.h-data: Likewise.
36737 * include/stropts.h: New file.
36738 * include/uchar.h: New file.
36739 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36740 * include/assert.h: Likewise.
36741 * include/ctype.h: Likewise.
36742 * include/dirent.h: Likewise.
36743 * include/dlfcn.h: Likewise.
36744 * include/fcntl.h: Likewise.
36745 * include/fnmatch.h: Likewise.
36746 * include/glob.h: Likewise.
36747 * include/grp.h: Likewise.
36748 * include/libio.h: Likewise.
36749 * include/locale.h: Likewise.
36750 * include/math.h: Likewise.
36751 * include/net/if.h: Likewise.
36752 * include/netdb.h: Likewise.
36753 * include/netinet/in.h: Likewise.
36754 * include/pthread.h: Likewise.
36755 * include/pwd.h: Likewise.
36756 * include/regex.h: Likewise.
36757 * include/sched.h: Likewise.
36758 * include/search.h: Likewise.
36759 * include/setjmp.h: Likewise.
36760 * include/signal.h: Likewise.
36761 * include/stdio.h: Likewise.
36762 * include/stdlib.h: Likewise.
36763 * include/string.h: Likewise.
36764 * include/sys/cdefs.h: Likewise.
36765 * include/sys/mman.h: Likewise.
36766 * include/sys/msg.h: Likewise.
36767 * include/sys/resource.h: Likewise.
36768 * include/sys/select.h: Likewise.
36769 * include/sys/socket.h: Likewise.
36770 * include/sys/stat.h: Likewise.
36771 * include/sys/statvfs.h: Likewise.
36772 * include/sys/time.h: Likewise.
36773 * include/sys/times.h: Likewise.
36774 * include/sys/uio.h: Likewise.
36775 * include/sys/utsname.h: Likewise.
36776 * include/sys/wait.h: Likewise.
36777 * include/termios.h: Likewise.
36778 * include/time.h: Likewise.
36779 * include/ulimit.h: Likewise.
36780 * include/unistd.h: Likewise.
36781 * include/utime.h: Likewise.
36782 * include/wchar.h: Likewise.
36783 * include/wctype.h: Likewise.
36784 * include/wordexp.h: Likewise.
36786 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36788 * time/time.h: TIME_UTC must be a macro.
36789 Make timespec_get available for ISO C11 only as well.
36791 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36793 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36794 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36796 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36798 * configure.in: Use -o not -a in test for unsupported multi-arch.
36800 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36802 * manual/texinfo.tex: Update to version 2012-01-19.16.
36804 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36806 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36808 2012-02-24 Roland McGrath <roland@hack.frob.com>
36811 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36812 * manual/fdl-1.3.texi: New file.
36813 * manual/fdl-1.1.texi: File removed.
36816 * manual/libc.texinfo (FDL_VERSION): New @set.
36817 Use it for mention of FDL in cover text.
36818 (Documentation License): Use it in @include file name.
36820 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36821 Roland McGrath <roland@hack.frob.com>
36824 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36825 (not LONG_LONG_MAX and LONG_LONG_MIN.
36826 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36827 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36829 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36831 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36835 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36836 manipulate bits before adding and subtracting TWO23[sx].
36837 * math/libm-test.inc (nearbyint_test): Add more tests.
36839 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36842 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36843 bits before adding and subtracting TWO23[sx].
36844 * math/libm-test.inc (rint_test): Add more tests.
36845 (rint_test_tonearest): Likewise.
36846 (rint_test_towardzero): Likewise.
36847 (rint_test_downward): Likewise.
36848 (rint_test_upward: Likewise.
36850 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36853 * include/stdc-predef.h: New file. Extracted from features.h.
36854 * include/features.h: Include stdc-predef.h.
36855 * Makefile (headers): Add stdc-predef.h.
36856 * CONFORMANCE (Compiler limitations): Update.
36858 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36860 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36862 2012-02-21 David S. Miller <davem@davemloft.net>
36864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36865 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36867 2012-02-20 David S. Miller <davem@davemloft.net>
36869 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36870 using a normal save/restore sequence, rather than allocating a
36871 dummy stack frame just to store a frame pointer and restore.
36872 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36874 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36876 * manual/install.texi: Fix stray word in line-wrapped comment.
36878 2012-02-20 David S. Miller <davem@davemloft.net>
36880 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36881 both binutils and gcc support GOTDATA.
36883 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36884 "rd %pc" in the PIC register setup sequences.
36886 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36887 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36888 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36889 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36890 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36892 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36895 (SYSCALL_ERROR_HANDLER): Likewise.
36896 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36897 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36899 (SYSCALL_ERROR_HANDLER): Likewise.
36901 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36902 (HAVE_GCC_GOTDATA): New.
36903 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36904 relocation support in both binutils and gcc.
36905 * sysdeps/sparc/elf/configure: Regenerate.
36907 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36908 * sysdeps/sparc/sparc32/elf/configure: Delete.
36909 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36910 * sysdeps/sparc/sparc64/elf/configure: Delete.
36911 * sysdeps/sparc/elf/configure.in: New file.
36912 * sysdeps/sparc/elf/configure: Generate.
36914 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36915 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36916 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36917 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36918 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36920 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36922 * manual/install.texi: Do not mention specific glibc version
36924 * manual/libc.texinfo (VERSION, UPDATED): Update.
36925 (@copying): Use @copyright{} and range of years.
36927 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36930 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36931 [crti.S not in sysdirs] (generated): Do not append.
36932 [crti.S not in sysdirs] (omit-deps): Likewise.
36933 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36934 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36935 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36936 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36937 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36939 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36940 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36941 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36942 * csu/defs.awk: Remove file.
36943 * sysdeps/generic/initfini.c: Likewise.
36944 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36946 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36949 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36951 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36952 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36953 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36954 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36955 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36956 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36958 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36959 (__EPOLL_PACKED): Define to empty if not defined by
36961 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36965 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36967 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36968 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36969 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36970 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36972 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36976 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36978 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36980 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36981 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36982 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36985 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36987 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36988 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36990 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36992 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36993 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36995 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36997 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37000 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37002 * math/w_acos.c: Use non-signaling floating-point comparisons.
37003 * math/w_acosf.c: Likewise.
37004 * math/w_acosh.c: Likewise.
37005 * math/w_acoshf.c: Likewise.
37006 * math/w_acoshl.c: Likewise.
37007 * math/w_acosl.c: Likewise.
37008 * math/w_asin.c: Likewise.
37009 * math/w_asinf.c: Likewise.
37010 * math/w_asinl.c: Likewise.
37011 * math/w_atanh.c: Likewise.
37012 * math/w_atanhf.c: Likewise.
37013 * math/w_atanhl.c: Likewise.
37014 * math/w_exp2.c: Likewise.
37015 * math/w_exp2f.c: Likewise.
37016 * math/w_exp2l.c: Likewise.
37017 * math/w_j0.c: Likewise.
37018 * math/w_j0f.c: Likewise.
37019 * math/w_j0l.c: Likewise.
37020 * math/w_j1.c: Likewise.
37021 * math/w_j1f.c: Likewise.
37022 * math/w_j1l.c: Likewise.
37023 * math/w_jn.c: Likewise.
37024 * math/w_jnf.c: Likewise.
37025 * math/w_log.c: Likewise.
37026 * math/w_log10.c: Likewise.
37027 * math/w_log10f.c: Likewise.
37028 * math/w_log10l.c: Likewise.
37029 * math/w_log2.c: Likewise.
37030 * math/w_log2f.c: Likewise.
37031 * math/w_log2l.c: Likewise.
37032 * math/w_logf.c: Likewise.
37033 * math/w_logl.c: Likewise.
37034 * math/w_sqrt.c: Likewise.
37035 * math/w_sqrtf.c: Likewise.
37036 * math/w_sqrtl.c: Likewise.
37037 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37038 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37040 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37041 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37043 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37046 * manual/string.texi (strnlen): Use correct parameter name in
37047 equivalent expression.
37049 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37052 * manual/users.texi (seteuid): Consistently use neweuid for
37055 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37058 * manual/nss.texi (Services in the NSS configuration): Correct
37059 list of services in example configuration file.
37061 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37064 * manual/arith.texi: Remove statements about negative zero
37065 behaving identically to zero.
37067 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37070 * manual/install.texi: Do not document upgrading from libc5.
37072 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37075 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37077 2012-02-18 David S. Miller <davem@davemloft.net>
37079 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37080 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37081 %o7 across the call.
37082 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37085 SETUP_PIC_REG_LEAF.
37086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37087 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37088 * sysdeps/sparc/crtn.S: Likewise.
37090 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37092 * aout/Makefile: Remove.
37094 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37097 * manual/examples/argp-ex1.c (main): Format definition in GNU
37099 * manual/examples/argp-ex2.c (main): Likewise.
37100 * manual/examples/argp-ex3.c (main): Likewise.
37101 * manual/examples/argp-ex4.c (main): Likewise.
37102 * manual/examples/longopt.c (main): Use new-style prototype
37104 * manual/examples/strncat.c (main): Specify return type and use
37105 (void) for arguments.
37106 * manual/examples/subopt.c (main): Use char **argv argument.
37108 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37111 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37114 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37117 * manual/string.texi (strchr): Change when strchrnul is
37120 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37123 * manual/locale.texi (setlocale): Document LOCPATH.
37125 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37128 * manual/process.texi (execle): Move @dots{} before last argument.
37130 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37133 * manual/charset.texi (Generic Charset Conversion): Fix typo
37134 (LC_TYPE -> LC_CTYPE).
37136 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37139 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37140 (scalbnf): Likewise.
37141 (scalbnl): Likewise.
37142 (scalbln): Likewise.
37143 (scalblnf): Likewise.
37144 (scalblnl): Likewise.
37145 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37146 (vwarnx): Likewise.
37149 * manual/filesys.texi (telldir): Use braces around return type.
37150 * manual/llio.texi (mmap): Add space after comma.
37151 (mmap64): Likewise.
37152 * manual/math.texi (jn): Use @var{} on parameter names.
37158 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37160 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37162 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37163 (sched_get_priority_max): Likewise.
37164 * manual/signal.texi (sigvec): Add space after comma.
37165 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37167 (if_indextoname): Likewise.
37168 (if_freenameindex): Likewise.
37169 (sendto): Use ',' instead of '.' in prototype.
37170 * manual/startup.texi (syscall): Use @dots{} instead of literal
37172 * manual/stdio.texi (__fpending): Separate initial words of
37173 paragraph from @deftypefun line.
37174 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37176 (vsyslog): Use @var{} on parameter names.
37177 * manual/terminal.texi (stty): Use @var{} on parameter names.
37178 * manual/users.texi (getutmp): Use @var{} on parameter names.
37179 (getutmpx): Likewise.
37181 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37184 * manual/stdio.texi (fopen): Fix typos in description of
37187 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37190 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37191 get clock_id definition.
37193 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37196 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37197 (madvise): Cast every argument to void on its own.
37199 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37202 * manual/startup.texi (Exit Status): Fix typo.
37204 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37207 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37208 * manual/examples/argp-ex2.c: Likewise.
37209 * manual/examples/argp-ex3.c: Likewise.
37211 2012-02-16 Richard Henderson <rth@redhat.com>
37213 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37214 * sysdeps/s390/s390-32/initfini.c: Remove.
37215 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37216 * sysdeps/s390/s390-64/initfini.c: Remove.
37218 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37220 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37221 compiler output for sysdeps/generic/initfini.c.
37222 * sysdeps/sh/elf/initfini.c: Remove file.
37224 2012-02-16 David S. Miller <davem@davemloft.net>
37227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37229 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37230 * sysdeps/sparc/crti.S: New file.
37231 * sysdeps/sparc/crtn.S: New file.
37232 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37233 * sysdeps/sparc/sparc64/Makefile: Likewise.
37235 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37238 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37240 2012-02-15 Roland McGrath <roland@hack.frob.com>
37243 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37245 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37246 (write, read, close): Likewise.
37247 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37249 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37251 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37252 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37253 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37254 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37256 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37260 2012-02-14 Marek Polacek <polacek@redhat.com>
37262 * sysdeps/x86_64/crti.S: New file.
37263 * sysdeps/x86_64/crtn.S: New file.
37264 * sysdeps/x86_64/elf/initfini.c: Remove file.
37266 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37268 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37269 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37270 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37271 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37273 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37277 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37279 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37280 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37281 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37282 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37284 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37288 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37290 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37291 __feraiseexcept instead of feraiseexcept.
37293 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37294 nanosleep invocations.
37295 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37296 strings, and add error checking for a nanosleep invocations.
37298 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37300 Replace FSF snail mail address with URLs, as per GNU coding standards.
37301 Most of the snail mail addresses were wrong anyway, and omitting
37302 them makes the source code easier to maintain. Almost all of the
37303 changes are to license notices and to locale LC_IDENTIFICATION
37304 addresses, except for this one:
37305 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37306 not its snail mail address.
37308 2012-02-09 Richard Henderson <rth@twiddle.net>
37310 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37311 of kernel-features.h.
37313 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37315 2012-02-08 Marek Polacek <polacek@redhat.com>
37317 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37318 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37319 * sysdeps/gnu/_G_config.h: Likewise.
37320 * sysdeps/generic/_G_config.h: Likewise.
37322 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37324 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37328 * sysdeps/powerpc/powerpc32/crti.S: New file.
37329 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37330 * sysdeps/powerpc/powerpc64/crti.S: New file.
37331 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37333 * Makeconfig (have-initfini): Don't set.
37334 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37335 * configure.in (nopic_initfini): Don't substitute.
37336 * config.h.in (HAVE_INITFINI): Don't #undef.
37337 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37338 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37340 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37342 Support crti.S and crtn.S provided directly by architectures.
37343 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37344 [crti.S in sysdirs] (omit-deps): Likewise.
37345 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37346 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37347 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37348 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37349 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37350 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37351 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37352 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37353 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37354 compiler output for sysdeps/generic/initfini.c.
37355 * sysdeps/i386/elf/Makefile: Remove file.
37356 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37358 2012-02-07 Marek Polacek <polacek@redhat.com>
37360 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37361 * sysdeps/gnu/_G_config.h: Likewise.
37362 * sysdeps/mach/hurd/_G_config.h: Likewise.
37364 2012-02-07 Marek Polacek <polacek@redhat.com>
37366 * math/Makefile (tests): Add tst-CMPLX2.
37367 * math/tst-CMPLX2.c: New file.
37369 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37371 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37373 * math/libm-test.inc (jn_test): Add missing L suffix.
37375 2012-02-06 Marek Polacek <polacek@redhat.com>
37377 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37378 * sysdeps/i386/fpu/e_powf.S: Likewise.
37379 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37380 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37381 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37382 * sysdeps/i386/fpu/e_pow.S: Likewise.
37383 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37384 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37385 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37386 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37387 * sysdeps/i386/fpu/e_log2.S: Likewise.
37388 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37389 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37390 * sysdeps/i386/fpu/e_powl.S: Likewise.
37391 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37392 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37393 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37394 * sysdeps/i386/fpu/e_logl.S: Likewise.
37395 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37396 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37397 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37398 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37399 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37400 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37401 * sysdeps/i386/fpu/e_log.S: Likewise.
37402 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37403 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37404 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37405 * sysdeps/i386/fpu/e_logf.S: Likewise.
37406 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37407 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37408 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37409 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37410 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37411 * sysdeps/i386/fpu/e_log10.S: Likewise.
37412 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37413 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37414 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37415 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37416 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37417 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37418 * sysdeps/i386/asm-syntax.h: Likewise.
37419 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37420 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37421 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37422 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37423 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37424 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37425 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37426 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37427 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37428 * sysdeps/powerpc/sysdep.h: Likewise.
37429 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37430 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37432 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37435 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37437 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37439 * sysdeps/i386/sysdep.h: Include <features.h>.
37440 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37443 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37445 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37447 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37450 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37452 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37453 (SETUP_PIC_REG): Use GET_PC_THUNK.
37454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37457 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37459 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37460 for non-PIC compilation.
37461 (SETUP_PIC_REG): Add .p2align directive.
37462 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37463 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37464 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37465 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37466 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37467 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37468 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37469 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37470 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37471 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37472 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37473 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37474 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37475 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37476 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37477 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37478 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37479 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37480 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37481 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37484 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37485 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37486 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37488 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37489 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37490 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37491 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37492 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37493 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37494 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37495 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37496 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37497 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37498 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37499 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37500 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37501 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37502 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37504 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37506 * math/tst-CMPLX.c: Include <stdio.h>.
37508 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37510 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37512 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37513 * sysdeps/sparc/bits/mathdef.h: Likewise.
37515 2012-01-31 Marek Polacek <polacek@redhat.com>
37517 * libio/libio.h: Don't define _PARAMS.
37518 * locale/programs/config.h: Don't define PARAMS.
37519 * stdlib/strtol_l.c: Likewise.
37520 (__strtol_l): Remove PARAMS from the prototype.
37522 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37524 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37525 names. Just use the correct names. Remove unnecessary wrapper
37527 * malloc/arena.c: Likewise.
37528 * malloc/hooks.c: Likewise.
37530 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37531 ARENA_TEST says not to. Simplify test for creation of a new arena.
37532 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37534 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37536 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37538 (update_get_addr): New function.
37539 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37540 GET_ADDR_MODULE parameter.
37542 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37544 * crypt/cert.c: Remove __STDC__ conditionals.
37545 * crypt/crypt-entry.c: Likewise.
37546 * crypt/crypt_util.c: Likewise.
37547 * libio/filedoalloc.c: Likewise.
37548 * libio/fileops.c: Likewise.
37549 * libio/genops.c: Likewise.
37550 * libio/iofclose.c: Likewise.
37551 * libio/iofdopen.c: Likewise.
37552 * libio/iofopen.c: Likewise.
37553 * libio/iofopen64.c: Likewise.
37554 * libio/iogetdelim.c: Likewise.
37555 * libio/iopopen.c: Likewise.
37556 * libio/obprintf.c: Likewise.
37557 * libio/oldfileops.c: Likewise.
37558 * libio/oldiofclose.c: Likewise.
37559 * libio/oldiofdopen.c: Likewise.
37560 * libio/oldiofopen.c: Likewise.
37561 * libio/oldiopopen.c: Likewise.
37562 * libio/wfiledoalloc.c: Likewise.
37563 * libio/wgenops.c: Likewise.
37564 * locale/programs/xmalloc.c: Likewise.
37565 * misc/syslog.c: Likewise.
37566 * stdio-common/xbug.c: Likewise.
37567 * string/memchr.c: Likewise.
37568 * string/memcmp.c: Likewise.
37569 * string/memrchr.c: Likewise.
37570 * string/rawmemchr.c: Likewise.
37571 * sysdeps/posix/getcwd.c: Likewise.
37572 * time/strftime_l.c: Likewise.
37574 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37576 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37577 * config.make.in (config-cflags-sse2avx): Define.
37578 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37581 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37583 * scripts/config.guess: Update from upstream config git repository.
37584 * scripts/config.sub: Likewise.
37586 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37588 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37590 (R_TILEPRO_*, R_TILEGX_*): New macros.
37592 * scripts/firstversions.awk: Fix bug in version range handling.
37594 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37596 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37598 * include/sys/epoll.h: New file.
37599 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37602 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37604 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37605 Avoid unnecessary __WORDSIZE == 64 test.
37606 (fmaxf): Use VEX format if possible.
37611 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37612 * math/math_private.h: Remove libc_fegetround* and
37614 * sysdeps/i386/configure.in: Check for -msse2avx.
37615 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37616 also if SSE2AVX is defined.
37617 Remove libc_fegetround* and libc_fesetround*.
37618 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37619 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37620 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37622 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37623 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37624 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37626 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37628 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37630 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37632 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37634 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37636 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37639 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37641 * Makeconfig (libm): Define.
37642 * elf/Makefile: Add rules to build and run tst-relsort1.
37643 * elf/tst-relsort1.c: New file.
37644 * elf/tst-relsort1mod1.c: New file.
37645 * elf/tst-relsort1mod2.c: New file.
37647 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37649 * math/s_ldexp.c: Remove __STDC__ conditionals.
37650 * math/s_ldexpf.c: Likewise.
37651 * math/s_ldexpl.c: Likewise.
37652 * math/s_nextafter.c: Likewise.
37653 * math/s_nexttowardf.c: Likewise.
37654 * math/s_significand.c: Likewise.
37655 * math/s_significandf.c: Likewise.
37656 * math/s_significandl.c: Likewise.
37657 * math/w_jnl.c: Likewise.
37658 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37659 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37660 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37661 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37662 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37677 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37678 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37679 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37680 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37681 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37682 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37683 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37684 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37685 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37687 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37688 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37689 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37690 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37691 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37692 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37693 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37694 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37695 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37696 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37697 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37698 * sysdeps/ieee754/k_standard.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37760 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37762 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37765 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37774 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37778 * sysdeps/ieee754/s_matherr.c: Likewise.
37779 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37780 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37781 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37782 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37784 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37786 * crypt/md5.h: Remove __STDC__ conditionals.
37787 * libio/libioP.h: Likewise.
37788 * locale/programs/config.h: Likewise.
37789 * sysdeps/generic/sysdep.h: Likewise.
37790 * sysdeps/i386/asm-syntax.h: Likewise.
37791 * sysdeps/s390/asm-syntax.h: Likewise.
37792 * sysdeps/unix/sysdep.h: Likewise.
37793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37796 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37798 * libio/libio.h: Remove __STDC__ conditionals.
37799 * malloc/obstack.h: Likewise.
37800 * math/complex.h: Likewise.
37801 * math/math.h: Likewise.
37802 * sysdeps/generic/_G_config.h: Likewise.
37803 * sysdeps/gnu/_G_config.h: Likewise.
37804 * sysdeps/mach/hurd/_G_config.h: Likewise.
37805 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37806 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37807 * sysdeps/sparc/bits/mathdef.h: Likewise.
37809 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37812 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37813 Clean up HAS_* macros.
37814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37815 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37817 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37819 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37820 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37821 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37823 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37825 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37827 * elf/tst-unique3.cc (gets): Remove declaration.
37828 * elf/tst-unique3lib.cc (gets): Likewise.
37829 * elf/tst-unique3lib2.cc (gets): Likewise.
37830 * elf/tst-unique4.cc (gets): Likewise.
37832 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37834 * include/stdio.h: Add C++ protection. Add gets declarations and
37836 * debug/tst-chk1.c: Don't declare gets here.
37837 * stdio-common/tst-gets.c: Likewise.
37839 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37841 * posix/glob: Remove directory.
37843 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37845 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37847 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37849 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37850 of the non-standard EPFNOSUPPORT.
37852 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37854 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37855 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37856 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37858 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37860 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37862 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37864 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37866 * nscd/grpcache.c (cache_addgr): Likewise.
37867 * nscd/hstcache.c (cache_addhst): Likewise.
37868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37869 * nscd/pwdcache.c (cache_addpw): Likewise.
37870 * nscd/servicescache.c (cache_addserv): Likewise.
37872 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37874 * malloc/malloc.c: Various cleanups.
37875 * malloc/hooks.c: Likewise.
37877 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37878 * stdlib/bug-fmtmsg1.c: New file.
37880 * stdlib/fmtmsg.c (init): Add missing unlock.
37881 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37883 2012-01-12 Marek Polacek <polacek@redhat.com>
37885 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37888 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37890 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37891 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37892 macro to ensure uniqueness of label name.
37893 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37894 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37896 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37898 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37900 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37901 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37902 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37905 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37909 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37910 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37911 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37913 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37915 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37916 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37917 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37920 * math/bits/math-finite.h: Add ldexp support.
37922 2012-01-10 Marek Polacek <polacek@redhat.com>
37924 * locale/programs/localedef.h (show_archive_content): Add noreturn
37927 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37929 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37931 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37933 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37935 * io/Makefile (headers): Add bits/poll2.h.
37937 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37940 typo #include statement.
37942 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37944 * include/sys/cdefs.h: Define __attribute_alloc_size.
37945 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37946 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37947 * elf/pldd.c: Likewise.
37948 * iconv/iconv_charmap.c: Likewise.
37949 * iconv/iconvconfig.c: Likewise.
37950 * iconv/strtab.c: Likewise.
37951 * locale/programs/locale.c: Likewise.
37952 * locale/programs/localedef.h: Likewise.
37953 * locale/programs/simple-hash.c: Likewise.
37954 * nscd/nscd.h: Likewise.
37955 * nss/makedb.c: Likewise.
37956 * sysdeps/generic/ldconfig.h: Likewise.
37957 * locale/programs/localedef.c: Remove xmalloc prototype.
37958 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37960 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37962 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37965 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37967 * math/Makefile (tests): Add tst-CMPLX.
37968 * math/tst-CMPLX.c: New file.
37970 * math/complex.h (CMPLXL): Fix typo.
37972 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37973 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37975 * debug/tst-chk1.c: Add poll and ppoll tests.
37976 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37977 * include/sys/poll.h: Add hidden proto for ppoll.
37978 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37979 * sysdeps/mach/hurd/ppoll.c: Likewise.
37980 * io/ppoll.c: Likewise.
37981 * debug/poll_chk.c: New file.
37982 * debug/ppoll_chk.c: New file.
37983 * include/bits/poll2.h: New file.
37984 * io/bits/poll2.h: New file.
37987 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37989 * configure.in: static is always set to yes. Remove.
37990 * config.make.in: Don't set build-static.
37991 * Makeconfig: Remove use of build-static.
37992 * dlfcn/Makefile: Likewise.
37993 * elf/Makefile: Likewise.
37994 * math/Makefile: Likewise.
37995 * misc/Makefile: Likewise.
37996 * nptl/Makefile: Likewise.
37997 * sysdeps/mach/hurd/Makefile: Likewise.
37999 * configure.in: PWD_P is not used anymore.
38000 * config.make.in: Remove PWD_P entry.
38002 * configure.in: Remove last remnants of RANLIB.
38003 No need to check for signed size_t anymore.
38004 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38006 Remove __builtin_expect test because we require at least gcc 3.4.
38007 * aclocal.m4: Likewise.
38009 * wcsmbs/mbrtoc16.c: Implement using towc function.
38010 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38011 * wcsmbs/wcsmbsload.c: Likewise.
38012 * iconv/gconv_simple.c: Likewise.
38013 * iconv/gconv_int.h: Likewise.
38014 * iconv/gconv_builtin.h: Likewise.
38015 * iconv/iconv_prog.c: Remove CHAR16 handling.
38017 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38019 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38021 * configure.in: Remove --with-elf and --enable-bounded options.
38022 Dont set base_machine for ia64. More non-ELF conditions removed.
38023 Remove testing and setting of leading underscore information.
38024 * config.make.in (build-bounded): Set to no.
38025 * config.h.in: Remove NO_UNDERSCORES entry.
38026 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38028 * csu/start.c: Remove !NO_UNDERSCORE code.
38029 * locale/localeinfo.h: Likewise.
38030 * sysdeps/generic/machine-gmon.h: Likewise.
38031 * sysdeps/generic/sysdep.h: Likewise.
38032 * sysdeps/i386/sysdep.h: Likewise.
38033 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38034 * sysdeps/mach/sysdep.h: Likewise.
38035 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38036 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38037 * sysdeps/sh/sysdep.h: Likewise.
38038 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38039 * sysdeps/unix/i386/sysdep.S: Likewise.
38040 * sysdeps/unix/sparc/start.c: Likewise.
38041 * sysdeps/unix/sparc/sysdep.S: Likewise.
38042 * sysdeps/unix/sparc/sysdep.h: Likewise.
38043 * sysdeps/unix/start.c: Likewise.
38044 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38045 * sysdeps/x86_64/sysdep.h: Likewise.
38047 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38050 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38052 * argp/argp-fmtstream.h: Use const instead __const.
38053 * argp/argp.h: Likewise.
38054 * assert/assert.h: Likewise.
38055 * bits/fenv.h: Likewise.
38056 * bits/sched.h: Likewise.
38057 * bits/sigset.h: Likewise.
38058 * bits/sigthread.h: Likewise.
38059 * catgets/nl_types.h: Likewise.
38060 * conform/data/pthread.h-data: Likewise.
38061 * crypt/crypt-private.h: Likewise.
38062 * crypt/crypt.h: Likewise.
38063 * crypt/crypt_util.c: Likewise.
38064 * ctype/ctype.h: Likewise.
38065 * debug/execinfo.h: Likewise.
38066 * debug/mbsnrtowcs_chk.c: Likewise.
38067 * debug/mbsrtowcs_chk.c: Likewise.
38068 * debug/wcsnrtombs_chk.c: Likewise.
38069 * debug/wcsrtombs_chk.c: Likewise.
38070 * debug/wcstombs_chk.c: Likewise.
38071 * dirent/dirent.h: Likewise.
38072 * dlfcn/dlfcn.h: Likewise.
38073 * elf/neededtest4.c: Likewise.
38074 * grp/grp.h: Likewise.
38075 * gshadow/gshadow.h: Likewise.
38076 * iconv/gconv.h: Likewise.
38077 * iconv/gconv_int.h: Likewise.
38078 * iconv/gconv_simple.c: Likewise.
38079 * iconv/iconv.h: Likewise.
38080 * iconv/loop.c: Likewise.
38081 * iconv/skeleton.c: Likewise.
38082 * include/aio.h: Likewise.
38083 * include/aliases.h: Likewise.
38084 * include/argz.h: Likewise.
38085 * include/arpa/inet.h: Likewise.
38086 * include/assert.h: Likewise.
38087 * include/dirent.h: Likewise.
38088 * include/dlfcn.h: Likewise.
38089 * include/execinfo.h: Likewise.
38090 * include/fcntl.h: Likewise.
38091 * include/fenv.h: Likewise.
38092 * include/glob.h: Likewise.
38093 * include/grp.h: Likewise.
38094 * include/libintl.h: Likewise.
38095 * include/mntent.h: Likewise.
38096 * include/netdb.h: Likewise.
38097 * include/pwd.h: Likewise.
38098 * include/rpc/netdb.h: Likewise.
38099 * include/sched.h: Likewise.
38100 * include/search.h: Likewise.
38101 * include/shadow.h: Likewise.
38102 * include/signal.h: Likewise.
38103 * include/stdio.h: Likewise.
38104 * include/stdlib.h: Likewise.
38105 * include/string.h: Likewise.
38106 * include/sys/socket.h: Likewise.
38107 * include/sys/stat.h: Likewise.
38108 * include/sys/statfs.h: Likewise.
38109 * include/sys/statvfs.h: Likewise.
38110 * include/sys/syslog.h: Likewise.
38111 * include/sys/time.h: Likewise.
38112 * include/sys/uio.h: Likewise.
38113 * include/time.h: Likewise.
38114 * include/unistd.h: Likewise.
38115 * include/utmp.h: Likewise.
38116 * include/wchar.h: Likewise.
38117 * include/wctype.h: Likewise.
38118 * inet/aliases.h: Likewise.
38119 * inet/arpa/inet.h: Likewise.
38120 * inet/netinet/ether.h: Likewise.
38121 * inet/netinet/in.h: Likewise.
38122 * intl/libintl.h: Likewise.
38123 * io/bits/fcntl2.h: Likewise.
38124 * io/fcntl.h: Likewise.
38125 * io/ftw.h: Likewise.
38126 * io/sys/poll.h: Likewise.
38127 * io/sys/stat.h: Likewise.
38128 * io/sys/statfs.h: Likewise.
38129 * io/sys/statvfs.h: Likewise.
38130 * io/utime.h: Likewise.
38131 * libio/bits/stdio.h: Likewise.
38132 * libio/bits/stdio2.h: Likewise.
38133 * libio/libio.h: Likewise.
38134 * libio/libioP.h: Likewise.
38135 * libio/stdio.h: Likewise.
38136 * locale/lc-ctype.c: Likewise.
38137 * locale/locale.h: Likewise.
38138 * login/utmp.h: Likewise.
38139 * malloc/arena.c: Likewise.
38140 * malloc/malloc.c: Likewise.
38141 * malloc/malloc.h: Likewise.
38142 * malloc/mcheck.c: Likewise.
38143 * malloc/mtrace.c: Likewise.
38144 * math/bits/mathcalls.h: Likewise.
38145 * math/fenv.h: Likewise.
38146 * math/math_private.h: Likewise.
38147 * misc/bits/error.h: Likewise.
38148 * misc/bits/syslog.h: Likewise.
38149 * misc/err.h: Likewise.
38150 * misc/error.h: Likewise.
38151 * misc/fstab.h: Likewise.
38152 * misc/mntent.h: Likewise.
38153 * misc/regexp.h: Likewise.
38154 * misc/search.h: Likewise.
38155 * misc/sgtty.h: Likewise.
38156 * misc/sys/mman.h: Likewise.
38157 * misc/sys/syslog.h: Likewise.
38158 * misc/sys/uio.h: Likewise.
38159 * misc/sys/xattr.h: Likewise.
38160 * misc/ttyent.h: Likewise.
38161 * nis/rpcsvc/ypclnt.h: Likewise.
38162 * nss/nss.h: Likewise.
38163 * posix/bits/unistd.h: Likewise.
38164 * posix/fnmatch.h: Likewise.
38165 * posix/glob.h: Likewise.
38166 * posix/sched.h: Likewise.
38167 * posix/spawn.h: Likewise.
38168 * posix/sys/wait.h: Likewise.
38169 * posix/unistd.h: Likewise.
38170 * posix/wordexp.h: Likewise.
38171 * pwd/pwd.h: Likewise.
38172 * resolv/netdb.h: Likewise.
38173 * resource/sys/resource.h: Likewise.
38174 * rt/aio.h: Likewise.
38175 * rt/bits/mqueue2.h: Likewise.
38176 * rt/mqueue.h: Likewise.
38177 * shadow/shadow.h: Likewise.
38178 * signal/signal.h: Likewise.
38179 * socket/send.c: Likewise.
38180 * socket/sendto.c: Likewise.
38181 * socket/sys/socket.h: Likewise.
38182 * stdio-common/printf.h: Likewise.
38183 * stdlib/bits/stdlib.h: Likewise.
38184 * stdlib/fmtmsg.h: Likewise.
38185 * stdlib/monetary.h: Likewise.
38186 * stdlib/stdlib.h: Likewise.
38187 * stdlib/ucontext.h: Likewise.
38188 * streams/stropts.h: Likewise.
38189 * string/argz.h: Likewise.
38190 * string/bits/string2.h: Likewise.
38191 * string/string.h: Likewise.
38192 * string/strings.h: Likewise.
38193 * sunrpc/rpc/auth.h: Likewise.
38194 * sunrpc/rpc/auth_des.h: Likewise.
38195 * sunrpc/rpc/clnt.h: Likewise.
38196 * sunrpc/rpc/netdb.h: Likewise.
38197 * sunrpc/rpc/pmap_clnt.h: Likewise.
38198 * sunrpc/rpc/xdr.h: Likewise.
38199 * sysdeps/generic/inttypes.h: Likewise.
38200 * sysdeps/generic/net/if.h: Likewise.
38201 * sysdeps/generic/sys/swap.h: Likewise.
38202 * sysdeps/gnu/net/if.h: Likewise.
38203 * sysdeps/gnu/utmpx.h: Likewise.
38204 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38205 * sysdeps/i386/i486/bits/string.h: Likewise.
38206 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38207 * sysdeps/s390/bits/string.h: Likewise.
38208 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38209 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38210 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38211 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38212 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38213 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38214 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38215 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38216 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38217 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38218 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38219 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38220 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38221 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38222 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38223 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38224 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38226 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38227 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38228 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38229 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38230 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38231 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38232 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38233 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38234 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38236 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38238 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38239 * sysvipc/sys/ipc.h: Likewise.
38240 * sysvipc/sys/msg.h: Likewise.
38241 * sysvipc/sys/sem.h: Likewise.
38242 * sysvipc/sys/shm.h: Likewise.
38243 * termios/termios.h: Likewise.
38244 * time/sys/time.h: Likewise.
38245 * time/time.h: Likewise.
38246 * wcsmbs/bits/wchar2.h: Likewise.
38247 * wcsmbs/uchar.h: Likewise.
38248 * wcsmbs/wchar.h: Likewise.
38249 * wctype/wctype.h: Likewise.
38252 * Makeconfig: Remove all but ELF support including AIX support.
38253 * Makerules: Likewise.
38254 * config.h.in: Likewise.
38255 * config.make.in: Likewise.
38256 * configure: Likewise.
38257 * configure.in: Likewise.
38258 * csu/Makefile: Likewise.
38259 * csu/version.c: Likewise.
38260 * debug/Makefile: Likewise.
38261 * dlfcn/Makefile: Likewise.
38262 * elf/Makefile: Likewise.
38263 * extra-lib.mk: Likewise.
38264 * iconv/Makefile: Likewise.
38265 * include/libc-symbols.h: Likewise.
38266 * include/shlib-compat.h: Likewise.
38267 * resolv/Makefile: Likewise.
38268 * resolv/res_libc.c: Likewise.
38269 * rt/Makefile: Likewise.
38270 * sysdeps/i386/asm-syntax.h: Likewise.
38271 * sysdeps/i386/sysdep.h: Likewise.
38272 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38273 * sysdeps/mach/sysdep.h: Likewise.
38274 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38275 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38276 * sysdeps/s390/asm-syntax.h: Likewise.
38277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38279 * sysdeps/sh/sysdep.h: Likewise.
38280 * sysdeps/unix/sparc/sysdep.h: Likewise.
38281 * sysdeps/wordsize-32/divdi3.c: Likewise.
38282 * sysdeps/x86_64/sysdep.h: Likewise.
38284 * argp/Versions: Remove _argp_unlock_xxx.
38287 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38288 * abilist/libBrokenLocale.abilist: Likewise.
38289 * abilist/libanl.abilist: Likewise.
38290 * abilist/libc.abilist: Likewise.
38291 * abilist/libcrypt.abilist: Likewise.
38292 * abilist/libdl.abilist: Likewise.
38293 * abilist/libm.abilist: Likewise.
38294 * abilist/libnsl.abilist: Likewise.
38295 * abilist/libpthread.abilist: Likewise.
38296 * abilist/libresolv.abilist: Likewise.
38297 * abilist/librt.abilist: Likewise.
38298 * abilist/libthread_db.abilist: Likewise.
38299 * abilist/libutil.abilist: Likewise.
38300 * abilist/libnss_db.abilist: New file.
38302 * scripts/abilist.awk: Add support for indirect functions.
38304 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38306 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38308 * shlib-versions: Remove entries for ports architectures.
38310 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38312 * elf/stackguard-macros.h: Remove support for IA-64.
38313 * elf/tst-auditmod1.c: Likewise.
38314 * sysdeps/generic/ldsodefs.h: Likewise.
38316 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38317 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38321 * configure.in: Remove --enable-omitfp support.
38323 * config.make.in: Likewise.
38324 * Makeconfig: Likewise.
38325 * manual/install.texi: Likewise.
38327 In case anyone cares, the IA-64 architecture could move to ports.
38328 * sysdeps/ia64/*: Removed.
38329 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38330 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38333 * configure.in: Remove entries for unsupported architectures.
38336 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38337 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38339 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38340 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38341 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38342 fall back to using wcrtomb.
38343 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38344 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38346 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38347 * wcsmbs/tst-c16c32-1.c: New file.
38349 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38352 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38354 * elf/tst-unique3.cc: Add explicit declaration of gets.
38355 * elf/tst-unique3lib.cc: Likewise.
38356 * elf/tst-unique3lib2.cc: Likewise.
38357 * elf/tst-unique4.cc: Likewise.
38359 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38361 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38364 * assert/assert.h (static_assert): Don't define for C++.
38365 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38366 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38368 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38370 * iconv/loop.c (single loop): Fix assertion in storing of
38373 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38375 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38377 * posix/getconf.c: Update copyright year.
38378 * nss/getent.c: Likewise.
38379 * nss/makedb.c: Likewise.
38380 * iconv/iconvconfig.c: Likewise.
38381 * iconv/iconv_prog.c: Likewise.
38382 * elf/ldconfig.c: Likewise.
38383 * elf/pldd.c: Likewise.
38384 * elf/sotruss.ksh: Likewise.
38385 * catgets/gencat.c: Likewise.
38386 * csu/version.c: Likewise.
38387 * elf/ldd.bash.in: Likewise.
38388 * elf/sprof.c (print_version): Likewise.
38389 * locale/programs/locale.c: Likewise.
38390 * locale/programs/localedef.c: Likewise.
38391 * login/programs/pt_chown.c: Likewise.
38392 * nscd/nscd.c (print_version): Likewise.
38393 * debug/xtrace.sh: Likewise.
38394 * malloc/memusage.sh: Likewise.
38395 * malloc/mtrace.pl: Likewise.
38396 * debug/catchsegv.sh: Likewise.
38398 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38400 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38403 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38406 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38407 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38409 * iconv/gconv_int.h: Likewise.
38410 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38411 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38412 from libc for GLIBC_2.16.
38413 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38414 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38415 * wcsmbs/uchar.h: Really define mbstate_t.
38416 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38417 * wcsmbs/c16rtomb.c: New file.
38418 * wcsmbs/mbrtoc16.c: New file.
38419 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38420 for C/POSIX locale.
38421 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38422 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38424 * wcsmbs/wchar.h: Add missing __restrict.
38426 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38429 * time/Makefile (routines): Add timespec_get.
38430 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38431 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38432 timespec for ISO C11.
38433 * time/timespec_get.c: New file.
38434 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38435 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38438 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38439 * stdlib/stdlib.h: Declare aligned_alloc.
38440 * Versions.def: Add GLIBC_2.16 for libc.
38441 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38444 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38447 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38451 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38454 * assert/assert.h (static_assert): Define.
38456 * version.h: Update for 2.16 development version.
38459 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38462 * version.h (RELEASE): Bump for 2.15 release.
38463 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38465 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38466 Patch by Marek Polacek <mpolacek@redhat.com>.
38468 * bits/byteswap.h: Protect long long constants with __extension__.
38469 * sysdeps/i386/bits/byteswap.h: Likewise.
38470 * sysdeps/ia64/bits/byteswap.h: Likewise.
38471 * sysdeps/s390/bits/byteswap.h: Likewise.
38472 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38474 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38477 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38478 destination buffer.
38479 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38481 2011-12-23 Marek Polacek <polacek@redhat.com>
38483 * elf/dl-addr.c (determine_info): Add inline keyword.
38484 * elf/tst-auditmod4b.c (check_avx): Likewise.
38485 * elf/tst-auditmod6b.c (check_avx): Likewise.
38486 * elf/tst-auditmod6c.c (check_avx): Likewise.
38487 * elf/tst-auditmod7b.c (check_avx): Likewise.
38489 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38491 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38494 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38497 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38498 processing for last bytes.
38500 2011-08-06 Bruno Haible <bruno@clisp.org>
38503 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38504 U+0385, not to U+1FEE.
38507 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38508 entry for U+00A5 U+0301.
38510 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38513 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38514 buffer for the output is too small.
38516 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38520 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38521 SSE flags if possible.
38523 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38527 processing for last bytes.
38529 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38531 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38532 (syscall-list-default-options, syscall-list-default-condition)
38533 (syscall-list-includes): Define.
38534 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38535 list of ABIs and options and #if conditions for each ABI. Do not
38536 handle common syscalls between ABIs specially.
38537 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38539 (syscall-list-variants, syscall-list-32bit-options)
38540 (syscall-list-32bit-condition, syscall-list-64bit-options)
38541 (syscall-list-64bit-condition): Define.
38542 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38543 (syscall-list-variants, syscall-list-32bit-options)
38544 (syscall-list-32bit-condition, syscall-list-64bit-options)
38545 (syscall-list-64bit-condition): Define.
38546 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38548 (syscall-list-variants, syscall-list-32bit-options)
38549 (syscall-list-32bit-condition, syscall-list-64bit-options)
38550 (syscall-list-64bit-condition): Define.
38551 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38553 (syscall-list-variants, syscall-list-32bit-options)
38554 (syscall-list-32bit-condition, syscall-list-64bit-options)
38555 (syscall-list-64bit-condition): Define.
38557 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38559 * locale/iso-639.def: Add brx entry.
38562 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38563 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38565 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38566 __feraiseexcept_renamed.
38568 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38571 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38572 EPOLLET with unsigned values.
38573 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38574 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38576 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38577 to large cancellation.
38578 * math/s_cacoshf.c: Likewise.
38579 * math/s_cacoshl.c: Likewise.
38581 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38585 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38586 * math/s_cacoshf.c: Likewise.
38587 * math/s_cacoshl.c: Likewise.
38589 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38592 * iconv/gconv.h: Define __GCONV_SWAP.
38593 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38594 * iconvdata/utf-16.c: Likewise.
38595 * iconvdata/utf-32.c: Likewise.
38597 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38600 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38601 numerator after shifting it by one limb.
38603 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38605 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38606 under [__USE_EXTERN_INLINES].
38608 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38611 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38613 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38615 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38616 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38618 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38619 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38620 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38621 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38622 for strncasecmp/strncasecmp_l compilation.
38623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38624 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38626 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38629 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38632 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38635 * time/tzfile.c (__tzfile_read): Check values from file header.
38637 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38639 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38640 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38641 * powerpc/powerpc32/dl-start.S: Likewise.
38642 * powerpc/powerpc32/elf/start.S: Likewise.
38643 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38644 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38645 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38646 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38647 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38648 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38649 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38650 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38651 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38652 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38653 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38654 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38655 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38656 * powerpc/powerpc32/memset.S: Likewise.
38657 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38658 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38659 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38660 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38661 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38662 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38663 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38664 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38665 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38666 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38667 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38668 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38669 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38671 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38673 * math/libm-test.inc: Added more nearbyint tests.
38674 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38675 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38676 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38679 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38681 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38684 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38686 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38687 Add wcscpy-ssse3 wcscpy-c.
38688 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38689 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38690 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38691 * sysdeps/x86_64/wcschr.S: New file.
38692 * sysdeps/x86_64/wcsrchr.S: New file.
38693 * string/test-strcmp.c: Remove checking of wcscmp function for
38695 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38696 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38697 wcsrchr-sse2 wcsrchr-c.
38698 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38699 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38700 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38701 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38702 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38703 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38704 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38705 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38706 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38707 * wcsmbc/wcschr.c (WCSCHR): New macro.
38709 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38711 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38712 * wcsmbs/test-wcsrchr.c: New file.
38713 * string/test-strrchr.c: Add wcsrchr support.
38715 * wcsmbs/test-wcscpy.c: New file.
38716 * string/test-strcpy.c: Add wcscpy support.
38719 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38721 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38724 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38727 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38729 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38731 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38732 Minor optimizations.
38734 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38735 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38736 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38738 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38740 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38741 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38742 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38743 for gcc to avoid warnings.
38744 * inet/Makefile (tests): Add tst-checks.
38745 * inet/tst-checks.c: New file.
38747 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38750 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38753 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38754 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38756 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38758 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38760 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38763 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38765 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38767 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38768 conditional on GCC version.
38769 (__arch_compare_and_exchange_val_8_acq)
38770 (__arch_compare_and_exchange_val_16_acq)
38771 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38772 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38773 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38775 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38777 * sysdeps/sh/backtrace.c: New file.
38779 2011-12-02 Andreas Schwab <schwab@redhat.com>
38781 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38784 2011-12-01 Andreas Schwab <schwab@redhat.com>
38786 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38787 falling back to utime.
38789 2011-11-30 Andreas Schwab <schwab@redhat.com>
38791 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38792 expectations for float.
38794 2011-11-29 Andreas Schwab <schwab@redhat.com>
38796 * locale/weight.h (findidx): Add parameter len.
38797 * locale/weightwc.h (findidx): Likewise.
38798 * posix/fnmatch_loop.c (FCT): Adjust caller.
38799 * posix/regcomp.c (build_equiv_class): Likewise.
38800 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38801 * posix/regexec.c (check_node_accept_bytes): Likewise.
38802 * string/strcoll_l.c (STRCOLL): Likewise.
38803 * string/strxfrm_l.c (STRXFRM): Likewise.
38805 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38807 * Makefile.in: Remove CVSOPT handling.
38808 * configure.in: Remove use of AC_REVISION.
38809 * iconvdata/Makefile (distribute): No need to filter out CVS.
38810 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38813 2011-11-16 Andreas Schwab <schwab@redhat.com>
38815 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38816 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38817 [USE_AS_STRNCASECMP_L]: Likewise.
38818 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38819 NO_TLS_DIRECT_SEG_REFS.
38820 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38821 Fix argument offsets for non-PIC.
38822 [USE_AS_STRNCASECMP_L]: Likewise.
38823 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38824 NO_TLS_DIRECT_SEG_REFS.
38826 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38828 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38830 * locale/loadlocale.c (_nl_load_locale): Likewise.
38832 2011-11-15 Andreas Schwab <schwab@redhat.com>
38834 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38835 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38836 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38837 (SYSCALL_GETTIME): Set errno on error.
38839 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38840 count references to noai6ai_cached.
38842 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38844 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38846 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38847 FD_CLOEXEC for /proc/self/maps.
38849 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38850 FD_CLOEXEC for /proc/meminfo.
38852 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38855 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38856 FD_CLOEXEC for given file.
38858 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38860 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38861 FD_CLOEXEC for /etc/hosts.
38862 (_gethtent): Likewise.
38864 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38866 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38867 cancellation and set FD_CLOEXEC for /etc/netgroup.
38869 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38870 reading /etc/publickey.
38872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38873 allow cancellation when reading /etc/group.
38875 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38877 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38879 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38880 when using data file.
38882 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38884 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38885 (write_nis_obj): Use "c" and "e" in fopen.
38887 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38889 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38891 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38893 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38895 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38898 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38900 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38902 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38904 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38905 file parsing and set FD_CLOEXEC.
38907 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38909 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38911 2011-11-14 Andreas Schwab <schwab@redhat.com>
38913 * malloc/arena.c (arena_get2): Don't call reused_arena when
38914 _int_new_arena failed.
38916 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38918 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38919 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38921 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38922 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38923 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38924 to compile strcasecmp and strncasecmp.
38925 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38926 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38930 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38932 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38933 locale-defines.sym to gen-as-const-headers.
38934 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38935 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38937 to compile strcasecmp and strncasecmp.
38938 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38939 strcasecmp_l and strncasecmp_l.
38940 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38941 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38942 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38943 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38944 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38945 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38946 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38947 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38948 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38949 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38950 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38952 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38954 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38955 result of SYSDEP_GETTIME_CPU to retval.
38956 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38957 parameter list to macro. Remove trailing semicolon. Adjust users.
38959 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38962 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38964 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38966 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38967 from unused variable.
38969 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38971 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38974 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38977 * sunrpc/rpc_prot.c (rejected): Fix case value.
38979 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38980 unsigned long long int to avoid warnings in shift.
38982 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38984 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38987 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38988 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38989 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38991 * nis/nis_table.c (nis_list): Use variable of correct type for
38992 result of __follow_path call.
38994 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38996 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38997 of math functions ceil, trunc, floor, round, and sqrt, when
38998 avaliable on the platform.
38999 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39001 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39002 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39003 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39005 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39007 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39008 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39010 2011-11-11 Roland McGrath <roland@hack.frob.com>
39012 * include/unistd.h: Fix __readlink return type.
39013 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39015 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39017 * stdlib/ucontext.h: Undo last change for makecontext.
39019 2011-11-11 Andreas Schwab <schwab@redhat.com>
39021 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39023 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39024 * setjmp/setjmp.h: Mark functions as non-leaf.
39025 * setjmp/bits/setjmp2.h: Likewise.
39026 * stdlib/ucontext.h: Likewise.
39028 2011-11-10 Andreas Schwab <schwab@redhat.com>
39030 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39031 (reused_arena): Don't check arena limit.
39032 (arena_get2): Atomically check arena limit.
39034 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39036 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39037 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39042 2011-11-07 Andreas Schwab <schwab@redhat.com>
39044 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39045 handler when locking.
39047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39048 Fix size of allocated buffer.
39050 2011-11-04 Andreas Schwab <schwab@redhat.com>
39053 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39054 declarations for long double functions.
39055 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39057 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39059 2011-11-03 Andreas Schwab <schwab@redhat.com>
39061 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39064 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39067 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39069 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39071 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39073 * include/alloca.h (stackinfo_alloca_round): Define.
39074 (extend_alloca): Use it.
39075 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39076 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39079 * scripts/check-local-headers.sh: Ignore libaudit.h.
39081 * nscd/Makefile (extra-objs): Make recursively expanded.
39083 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39085 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39088 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39089 * posix/tst-rfc3484-2.c: Likewise.
39090 * posix/tst-rfc3484-3.c: Likewise.
39092 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39094 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39096 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39097 process_vm_writev from libc using GLIBC_2.15 version.
39099 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39101 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39103 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39106 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39109 * nss/getent.c (initgroups_keys): Show error message in case no group
39112 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39113 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39114 __bump_nl_timestamp.
39115 * nscd/connections (nscd_init): When host database is served open
39116 netlink socket and request notification about configuration changes.
39117 (main_loop_poll): Track netlink file descriptor and bump timestamp
39118 in case data becomes available.
39119 (main_loop_epoll): Likewise.
39120 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39121 (database_pers_head): Add extra_data fileds.
39122 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39123 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39124 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39127 in6ai data, call __free_in6ai.
39128 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39129 Add -DHAVE_NETLINK.
39130 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39131 interface information. Reuse previous data if netlink timestamp
39133 (__bump_nl_timestamp): New function.
39134 (__free_in6ai): New function.
39136 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39138 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39139 close_not_cancel_no_status here.
39140 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39142 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39145 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39148 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39149 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39150 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39152 2011-07-03 Andreas Jaeger <aj@suse.de>
39155 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39156 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39157 * math/libm-test.inc (sin_test): Add test case.
39159 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39162 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39163 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39165 * elf/chroot_canon.c (chroot_canon): Cleanups.
39167 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39170 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39171 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39173 * string/test-strchr.c: Make usable for strchrnul testing.
39174 * string/test-strchrnul.c: New file.
39175 * string/Makefile (strop-tests): Add strchrnul.
39177 * po/it.po: Update from translation team.
39178 * po/es.po: Likewise.
39180 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39182 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39183 the three constants needed as parameters. Drop the others.
39184 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39185 __m128i_strloadu_tolower.
39186 Create and initialize variable zero and use it in all the places
39187 where _mm_setzero_si128 was used.
39189 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39190 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39191 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39192 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39194 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39195 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39196 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39197 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39198 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39199 __mpranred, __mptan.
39200 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39201 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39202 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39203 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39204 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39205 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39206 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39207 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39208 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39210 2011-10-28 Andreas Schwab <schwab@redhat.com>
39212 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39213 redefine if SHARED.
39214 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39217 wide char related routines to wcsmbs subdir.
39219 2011-10-27 Andreas Schwab <schwab@redhat.com>
39222 * misc/sys/cdefs.h (__THROWNL): Define.
39223 * posix/unistd.h: Use __THREADNL instead of __THREAD
39224 for memory synchronization functions.
39226 2011-10-26 Roland McGrath <roland@hack.frob.com>
39229 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39231 * manual/stdio.texi (Obstack Streams): Node removed.
39233 2011-10-26 Andreas Schwab <schwab@redhat.com>
39235 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39236 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39237 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39239 * math/math_private.h (math_force_eval): Allow non-addressable
39241 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39243 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39245 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39246 file is not needed.
39248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39249 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39250 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39251 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39255 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39257 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39258 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39259 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39260 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39261 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39262 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39263 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39264 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39265 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39266 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39267 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39268 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39270 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39271 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39272 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39273 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39274 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39275 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39277 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39278 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39281 place. Use VEX encoding when compiling for AVX.
39283 2011-10-25 Andreas Schwab <schwab@redhat.com>
39285 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39286 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39288 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39290 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39292 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39293 useless if() expression.
39294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39295 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39296 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39297 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39298 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39299 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39300 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39301 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39302 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39303 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39304 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39305 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39306 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39307 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39308 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39309 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39310 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39312 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39314 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39316 2011-10-25 Andreas Schwab <schwab@redhat.com>
39318 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39320 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39322 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39324 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39325 .text section. Avoid duplicate constants.
39326 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39334 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39335 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39336 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39337 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39338 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39339 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39340 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39341 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39343 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39344 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39346 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39347 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39348 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39349 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39350 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39351 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39352 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39353 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39354 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39355 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39356 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39357 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39358 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39359 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39360 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39361 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39362 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39363 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39364 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39365 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39366 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39367 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39368 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39369 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39370 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39372 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39374 * sysdeps/x86_64/dla.h: Move to ...
39375 * sysdeps/x86_64/fpu/dla.h: ...here.
39376 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39377 situations. Use __builtin_fma only for gcc 4.6 and up.
39379 * config.make.in: Add have-mfma4 entry.
39380 * configure.in: Substitute libc_cv_cc_fma4.
39381 * math/Makefile (dbl-only-routines): Add sincostab.
39382 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39383 Use __sincostab not sincos.
39384 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39391 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39392 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39393 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39394 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39396 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39397 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39399 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39400 define aliases when function name is a macro.
39401 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39402 sysdeps/ieee754/dbl-64/sincos.tbl.
39403 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39404 fma4-enabled routines.
39405 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39406 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39407 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39408 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39409 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39410 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39411 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39412 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39413 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39414 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39415 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39416 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39417 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39418 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39419 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39420 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39421 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39422 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39423 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39425 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39426 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39427 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39428 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39430 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39432 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39433 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39434 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39436 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39447 2011-10-24 Andreas Schwab <schwab@redhat.com>
39449 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39451 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39453 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39455 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39457 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39459 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39460 Remove unused variable magic_bits.
39461 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39463 * string/strnlen.c: Define and use STRNLEN macro.
39464 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39465 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39466 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39467 * wcsmbs/wcslen.c: Define and use WCSLEN.
39468 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39469 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39470 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39471 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39472 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39473 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39474 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39476 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39479 strnlen-sse2-no-bsf.
39480 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39482 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39483 Add strnlen support.
39484 (USE_AS_STRNLEN): New macro.
39485 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39486 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39487 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39488 * sysdeps/x86_64/wcslen.S: New file.
39490 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39492 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39493 XMM-moves are used for copying on small sizes.
39495 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39497 * wcsmbs/Makefile (strop-tests): Add wcschr.
39498 * wcsmbs/test-wcschr.c: New file.
39499 * string/test-strchr.c: Update.
39500 Add wcschr support.
39503 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39505 * wcsmbs/Makefile (strop-tests): Add wcslen.
39506 * wcsmbs/test-wcslen.c: New file.
39507 * string/test-strlen.c: Update.
39508 Add wcslen support.
39511 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39513 * po/it.po: Update from translation team.
39515 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39517 * sysdeps/x86_64/wcscmp.S: Update.
39518 Fix wrong comparison semantics.
39519 wcscmp shall use signed comparison not unsigned.
39520 Don't use substraction to avoid overflow bug.
39521 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39522 * wcsmbc/wcscmp.c: Likewise.
39523 * string/test-strcmp.c: Likewise.
39524 Add new tests to check cases with negative values.
39526 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39528 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39529 * sysdeps/x86_64/dla.h: ...here. New file.
39530 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39535 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39540 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39543 __ynl_finite aliases.
39545 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39549 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39551 [DLA_FMA] (EMULV): Use DLA_FMA.
39552 [DLA_FMA] (MUL12): Use EMULV.
39553 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39554 that are not needed.
39555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39559 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39560 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39563 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39565 * math/s_nan.c: Undef __nan.
39566 * math/s_nanf.c: Undef __nanf.
39567 * math/s_nanl.c: Undef __nanl.
39568 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39571 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39573 * math/s_catan.c: Add branch predictions.
39574 * math/s_catanf.c: Likewise.
39575 * math/s_catanh.c: Likewise.
39576 * math/s_catanhf.c: Likewise.
39577 * math/s_catanhl.c: Likewise.
39578 * math/s_catanl.c: Likewise.
39579 * math/s_cexp.c: Likewise.
39580 * math/s_cexpf.c: Likewise.
39581 * math/s_cexpl.c: Likewise.
39582 * math/s_clog.c: Likewise.
39583 * math/s_clog10.c: Likewise.
39584 * math/s_clog10f.c: Likewise.
39585 * math/s_clog10l.c: Likewise.
39586 * math/s_clogf.c: Likewise.
39587 * math/s_clogl.c: Likewise.
39588 * math/s_csqrt.c: Likewise.
39589 * math/s_csqrtf.c: Likewise.
39590 * math/s_csqrtl.c: Likewise.
39591 * math/s_ctanf.c: Likewise.
39592 * math/s_ctanh.c: Likewise.
39593 * math/s_ctanhf.c: Likewise.
39594 * math/s_ctanhl.c: Likewise.
39595 * math/s_ctanl.c: Likewise.
39597 * math/math_private.h: Define __nan, __nanf, __nanl.
39598 * math/s_cacosh.c: Include <math_private.h>.
39599 * math/s_cacoshl.c: Likewise.
39600 * math/s_casinh.c: Likewise.
39601 * math/s_casinhf.c: Likewise.
39602 * math/s_casinhl.c: Likewise.
39603 * math/s_ccos.c: Rely entire on ccosh.
39604 * math/s_ccosf.c: Rely entire on ccoshf.
39605 * math/s_ccosl.c: Rely entirely on ccoshl.
39606 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39607 Remove tests for FE_INVALID.
39608 * math/s_ccoshf.c: Likewise.
39609 * math/s_ccoshl.c: Likewise.
39610 * math/s_csin.c: Likewise.
39611 * math/s_csinf.c: Likewise.
39612 * math/s_csinh.c Likewise.
39613 * math/s_csinhf.c: Likewise.
39614 * math/s_csinhl.c: Likewise.
39615 * math/s_csinl.c: Likewise.
39616 * math/s_ctan.c: Likewise.
39617 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39618 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39619 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39621 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39624 compilation problems.
39626 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39629 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39631 * sysdeps/i386/configure.in: Test for -mfma4 option.
39632 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39633 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39634 COMMON_CPUID_INDEX_80000001.
39635 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39636 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39637 use it if FMA3 is not supported.
39638 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39640 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39641 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39643 2011-10-20 Andreas Schwab <schwab@redhat.com>
39646 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39647 it would create a cycle with a link time dependency.
39649 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39651 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39653 * string/Makefile (strop-tests): Add rawmemchr.
39654 * string/test-rawmemchr.c: New file.
39656 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39657 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39658 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39659 when compiling str{,n}casecmp and when AVX is available. Hook up
39660 new optimized code in initializers.
39662 2011-10-19 Andreas Schwab <schwab@redhat.com>
39664 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39665 __feraiseexcept instead of feraiseexcept.
39667 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39669 * math/math_private.h: Define defaults for libc_fetestexcept and
39671 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39672 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39673 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39674 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39675 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39676 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39677 libc_fetestexcept and libc_feupdateenv.
39679 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39680 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39681 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39682 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39683 libc_feholdexcept_setround.
39685 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39686 Add s_nearbyint-c and s_nearbyintf-c.
39687 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39688 nearbyintf inlines.
39689 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39690 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39691 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39692 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39694 * math/math_private.h: Define defaults for libc_fegetround,
39695 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39696 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39697 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39699 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39700 standard functions.
39701 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39702 Remove comments and hacks for old compiler versions.
39703 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39704 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39705 libc_feholdexceptl.
39707 2011-10-18 Andreas Schwab <schwab@redhat.com>
39709 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39710 (__feraiseexcept_renamed): Add __NTH.
39711 (feraiseexcept): Add __NTH. Rename local variables to fix
39712 namespace violations.
39714 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39716 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39718 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39720 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39721 recently added interfaces.
39722 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39724 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39725 about macro parameter expansion.
39727 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39728 __NO_MATH_INLINES is defined. Cleanups.
39730 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39731 and __floorf is target has SSE4.1.
39732 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39733 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39734 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39735 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39737 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39739 (floorf): Likewise.
39741 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39743 2011-10-17 Andreas Schwab <schwab@redhat.com>
39745 * misc/sys/cdefs.h: Fix last change.
39747 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39750 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39752 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39754 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39756 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39757 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39759 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39761 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39762 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39763 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39764 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39765 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39766 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39767 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39768 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39769 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39770 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39771 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39772 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39773 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39774 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39775 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39777 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39778 ceil, ceilf, floor, floorf.
39780 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39781 Perform IRELATIVE relocations last.
39783 * elf/do-rel.h: Add another parameter nrelative, replacing the
39784 local variable with the same name. Change name of the function
39785 to end in Rel or Rela (uppercase).
39786 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39787 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39788 elf_dynamic_do_##reloc function.
39790 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39792 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39793 is sufficient, at least on modern CPUs.
39795 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39797 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39798 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39800 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39802 * math/bits/math-finite.h: Add entries for exp.
39803 * math/e_expl.c: Add __*_finite alias.
39804 * sysdeps/i386/fpu/e_exp.S: Likewise.
39805 * sysdeps/i386/fpu/e_expf.S: Likewise.
39806 * sysdeps/i386/fpu/e_expl.c: Likewise.
39807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39808 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39811 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39812 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39813 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39815 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39816 is sufficient, at least on modern CPUs.
39818 * ctype/ctype-info.c (__ctype_init): Define.
39819 * include/ctype.h (__ctype_init): Declare.
39820 (__ctype_b_loc): The variable is always initialized.
39821 (__ctype_toupper_loc): Likewise.
39822 (__ctype_tolower_loc): Likewise.
39823 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39824 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39826 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39828 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39830 * configure.in: Also look in $cxxmachine/include for C++ system
39833 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39835 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39836 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39837 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39838 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39839 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39840 (USE_AS_WMEMCMP): New macro.
39842 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39843 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39844 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39845 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39847 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39848 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39849 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39850 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39851 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39852 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39853 (USE_AS_WMEMCMP): New macro.
39854 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39855 * sysdeps/string/test-memcmp.c: Update.
39856 Fix simple_wmemcmp.
39858 * wcsmbs/wmemcmp.c: Update.
39859 (WMEMCMP): New macro.
39862 2011-10-12 Andreas Jaeger <aj@suse.de>
39865 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39867 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39869 * libio/iofwide.c (do_length): Avoid warning.
39871 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39873 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39875 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39877 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39878 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39879 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39880 * sysdeps/i386/i686/fpu/e_log.S: New file.
39881 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39882 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39884 * ctype/ctype.h: Add support for inlined isXXX functions when
39885 compiling C++ code.
39887 2011-10-14 Andreas Schwab <schwab@redhat.com>
39889 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39891 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39893 2011-10-13 Roland McGrath <roland@hack.frob.com>
39896 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39898 2011-10-13 Andreas Schwab <schwab@redhat.com>
39900 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39901 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39904 * sysdeps/x86_64/memrchr.S: Check for zero size.
39906 * string/stratcliff.c: Add memrchr tests.
39908 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39911 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39912 rawmemchr-sse2 rawmemchr-sse2-bsf.
39913 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39914 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39915 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39916 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39917 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39918 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39919 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39920 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39921 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39922 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39923 * string/memrchr.c (MEMRCHR): New macro.
39925 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39927 Add integration with gcc's -ffinite-math-only and optimize wrapper
39929 * Versions.def: Define GLIBC_2.15 version for libm.
39930 * math/Makefile (headers): Add bits/math-finite.h.
39931 * math/bits/math-finite.h: New file.
39932 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39933 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39934 * math/e_acoshl.c: Add __*_finite alias.
39935 * math/e_acosl.c: Likewise.
39936 * math/e_asinl.c: Likewise.
39937 * math/e_atan2l.c: Likewise.
39938 * math/e_atanhl.c: Likewise.
39939 * math/e_coshl.c: Likewise.
39940 * math/e_exp10.c: Likewise.
39941 * math/e_exp10f.c: Likewise.
39942 * math/e_exp10l.c: Likewise.
39943 * math/e_exp2l.c: Likewise.
39944 * math/e_fmodl.c: Likewise.
39945 * math/e_gammal_r.c: Likewise.
39946 * math/e_hypotl.c: Likewise.
39947 * math/e_j0l.c: Likewise.
39948 * math/e_j1l.c: Likewise.
39949 * math/e_jnl.c: Likewise.
39950 * math/e_lgammal_r.c: Likewise.
39951 * math/e_log10l.c: Likewise.
39952 * math/e_log2l.c: Likewise.
39953 * math/e_logl.c: Likewise.
39954 * math/e_powl.c: Likewise.
39955 * math/e_sinhl.c: Likewise.
39956 * math/e_sqrtl.c: Likewise.
39957 * math/e_scalb.c: Completely rewritten and optimized.
39958 * math/e_scalbf.c: Likewise.
39959 * math/e_scalbl.c: Likewise.
39960 * math/w_acos.c: Likewise.
39961 * math/w_acosf.c: Likewise.
39962 * math/w_acosl.c: Likewise.
39963 * math/w_acosh.c: Likewise.
39964 * math/w_acoshf.c: Likewise.
39965 * math/w_acoshl.c: Likewise.
39966 * math/w_asin.c: Likewise.
39967 * math/w_asinf.c: Likewise.
39968 * math/w_asinl.c: Likewise.
39969 * math/w_atan2.c: Likewise.
39970 * math/w_atan2f.c: Likewise.
39971 * math/w_atan2l.c: Likewise.
39972 * math/w_atanh.c: Likewise.
39973 * math/w_atanhf.c: Likewise.
39974 * math/w_atanhl.c: Likewise.
39975 * math/w_exp10.c: Likewise.
39976 * math/w_exp10f.c: Likewise.
39977 * math/w_exp10l.c: Likewise.
39978 * math/w_fmod.c: Likewise.
39979 * math/w_fmodf.c: Likewise.
39980 * math/w_fmodl.c: Likewise.
39981 * math/w_j0.c: Likewise.
39982 * math/w_j0f.c: Likewise.
39983 * math/w_j0l.c: Likewise.
39984 * math/w_j1.c: Likewise.
39985 * math/w_j1f.c: Likewise.
39986 * math/w_j1l.c: Likewise.
39987 * math/w_jn.c: Likewise.
39988 * math/w_jnf.c: Likewise.
39989 * math/w_log.c: Likewise.
39990 * math/w_logf.c: Likewise.
39991 * math/w_logl.c: Likewise.
39992 * math/w_log10.c: Likewise.
39993 * math/w_log10f.c: Likewise.
39994 * math/w_log10l.c: Likewise.
39995 * math/w_log2.c: Likewise.
39996 * math/w_log2f.c: Likewise.
39997 * math/w_log2l.c: Likewise.
39998 * math/w_pow.c: Likewise.
39999 * math/w_powf.c: Likewise.
40000 * math/w_powl.c: Likewise.
40001 * math/w_remainder.c: Likewise.
40002 * math/w_remainderf.c: Likewise.
40003 * math/w_remainderl.c: Likewise.
40004 * math/w_scalb.c: Likewise.
40005 * math/w_scalbf.c: Likewise.
40006 * math/w_scalbl.c: Likewise.
40007 * math/w_sqrt.c: Likewise.
40008 * math/w_sqrtf.c: Likewise.
40009 * math/w_sqrtl.c: Likewise.
40010 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40011 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40013 * math/math_private.h: Declare __kernel_standard_f.
40014 * math/w_cosh.c: Remove cruft and optimize a bit.
40015 * math/w_coshf.c: Likewise.
40016 * math/w_coshl.c: Likewise.
40017 * math/w_exp2.c: Likewise.
40018 * math/w_exp2f.c: Likewise.
40019 * math/w_exp2l.c: Likewise.
40020 * math/w_hypot.c: Likewise.
40021 * math/w_hypotf.c: Likewise.
40022 * math/w_hypotl.c: Likewise.
40023 * math/w_lgamma.c: Likewise.
40024 * math/w_lgamma_r.c: Likewise.
40025 * math/w_lgammaf.c: Likewise.
40026 * math/w_lgammaf_r.c: Likewise.
40027 * math/w_lgammal.c: Likewise.
40028 * math/w_lgammal_r.c: Likewise.
40029 * math/w_sinh.c: Likewise.
40030 * math/w_sinhf.c: Likewise.
40031 * math/w_sinhl.c: Likewise.
40032 * math/w_tgamma.c: Likewise.
40033 * math/w_tgammaf.c: Likewise.
40034 * math/w_tgammal.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40037 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40038 Minor optimizations. Pretty printing. Remove cruft.
40039 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40041 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40042 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40043 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40044 * sysdeps/i386/fpu/e_asin.S: Likewise.
40045 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40046 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40047 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40048 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40049 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40050 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40051 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40052 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40053 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40054 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40055 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40056 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40057 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40058 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40059 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40060 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40061 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40062 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40063 * sysdeps/i386/fpu/e_log.S: Likewise.
40064 * sysdeps/i386/fpu/e_log10.S: Likewise.
40065 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40066 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40067 * sysdeps/i386/fpu/e_log2.S: Likewise.
40068 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40069 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40070 * sysdeps/i386/fpu/e_logf.S: Likewise.
40071 * sysdeps/i386/fpu/e_logl.S: Likewise.
40072 * sysdeps/i386/fpu/e_pow.S: Likewise.
40073 * sysdeps/i386/fpu/e_powf.S: Likewise.
40074 * sysdeps/i386/fpu/e_powl.S: Likewise.
40075 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40076 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40077 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40078 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40079 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40080 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40081 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40082 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40083 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40084 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40087 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40088 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40089 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40090 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40091 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40092 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40093 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40094 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40095 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40097 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40098 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40100 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40101 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40104 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40105 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40108 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40109 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40110 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40111 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40112 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40113 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40114 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40115 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40116 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40117 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40118 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40119 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40120 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40121 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40122 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40123 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40124 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40125 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40141 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40149 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40153 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40155 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40156 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40160 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40164 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40166 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40167 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40169 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40170 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40171 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40172 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40175 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40176 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40177 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40178 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40179 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40180 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40181 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40182 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40183 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40184 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40185 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40186 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40187 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40188 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40189 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40190 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40191 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40192 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40193 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40194 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40195 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40196 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40197 (__isnanf): Likewise.
40198 (__isinf_ns): Likewise.
40199 (__isinf_nsf): Likewise.
40200 (__finite): Likewise.
40201 (__finitef): Likewise.
40202 (__ieee754_sqrt): Define as macro.
40203 (__ieee754_sqrtf): Define as macro.
40204 (__ieee754_sqrtl): Define as macro.
40205 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40207 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40208 __FINITE_MATH_ONLY__ consistent.
40209 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40211 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40213 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40216 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40218 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40220 * po/ja.po: Update from translation team.
40222 2011-10-08 Roland McGrath <roland@hack.frob.com>
40224 * locale/programs/locarchive.c (prepare_address_space): New function.
40225 (create_archive, enlarge_archive, open_archive): Use it.
40227 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40228 inside [SHARED], where it is used.
40230 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40232 * nss/getent.c (netgroup_keys): Remove unused variable.
40233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40235 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40237 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40238 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40241 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40242 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40243 * math/Makefile (libm-calls): Add s_isinf_ns.
40244 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40245 * math/multc3.c: Likewise.
40246 * math/s_casin.c: Likewise.
40247 * math/s_casinf.c: Likewise.
40248 * math/s_casinl.c: Likewise.
40249 * math/s_ccos.c: Likewise.
40250 * math/s_ccosf.c: Likewise.
40251 * math/s_ccosl.c: Likewise.
40252 * math/s_ctan.c: Likewise.
40253 * math/s_ctanf.c: Likewise.
40254 * math/s_ctanh.c: Likewise.
40255 * math/s_ctanhf.c: Likewise.
40256 * math/s_ctanhl.c: Likewise.
40257 * math/s_ctanl.c: Likewise.
40258 * math/w_fmod.c: Likewise.
40259 * math/w_fmodf.c: Likewise.
40260 * math/w_fmodl.c: Likewise.
40261 * math/w_remainder.c: Likewise.
40262 * math/w_remainderf.c: Likewise.
40263 * math/w_remainderl.c: Likewise.
40264 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40265 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40268 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40269 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40270 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40271 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40273 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40275 * stdio-common/printf_fphex.c: Likewise.
40276 * stdio-common/printf_size.c: Likewise.
40278 * math/e_exp10.c: Include math_private.h using <...> not "...".
40279 * math/e_exp10f.c: Likewise.
40280 * math/e_exp10l.c: Likewise.
40281 * math/e_exp2l.c: Likewise.
40282 * math/e_j0l.c: Likewise.
40283 * math/e_j1l.c: Likewise.
40284 * math/e_jnl.c: Likewise.
40285 * math/e_lgammal_r.c: Likewise.
40286 * math/e_rem_pio2l.c: Likewise.
40287 * math/e_scalb.c: Likewise.
40288 * math/e_scalbf.c: Likewise.
40289 * math/e_scalbl.c: Likewise.
40290 * math/k_cosl.c: Likewise.
40291 * math/k_sinl.c: Likewise.
40292 * math/k_tanl.c: Likewise.
40293 * math/s_cacoshf.c: Likewise.
40294 * math/s_catan.c: Likewise.
40295 * math/s_catanf.c: Likewise.
40296 * math/s_catanh.c: Likewise.
40297 * math/s_catanhf.c: Likewise.
40298 * math/s_catanhl.c: Likewise.
40299 * math/s_catanl.c: Likewise.
40300 * math/s_ccosh.c: Likewise.
40301 * math/s_ccoshf.c: Likewise.
40302 * math/s_ccoshl.c: Likewise.
40303 * math/s_cexp.c: Likewise.
40304 * math/s_cexpf.c: Likewise.
40305 * math/s_cexpl.c: Likewise.
40306 * math/s_clog.c: Likewise.
40307 * math/s_clog10.c: Likewise.
40308 * math/s_clog10f.c: Likewise.
40309 * math/s_clog10l.c: Likewise.
40310 * math/s_clogf.c: Likewise.
40311 * math/s_clogl.c: Likewise.
40312 * math/s_csin.c: Likewise.
40313 * math/s_csinf.c: Likewise.
40314 * math/s_csinh.c: Likewise.
40315 * math/s_csinhf.c: Likewise.
40316 * math/s_csinhl.c: Likewise.
40317 * math/s_csinl.c: Likewise.
40318 * math/s_csqrt.c: Likewise.
40319 * math/s_csqrtf.c: Likewise.
40320 * math/s_csqrtl.c: Likewise.
40321 * math/s_ctan.c: Likewise.
40322 * math/s_ctanf.c: Likewise.
40323 * math/s_ctanh.c: Likewise.
40324 * math/s_ctanhf.c: Likewise.
40325 * math/s_ctanhl.c: Likewise.
40326 * math/s_ctanl.c: Likewise.
40327 * math/s_ldexp.c: Likewise.
40328 * math/s_ldexpf.c: Likewise.
40329 * math/s_ldexpl.c: Likewise.
40330 * math/s_significand.c: Likewise.
40331 * math/s_significandf.c: Likewise.
40332 * math/s_significandl.c: Likewise.
40333 * math/w_acos.c: Likewise.
40334 * math/w_acosf.c: Likewise.
40335 * math/w_acosh.c: Likewise.
40336 * math/w_acoshf.c: Likewise.
40337 * math/w_acoshl.c: Likewise.
40338 * math/w_acosl.c: Likewise.
40339 * math/w_asin.c: Likewise.
40340 * math/w_asinf.c: Likewise.
40341 * math/w_asinl.c: Likewise.
40342 * math/w_atan2.c: Likewise.
40343 * math/w_atan2f.c: Likewise.
40344 * math/w_atan2l.c: Likewise.
40345 * math/w_atanh.c: Likewise.
40346 * math/w_atanhf.c: Likewise.
40347 * math/w_atanhl.c: Likewise.
40348 * math/w_cosh.c: Likewise.
40349 * math/w_coshf.c: Likewise.
40350 * math/w_coshl.c: Likewise.
40351 * math/w_dremf.c: Likewise.
40352 * math/w_exp10.c: Likewise.
40353 * math/w_exp10f.c: Likewise.
40354 * math/w_exp10l.c: Likewise.
40355 * math/w_exp2.c: Likewise.
40356 * math/w_exp2f.c: Likewise.
40357 * math/w_fmod.c: Likewise.
40358 * math/w_fmodf.c: Likewise.
40359 * math/w_fmodl.c: Likewise.
40360 * math/w_hypot.c: Likewise.
40361 * math/w_hypotf.c: Likewise.
40362 * math/w_hypotl.c: Likewise.
40363 * math/w_j0.c: Likewise.
40364 * math/w_j0f.c: Likewise.
40365 * math/w_j0l.c: Likewise.
40366 * math/w_j1.c: Likewise.
40367 * math/w_j1f.c: Likewise.
40368 * math/w_j1l.c: Likewise.
40369 * math/w_jn.c: Likewise.
40370 * math/w_jnf.c: Likewise.
40371 * math/w_jnl.c: Likewise.
40372 * math/w_lgamma.c: Likewise.
40373 * math/w_lgamma_r.c: Likewise.
40374 * math/w_lgammaf.c: Likewise.
40375 * math/w_lgammaf_r.c: Likewise.
40376 * math/w_lgammal.c: Likewise.
40377 * math/w_lgammal_r.c: Likewise.
40378 * math/w_log.c: Likewise.
40379 * math/w_log10.c: Likewise.
40380 * math/w_log10f.c: Likewise.
40381 * math/w_log10l.c: Likewise.
40382 * math/w_log2.c: Likewise.
40383 * math/w_log2f.c: Likewise.
40384 * math/w_log2l.c: Likewise.
40385 * math/w_logf.c: Likewise.
40386 * math/w_logl.c: Likewise.
40387 * math/w_pow.c: Likewise.
40388 * math/w_powf.c: Likewise.
40389 * math/w_powl.c: Likewise.
40390 * math/w_remainder.c: Likewise.
40391 * math/w_remainderf.c: Likewise.
40392 * math/w_remainderl.c: Likewise.
40393 * math/w_scalb.c: Likewise.
40394 * math/w_scalbf.c: Likewise.
40395 * math/w_scalbl.c: Likewise.
40396 * math/w_sinh.c: Likewise.
40397 * math/w_sinhf.c: Likewise.
40398 * math/w_sinhl.c: Likewise.
40399 * math/w_sqrt.c: Likewise.
40400 * math/w_sqrtf.c: Likewise.
40401 * math/w_sqrtl.c: Likewise.
40402 * math/w_tgamma.c: Likewise.
40403 * math/w_tgammaf.c: Likewise.
40404 * math/w_tgammal.c: Likewise.
40406 * po/ja.po: Update from translation team.
40408 2011-09-29 Andreas Jaeger <aj@suse.de>
40411 * sunrpc/netname.c (netname2host): Fix logic.
40415 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40417 * math/w_remainder.c (__remainder): Likewise.
40418 * math/w_remainderf.c (__remainderf): Likewise.
40419 * math/libm-test.inc (remainder_test): Add test cases.
40421 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40423 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40426 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40428 * string/test-memcmp.c: Avoid unncessary #defines.
40429 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40431 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40433 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40434 Use new sse2 version for core i3 - i7 as it's faster
40435 than sse42 version.
40436 (bit_Prefer_PMINUB_for_stringop): New.
40437 * sysdeps/x86_64/rawmemchr.S: Update.
40438 Replace with faster SSE2 version.
40439 * sysdeps/x86_64/memrchr.S: New file.
40440 * sysdeps/x86_64/memchr.S: Update.
40441 Replace with faster SSE2 version.
40443 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40445 * elf/dl-load.c (lose): Add cast to avoid warning.
40447 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40449 * po/ca.po: Update from translation team.
40451 * inet/getnetgrent_r.c: Hook up nscd.
40452 * nscd/Makefile (routines): Add nscd_netgroup.
40453 (nscd-modules): Add netgroupcache.
40454 (CFLAGS-netgroupcache.c): Define.
40455 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40456 (cache_search): Add const to second parameter.
40457 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40459 (dbs): Add netgrdb entry.
40460 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40461 (verify_persistent_db): Handle netgrdb.
40462 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40463 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40465 (netgroup_response_header): Define.
40466 (innetgroup_response_header): Define.
40467 (datahead): Add netgroup_response_header and innetgroup_response_header
40469 * nscd/nscd.conf: Add entries for netgroup cache.
40470 * nscd/nscd.h (dbtype): Add netgrdb.
40471 (_PATH_NSCD_NETGROUP_DB): Define.
40472 (netgroup_iov_disabled): Declare.
40473 (xmalloc, xcalloc, xrealloc): Move declarations here.
40474 (cache_search): Adjust prototype.
40475 Add netgroup-related prototypes.
40476 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40477 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40478 (__nscd_innetgr): Declare.
40479 * nscd/selinux.c (perms): Use access_vector_t as element type and
40480 add netgroup-related initializers.
40481 * nscd/netgroupcache.c: New file.
40482 * nscd/nscd_netgroup.c: New file.
40483 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40484 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40485 For four parameters use innetgr.
40486 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40487 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40488 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40489 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40491 * nscd/connections.c (register_traced_file): Don't register file
40492 for disabled databases.
40494 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40496 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40498 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40499 from tree and freeing node.
40501 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40503 * nss/nsswitch.c (__nss_database_lookup): Handle
40504 nss_parse_service_list out of memory case.
40506 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40508 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40509 out of memory case.
40511 2011-10-04 Andreas Schwab <schwab@redhat.com>
40513 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40514 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40516 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40517 elf_machine_rela, elf_machine_lazy_rel.
40518 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40519 (ELF_DYNAMIC_DO_REL): Likewise.
40520 (ELF_DYNAMIC_DO_RELA): Likewise.
40521 (ELF_DYNAMIC_RELOCATE): Likewise.
40522 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40523 to ELF_DYNAMIC_DO_REL.
40524 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40525 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40526 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40528 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40529 skip_ifunc, don't call ifunc function if non-zero.
40530 (elf_machine_rela): Likewise.
40531 (elf_machine_lazy_rel): Likewise.
40532 (elf_machine_lazy_rela): Likewise.
40533 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40534 (elf_machine_lazy_rel): Likewise.
40535 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40537 (elf_machine_lazy_rel): Likewise.
40538 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40540 (elf_machine_lazy_rel): Likewise.
40541 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40542 (elf_machine_lazy_rel): Likewise.
40543 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40544 (elf_machine_lazy_rel): Likewise.
40545 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40546 (elf_machine_lazy_rel): Likewise.
40547 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40548 (elf_machine_lazy_rel): Likewise.
40549 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40550 (elf_machine_lazy_rel): Likewise.
40551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40552 (elf_machine_lazy_rel): Likewise.
40554 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40556 * nss/nss_files/files-init.c (_nss_files_init): Use static
40557 initialization for all the *_traced_file variables.
40559 2011-09-28 Andreas Schwab <schwab@redhat.com>
40561 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40563 2011-09-27 Roland McGrath <roland@hack.frob.com>
40566 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40568 2011-09-27 Andreas Schwab <schwab@redhat.com>
40570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40571 Reread the line before reparsing it.
40573 2011-09-26 Andreas Schwab <schwab@redhat.com>
40575 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40577 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40578 Maxim Kuvyrkov <maxim@codesourcery.com>
40579 Joseph Myers <joseph@codesourcery.com>
40581 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40582 if needed for __stack_chk_guard.
40584 2011-09-19 Roland McGrath <roland@hack.frob.com>
40586 * sysdeps/posix/spawni.c (script_execute): Always define it.
40587 It will be optimized away if unused.
40588 (maybe_script_execute): New function.
40589 (__spawni): Call it.
40591 * Makerules: Don't include tls.make.
40592 (config-tls): Always set to thread.
40593 * tls.make.c: File removed.
40595 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40597 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40598 * config.make.in (CPPFLAGS-config): New substituted variable.
40600 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40602 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40605 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40606 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40608 2011-09-15 Roland McGrath <roland@hack.frob.com>
40610 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40611 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40613 (CALL_FAIL): Likewise.
40614 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40615 (CALL_FAIL): Macro removed.
40616 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40618 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40620 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40621 for __FINITE_MATH_ONLY__ == 1.
40623 2011-09-15 Andreas Schwab <schwab@redhat.com>
40625 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40626 __ieee754_sqrt instead of sqrt.
40627 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40628 __ieee754_sqrtf instead of sqrtf.
40629 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40630 __floorf instead of floorf.
40631 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40632 __floorf, __truncf instead of floorf, truncf.
40634 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40636 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40638 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40639 __extern_always_inline.
40640 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40643 2011-09-14 Andreas Schwab <schwab@redhat.com>
40645 * elf/rtld.c (dl_main): Also relocate in dependency order when
40646 doing symbol dependency testing.
40648 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40651 Always define `refsym'.
40653 2011-09-13 Andreas Schwab <schwab@redhat.com>
40655 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40656 (__FD_ELT): Renamed from __FDELT.
40657 * misc/bits/select2.h (__FD_ELT): Likewise.
40658 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40659 __FD_MASK instead of __FDELT, __FDMASK.
40660 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40662 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40665 * elf/Makefile (gen-ldd): Fix pattern.
40667 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40668 (init_tls): Likewise.
40670 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40672 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40674 2011-09-12 Andreas Schwab <schwab@redhat.com>
40676 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40677 `struct cmsghdr *' instead of `void *'.
40678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40681 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40683 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40685 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40686 ldd_rewrite_script.
40688 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40690 * configure.in: Remove --with-tls option.
40691 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40692 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40693 out in case it is missing.
40694 * sysdeps/ia64/elf/configure.in: Likewise.
40695 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40696 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40697 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40698 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40699 * sysdeps/sh/elf/configure.in: Likewise.
40700 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40701 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40702 * sysdeps/x86_64/elf/configure.in: Likewise.
40703 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40704 * sysdeps/mach/hurd/tls.h: Likewise.
40707 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40710 * configure.in: Fix use of AC_INIT.
40712 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40714 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40716 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40718 * malloc/hooks.c: Likewise.
40721 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40722 variables statically.
40723 (narenas): Initialize.
40724 (list_lock): Initialize.
40725 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40726 initializtion of main_arena and list_lock. Small cleanups.
40727 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40728 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40729 Add initializers to main_arena and mp_.
40730 (malloc_state): Remove pagesize member. Change all users to use
40733 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40734 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40735 is always initialized.
40737 * malloc/malloc.c: Removed unused configurations and dead code.
40738 * malloc/arena.c: Likewise.
40739 * malloc/hooks.c: Likewise.
40740 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40742 * include/tls.h: Removed. USE___THREAD must always be defined.
40743 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40744 * elf/dl-libc.c: Likewise.
40745 * elf/dl-tsd.c: Likewise.
40746 * include/errno.h: Likewise.
40747 * include/netdb.h: Likewise.
40748 * include/resolv.h: Likewise.
40749 * inet/herrno-loc.c: Likewise.
40750 * inet/herrno.c: Likewise.
40751 * malloc/arena.c: Likewise.
40752 * malloc/hooks.c: Likewise.
40753 * malloc/malloc.c: Likewise.
40754 * resolv/res-state.c: Likewise.
40755 * resolv/res_libc.c: Likewise.
40756 * sysdeps/i386/dl-machine.h: Likewise.
40757 * sysdeps/ia64/dl-machine.h: Likewise.
40758 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40760 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40761 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40762 * sysdeps/sh/dl-machine.h: Likewise.
40763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40764 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40765 * sysdeps/unix/i386/sysdep.S: Likewise.
40766 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40767 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40768 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40770 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40772 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40776 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40777 * sysdeps/x86_64/dl-machine.h: Likewise.
40778 * tls.make.c: Likewise.
40780 * configure.in: Remove --with-__thread option. Make tests for
40781 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40782 tls_model attribute fail if no support is available. Remove
40784 * Makeconfig: Adjust for dropped configure option. All features are
40786 * Makerules: Likewise.
40787 * Versions.def: Likewise.
40788 * argp/argp-fmtstream.c: Likewise.
40789 * argp/argp-fmtstream.h: Likewise.
40790 * argp/argp-help.c: Likewise.
40791 * assert/assert.c: Likewise.
40792 * config.h.in: Likewise.
40793 * config.make.in: Likewise.
40794 * configure: Likewise.
40795 * configure.in: Likewise.
40796 * csu/Versions: Likewise.
40797 * csu/init.c: Likewise.
40798 * elf/tst-audit2.c: Likewise.
40799 * elf/tst-tls10.c: Likewise.
40800 * elf/tst-tls10.h: Likewise.
40801 * elf/tst-tls11.c: Likewise.
40802 * elf/tst-tls12.c: Likewise.
40803 * elf/tst-tls14.c: Likewise.
40804 * elf/tst-tlsmod11.c: Likewise.
40805 * elf/tst-tlsmod12.c: Likewise.
40806 * elf/tst-tlsmod13.c: Likewise.
40807 * elf/tst-tlsmod13a.c: Likewise.
40808 * elf/tst-tlsmod14a.c: Likewise.
40809 * elf/tst-tlsmod15b.c: Likewise.
40810 * elf/tst-tlsmod16a.c: Likewise.
40811 * elf/tst-tlsmod16b.c: Likewise.
40812 * elf/tst-tlsmod7.c: Likewise.
40813 * elf/tst-tlsmod8.c: Likewise.
40814 * elf/tst-tlsmod9.c: Likewise.
40815 * gmon/gmon.c: Likewise.
40816 * grp/fgetgrent_r.c: Likewise.
40817 * grp/putgrent.c: Likewise.
40818 * hurd/fopenport.c: Likewise.
40819 * include/libc-symbols.h: Likewise.
40820 * include/tls.h: Likewise.
40821 * intl/gettextP.h: Likewise.
40822 * intl/loadinfo.h: Likewise.
40823 * locale/global-locale.c: Likewise.
40824 * locale/localeinfo.h: Likewise.
40825 * mach/devstream.c: Likewise.
40826 * malloc/arena.c: Likewise.
40827 * malloc/set-freeres.c: Likewise.
40828 * misc/err.c: Likewise.
40829 * misc/getttyent.c: Likewise.
40830 * misc/mntent_r.c: Likewise.
40831 * posix/getopt.c: Likewise.
40832 * posix/wordexp.c: Likewise.
40833 * pwd/fgetpwent_r.c: Likewise.
40834 * resolv/Versions: Likewise.
40835 * resolv/res_hconf.c: Likewise.
40836 * shadow/fgetspent_r.c: Likewise.
40837 * shadow/putspent.c: Likewise.
40838 * stdio-common/printf_fphex.c: Likewise.
40839 * stdio-common/tmpfile.c: Likewise.
40840 * stdlib/abort.c: Likewise.
40841 * stdlib/fmtmsg.c: Likewise.
40842 * sunrpc/auth_unix.c: Likewise.
40843 * sunrpc/clnt_perr.c: Likewise.
40844 * sunrpc/clnt_tcp.c: Likewise.
40845 * sunrpc/clnt_udp.c: Likewise.
40846 * sunrpc/clnt_unix.c: Likewise.
40847 * sunrpc/openchild.c: Likewise.
40848 * sunrpc/svc_simple.c: Likewise.
40849 * sunrpc/svc_tcp.c: Likewise.
40850 * sunrpc/svc_udp.c: Likewise.
40851 * sunrpc/svc_unix.c: Likewise.
40852 * sunrpc/xdr.c: Likewise.
40853 * sunrpc/xdr_array.c: Likewise.
40854 * sunrpc/xdr_rec.c: Likewise.
40855 * sunrpc/xdr_ref.c: Likewise.
40856 * sunrpc/xdr_stdio.c: Likewise.
40858 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40860 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40862 2011-07-03 Andreas Jaeger <aj@suse.de>
40864 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40865 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40866 regenerate with gen-libm-tests.pl.
40868 2010-05-12 Petr Baudis <pasky@suse.cz>
40871 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40872 around j0() zero points by switching to j1().
40873 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40878 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40880 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40882 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40885 Patch in part by Pavel Roskin <proski@gnu.org>.
40888 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40890 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40891 Free memory block if necessary.
40894 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40895 be NULL. Don't lock in this case.
40897 2011-09-09 Roland McGrath <roland@hack.frob.com>
40899 * elf/elf.h (ELFOSABI_GNU): New macro.
40900 (ELFOSABI_LINUX): Define to that.
40902 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40904 * string/strncat.c (strncat): Undef the symbol in case it has been
40905 defined in bits/string.h.
40907 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40909 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40911 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40914 2011-08-17 Andreas Jaeger <aj@suse.de>
40916 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40918 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40919 Ian Lance Taylor <iant@google.com>
40921 * math/libm-test.inc (lround_test): New testcase.
40922 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40924 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40926 * Makefile: Remove support for automatic cvs check-ins.
40927 * Makerules: Likewise.
40928 * config.make.in: Likewise.
40929 * configure.in: Likewise.
40930 * intl/Makefile: Likewise.
40931 * locale/Makefile: Likewise.
40932 * po/Makefile: Likewise.
40933 * posix/Makefile: Likewise.
40934 * sysdeps/gnu/Makefile: Likewise.
40935 * sysdeps/mach/hurd/Makefile: Likewise.
40936 * sysdeps/sparc/sparc32/Makefile: Likewise.
40939 * posix/Makefile (bug-regex32-ENV): Define.
40940 Patch by John Stanley <jpsinthemix@verizon.net>.
40942 * misc/Makefile (headers): Add bits/select2.h.
40943 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40944 * misc/bits/select2.h: New file.
40945 * include/bits/select2.h: New file.
40946 * debug/Makefile (routines): Add fdelt_chk.
40947 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40948 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40950 * debug/fdelt_chk.c: New file.
40952 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40953 * wcsmbs/test-wmemcmp.c: Likewise.
40954 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40955 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40957 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40959 * string/Makefile (strop-tests): Add memcmp.
40960 * string/test-wmemcmp.c: New file.
40961 * string/test-memcmp.c: Add wmemcmp support.
40963 2011-09-08 Roland McGrath <roland@hack.frob.com>
40966 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40969 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40970 garbage value in a __mach_port_mod_refs call in the cases of the
40971 task-self and thread-self ports.
40973 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40975 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40977 2011-09-08 Andreas Schwab <schwab@redhat.com>
40979 * elf/dl-load.c (lose): Check for non-null L.
40981 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40983 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40985 * elf/dl-libc.c (dlerror_run): Pass back error code from
40989 * elf/dl-load.c (lose): Free l_origin if it is valid.
40991 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40993 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40995 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40996 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40997 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40998 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41000 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41002 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41003 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41004 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41005 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41006 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41007 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41008 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41009 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41010 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41011 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41013 2011-08-15 Alan Modra <amodra@gmail.com>
41016 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41017 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41018 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41019 ppc_mcount to static-only-routines.
41020 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41022 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41023 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41025 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41027 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41028 for finite and infinity parameters.
41030 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41032 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41033 and add nop instructions for throughput optimization.
41034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41036 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41038 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41039 aligned copy for power7 with vector-scalar instructions.
41040 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41042 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41047 2011-09-07 Andreas Schwab <schwab@redhat.com>
41050 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41053 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41055 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41056 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41057 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41058 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41061 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41063 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41064 Forgot to demangle the pointer.
41066 * sysdeps/i386/sysdep.h: Define atom_text_section.
41067 * sysdeps/x86_64/sysdep.h: Likewise.
41068 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41069 section with atom_text_section.
41070 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41071 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41072 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41073 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41074 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41076 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41078 already be defined. Change to take two parameters and don't assign
41079 result to variable. Adjust all users.
41080 Define INTERNAL_GETTIME if not already defined.
41081 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41084 HAVE_CLOCK_GETTIME_VSYSCALL.
41085 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41087 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41088 gettimeofday vsyscall, just use time.
41090 2011-09-06 Andreas Schwab <schwab@redhat.com>
41092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41095 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41097 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41101 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41102 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41103 syscall if possible.
41105 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41107 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41108 e_ident. Don't pass to find_mapsXX.
41109 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41111 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41114 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41115 * sysdeps/x86_64/multiarch/strchr.S: Update.
41116 Check bit_slow_BSF bit.
41117 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41118 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41119 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41121 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41124 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41126 (tryshell): Define.
41127 (__spawni): Change last parameter to be flag. Test
41128 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41129 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41130 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41131 * posix/spawni.c: Likewise.
41132 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41133 * posix/spawnp.c: Likewise. Change normal version to use
41134 SPAWN_XFLAGS_USE_PATH.
41135 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41136 SPAWN_XFLAGS_TRY_SHELL.
41139 * posix/glob.h: Remove gcc 1.x support.
41142 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41144 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41147 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41149 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41150 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41151 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41152 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41153 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41156 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41158 * sysdeps/x86_64/wcscmp.S: New file.
41160 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41161 wcscmp-c wcscmp-sse2
41162 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41163 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41164 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41165 * wcsmbs/wcscmp.c: Allow renaming.
41167 2011-09-05 David S. Miller <davem@davemloft.net>
41169 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41170 stack slot, rather than the struct return pointer slot.
41171 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41172 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41174 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41176 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41178 * po/ja.po: Update from translation team.
41181 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41182 kernel in 64-bit binaries.
41184 2011-09-01 David S. Miller <davem@davemloft.net>
41186 * elf/elf.h (HWCAP_SPARC_*): Move to..
41187 * sysdeps/sparc/sysdep.h: this new file and add new values.
41188 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41189 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41190 _DL_HWCAP_COUNT to 24.
41191 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41193 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41194 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41195 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41196 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41197 instead of magic constants.
41198 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41200 2011-08-31 David S. Miller <davem@davemloft.net>
41202 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41204 Reimplement to do errno handling inline.
41205 (SYSCALL_ERROR_HANDLER): New macro.
41206 (__SYSCALL_STRING): Do not do errno handling in asm.
41207 (__CLONE_SYSCALL_STRING): Delete.
41208 (__INTERNAL_SYSCALL_STRING): Delete.
41209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41210 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41211 (PSEUDO): Reimplement to do errno handling inline.
41212 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41213 (SYSCALL_ERROR_HANDLER): New macro.
41214 (__SYSCALL_STRING): Do not do errno handling in asm.
41215 (__CLONE_SYSCALL_STRING): Delete.
41216 (__INTERNAL_SYSCALL_STRING): Delete.
41217 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41218 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41220 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41221 (inline_syscall*): Add 'err' argument.
41222 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41223 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41224 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41225 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41227 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41228 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41230 2011-08-30 Andreas Schwab <schwab@redhat.com>
41232 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41234 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41236 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41239 2011-08-24 David S. Miller <davem@davemloft.net>
41241 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41243 2011-08-24 Andreas Schwab <schwab@redhat.com>
41245 * elf/Makefile: Add rules to build and run unload8 test.
41246 * elf/unload8.c: New file.
41247 * elf/unload8mod1.c: New file.
41248 * elf/unload8mod1x.c: New file.
41249 * elf/unload8mod2.c: New file.
41250 * elf/unload8mod3.c: New file.
41252 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41255 2011-08-23 David S. Miller <davem@davemloft.net>
41257 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41258 subtract stack bias.
41259 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41260 %sp not %fp in calculations.
41261 (_JMPBUF_UNWINDS_ADJ): Likewise.
41263 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41264 (aio_suspend): Call it to force an exception region around the
41265 AIO_MISC_WAIT() invocation.
41267 2011-08-23 Andreas Schwab <schwab@redhat.com>
41269 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41272 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41274 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41276 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41277 and <dl-machine.h>.
41278 (Elf64_FuncDesc): Remove.
41280 2011-08-22 David S. Miller <davem@davemloft.net>
41282 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41283 sigaltstack check, add missing cfi directives.
41284 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41285 missing cfi directives, and sigaltstack handling.
41287 2011-08-16 Andreas Schwab <schwab@redhat.com>
41290 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41291 object is seen twice.
41292 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41294 * elf/Makefile (distribute): Add tst-initorder2.c.
41295 (tests): Add tst-initorder2.
41296 (modules-names): Add tst-initorder2a tst-initorder2b
41297 tst-initorder2c tst-initorder2d. Add rules to build them.
41298 ($(objpfx)tst-initorder2.out): New rule.
41299 * elf/tst-initorder2.c: New file.
41300 * elf/tst-initorder2.exp: New file.
41302 2011-08-22 Andreas Schwab <schwab@redhat.com>
41304 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41306 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41307 dependencies back to end of function.
41309 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41310 $(elfobjdir)/ld.so.
41312 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41315 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41317 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41318 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41319 of __vdso_gettimeofday.
41320 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41321 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41323 (_libc_vdso_platform_setup): Remove initialization of
41324 __vdso_gettimeofday and __vdso_time.
41326 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41328 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41329 and fgetc_unlocked.
41330 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41333 * elf/dl-open.c (add_to_global): Report additions to the global scope
41334 for LD_DEBUG=scopes.
41335 (dl_open_worker): Also print scope of newly loaded dependencies.
41336 (_dl_show_scope): Indicate if there is no scope.
41339 * stdio-common/Makefile (tests): Add bug24.
41340 * stdio-common/bug24.c: New file.
41342 2011-08-19 Andreas Jaeger <aj@suse.de>
41345 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41346 non-existant file when using close-on-exec mode.
41348 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41351 the very first instruction.
41353 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41354 the CFI state in the end.
41355 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41356 inclusion of dl-trampoline.h.
41357 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41359 2011-08-19 Andreas Schwab <schwab@redhat.com>
41361 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41362 expectations for long double.
41364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41365 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41367 2011-08-14 David S. Miller <davem@davemloft.net>
41369 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41370 artificual limit depends upon the system page size.
41372 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41374 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41375 * resolv/Makefile: Define CFLAGS-libresolv.
41377 2011-08-17 Andreas Schwab <schwab@redhat.com>
41379 * nss/makedb.c (compute_tables): Make variables used in nested
41382 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41384 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41385 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41386 if buffer was too small.
41388 * elf/pldd.c (main): Attach to all threads in the process.
41389 Rewrite /proc handling to use *at functions.
41391 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41393 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41394 specifies first scope to show.
41395 (dl_open_worker): Update callers. Move printing scope of new
41396 object to before the relocation.
41397 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41398 * sysdeps/generic/ldsodefs.h: Update declaration.
41400 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41401 string for the scope number.
41403 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41405 * nscd/servicescache.c (cache_addserv): Make sure written is always
41408 2011-08-14 Roland McGrath <roland@hack.frob.com>
41410 * sysdeps/i386/i486/bits/atomic.h
41411 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41412 statement expression, so as to suppress "set but not used" warning.
41413 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41415 * string/strncat.c (STRNCAT): Use prototype definition.
41417 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41418 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41420 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41421 (localedef-modules): Add localedef.
41422 (locale-modules): Add locale.
41424 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41425 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41426 to avoid a warning.
41428 2011-08-14 David S. Miller <davem@davemloft.net>
41430 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41431 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41433 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41435 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41436 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41437 * elf/rtld.c (dl_main): Set l_name of vDSO.
41438 Call _dl_show_scope when DL_DEBUG_SCOPES.
41439 (process_dl_debug): Recognize scopes flag and also set it for all.
41440 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41441 Declare _dl_show_scope.
41443 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41444 (do_dlopen): Pass caller_dlopen to dl_open.
41445 (__libc_dlopen_mode): Initialize caller_dlopen.
41447 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41448 of libc. Make tolower call locale-independent. Optimize a bit by
41449 using isdigit instead of isalnum.
41450 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41452 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41454 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41455 was a dependency or dynamically loaded.
41457 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41459 * intl/l10nflist.c: Allow architecture-specific pop function.
41460 * sysdeps/x86_64/l10nflist.c: New file.
41462 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41465 2011-08-10 Andreas Schwab <schwab@redhat.com>
41467 * include/dirent.h: Add libc_hidden_proto for scandirat and
41468 scandirat64. Don't declare __scandirat64.
41469 * dirent/scandirat.c: Add libc_hidden_def.
41470 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41471 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41473 2011-08-10 David S. Miller <davem@davemloft.net>
41475 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41477 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41479 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41481 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41483 * Versions.def [libc]: Add GLIBC_2.15.
41484 * dirent/Makefile (routines): Add scandirat and scandirat64.
41485 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41487 * dirent/dirent.h: Declare scandirat and scandirat64.
41488 * dirent/scandirat.c: New file.
41489 * dirent/scandirat64.c: New file.
41490 * sysdeps/wordsize-64/scandirat.c: New file.
41491 * sysdeps/wordsize-64/scandirat64.c: New file.
41492 * dirent/opendir.c: Define opendirat.
41493 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41495 * dirent/scandir64.c: Adjust for scandir.c change.
41496 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41497 __scandirat64, and __scandir_cancel_handler.
41498 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41499 additional parameter and use openat instead of open (outside of ld.so).
41500 Add new __opendir as wrapper around __opendirat.
41501 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41502 here without requiring old scandirat implementation.
41504 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41506 * dirent/scandir.c (cancel_handler): Renamed to
41507 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41508 defined. Adjust users.
41509 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41510 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41512 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41514 * string/test-string.h (IMPL): Use __STRING to expand name and then
41517 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41520 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41522 * string/Makefile: Update.
41523 (strop-tests): Append strncat.
41524 * string/test-wcscmp.c: New file.
41525 New comprehensive test for wcscmp.
41526 * string/test-strcmp.c: Update.
41527 (WIDE): New define.
41529 2011-07-22 Andreas Schwab <schwab@redhat.com>
41531 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41534 2011-07-26 Andreas Schwab <schwab@redhat.com>
41536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41537 encoding to ACE if AI_IDN.
41539 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41542 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41544 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41546 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41547 Fix overflow bug in strncat.
41548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41550 * string/test-strncat.c: Update.
41551 Add new tests for checking overflow bugs.
41553 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41556 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41557 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41558 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41560 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41561 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41562 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41563 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41565 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41566 (USE_AS_STRCAT): Define.
41567 Add strcat and strncat support.
41568 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41570 2011-07-25 Andreas Schwab <schwab@redhat.com>
41572 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41573 __n bigger than INT_MAX+1.
41574 (__strncmp_g): Likewise.
41576 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41578 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41579 * libio/stido.h: Likewise.
41581 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41586 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41587 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41588 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41589 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41593 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41598 (_dl_x86_64_save_sse): Likewise.
41600 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41604 (_dl_x86_64_save_sse): Likewise.
41606 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41608 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41610 2011-07-21 Andreas Schwab <schwab@redhat.com>
41612 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41614 (_dl_x86_64_save_sse): Use correct AVX check.
41616 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41618 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41619 bug in strncpy/strncat.
41620 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41622 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41624 * string/tester.c (test_strcat): Add tests for different alignments
41625 of source and destination.
41626 (test_strncat): Likewise.
41628 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41631 * posix/glob.c (glob): Check passed in values before using them in
41632 expressions to avoid some overflows.
41633 (glob_in_dir): Likewise.
41636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41637 check for AVX enablement so that we don't crash with old kernels and
41639 * elf/tst-audit4.c: Add same checks here.
41640 * elf/tst-audit6.c: Likewise.
41642 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41644 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41646 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41648 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41650 * po/cs.po: Update from translation team.
41651 * po/bg.po: Likewise.
41653 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41655 * misc/sys/cdefs.h: Add support for const attribute.
41656 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41657 to gnu_dev_{major,minor,makedev} functions.
41659 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41661 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41663 2011-07-20 Andreas Schwab <schwab@redhat.com>
41665 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41668 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41671 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41672 register in order to avoid conflicts with the soft frame pointer
41673 being held in r11 when necessary.
41674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41675 (INTERNAL_VSYSCALL_NCS): Likewise.
41677 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41679 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41680 * elf/dl-fini.c (_dl_fini): Adjust caller.
41681 * elf/dl-close.c (_dl_close_worker): Likewise.
41682 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41684 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41686 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41687 "aux_cache->nlibs < 0".
41689 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41690 in the reload-count case.
41692 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41695 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41696 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41697 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41698 * sysdeps/x86_64/multiarch/strcat.S: New file.
41699 * sysdeps/x86_64/multiarch/strncat.S: New file.
41700 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41701 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41702 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41703 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41704 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41705 (USE_AS_STRCAT): Define.
41706 Add strcat and strncat support.
41707 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41709 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41710 * string/strncat.c: Update.
41711 (USE_AS_STRNCAT): Define.
41712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41713 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41715 * sysdeps/x86_64/multiarch/init-arch.h
41716 (bit_Prefer_PMINUB_for_stringop): New.
41717 (index_Prefer_PMINUB_for_stringop): Likewise.
41718 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41719 bit_Prefer_PMINUB_for_stringop.
41721 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41723 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41725 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41726 of casting of buffer.
41727 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41728 buffer32 and buffer64.
41729 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41730 writes instead of casting of buffer.
41731 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41733 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41736 2011-07-19 Andreas Schwab <schwab@redhat.com>
41738 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41740 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41742 * nscd/nscd.c (termination_handler): Don't do anything for a database
41743 if it has not yet been initialized.
41745 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41747 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41749 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41751 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41753 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41755 * po/nl.po: Update from translation team.
41756 * po/sv.po: Likewise.
41758 2011-07-16 Roland McGrath <roland@hack.frob.com>
41760 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41761 now disallowed by GCC.
41763 * configure.in (use-default-link): Default to yes if a test -shared
41764 link meets our qualifications.
41765 * configure: Regenerated.
41767 * config.make.in (output-format): New variable.
41768 * configure.in: Check for ld --print-output-format support.
41769 * configure: Regenerated.
41770 * Makerules ($(common-objpfx)format.lds)
41771 [$(output-format) != unknown]: Just use $(output-format),
41772 instead of the linker-script munging.
41774 2011-07-14 Roland McGrath <roland@hack.frob.com>
41776 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41777 of $(common-objpfx)shlib.lds.
41778 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41780 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41781 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41783 * configure.in (-z relro check): Adjust test code to add a large
41784 writable data section after it.
41785 * configure: Regenerated.
41787 2011-07-11 Roland McGrath <roland@hack.frob.com>
41789 * configure.in (-z relro check): Fix test code to make the variable
41791 * configure: Regenerated.
41793 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41795 * nscd/nscd.h (struct traced_file): Define.
41796 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41797 elements. Add traced_files.
41798 (inotify_fd): Declare.
41799 (register_traced_file): Declare.
41800 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41801 (inotify_fd): Export.
41802 (resolv_conf_descr): Remove.
41803 (nscd_init): Move inotify descriptor creation to main.
41804 Don't register files for notification here.
41805 (register_traced_file): New function.
41806 (invalidate_cache): Don't use reset_res to determine whether to call
41807 res_init, go through the list of registered files.
41808 (main_loop_poll): The inotify descriptors are now stored in the
41809 structures for the traced files.
41810 (main_loop_epoll): Likewise
41811 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41812 to __nss_disable_nscd.
41813 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41814 for a database anymore. Check the records for all the registered
41816 * nss/Makefile (libnss_files-routines): Add files-init.
41817 (libnss_db-routines): Add db-init.
41818 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41819 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41820 * nss/nss_db/db-init.c: New file.
41821 * nss/nss_files/files-init.c: New file.
41822 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41823 __nss_lookup_function.
41824 (__nss_lookup_function): Call nss_load_library.
41825 (nss_load_all_libraries): New function.
41826 (__nss_disable_nscd): Take parameter with callback function for files
41827 to register. Set is_nscd. Load all the DSOs for the NSS modules
41828 used for the cached services.
41829 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41830 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41831 options for features to all the files in nscd.
41833 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41835 2011-07-10 Roland McGrath <roland@hack.frob.com>
41837 * csu/elf-init.c (__libc_csu_init): Comment typo.
41839 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41841 * po/pl.po: Update from translation team.
41842 * po/ja.po: Likewise.
41843 * po/ru.po: Likewise.
41844 * po/ko.po: Likewise.
41845 * po/fr.po: Likewise.
41847 2011-07-09 Roland McGrath <roland@hack.frob.com>
41849 * configure.in (.ctors/.dtors header and trailer check):
41850 Use an empirical test on a built program.
41851 * configure: Regenerated.
41853 * configure.in (-z relro check): Use an empirical test on a built DSO.
41854 Detect, but do not require, on ia64.
41855 * configure: Regenerated.
41857 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41858 Update tests that use readelf to use $READELF instead.
41859 * configure: Regenerated.
41861 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41863 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41864 if the result is not used.
41866 2011-07-05 Andreas Jaeger <aj@suse.de>
41869 * stdlib/tst-strtod.c: Add testcase.
41871 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41873 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41874 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41875 The latter has a higher limit. Take additional parameter to pass to
41877 (__pathconf): Pass file to __statfs_link_max.
41878 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41880 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41884 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41885 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41887 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41888 (__statfs_filesize_max): Likewise.
41889 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41891 2011-07-05 Andreas Jaeger <aj@suse.de>
41893 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41895 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41897 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41899 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41902 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41904 * Makefile (strop-tests): Add strncat.
41905 * string/test-strncat.c: New file.
41907 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41909 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41911 2011-06-21 Andreas Jaeger <aj@suse.de>
41913 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41914 Copy rule from iconvdata/Makefile.
41916 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41919 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41920 but no long options are defined, just return 'W'.
41922 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41925 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41927 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41929 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41931 (innetgr): Likewise.
41933 2011-07-05 Roland McGrath <roland@hack.frob.com>
41935 * config.make.in (install_root): Default to $(DESTDIR).
41937 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41939 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41941 2011-07-02 Roland McGrath <roland@hack.frob.com>
41943 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41945 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41946 containing directory rather than embedding absolute directory names.
41948 * scripts/check-local-headers.sh: Rewritten using awk.
41949 Match by word, not by line. Print error messages for matches.
41950 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41952 * Makerules [shlib-lds-flags empty]:
41953 ($(common-objpfx)libc_pic.opts): New target.
41954 ($(common-objpfx)libc_pic.os.clean): New target.
41955 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41957 * config.make.in (OBJCOPY): New variable.
41958 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41959 * configure: Regenerated.
41961 * config.make.in (use-default-link): New variable.
41962 * configure.in (use_default_link): Grok --with-default-link to set it.
41963 * configure: Regenerated.
41964 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41965 (shlib-lds, shlib-lds-flags): Define to empty.
41967 * Makerules (shlib-lds): New variable.
41968 (shlib-lds-flags): New variable.
41969 (build-shlib, build-moduile, build-module-asneeded): Use it.
41970 ($(common-objpfx)libc.so): Use $(shlib-lds).
41971 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41972 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41974 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41975 DT_FLAGS/DT_FLAGS_1 with zero flags.
41977 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41978 linker script munging.
41980 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41982 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41984 * crypt/sha512.c (sha512_process_block): Perform total addition using
41985 128-bit if possible.
41986 (__sha512_finish_ctx): Likewise.
41987 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41989 * crypt/sha256.c (SWAP64): Define.
41990 (sha256_process_block): Perform total addition using 64-bit if
41992 (__sha256_finish_ctx): Likewise.
41994 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41996 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41998 * nscd/hstcache.c (cache_addhst): Likewise.
41999 * nscd/grpcache.c (cache_addgr): Likewise.
42000 * nscd/aicache.c (addhstaiX): Likewise
42001 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42003 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42005 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42007 * nscd/hstcache.c (cache_addhst): Likewise.
42008 * nscd/grpcache.c (cache_addgr): Likewise.
42009 * nscd/aicache.c (addhstaiX): Likewise
42011 2011-07-01 Andreas Schwab <schwab@redhat.com>
42013 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42014 domain only when needed.
42016 2011-06-30 Andreas Schwab <schwab@redhat.com>
42018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42019 is always restored.
42021 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42023 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42024 are re-adding the entry.
42025 * nscd/servicescache.c (cache_addserv): Likewise.
42027 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42029 * sysdeps/generic/dl-irel.h: fix protection against multiple
42031 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42033 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42036 * malloc/memusage.sh: Fix quoting in message.
42037 * debug/xtrace.sh: Likewise.
42039 * configure.in: Remove support for --experimental-malloc option, make
42041 * config.make.in: Likewise.
42042 * malloc/Makefile: Likewise.
42044 2011-06-27 Andreas Schwab <schwab@redhat.com>
42046 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42047 two-byte characters.
42049 2011-06-27 Roland McGrath <roland@hack.frob.com>
42051 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42052 AC_CACHE_CHECK invocation.
42053 * configure: Regenerated.
42055 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42057 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42060 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42061 bit from old_res_options.
42063 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42065 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42066 value type for setfct.
42068 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42071 __gettimeofday instead of gettimeofday.
42073 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42075 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42077 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42084 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42087 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42088 strcpy-sse2-unaligned strncpy-sse2-unaligned
42089 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42090 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42091 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42092 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42093 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42096 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42097 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42098 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42099 (STRCPY): Support SSE2 and SSSE3 versions.
42101 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42104 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42105 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42106 kernels which artificially limit size of requests.
42108 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42111 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42112 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42113 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42114 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42115 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42116 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42117 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42118 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42119 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42120 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42121 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42122 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42123 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42124 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42126 Enable unaligned load optimization for Intel Core i3, i5 and i7
42128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42130 (index_Fast_Unaligned_Load): Define.
42131 (HAS_FAST_UNALIGNED_LOAD): Define.
42133 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42135 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42137 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42140 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42141 until it is clear that the information is realy needed.
42142 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42144 2011-06-22 Andreas Schwab <schwab@redhat.com>
42146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42148 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42151 /sys/devices/system/cpu/online if it is usable.
42153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42154 reading the information from the /proc filesystem to once a second.
42156 2011-06-21 Andreas Jaeger <aj@suse.de>
42158 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42159 NULL after inclusion of kernel headers.
42161 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42163 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42164 calls to internal_setent.
42167 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42168 addresses using gethostbyname4_r ignore IPv4 addresses.
42170 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42171 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42173 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42175 2011-06-20 David S. Miller <davem@davemloft.net>
42177 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42179 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42181 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42182 (elf_irel): Use it.
42183 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42184 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42185 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42186 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42187 * sysdeps/x86_64/dl-irel.h: Likewise.
42189 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42190 * elf/dl-sym.c: Likewise.
42192 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42194 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42195 need to dereference resplen2.
42197 2011-06-14 Andreas Schwab <schwab@redhat.com>
42199 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42201 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42203 * Makeconfig: Define vardbdir and inst_vardbdir.
42204 * nss/Makefile: Add rules to install db-Makefile.
42206 * nss/nss_db/db-XXX.c: Cleanup.
42208 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42209 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42211 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42212 * nss/makedb.c: Implement -g option to specify that value strings
42213 are generated and should not be added to table iterated over for
42215 * nss/nss_db/db-initgroups.c: New file.
42217 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42220 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42221 (internal_getgrouplist): Adjust to name change.
42222 Update use_initgroups_entry if this is not the first call.
42223 * nss/databases.def: Add initgroups entry.
42225 * nss/makedb.c (compute_tables): Check result of multiple hash table
42226 sizes to minimize maximum chain length.
42228 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42230 * Versions.def: Add entry for libnss_db.
42231 * shlib-versions: Likewise.
42232 * nss/Makefile: Add rules to build libnss_db.
42233 * nss/Versions: Add libnss_db information. Organize libnss_files
42235 * nss/db-Makefile: Add gshadow support. Change rules for the new
42236 makedb progra. Some minor improvements to generate smaller files.
42237 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42239 * nss/makedb.c: ...here.
42240 Improve database format to be smaller and require less memory at
42242 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42244 * nss/nss_db/db-netgrp.c: Likewise.
42245 * nss/nss_db/db-open.c: Likewise.
42246 * nss/nss_files/flies-XXX.x: Adjust comments.
42247 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42248 * nss/nss_files/files-grp.c: Likewise.
42249 * nss/nss_files/files-hosts.c: Likewise.
42250 * nss/nss_files/files-network.c: Likewise.
42251 * nss/nss_files/files-proto.c: Likewise.
42252 * nss/nss_files/files-pwd.c: Likewise.
42253 * nss/nss_files/files-rpc.c: Likewise.
42254 * nss/nss_files/files-service.c: Likewise.
42255 * nss/nss_files/files-sgrp.c: Likewise.
42256 * nss/nss_files/files-spwd.c: Likewise.
42257 * nss/nss_db/db-alias.c: Removed.
42258 * nss/nss_db/dummy-db.h: Removed.
42260 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42262 * nss/makedb.c: Rewritten to not use database library.
42263 * nss/Makefile: Update to build new makedb program.
42265 2011-06-14 Andreas Jaeger <aj@suse.de>
42267 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42268 memset declaration.
42270 2011-06-10 Andreas Schwab <schwab@redhat.com>
42272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42275 2011-06-10 Roland McGrath <roland@hack.frob.com>
42277 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42278 * elf/Makefile ($(objpfx)ld.so): Likewise.
42280 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42281 Don't list ld.so twice in dependencies.
42283 * posix/bug-regex31.c: Include <stdlib.h>.
42285 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42287 * nis/nss_compat/compat-spwd.c
42288 (getspent_next_nss_netgr): Remove unused variable.
42289 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42291 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42292 nonmembers" output to use the right array.
42294 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42296 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42298 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42299 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42300 * catgets/gencat.c (read_input_file): Likewise.
42301 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42303 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42304 variable definition inside #if's controlling its use.
42306 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42308 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42310 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42312 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42315 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42317 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42318 * configure: Regenerated.
42320 * Makerules: Revert last change.
42321 * elf/Makefile: Likewise.
42323 2011-06-09 Roland McGrath <roland@hack.frob.com>
42325 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42326 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42327 (reloc-link): Likewise.
42329 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42331 * elf/Makefile: Add rules to build pldd.
42332 * elf/pldd.c: New file.
42333 * elf/pldd-xx.c: New file.
42335 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42337 * version.h: Update for 2.15 development version.
42339 2011-06-07 David S. Miller <davem@davemloft.net>
42341 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42343 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42344 elf_machine_lazy_rel): Likewise.
42345 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42347 elf_machine_lazy_rel): Likewise.
42348 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42349 dl_hwcap via passed in argument.
42350 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42353 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42355 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42357 2011-06-06 Roland McGrath <roland@hack.frob.com>
42360 * manual/fdl-1.1.texi: New file, verbatim from:
42361 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42362 * manual/lgpl-2.1.texi: New file, verbatim from:
42363 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42364 * manual/Makefile (licenses): New variable, list those new file names.
42366 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42368 * manual/fdl.texi: File removed.
42369 * manual/lesser.texi: File removed.
42370 * manual/libc.texinfo (Copying, Documentation License):
42371 Use new @include file names, put @appendix directive before @include.
42373 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42376 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42377 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42378 (mq_open): Add __NTH.
42380 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42383 Assume Intel Core i3/i5/i7 processor if AVX is available.
42385 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42390 2011-05-31 Andreas Schwab <schwab@redhat.com>
42392 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42393 memory. Use alloca_account. Fix memory leak when retrying.
42395 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42397 * version.h (RELEASE): Bump for 2.14 release.
42398 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42400 * config.make.in (RANLIB): Remove entry.
42402 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42404 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42405 (libc.pot): Work around missing support for .ksh extension in xgettext.
42408 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42409 if both request failed.
42410 (send_dg): In case of server errors clear resplen or *resplen2.
42413 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42414 when there are multiple maps.
42415 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42416 (_dl_fini): Remove test here.
42418 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42420 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42423 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42424 bit from old_res_options.
42425 (gaih_inet): Likewise.
42428 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42431 * resolv/res_init.c (res_setoptions): Make the code more compact.
42434 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42438 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42440 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42443 * malloc/malloc.h: Declare malloc hook variables as volatile.
42445 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42449 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42450 raise in the comment.
42451 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42452 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42453 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42455 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42458 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42459 grow the buffers more if it already has to be sufficient.
42460 (build_wcs_upper_buffer): Likewise.
42461 * posix/regexec.c (check_matching): Likewise.
42462 (clean_state_log_if_needed): Likewise.
42463 (extend_buffers): Don't enlarge buffers beyond size of the input
42465 Patches mostly by Emil Wojak <emil@wojak.eu>.
42466 * posix/bug-regex32.c: New file.
42467 * posix/Makefile (tests): Add bug-regex32.
42469 * locale/findlocale.c (_nl_find_locale): Return right away if
42470 _nl_explode_name failed.
42471 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42473 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42475 * debug/xtrace.sh: Unify messages.
42476 * malloc/memusage.sh: Likewise.
42479 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42480 time symbol from vDSO. Substitute with vsyscall if not available.
42481 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42484 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42485 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42486 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42487 Add sendmmsg and internal_sendmmsg.
42488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42489 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42490 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42492 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42493 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42494 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42496 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42500 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42502 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42506 * iconvdata/Makefile (tests): Add bug-iconv9.
42507 * iconvdata/bug-iconv9.c: New file.
42509 2011-05-27 Andreas Schwab <schwab@redhat.com>
42512 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42514 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42517 (struct user_regs_struct): Change intcs field back to cs.
42519 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42521 * po/ja.po: Update from translation team.
42523 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42526 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42527 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42529 2011-05-20 Andreas Schwab <schwab@redhat.com>
42531 * stdlib/longlong.h: Update from GCC.
42533 2011-05-23 Andreas Schwab <schwab@redhat.com>
42535 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42537 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42538 Add parameter name.
42539 (__sysconf): Pass it down.
42541 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42544 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42546 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42547 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42548 add in in __libc_use_alloca calls. Adjust callers.
42549 (glob): Use malloc in some situations.
42551 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42552 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42555 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42557 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42558 and CLOCK_BOOTTIME_ALARM.
42561 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42564 * string/_strerror.c (__strerror_r): Print negative errors as signed
42568 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42569 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42570 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42572 * configure.in: Fix typo in redirection and correct removal of test
42573 files in two cases.
42576 * locale/setlocale.c (new_composite_name): Fix test to check for
42577 identical name of all categories.
42580 * libio/filedoalloc.c (local_isatty): New function.
42581 (_IO_file_doallocate): Use local_isatty.
42582 * stdio-common/perror.c (perror): In case a new stream is used
42583 forward the stream error.
42584 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42587 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42592 * include/alloca.h (extend_alloca_account): Define.
42595 * posix/regex.h: Fix comments with documentation of user-accessible
42596 fields after compilation and describe correct free'ing of pattern
42597 after re_compile_pattern.
42598 Patch by Reuben Thomas <rrt@sc3d.org>.
42600 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42602 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42603 and -mno-altivec to prevent the compiler from using Altivec and/or
42604 VSX instructions when the corresponding registers are not available.
42606 2011-05-19 Andreas Schwab <schwab@redhat.com>
42608 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42610 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42612 * libio/freopen.c (freopen): Use __dup2, not dup2.
42613 * libio/freopen64.c (freopen64): Likewise.
42615 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42618 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42619 * math/Makefile (tests): Add test-powl.
42620 (CFLAGS-test-powl.c): Define.
42621 * math/test-powl.c: New file.
42623 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42625 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42627 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42630 * iconvdata/gb18030.c: Update to GB18020-2005.
42632 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42634 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42635 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42636 Patch by Aharon Robbins <arnold@skeeve.com>.
42639 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42643 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42644 through underflows.
42647 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42648 point to strings before performing equality test for error_one_per_line
42652 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42656 (struct user_fpregs_struct): Avoid __uint*_t types.
42659 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42660 symbol info. Use it instead of calling _dl_addr locally.
42661 (lock_and_info): New function.
42662 (tr_freehook): Call lock_and_info and pass symbol info as additional
42663 parameter to tr_where.
42664 (tr_mallochook): Likewise.
42665 (tr_reallochook): Likewise.
42666 (tr_memalignhook): Likewise.
42668 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42669 used and couldn't be at all thread-safe.
42671 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42673 * libio/freopen.c (freopen): Don't close old file descriptor
42674 before the new one is opened. Instead dup the new file descriptor
42675 to the old one after the new stream is created.
42676 * libio/freopen64.c (freopen64): Likewise.
42677 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42678 * libio/fileops.c (_IO_new_file_close_it): Handle new
42679 _IO_FLAGS2_NOCLOSE flag.
42680 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42681 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42682 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42683 _IO_FLAGS2_NOCLOSE flag.
42684 * include/unistd.h: Add hidden_proto for dup3.
42685 Define __have_dup3.
42686 * io/dup3.c: Define hidden symbol.
42687 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42690 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42691 when an incomplete long option is used.
42692 * posix/tst-getopt_long1.c: New file.
42693 * posix/Makefile (tests): Add tst-getopt_long1.
42696 * scripts/config.guess: Update from autoconf-2.68.
42697 * scripts/config.sub: Likewise.
42700 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42702 (has_cpuclock): ...this. New function.
42703 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42704 macro here based on has_cpuclock code.
42707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42708 First byte (not low byte) is now always NUL.
42709 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42712 Use non-cancelable interfaces.
42715 * locale/iso-639.def: Add entry for Sorani.
42718 * include/stdlib.h: Move include protection to the right place.
42719 Define abort_msg_s. Declare __abort_msg with it.
42720 * stdlib/abort.c (__abort_msg): Adjust type.
42721 * assert/assert.c (__assert_fail_base): New function. Majority
42722 of code from __assert_fail. Allocate memory for __abort_msg with
42724 (__assert_fail): Now call __assert_fail_base.
42725 * assert/assert-perr.c: Remove bulk of implementation. Use
42726 __assert_fail_base.
42727 * include/assert.hL Declare __assert_fail_base.
42728 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42730 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42732 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42736 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42737 until all modules are registered in the DTV.
42738 * elf/Makefile: Add rules to build and run tst-tls19.
42739 * elf/tst-tls19.c: New file.
42740 * elf/tst-tls19mod1.c: New file.
42741 * elf/tst-tls19mod2.c: New file.
42742 * elf/tst-tls19mod3.c: New file.
42743 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42746 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42750 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42751 two-byte sequence errors.
42752 * iconvdata/Makefile (tests): Add bug-iconv8.
42753 * iconvdata/bug-iconv8.c: New file.
42756 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42759 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42762 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42763 (dummy_getcfa): New function.
42764 (init): Get _Unwind_GetCFA address, use dummy if not found.
42765 (backtrace_helper): In recursion check, also check whether CFA changes.
42766 (__backtrace): Completely initialize arg.
42768 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42769 storing incomplete byte sequence in state object. Avoid testing for
42770 guaranteed too small input if we know there is enough data available.
42772 2011-05-11 Andreas Schwab <schwab@redhat.com>
42774 * Makeconfig (+link-pie): Indent.
42775 * Rules (binaries-pie): Define if $(have-fpie) and
42777 (binaries-shared): Also filter out $(binaries-pie).
42778 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42779 * nscd/Makefile (others-pie): Add nscd.
42780 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42781 ($(objpfx)nscd): Remove command override.
42782 * login/Makefile (others-pie): Add pt_chown.
42783 ($(objpfx)pt_chown): Remove command override.
42784 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42785 remove command overrides.
42787 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42789 * libio/tst_putwc.c: Fix error messages.
42792 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42793 currently writing and seek to current position when not.
42794 * libio/Makefile (tests): Add bug-fclose1.
42795 * libio/bug-fclose1.c: New file.
42797 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42800 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42801 don't set DF_1_NODELETE here.
42802 (do_lookup_x): When entering new entry test for copy relocation
42803 and if necessary set DF_1_NODELETE flag.
42804 * elf/tst-unique4.cc: New file.
42805 * elf/tst-unique4.h: New file.
42806 * elf/tst-unique4lib.cc: New file.
42807 * elf/Makefile: Add rules to build and run tst-unique4.
42808 Patch by Piotr Bury <pbury@goahead.com>.
42810 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42813 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42816 * misc/mntent_r.c (addmntent): Flush the stream after the output
42819 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42820 (is_trusted_path_normalize): Skip initial colon. Append slash
42821 to empty buffer. Duplicate is_trusted_path code but allow
42822 constructed patch to be prefix.
42823 (is_dst): Allow $ORIGIN followed by /.
42824 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42825 Correct testing of result of is_trusted_path_normalize
42826 (decompose_rpath): Fix warning.
42828 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42831 * grp/initgroups.c (internal_getgrouplist): When we found the service
42832 list through the initgroups entry in nsswitch.conf do not always
42833 continue on a successful lookup. Don't always use the
42834 __nss_group_database value if it is set.
42835 * nss/nsswitch.conf (initgroups): Change action for successful db
42836 lookup to continue for compatibility.
42838 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42841 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42843 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42845 * iconvdata/tst-tables.sh: Likewise.
42846 * iconvdata/cp770.c: New file.
42847 * iconvdata/cp771.c: New file.
42848 * iconvdata/cp772.c: New file.
42849 * iconvdata/cp773.c: New file.
42850 * iconvdata/cp774.c: New file.
42851 * iconvdata/testdata/CP770: New file.
42852 * iconvdata/testdata/CP770..UTF8: New file.
42853 * iconvdata/testdata/CP771: New file.
42854 * iconvdata/testdata/CP771..UTF8: New file.
42855 * iconvdata/testdata/CP772: New file.
42856 * iconvdata/testdata/CP772..UTF8: New file.
42857 * iconvdata/testdata/CP773: New file.
42858 * iconvdata/testdata/CP773..UTF8: New file.
42859 * iconvdata/testdata/CP774: New file.
42860 * iconvdata/testdata/CP774..UTF8: New file.
42862 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42864 * iconvdata/gen-8bit-gap.sh: Likewise.
42865 * iconvdata/gen-8bit.sh: Likewise.
42867 * locale/iso-639.def: Add ary entry.
42870 * locale/C-translit.h.in: Add U20A1 transliteration.
42873 * locale/iso-639.def: Add wae entry.
42874 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42877 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42881 * locale/C-translit.h.in: Add entry for U20B9.
42882 Patch by pravin.d.s@gmail.com.
42884 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42887 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42888 ENAMETOOLONG use generic getcwd.
42889 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42890 in rtld. Use *stat64.
42891 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42892 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42893 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42894 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42895 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42896 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42897 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42898 __fstatat64 macros.
42899 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42900 * dirent/rewinddir.c: Add libc_hidden_def.
42901 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42902 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42904 * include/dirent.h (__alloc_dir): Add flags parameter.
42905 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42906 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42908 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42909 from fdopendir if O_CLOEXEC is already set.
42911 2011-03-15 Alan Modra <amodra@gmail.com>
42913 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42914 l_tls_firstbyte_offset non-zero. Save padding offset in
42915 l_tls_firstbyte_offset for later use.
42916 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42917 freeing static tls block.
42919 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42921 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42922 where #ifdef was intended. The intent is to prevent ARG_MAX from
42923 being defined by the kernel headers.
42925 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42928 * resolv/resolv.h: Define RES_NOTLDQUERY.
42929 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42930 no-tld-query and set RES_NOTLDQUERY.
42931 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42932 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42933 modern BIND to search name as TLD unless forbidden.
42935 2011-05-07 Petr Baudis <pasky@suse.cz>
42936 Ulrich Drepper <drepper@gmail.com>
42939 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42940 (is_trusted_path): ...to here.
42941 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42942 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42943 using is_trusted_path_normalize() in setuid scripts.
42945 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42947 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42948 __BEGIN/__END_DECLS.
42950 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42953 NSS_STATUS_NOTFOUND if no record was found.
42955 2011-05-05 Andreas Schwab <schwab@redhat.com>
42957 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42958 (headers-not-in-tirpc): Remove rpc/netdb.h
42959 * resolv/netdb.h: Revert last change.
42961 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42963 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42964 circular dependency between libgcc.a and libc.a.
42966 2011-05-05 Andreas Schwab <schwab@redhat.com>
42968 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42969 * nis/Makefile: Don't install rpcsvc/*.
42970 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42971 instead of <rpc/types.h>.
42972 (MAXHOSTNAMELEN): Define.
42974 2011-05-03 Andreas Schwab <schwab@redhat.com>
42976 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42978 2011-04-28 Maciej Babinski <mbabinski@google.com>
42981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42982 gethostbyname4_r when IPv6 results are possible.
42984 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42987 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42988 _PC_PIPE_BUF handling.
42990 2011-04-30 Bruno Haible <bruno@clisp.org>
42993 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42994 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42996 * inet/getnameinfo.c (getnameinfo): Likewise.
42998 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43000 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43001 to groups setting in database lookup.
43002 * nss/nsswitch.conf: Add initgroups entry.
43004 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43007 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43009 Patch by Eric Blake <eblake@redhat.com>.
43011 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43013 * sunrpc/Makefile (need-export-routines): Add svc_run.
43014 (routines): Remove svc_run.
43015 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43016 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43017 * sunrpc/svc_run.c (svc_run): Likewise.
43018 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43020 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43023 problem in reallocation in last patch.
43025 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43027 * sunrpc/Makefile: Move inclusion of Rules.
43029 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43031 * nss/nss_files/files-initgroups.c: New file.
43032 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43033 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43034 _nss_files_initgroups_dyn.
43036 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43038 * elf/elf.h (R_ARM_IRELATIVE): Define.
43040 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43042 * po/ru.po: Update from translation team.
43044 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43046 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43049 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43052 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43053 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43054 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43055 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43058 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43060 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43062 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43063 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43066 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43069 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43071 * stdlib/bug-getcontext.c: New file.
43072 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43074 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43076 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43077 instructions into .machine "z9-109".
43078 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43079 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43081 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43083 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43084 between environment variables and auxiliary vector.
43086 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43088 * Makefile: Add rules to build linkobj/libc.so.
43089 * include/libc-symbols.h: Define libc_hidden_nolink.
43090 * include/rpc/auth.h: Mark functions which are to be hidden.
43091 * include/rpc/auth_des.h: Likewise.
43092 * include/rpc/auth_unix.h: Likewise.
43093 * include/rpc/clnt.h: Likewise.
43094 * include/rpc/des_crypt.h: Likewise.
43095 * include/rpc/key_prot.h: Likewise.
43096 * include/rpc/pmap_clnt.h: Likewise.
43097 * include/rpc/pmap_prot.h: Likewise.
43098 * include/rpc/pmap_rmt.h: Likewise.
43099 * include/rpc/rpc_msg.h: Likewise.
43100 * include/rpc/svc.h: Likewise.
43101 * include/rpc/svc_auth.h: Likewise.
43102 * include/rpc/xdr.h: Likewise.
43103 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43104 * nss/Makefile: Likewise.
43105 * sunrpc/Makefile: Don't install headers. Build library with normal
43106 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43107 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43108 for the compat linking library. Remove use of INTDEF/INTUSE.
43109 * sunrpc/auth_none.c: Likewise.
43110 * sunrpc/auth_unix.c: Likewise.
43111 * sunrpc/authdes_prot.c: Likewise.
43112 * sunrpc/authuxprot.c: Likewise.
43113 * sunrpc/clnt_gen.c: Likewise.
43114 * sunrpc/clnt_perr.c: Likewise.
43115 * sunrpc/clnt_raw.c: Likewise.
43116 * sunrpc/clnt_simp.c: Likewise.
43117 * sunrpc/clnt_tcp.c: Likewise.
43118 * sunrpc/clnt_udp.c: Likewise.
43119 * sunrpc/clnt_unix.c: Likewise.
43120 * sunrpc/des_crypt.c: Likewise.
43121 * sunrpc/des_soft.c: Likewise.
43122 * sunrpc/get_myaddr.c: Likewise.
43123 * sunrpc/key_call.c: Likewise.
43124 * sunrpc/key_prot.c: Likewise.
43125 * sunrpc/netname.c: Likewise.
43126 * sunrpc/pm_getmaps.c: Likewise.
43127 * sunrpc/pm_getport.c: Likewise.
43128 * sunrpc/pmap_clnt.c: Likewise.
43129 * sunrpc/pmap_prot.c: Likewise.
43130 * sunrpc/pmap_prot2.c: Likewise.
43131 * sunrpc/pmap_rmt.c: Likewise.
43132 * sunrpc/publickey.c: Likewise.
43133 * sunrpc/rpc_cmsg.c: Likewise.
43134 * sunrpc/rpc_common.c: Likewise.
43135 * sunrpc/rpc_dtable.c: Likewise.
43136 * sunrpc/rpc_prot.c: Likewise.
43137 * sunrpc/rpc_thread.c: Likewise.
43138 * sunrpc/rtime.c: Likewise.
43139 * sunrpc/svc.c: Likewise.
43140 * sunrpc/svc_auth.c: Likewise.
43141 * sunrpc/svc_authux.c: Likewise.
43142 * sunrpc/svc_raw.c: Likewise.
43143 * sunrpc/svc_run.c: Likewise.
43144 * sunrpc/svc_simple.c: Likewise.
43145 * sunrpc/svc_tcp.c: Likewise.
43146 * sunrpc/svc_udp.c: Likewise.
43147 * sunrpc/svc_unix.c: Likewise.
43148 * sunrpc/svcauth_des.c: Likewise.
43149 * sunrpc/xcrypt.c: Likewise.
43150 * sunrpc/xdr.c: Likewise.
43151 * sunrpc/xdr_array.c: Likewise.
43152 * sunrpc/xdr_float.c: Likewise.
43153 * sunrpc/xdr_intXX_t.c: Likewise.
43154 * sunrpc/xdr_mem.c: Likewise.
43155 * sunrpc/xdr_rec.c: Likewise.
43156 * sunrpc/xdr_ref.c: Likewise.
43157 * sunrpc/xdr_sizeof.c: Likewise.
43158 * sunrpc/xdr_stdio.c: Likewise.
43160 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43163 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43164 * sysdeps/ia64/dl-tls.h: Likewise.
43165 * sysdeps/powerpc/dl-tls.h: Likewise.
43166 * sysdeps/s390/dl-tls.h: Likewise.
43167 * sysdeps/sh/dl-tls.h: Likewise.
43168 * sysdeps/sparc/dl-tls.h: Likewise.
43169 * sysdeps/x86_64/dl-tls.h: Likewise.
43170 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43172 2011-03-14 Andreas Schwab <schwab@redhat.com>
43174 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43175 rpath element also skip the following colon.
43176 (expand_dynamic_string_token): Add is_path parameter and pass
43177 down to DL_DST_REQUIRED and _dl_dst_substitute.
43178 (decompose_rpath): Call expand_dynamic_string_token with
43179 non-zero is_path. Ignore empty rpaths.
43180 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43183 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43188 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43191 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43192 Patch by Filipe David Manana <fdmanana@apache.org>.
43194 2011-04-07 Andreas Schwab <schwab@redhat.com>
43196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43197 Maintain aligned stack.
43198 (CHECK_RSP): Remove unused macro.
43200 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43202 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43203 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43205 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43207 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43209 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43211 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43214 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43215 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43216 * sysdeps/x86_64/memmove.c: New file.
43217 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43218 (memcpy): Renamed to ...
43219 (__new_memcpy): This.
43220 (memcpy): Provide GLIBC_2_14 memcpy.
43221 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43222 (memcpy): Provide GLIBC_2_2_5 memcpy.
43224 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43227 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43229 2011-03-30 Andreas Schwab <schwab@redhat.com>
43231 * misc/syncfs.c: New file.
43232 * misc/Makefile (routines): Add syncfs.
43233 * posix/unistd.h: Declare syncfs.
43234 * sysdeps/unix/syscalls.list: Add syncfs.
43236 2011-04-01 Andreas Schwab <schwab@redhat.com>
43238 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43241 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43243 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43245 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43248 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43251 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43252 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43256 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43258 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43259 sync_file_range.c with -fexceptions.
43260 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43261 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43262 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43263 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43264 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43265 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43267 sync_file_range as cancellation point
43268 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43269 now a wrapper around __call_sync_file_range with cancellation handling.
43270 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43271 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43272 function name to __call_sync_file_range.
43273 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43274 Add call_sync_file_range.
43276 2011-04-01 Andreas Schwab <schwab@redhat.com>
43278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43281 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43283 * iconv/iconv.h: Fix typo in comment.
43284 * io/fcntl.h: Likewise.
43285 * libio/stdio.h: Likewise.
43286 * posix/spawn.h: Likewise.
43287 * posix/unistd.h: Likewise.
43288 * stdlib/stdlib.h: Likewise.
43289 * time/time.h: Likewise.
43290 * wcsmbs/wchar.h: Likewise.
43292 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43293 open_by_handle): Add.
43294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43295 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43296 Augment a few comments.
43297 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43302 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43305 * io/fcntl.h (AT_EMPTY_PATH): Define.
43307 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43309 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43310 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43311 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43313 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43314 * Versions.def: Add GLIBC_2.14.
43315 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43318 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43320 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43322 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43324 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43327 * string/test-strncmp.c (do_page_test): New function.
43328 (check2): Likewise.
43329 (test_main): Call check2.
43330 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43332 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43335 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43336 Handle cache information in CPU leaf 4.
43337 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43339 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43342 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43343 character representation.
43344 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43346 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43348 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43349 END(__isnan) to END(__isnanf) to match function entry point/label
43350 EALIGN(__isnanf,...).
43352 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43354 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43356 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43359 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43360 copy from the symbol referenced in the relocation to initialize the
43362 Patch by Piotr Bury <pbury@goahead.com>.
43363 * elf/Makefile: Add rules to build and tst-unique3.
43364 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43365 * elf/tst-unique3.cc: New file.
43366 * elf/tst-unique3.h: New file.
43367 * elf/tst-unique3lib.cc: New file.
43368 * elf/tst-unique3lib2.cc: New file.
43370 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43372 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43374 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43375 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43378 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43380 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43381 to-be-loaded object along a path to loader is ld.so.
43383 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43384 Ulrich Drepper <drepper@gmail.com>
43386 * sysdeps/x86_64/memset.S: After aligning destination, code
43387 branches to different locations depending on the value of
43388 misalignment, when multiarch is enabled. Fix this.
43390 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43392 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43393 Set _x86_64_preferred_memory_instruction for AMD processsors.
43394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43395 Set bit_Prefer_SSE_for_memop for AMD processors.
43397 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43399 * libio/fmemopen.c (fmemopen): Optimize a bit.
43401 2011-03-03 Andreas Schwab <schwab@redhat.com>
43403 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43405 2011-03-03 Roland McGrath <roland@redhat.com>
43407 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43409 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43411 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43412 __bzero_ultra1 instead of __memset_ultra1.
43414 2011-02-23 Andreas Schwab <schwab@redhat.com>
43415 Ulrich Drepper <drepper@gmail.com>
43418 * include/link.h (struct link_map): Add l_orig_initfini.
43419 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43420 returning unsuccessfully.
43421 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43422 close of a file loaded at startup, restore the original l_initfini
43424 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43425 list, store the pointer.
43426 * elf/Makefile ($(objpfx)noload-mem): New rule.
43427 (noload-ENV): Define.
43428 (tests): Add $(objpfx)noload-mem.
43429 * elf/noload.c: Include <memcheck.h>.
43430 (main): Call mtrace. Close all opened handles.
43432 2011-02-17 Andreas Schwab <schwab@redhat.com>
43435 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43436 dependencies are missing.
43438 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43440 Fix __if_freereq crash: Unlike the generic version which uses free,
43442 * sysdeps/mach/hurd/ifreq.h: New file.
43444 2011-01-27 Petr Baudis <pasky@suse.cz>
43445 Ulrich Drepper <drepper@gmail.com>
43448 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43449 to extend_alloca().
43450 * stdio-common/bug23.c: New file.
43451 * stdio-common/Makefile (tests): Add bug23.
43453 2010-09-28 Andreas Schwab <schwab@redhat.com>
43454 Ulrich Drepper <drepper@gmail.com>
43457 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43458 before performing relro protection. At old place add assertion
43459 to make sure nothing changed.
43461 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43462 Glauber de Oliveira Costa <glommer@gmail.com>
43464 * elf/elf.h: Add new ARM TLS relocs.
43466 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43469 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43471 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43473 * sysdeps/wordsize-64/tst-writev.c: New file.
43475 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43477 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43478 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43479 insns in _dl_start to prevent a TOC reference before relocs are
43482 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43485 * Makeconfig: Remove RANLIB definition.
43486 * Makerules: Don't use RANLIB.
43487 * aclocal.m4: Remove ranlib test.
43488 * configure.in: No need to check for ranlib.
43489 * elf/rtld-Rules: Don't use RANLIB.
43491 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43493 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43495 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43496 inclusion protection macro.
43498 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43499 SIGRTMIN and SIGRTMAX and print information in that case only when
43500 SIGRTMIN is defined.
43502 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43504 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43505 arginfo fn returning -1.
43507 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43508 and thousands string is zero terminated.
43510 2011-02-03 Andreas Schwab <schwab@redhat.com>
43512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43513 sysdeps/unix/sysv/linux/bits/socket.h.
43515 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43517 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43518 (__CPU_COUNT): Remove old macros.
43519 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43520 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43521 (__CPU_ALLOC, __CPU_FREE): Add macros.
43522 (__sched_cpualloc, __sched_cpufree): Add declarations.
43524 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43526 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43527 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43528 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43529 (readdhstai): Return value of addhstaiX call.
43530 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43531 (addgrbyX): Return value returned by cache_addgr.
43532 (readdgrbyname): Return value returned by addgrbyX.
43533 (readdgrbygid): Likewise.
43534 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43535 (addpwbyX): Return value returned by cache_addpw.
43536 (readdpwbyname): Return value returned by addhstbyX.
43537 (readdpwbyuid): Likewise.
43538 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43539 (addservbyX): Return value returned by cache_addserv.
43540 (readdservbyname): Return value returned by addservbyX:
43541 (readdservbyport): Likewise.
43542 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43543 (addhstbyX): Return value returned by cache_addhst.
43544 (readdhstbyname): Return value returned by addhstbyX.
43545 (readdhstbyaddr): Likewise.
43546 (readdhstbynamev6): Likewise.
43547 (readdhstbyaddrv6): Likewise.
43548 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43549 (readdinitgroups): Return value returned by addinitgroupsX.
43550 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43551 (prune_cache): Keep track of timeout value of re-added entries.
43552 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43553 * nscd/nscd.h: Adjust prototypes of readd* functions.
43555 2011-02-04 Roland McGrath <roland@redhat.com>
43557 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43558 (nis_stats): Likewise.
43559 * nis/nis_modify.c (nis_modify): Likewise.
43560 * nis/nis_remove.c (nis_remove): Likewise.
43561 * nis/nis_add.c (nis_add): Likewise.
43563 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43565 * posix/fnmatch_loop.c: Add some consts.
43567 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43569 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43572 * config.make.in (config-cflags-novzeroupper): Define.
43573 * configure.in: Substitute libc_cv_cc_novzeroupper.
43574 * elf/Makefile (AVX-CFLAGS): Define.
43575 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43576 (CFLAGS-tst-auditmod4a.c): Likewise.
43577 (CFLAGS-tst-auditmod4b.c): Likewise.
43578 (CFLAGS-tst-auditmod6b.c): Likewise.
43579 (CFLAGS-tst-auditmod6c.c): Likewise.
43580 (CFLAGS-tst-auditmod7b.c): Likewise.
43581 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43583 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43585 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43586 function to the callback.
43587 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43589 2011-02-02 Andreas Schwab <schwab@redhat.com>
43591 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43594 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43597 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43599 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43601 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43604 * elf/Makefile: Add rules to build and run new test.
43605 * elf/tst-initorder.c: New file.
43606 * elf/tst-initorder.exp: New file.
43607 * elf/tst-initordera1.c: New file.
43608 * elf/tst-initordera2.c: New file.
43609 * elf/tst-initordera3.c: New file.
43610 * elf/tst-initordera4.c: New file.
43611 * elf/tst-initorderb1.c: New file.
43612 * elf/tst-initorderb2.c: New file.
43613 * elf/tst-order-a1.c: New file.
43614 * elf/tst-order-a2.c: New file.
43615 * elf/tst-order-a3.c: New file.
43616 * elf/tst-order-a4.c: New file.
43617 * elf/tst-order-b1.c: New file.
43618 * elf/tst-order-b2.c: New file.
43619 * elf/tst-order-main.c: New file.
43620 New test case by George Gensure <werkt0@gmail.com>.
43622 2010-10-01 Andreas Schwab <schwab@redhat.com>
43624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43625 decoding ACE if AI_CANONIDN.
43627 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43629 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43631 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43633 * version.h (RELEASE): Bump for 2.13 release.
43634 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43636 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43638 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43640 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43641 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43643 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43645 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43647 * posix/getconf.c: Update copyright year.
43648 * catgets/gencat.c: Likewise.
43649 * csu/version.c: Likewise.
43650 * debug/catchsegv.sh: Likewise.
43651 * debug/xtrace.sh: Likewise.
43652 * elf/ldconfig.c: Likewise.
43653 * elf/ldd.bash.in: Likewise.
43654 * elf/sprof.c (print_version): Likewise.
43655 * iconv/iconv_prog.c: Likewise.
43656 * iconv/iconvconfig.c: Likewise.
43657 * locale/programs/locale.c: Likewise.
43658 * locale/programs/localedef.c: Likewise.
43659 * malloc/memusage.sh: Likewise.
43660 * malloc/mtrace.pl: Likewise.
43661 * nscd/nscd.c (print_version): Likewise.
43662 * nss/getent.c: Likewise.
43664 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43665 PF_CAIF, and PF_ALG.
43666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43668 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43670 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43671 (modules-names): Use them.
43672 (ifunc-test-modules, ifunc-pie-tests): Define.
43673 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43674 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43675 (test-extras): Likewise.
43676 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43677 $(compile-command.c).
43678 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43679 (all-built-dso): Define.
43680 (check-textrel.out, check-execstack.out): Depend on it.
43682 * configure.in: Don't override --enable-multi-arch.
43684 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43687 * nscd/hstcache.c (tryagain): Define.
43688 (cache_addhst): Return tryagain not notfound for temporary errors.
43689 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43692 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43695 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43696 to make the syscall.
43697 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43700 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43701 and fall back to matching as normal character if the string ends before
43702 the matching ']' is found. This is what POSIX requires.
43703 * posix/testfnm.c: Adjust test result.
43704 * posix/globtest.sh: Adjust test result. Add new test.
43705 * posix/tst-fnmatch.input: Likewise.
43706 * posix/tst-fnmatch2.c: Add new test.
43708 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43710 * elf/Makefile (check-execstack): Revert last change. Depend on
43712 (check-execstack.h): New target.
43713 (generated): Add check-execstack.h.
43714 * elf/check-execstack.c: Include "check-execstack.h".
43715 (main): Revert last change.
43716 (handle_file): Return zero if GNU_STACK is absent and
43717 DEFAULT_STACK_PERMS doesn't include PF_X.
43719 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43721 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43722 in child fails because the descriptor is already closed.
43723 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43724 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43725 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43728 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43732 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43733 temporary buffer used to handle multi lookups locally.
43734 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43736 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43738 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43741 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43743 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43744 alignment for SSE2.
43746 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43749 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43750 characters. When rounding increased number of integer digits recompute
43752 * stdio-common/tst-grouping.c: New file.
43753 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43755 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43757 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43758 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43760 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43762 * bits/select.h: Likewise.
43764 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43766 * po/ja.po: Update from translation team.
43768 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43771 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43772 implementation just like for lxstat, fxstatat, et al.
43774 2010-12-27 Jim Meyering <meyering@redhat.com>
43777 * posix/regexec.c (build_trtable): Return failure indication upon
43778 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43780 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43783 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43784 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43785 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43789 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43792 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43793 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43795 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43797 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43798 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43799 script has SORT_BY_INIT_PRIORITY.
43800 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43801 NO_CTORS_DTORS_SECTIONS is defined.
43802 * elf/soinit.c: Likewise.
43803 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43804 NO_CTORS_DTORS_SECTIONS is defined.
43805 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43806 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43807 * sysdeps/sh/init-first.c: Likewise.
43808 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43810 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43812 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43813 always use the slow path.
43815 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43817 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43818 similar rule which adds the sysdep directories to the header search in
43819 order to pick up the correct platform stackinfo.h.
43820 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43821 perform test if it is, otherwise return successfully without testing.
43822 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43823 DEFAULT_STACK_PERMS define in stackinfo.h.
43824 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43825 defined in stackinfo.h.
43826 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43827 DEFAULT_STACK_PERMS defined in stackinfo.h.
43828 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43829 * sysdeps/ia64/stackinfo.h: Likewise.
43830 * sysdeps/s390/stackinfo.h: Likewise.
43831 * sysdeps/sh/stackinfo.h: Likewise.
43832 * sysdeps/sparc/stackinfo.h: Likewise.
43833 * sysdeps/x86_64/stackinfo.h: Likewise.
43834 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43835 PF_X for powerpc64. Retain PF_X for powerpc32.
43837 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43839 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43841 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43842 GETDENTS_64BIT_ALIGNED.
43844 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43846 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43848 2010-12-10 Andreas Schwab <schwab@redhat.com>
43850 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43853 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43854 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43856 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43857 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43859 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43862 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43865 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43867 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43869 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43871 * po/it.po: Update from translation team.
43873 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43878 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43880 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43882 2010-11-24 Andreas Schwab <schwab@redhat.com>
43884 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43886 (gaih_getanswer_slice): Likewise.
43888 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43892 2010-05-31 Petr Baudis <pasky@suse.cz>
43895 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43896 silently even in the chroot mode.
43898 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43900 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43901 last patch a bit. Pretty printing
43903 2010-05-31 Petr Baudis <pasky@suse.cz>
43906 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43907 initialization of skip_initgroups_dyn.
43909 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43911 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43912 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43914 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43916 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43918 2010-11-11 Andreas Schwab <schwab@redhat.com>
43920 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43921 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43922 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43923 ($(objpfx)tst-fnmatch-mem): New rule.
43924 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43925 * posix/tst-fnmatch.c (main): Call mtrace.
43927 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43930 Support Intel processor model 6 and model 0x2c.
43932 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43934 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43937 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43940 * string/test-strncasecmp.c (check_result): New function.
43941 (do_one_test): Use it.
43942 (check1): New function.
43943 (test_main): Use it.
43944 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43945 Support strcasecmp and strncasecmp.
43947 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43950 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43951 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43953 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43955 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43959 * sysdeps/x86_64/multiarch/bzero.S: New file.
43960 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43961 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43962 * sysdeps/x86_64/multiarch/memset.S: New file.
43963 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43965 Set bit_Prefer_SSE_for_memop for Intel processors.
43966 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43968 (index_Prefer_SSE_for_memop): Define.
43969 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43971 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43973 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43974 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43976 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43979 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43980 (__x86_64_raw_data_cache_size_half): Likewise.
43981 (__x86_64_raw_shared_cache_size): Likewise.
43982 (__x86_64_raw_shared_cache_size_half): Likewise.
43984 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43985 (__x86_64_raw_data_cache_size_half): Likewise.
43986 (__x86_64_raw_shared_cache_size): Likewise.
43987 (__x86_64_raw_shared_cache_size_half): Likewise.
43988 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43989 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43990 and __x86_64_raw_shared_cache_size_half. Round
43991 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43992 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43993 to multiple of 256 bytes.
43995 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43998 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43999 of inacessible symlinks. Verify result of symlink before returning it.
44000 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44001 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44003 2010-10-28 Erich Ritz <erichritz@gmail.com>
44005 * math/math.h (isinf): Fix typo in comment.
44007 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44009 * po/da.po: Update from translation team.
44011 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44013 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44014 is added to the list.
44016 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44017 Ulrich Drepper <drepper@gmail.com>
44019 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44020 the global list here. Move code to...
44021 (_dl_add_to_namespace_list): ...here. New function.
44022 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44023 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44024 * elf/dl-load.c (lose): Don't remove the element from the list.
44025 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44026 (_dl_map_object): Likewise.
44028 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44031 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44032 into all bytes of SSE register.
44033 Patch by Richard Li <richardpku@gmail.com>.
44035 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44038 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44041 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44043 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44044 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44046 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44051 2010-10-22 Andreas Schwab <schwab@redhat.com>
44053 * include/dlfcn.h (__RTLD_SECURE): Define.
44054 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44055 mode & __RTLD_SECURE instead.
44056 (open_path): Rename preloaded parameter to secure.
44057 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44058 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44059 * elf/dl-deps.c (openaux): Likewise.
44060 * elf/rtld.c (struct map_args): Remove is_preloaded.
44061 (map_doit): Don't use it.
44062 (dl_main): Likewise.
44063 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44064 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44066 2010-09-09 Andreas Schwab <schwab@redhat.com>
44068 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44069 (sysd-rules-targets): Remove duplicates.
44070 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44071 rtld-%.$o dependency.
44073 2010-10-18 Andreas Schwab <schwab@redhat.com>
44075 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44076 _dl_map_object do it.
44078 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44080 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44081 fast fma builtins, define the macros in the C99 standard.
44082 (FP_FAST_FMAF): Likewise.
44083 (FP_FAST_FMAL): Likewise.
44084 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44086 * bits/mathdef.h: Update copyright year.
44087 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44089 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44091 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44092 builtins, define the macros in the C99 standard.
44093 (FP_FAST_FMAF): Likewise.
44094 (FP_FAST_FMAL): Likewise.
44095 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44097 (FP_FAST_FMAF): Likewise.
44099 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44102 * math/libm-test.inc (fma_test): Some new testcases.
44103 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44104 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44105 y and infinite z. Do multiplication by C already in long double.
44106 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44108 y and infinite z. Do bitwise or of inexact bit into u.d.
44109 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44110 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44111 * sysdeps/i386/fpu/s_fma.S: Removed.
44112 * sysdeps/i386/fpu/s_fmal.S: Removed.
44114 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44117 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44119 computation is not scheduled after fetestexcept. Fix value
44120 of minimum denormal long double.
44122 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44125 * math/libm-test.inc (fma_test): Add some more tests.
44126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44129 2010-10-15 Andreas Schwab <schwab@redhat.com>
44131 * scripts/data/localplt-s390-linux-gnu.data: New file.
44132 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44134 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44137 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44138 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44140 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44142 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44144 if one of x and y is very large and the other is subnormal.
44145 * sysdeps/s390/fpu/s_fmaf.c: New file.
44146 * sysdeps/s390/fpu/s_fma.c: New file.
44147 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44148 * sysdeps/powerpc/fpu/s_fma.S: New file.
44149 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44150 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44151 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44153 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44156 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44158 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44159 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44160 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44161 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44162 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44163 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44166 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44169 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44170 * posix/bug-regex31.input: Add test case.
44172 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44174 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44175 * posix/bug-regex31.input: New file.
44178 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44179 (parse_sub_exp): Fix last change, use postorder.
44181 * posix/bug-regex31.c: New file.
44182 * posix/Makefile: Add rules to build and run bug-regex31.
44184 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44187 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44190 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44191 to have entries in sys_siglist.
44194 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44197 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44200 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44201 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44202 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44203 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44204 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44205 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44206 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44207 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44208 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44209 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44210 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44211 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44212 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44213 * math/ftestexcept.c (fetestexcept): Likewise.
44214 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44215 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44216 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44217 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44218 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44219 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44220 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44222 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44225 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44228 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44230 * string/bug-strstr1.c: New file.
44231 * string/Makefile: Add rules to build and run bug-strstr1.
44233 2010-10-05 Eric Blake <eblake@redhat.com>
44236 * string/str-two-way.h (two_way_long_needle): Always clear memory
44237 when skipping input due to the shift table.
44239 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44242 * malloc/mcheck.c: Handle large requests.
44245 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44246 for strncmp and strncasecmp.
44247 * string/stratcliff.c: Add tests for strcmp and strncmp.
44248 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44250 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44252 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44255 2010-09-30 Andreas Jaeger <aj@suse.de>
44257 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44258 (CGROUP_SUPER_MAGIC): Define.
44259 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44260 Handle btrfs and cgroup file systems.
44261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44264 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44266 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44267 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44269 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44272 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44273 trying to locate the ELF header.
44275 2010-09-27 Andreas Schwab <schwab@redhat.com>
44278 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44279 Mask out sign-bit copies when constructing f_fsid.
44281 2010-09-24 Petr Baudis <pasky@suse.cz>
44283 * debug/stack_chk_fail_local.c: Add missing licence exception.
44284 * debug/warning-nop.c: Likewise.
44286 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44288 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44289 implementing getdents64 using getdents syscall, set d_type if
44290 __ASSUME_GETDENTS32_D_TYPE.
44292 2010-09-16 Andreas Schwab <schwab@redhat.com>
44294 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44295 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44297 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44300 * posix/unistd.h: Undo change of feature selection for ftruncate from
44303 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44305 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44308 2010-09-20 Andreas Schwab <schwab@redhat.com>
44310 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44312 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44314 2010-09-14 Andreas Schwab <schwab@redhat.com>
44316 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44317 variables after CHECK_SP call.
44318 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44320 2010-09-13 Andreas Schwab <schwab@redhat.com>
44321 Ulrich Drepper <drepper@redhat.com>
44323 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44324 re-relocationg ld.so.
44325 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44326 _dl_init_paths call.
44327 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44330 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44332 * resolv/res_init.c (__res_vinit): Count the default server we added.
44334 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44335 Ulrich Drepper <drepper@redhat.com>
44338 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44339 (____longjmp_chk): Use %ebx for saving value across system call.
44342 2010-09-06 Andreas Schwab <schwab@redhat.com>
44344 * manual/Makefile: Don't mix pattern rules with normal rules.
44346 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44348 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44350 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44351 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44352 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44353 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44357 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44360 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44361 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44363 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44365 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44366 * sysdeps/x86_64/addmul_1.S: Likewise.
44367 * sysdeps/x86_64/lshift.S: Likewise.
44368 * sysdeps/x86_64/mul_1.S: Likewise.
44369 * sysdeps/x86_64/rshift.S: Likewise.
44370 * sysdeps/x86_64/sub_n.S: Likewise.
44371 * sysdeps/x86_64/submul_1.S: Likewise.
44373 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44375 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44376 Define __sched_param instead of SCHED_* and sched_param when
44377 <bits/sched.h> is included with __need_schedparam defined.
44378 * bits/sched.h [__need_schedparam]
44379 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44380 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44381 (__defined_schedparam): Define to 1.
44382 (__sched_param): New structure, identical to sched_param.
44383 (__need_schedparam): Undefine.
44385 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44388 (epoll_create1): Declare.
44390 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44392 2010-08-31 Andreas Schwab <schwab@redhat.com>
44395 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44396 shifting retval into place.
44398 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44400 * nis/rpcsvc/nis.h: Update copyright notice.
44401 * nis/rpcsvc/nis.x: Likewise.
44402 * nis/rpcsvc/nis_callback.h: Likewise.
44403 * nis/rpcsvc/nis_callback.x: Likewise.
44404 * nis/rpcsvc/nis_object.x: Likewise.
44405 * nis/rpcsvc/nis_tags.h: Likewise.
44406 * nis/rpcsvc/yp.h: Likewise.
44407 * nis/rpcsvc/yp.x: Likewise.
44408 * nis/rpcsvc/ypupd.h: Likewise.
44409 * nis/yp_xdr.c: Likewise.
44410 * nis/ypupdate_xdr.c: Likewise.
44412 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44413 mainly the body of pmap_getport. Add parameters to specify timeouts.
44414 (pmap_getport): Use __libc_rpc_getport.
44415 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44416 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44417 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44419 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44424 2010-08-27 Roland McGrath <roland@redhat.com>
44426 * sysdeps/i386/i686/multiarch/Makefile
44427 (CFLAGS-varshift.c): New variable.
44429 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44431 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44432 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44434 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44436 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44438 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44440 * sysdeps/x86_64/strlen.S: Unroll the loop.
44441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44442 strlen-sse2 strlen-sse2-bsf.
44443 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44444 __strlen_no_bsf if bit_Slow_BSF is set.
44445 (__strlen_sse42): Removed.
44446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44447 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44449 2010-08-25 Roland McGrath <roland@redhat.com>
44451 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44452 * sysdeps/x86_64/multiarch/varshift.c: New file.
44453 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44454 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44455 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44456 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44458 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44461 strlen-sse2 strlen-sse2-bsf.
44462 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44463 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44464 (__strlen_sse2): Removed.
44465 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44466 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44468 bit_Slow_BSF for Atom.
44469 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44470 (index_Slow_BSF): Define.
44471 (HAS_SLOW_BSF): Define.
44473 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44476 * resolv/res_init.c (__res_vinit): When no server address at all
44477 is given default to loopback.
44479 2010-08-24 Roland McGrath <roland@redhat.com>
44481 * configure.in: Remove config-name.h generation.
44482 * configure: Regenerated.
44483 * config-name.in: File removed.
44484 * scripts/config-uname.sh: New file.
44485 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44486 ($(objdir)config-name.h): New target.
44488 * sunrpc/rpc_parse.h: Avoid nested comment.
44490 2010-08-24 Richard Henderson <rth@redhat.com>
44491 Ulrich Drepper <drepper@redhat.com>
44492 H.J. Lu <hongjiu.lu@intel.com>
44494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44496 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44497 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44498 _mm_alignr_epi8 with _mm_loadu_si128.
44499 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44500 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44501 (__m128i_shift_right): Removed.
44502 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44503 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44504 * sysdeps/x86_64/multiarch/varshift.h: New file.
44505 * sysdeps/x86_64/multiarch/varshift.S: New file.
44507 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44509 * configure.in: Move assembler checks to before sysdep dir checking.
44511 2010-08-20 Petr Baudis <pasky@suse.cz>
44513 * LICENSES: Sync the sunrpc license.
44515 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44517 * sunrpc/auth_des.c: Update copyright notice once again.
44518 * sunrpc/auth_none.c: Likewise.
44519 * sunrpc/auth_unix.c: Likewise.
44520 * sunrpc/authdes_prot.c: Likewise.
44521 * sunrpc/authuxprot.c: Likewise.
44522 * sunrpc/bindrsvprt.c: Likewise.
44523 * sunrpc/clnt_gen.c: Likewise.
44524 * sunrpc/clnt_perr.c: Likewise.
44525 * sunrpc/clnt_raw.c: Likewise.
44526 * sunrpc/clnt_simp.c: Likewise.
44527 * sunrpc/clnt_tcp.c: Likewise.
44528 * sunrpc/clnt_udp.c: Likewise.
44529 * sunrpc/clnt_unix.c: Likewise.
44530 * sunrpc/des_crypt.c: Likewise.
44531 * sunrpc/des_soft.c: Likewise.
44532 * sunrpc/get_myaddr.c: Likewise.
44533 * sunrpc/getrpcport.c: Likewise.
44534 * sunrpc/key_call.c: Likewise.
44535 * sunrpc/key_prot.c: Likewise.
44536 * sunrpc/openchild.c: Likewise.
44537 * sunrpc/pm_getmaps.c: Likewise.
44538 * sunrpc/pm_getport.c: Likewise.
44539 * sunrpc/pmap_clnt.c: Likewise.
44540 * sunrpc/pmap_prot.c: Likewise.
44541 * sunrpc/pmap_prot2.c: Likewise.
44542 * sunrpc/pmap_rmt.c: Likewise.
44543 * sunrpc/rpc/auth.h: Likewise.
44544 * sunrpc/rpc/auth_unix.h: Likewise.
44545 * sunrpc/rpc/clnt.h: Likewise.
44546 * sunrpc/rpc/des_crypt.h: Likewise.
44547 * sunrpc/rpc/key_prot.h: Likewise.
44548 * sunrpc/rpc/netdb.h: Likewise.
44549 * sunrpc/rpc/pmap_clnt.h: Likewise.
44550 * sunrpc/rpc/pmap_prot.h: Likewise.
44551 * sunrpc/rpc/pmap_rmt.h: Likewise.
44552 * sunrpc/rpc/rpc.h: Likewise.
44553 * sunrpc/rpc/rpc_des.h: Likewise.
44554 * sunrpc/rpc/rpc_msg.h: Likewise.
44555 * sunrpc/rpc/svc.h: Likewise.
44556 * sunrpc/rpc/svc_auth.h: Likewise.
44557 * sunrpc/rpc/types.h: Likewise.
44558 * sunrpc/rpc/xdr.h: Likewise.
44559 * sunrpc/rpc_clntout.c: Likewise.
44560 * sunrpc/rpc_cmsg.c: Likewise.
44561 * sunrpc/rpc_common.c: Likewise.
44562 * sunrpc/rpc_cout.c: Likewise.
44563 * sunrpc/rpc_dtable.c: Likewise.
44564 * sunrpc/rpc_hout.c: Likewise.
44565 * sunrpc/rpc_main.c: Likewise.
44566 * sunrpc/rpc_parse.c: Likewise.
44567 * sunrpc/rpc_parse.h: Likewise.
44568 * sunrpc/rpc_prot.c: Likewise.
44569 * sunrpc/rpc_sample.c: Likewise.
44570 * sunrpc/rpc_scan.c: Likewise.
44571 * sunrpc/rpc_scan.h: Likewise.
44572 * sunrpc/rpc_svcout.c: Likewise.
44573 * sunrpc/rpc_tblout.c: Likewise.
44574 * sunrpc/rpc_util.c: Likewise.
44575 * sunrpc/rpc_util.h: Likewise.
44576 * sunrpc/rpcinfo.c: Likewise.
44577 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44578 * sunrpc/rpcsvc/key_prot.x: Likewise.
44579 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44580 * sunrpc/rpcsvc/mount.x: Likewise.
44581 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44582 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44583 * sunrpc/rpcsvc/rex.x: Likewise.
44584 * sunrpc/rpcsvc/rstat.x: Likewise.
44585 * sunrpc/rpcsvc/rusers.x: Likewise.
44586 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44587 * sunrpc/rpcsvc/spray.x: Likewise.
44588 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44589 * sunrpc/rtime.c: Likewise.
44590 * sunrpc/svc.c: Likewise.
44591 * sunrpc/svc_auth.c: Likewise.
44592 * sunrpc/svc_authux.c: Likewise.
44593 * sunrpc/svc_raw.c: Likewise.
44594 * sunrpc/svc_run.c: Likewise.
44595 * sunrpc/svc_simple.c: Likewise.
44596 * sunrpc/svc_tcp.c: Likewise.
44597 * sunrpc/svc_udp.c: Likewise.
44598 * sunrpc/svc_unix.c: Likewise.
44599 * sunrpc/svcauth_des.c: Likewise.
44600 * sunrpc/xcrypt.c: Likewise.
44601 * sunrpc/xdr.c: Likewise.
44602 * sunrpc/xdr_array.c: Likewise.
44603 * sunrpc/xdr_float.c: Likewise.
44604 * sunrpc/xdr_mem.c: Likewise.
44605 * sunrpc/xdr_rec.c: Likewise.
44606 * sunrpc/xdr_ref.c: Likewise.
44607 * sunrpc/xdr_sizeof.c: Likewise.
44608 * sunrpc/xdr_stdio.c: Likewise.
44610 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44613 2010-08-19 Andreas Schwab <schwab@redhat.com>
44615 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44617 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44619 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44620 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44621 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44622 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44623 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44624 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44625 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44626 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44627 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44628 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44629 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44630 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44631 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44632 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44634 2010-07-26 Anton Blanchard <anton@samba.org>
44636 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44637 * malloc/arena.c (heap_trim): Likewise.
44639 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44641 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44643 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44644 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44646 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44648 * sysdeps/i386/elf/Makefile: New file.
44650 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44652 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44653 from fanotify_init.
44654 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44657 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44659 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44661 * sysdeps/multiarch/strcmp.S: Likewise.
44663 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44665 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44666 strncase_l-nonascii.
44667 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44668 Add strncase_l-ssse3.
44669 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44670 * sysdeps/x86_64/strcmp.S: Likewise.
44671 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44672 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44673 * sysdeps/x86_64/strncase.S: New file.
44674 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44675 * sysdeps/x86_64/strncase_l.S: New file.
44676 * string/Makefile (strop-tests): Add strncasecmp.
44677 * string/test-strncasecmp.c: New file.
44679 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44682 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44683 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44685 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44687 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44689 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44691 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44693 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44695 2010-05-01 Alan Modra <amodra@gmail.com>
44697 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44698 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44699 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44700 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44701 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44702 tidying. Don't tail-call __sigjmp_save for static lib.
44703 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44705 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44706 (CALL_MCOUNT): Add eh info, and nop after bl.
44707 (TAIL_CALL_SYSCALL_ERROR): New macro.
44708 (PSEUDO_RET): Use it.
44709 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44710 Correct save location of integer regs and cr.
44711 (_dl_profile_resolve): Correct cr save location. Delete nops
44712 after bl when SHARED. Reduce cfi size a little by better
44713 placement of cfi directives.
44714 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44715 make a stack frame. Instead use parm save area as a temp.
44716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44717 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44719 Don't make a stack frame for parent, use parm save area.
44720 Increase child stack frame to 112 bytes. Don't save unused reg,
44721 and adjust reg usage. Set up cfi on error recovery and
44722 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44724 (__makecontext): Add dummy nop after jump to exit.
44725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44726 Use correct parm save area and cr save, reduce stack frame.
44727 Correct cfi for possible PSEUDO_RET frame setup.
44728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44729 Branch to local label emitted by PSEUDO_RET rather than
44732 2010-08-12 Andreas Schwab <schwab@redhat.com>
44735 * locale/programs/locale.c (print_assignment): New function.
44736 (show_locale_vars): Use it.
44738 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44740 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44742 (struct statfs64): Likewise.
44743 (_STATFS_F_FLAGS): Define.
44744 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44745 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44746 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44747 (ST_VALID): Define locally.
44748 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44749 __statvfs_getflags, use the provided value.
44750 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44751 __ASSUME_STATFS_F_FLAGS.
44753 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44755 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44756 Add sys/fanotify.h.
44757 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44758 fanotify_mask for GLIBC_2.13.
44759 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44760 fanotify_init and fanotify_mark.
44761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44762 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44764 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44766 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44767 prlimit64 for GLIBC_2.13.
44768 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44773 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44774 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44775 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44778 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44781 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44782 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44784 * nss/Makefile: Add rules to build and run tst-nss-test1.
44785 * shlib-versions: Add entry for libnss_test1.
44786 * nss/nss_test1.c: New file.
44787 * nss/tst-nss-test1.c: New file.
44789 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44790 (__nss_configure_lookup): Set appropriate entry in
44791 __nss_configure_lookup to true.
44792 * nss/nsswitch.h: Define enum with indeces of databases in
44793 databases and __nss_database_custom arrays. Declare
44794 __nss_database_custom.
44795 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44796 to avoid using nscd when custom rules are installed.
44797 * nss/getXXbyYY_r.c: Likewise.
44798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44800 * nss/nss_files/files-parse.c: Whitespace fixes.
44802 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44805 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44806 * posix/fnmatch_loop.c: Likewise.
44808 2010-07-17 Andi Kleen <ak@linux.intel.com>
44810 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44811 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44812 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44813 * Versions.def [GLIBC_2.13]: Add.
44815 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44817 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44818 Also fail if tpwd after pwuid call is NULL.
44820 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44822 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44823 when converting to ms.
44825 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44827 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44828 EOPNOTSUPP errors with ENOTTY.
44829 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44830 EOPNOTSUPP errors with ENOTTY.
44832 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44834 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44835 Add strcasecmp_l-ssse3.
44836 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44838 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44839 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44840 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44842 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44844 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44846 * string/Makefile (strop-tests): Add strcasecmp.
44847 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44848 strcasecmp_l-nonascii.
44849 (gen-as-const-headers): Add locale-defines.sym.
44850 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44851 * sysdeps/x86_64/strcasecmp.S: New file.
44852 * sysdeps/x86_64/strcasecmp_l.S: New file.
44853 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44854 * sysdeps/x86_64/locale-defines.sym: New file.
44855 * string/test-strcasecmp.c: New file.
44857 * string/test-strcasestr.c: Test both ends of the range of characters.
44858 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44860 2010-07-29 Roland McGrath <roland@redhat.com>
44863 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44865 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44867 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44870 2010-07-27 Andreas Schwab <schwab@redhat.com>
44872 * manual/memory.texi (Malloc Tunable Parameters): Document
44875 2010-07-26 Roland McGrath <roland@redhat.com>
44878 * configure.in (-fgnu89-inline check): Set and substitute
44879 gnu89_inline, not libc_cv_gnu89_inline.
44880 * configure: Regenerated.
44881 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44883 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44885 * string/test-strnlen.c: New file.
44886 * string/Makefile (strop-tests): Add strnlen.
44887 * string/tester.c (test_strnlen): Add a few more test cases.
44888 * string/tst-strlen.c: Better error reporting.
44890 * sysdeps/x86_64/strnlen.S: New file.
44892 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44894 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44895 lower-latency instructions.
44897 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44899 * string/test-strcasestr.c: New file.
44900 * string/test-strstr.c: New file.
44901 * string/Makefile (strop-tests): Add strstr and strcasestr.
44902 * string/str-two-way.h: Don't undefine MAX.
44903 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44905 2010-07-21 Andreas Schwab <schwab@redhat.com>
44907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44908 strcasestr-nonascii.
44909 (CFLAGS-strcasestr-nonascii.c): Define.
44910 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44911 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44912 Remove unused attribute.
44914 2010-07-20 Roland McGrath <roland@redhat.com>
44916 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44917 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44918 ld.so.cache was broken. With it, there is no way to disable dsocaps
44919 like LD_HWCAP_MASK can disable hwcaps.
44921 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44923 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44925 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44927 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44928 call in strcasestr.
44929 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44930 __strcasestr_sse42_nonascii.
44931 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44932 strcasestr-nonascii.c.
44933 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44935 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44937 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44938 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44939 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44940 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44942 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44944 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44947 2010-07-06 Andreas Schwab <schwab@redhat.com>
44950 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44953 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44955 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44956 _PC_PIPE_BUF using F_GETPIPE_SZ.
44958 2010-07-05 Roland McGrath <roland@redhat.com>
44960 * manual/arith.texi (Rounding Functions): Fix rint description
44961 implicit in round description.
44963 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44965 * elf/Makefile: Fix linking for a few tests to make recent linker
44968 2010-06-30 Andreas Schwab <schwab@redhat.com>
44970 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44971 $(common-objpfx)libc_nonshared.a.
44973 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44975 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44976 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44977 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44978 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44979 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44980 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44981 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44982 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44997 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44998 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44999 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45000 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45001 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45002 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45003 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45004 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45005 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45006 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45007 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45008 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45024 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45026 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45027 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45028 * string/memmove.c (memmove): Renamed to ...
45029 (MEMMOVE): ...this. Default to memmove.
45030 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45031 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45034 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45035 mempcpy-ssse3-back memmove-ssse3-back.
45036 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45037 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45039 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45040 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45041 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45042 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45043 * sysdeps/x86_64/multiarch/memmove.c: New file.
45044 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45045 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45046 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45047 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45048 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45049 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45051 (index_Fast_Copy_Backward): Define.
45052 (HAS_ARCH_FEATURE): Define.
45053 (HAS_FAST_REP_STRING): Define.
45054 (HAS_FAST_COPY_BACKWARD): Define.
45056 2010-06-21 Andreas Schwab <schwab@redhat.com>
45058 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45059 Restore proper fallback handling.
45061 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45064 * posix/group_member.c (__group_member): Correct checking loop.
45066 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45067 OOM in getpwuid_r correctly. Return error number when the caller
45068 should return, otherwise -1.
45069 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45070 call returning > 0 value.
45071 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45073 2010-06-07 Andreas Schwab <schwab@redhat.com>
45075 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45076 libc_nonshared.a from targets in modules-names.
45078 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45080 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45083 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45085 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45086 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45090 2010-06-02 Andreas Schwab <schwab@redhat.com>
45092 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45094 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45098 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45099 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45102 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45103 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45105 2010-06-14 Roland McGrath <roland@redhat.com>
45107 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45109 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45111 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45112 __REDIRECT followed by __THROW.
45113 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45114 * posix/getopt.h (getopt): Likewise.
45116 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45118 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45119 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45120 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45122 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45123 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45125 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45127 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45129 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45133 Properly check family and model.
45135 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45137 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45139 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45141 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45143 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45145 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45148 2010-05-19 Andreas Schwab <schwab@redhat.com>
45150 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45153 2010-05-21 Andreas Schwab <schwab@redhat.com>
45155 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45156 and internal_recvmmsg.
45157 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45158 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45159 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45160 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45162 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45163 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45164 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45166 2010-05-20 Andreas Schwab <schwab@redhat.com>
45168 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45170 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45172 POWER7 optimizations.
45173 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45174 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45176 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45178 * version.h: Update for 2.13 development version.
45180 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45182 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45183 exceptions. Return 0.
45185 2010-05-07 Roland McGrath <roland@redhat.com>
45187 * elf/ldconfig.c (main): Add a const.
45189 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45191 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45192 (args_options): Add no-idn option.
45193 (ahosts_keys_int): Add idn_flags to ai_flags.
45194 (parse_option): Handle 'i' option to clear idn_flags.
45196 * malloc/malloc.c (_int_free): Possible race in the most recently
45197 added check. Only act on the data if no current modification
45200 See ChangeLog.17 for earlier changes.