1 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5 (pthread_spin_lock): Branch out of spin loop to proper location.
6 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7 (pthread_spin_lock): Likewise.
9 2014-06-03 Andreas Schwab <schwab@suse.de>
12 * resolv/res_send.c (send_dg): Reload file descriptor after
15 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19 2014-06-03 Richard Henderson <rth@redhat.com>
21 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
22 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
24 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
25 in the SAVE_PID block.
26 (__libc_vfork): New alias.
27 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30 child in registers, not on the stack. Remove RESET_PID conditionals.
31 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
35 * sysdeps/aarch64/libm-test-ulps: Regenerate.
37 2014-06-03 Wilco <wdijkstr@arm.com>
39 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
41 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
46 2014-06-03 Wilco <wdijkstr@arm.com>
48 * sysdeps/aarch64/fpu/math_private.h
49 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
52 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
55 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
57 * crypt/crypt-private.h: Include ufc-crypt.h.
58 (__b64_from_24bit): Declare extern.
59 * crypt/crypt_util.c(__b64_from_24bit): New function.
60 (b64t): New static const variable.
61 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
62 (b64t): Remove variable.
63 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
64 * crypt/sha256-crypt.c: Include crypt-private.h.
65 (b64t): Remove variable.
66 (__sha256_crypt_r): Remove b64_from_24bit and replace
67 with __b64_from_24bit.
68 * crypt/sha512-crypt.c: Likewise.
70 2014-06-02 Roland McGrath <roland@hack.frob.com>
72 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
73 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
74 Label the code __libc_vfork rather than __vfork.
75 [!NOT_IN_libc] (vfork): Define as weak alias.
76 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
77 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
78 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
80 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
82 * malloc/malloc.c (malloc_info): Fix format specifier for
85 2014-06-02 Wilco <wdijkstr@arm.com>
87 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
90 2014-06-02 Wilco <wdijkstr@arm.com>
93 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
94 Rewrite to reduce FPCR/FPSR accesses.
96 2014-06-01 David S. Miller <davem@davemloft.net>
98 * sysdeps/sparc/fpu/libm-test-ulps: Update.
100 2014-05-31 David S. Miller <davem@davemloft.net>
102 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
103 to occur in round to nearest mode when |x| >= 2.0
105 2014-05-30 Richard Henderson <rth@twiddle.net>
107 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
108 (PSEUDO_RET_NOERRNO): Remove.
109 (ret): Don't redefine.
110 (ret_NOERRNO): Define in terms of ret.
111 (ret_ERRVAL): Likewise.
113 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
114 use of PSEUDO_RET; perform the error check directly.
116 2014-05-30 Marko Myllynen <myllynen@redhat.com>
118 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
121 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
123 * malloc/malloc (malloc_info): Fix formatting.
125 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
126 Roland McGrath <roland@hack.frob.com>
128 * malloc/malloc (malloc_info): Also print mmapped statistics.
130 2014-05-30 Roland McGrath <roland@hack.frob.com>
132 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
133 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
135 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
137 * malloc/malloc.c (malloc_info): Inline mi_arena.
139 2014-05-29 Richard Henderson <rth@twiddle.net>
141 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
142 Remove comma before expanding ASM_ARGS_##nr.
143 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
144 Make _x0 a strict output; make _x8 a strict input; adjust expansion
146 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
147 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
148 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
149 (ASM_ARGS_1): Add leading comma.
151 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
152 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
154 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
155 Remove the expected plt for __errno_location.
157 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
158 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
162 Always allocate 64 bytes of stack frame. Use ldp/stp to create
163 it and break it down.
164 (DOCARGS_0, DOCARGS_1): Do nothing.
165 (DOCARGS_2): Update to store into the new stack frame.
166 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
167 (UNDOCARGS_1): Update to restore from the new stack frame.
168 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
169 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
172 (SINGLE_THREAD_P): New parameter for result regno.
173 (PSEUDO): Update to match; use cbz instead of beq.
175 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
176 Use ENTRY to define the _nocancel entry point. Share the syscall
177 and syscall error check paths with the cancel path.
180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
181 whitespace; tabs before and after asm mnemonics.
183 2014-05-29 Eric Wong <normalperson@yhbt.net>
186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
187 Call fstat64 or stat64 internally, depending on arguments passed.
188 Replace stat buffer argument with file descriptor argument.
189 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
190 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
191 Pass fd to __internal_statvfs instead of calling fstat64.
192 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
193 Pass fd to __internal_statvfs64 instead of calling fstat64.
194 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
195 Pass -1 to __internal_statvfs instead of calling stat64.
196 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
197 Pass -1 to __internal_statvfs64 instead of calling stat64.
199 2014-05-28 Roland McGrath <roland@hack.frob.com>
201 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
202 that was previously under [RESET_PID].
203 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
205 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
206 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
208 2014-05-27 Roland McGrath <roland@hack.frob.com>
210 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
212 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
213 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
215 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
217 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
219 2014-05-27 Andreas Schwab <schwab@suse.de>
221 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
223 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
224 * elf/rtld.c (init_tls, dl_main): Likewise.
225 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
226 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
227 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
228 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
229 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
230 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
231 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
232 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
233 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
234 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
235 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
236 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
237 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
238 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
239 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
240 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
241 * sysdeps/generic/tls.h: Update description.
243 2014-05-27 Will Newton <will.newton@linaro.org>
246 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
247 and restore r2 rather than just restoring.
249 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
252 * libio/tst-ftell-append.c: New test case.
253 * libio/Makefile (tests): Add test case.
254 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
256 * libio/wfileops.c (do_ftell_wide): Likewise.
258 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
262 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
266 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
267 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
268 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
269 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
270 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
271 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
278 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
279 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
280 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
281 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
282 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
284 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
285 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
287 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
289 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
291 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
292 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
293 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
295 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
296 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
297 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
298 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
321 conditional [RESET_PID].
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
330 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
331 (__libc_vfork): New strong alias.
332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
339 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
340 (__libc_vfork): New strong alias.
341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
346 2014-05-26 Carlos O'Donell <carlos@redhat.com>
348 * malloc/malloc.c (mi_arena): New function.
349 (malloc_info): Remove nested function mi_arena. Call non-nosted
352 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
354 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
356 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
357 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
358 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
359 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
360 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
361 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
364 2014-05-26 Andreas Schwab <schwab@suse.de>
367 * locale/programs/repertoire.c (repertoire_read): Add slash
368 between I18NPATH element and file name.
369 * locale/programs/locfile.c (locfile_read): Likewise.
371 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
373 * nptl/pthread_mutexattr_settype.c
374 (__pthread_mutexattr_settype):
375 Disable lock elision for PTHREAD_MUTEX_NORMAL.
377 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
379 * nptl/tst-mutex5 (do_test):
380 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
382 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
384 * benchtests/README: Document 'init' directive.
385 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
387 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
388 (parse_file): Recognize 'init' directive.
390 2014-05-26 Kyle McMartin <kyle@redhat.com>
393 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
394 alignment of struct pthread.
396 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
399 * nscd/netgroupcache.c (addgetnetgrentX): Look for
400 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
401 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
402 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
404 2014-05-25 Richard Henderson <rth@twiddle.net>
406 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
407 (SINGLE_THREAD_P_PIC): Remove.
408 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
409 (SINGLE_THREAD_P_PIC): Remove.
411 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
412 branch to syscall error ...
414 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
415 from __local_syscall_error to .Lsyscall_error.
416 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
417 (SYSCALL_ERROR): Update label name.
419 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
420 Do not use DOARGS/UNDOARGS.
421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
422 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
423 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
424 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
425 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
430 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
431 define if !NOT_IN_libc.
432 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
433 define with non-default symbol versions.
435 2014-05-23 Richard Henderson <rth@twiddle.net>
437 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
438 (vfork, __vfork): Define via compat_symbol.
440 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
441 [!HAVE_IFUNC] (vfork_compat): Remove.
442 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
444 2014-05-23 Joseph Myers <joseph@codesourcery.com>
447 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
448 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
451 2014-05-23 Richard Henderson <rth@twiddle.net>
453 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
454 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
455 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
456 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
458 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
459 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
460 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
461 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
462 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
463 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
464 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
465 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
466 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
467 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
468 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
469 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
470 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
471 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
472 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
473 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
474 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
475 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
476 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
478 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
480 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
482 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
483 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
484 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
485 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
486 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
487 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
488 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
489 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
490 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
491 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
492 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
494 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
495 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
496 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
497 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
498 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
499 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
500 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
501 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
502 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
503 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
504 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
505 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
507 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
509 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
511 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
513 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
515 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
516 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
517 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
518 before exiting on error.
519 (__libc_vfork): New strong alias.
520 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
521 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
523 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
524 that was previously under [RESET_PID].
525 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
527 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
529 2014-05-23 Joseph Myers <joseph@codesourcery.com>
532 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
533 value when x - 1 is zero.
534 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
535 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
536 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
537 0.0L for an argument of 1.0L.
538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
540 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
541 value when x - 1 is zero.
542 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
543 * sysdeps/i386/fpu/libm-test-ulps: Update.
544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
546 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
548 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
549 alphasort and versionsort.
551 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
553 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
555 [copysignf]: Likewise.
557 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
559 * crypt/md5-crypt.c: Fix formatting.
561 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
563 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
564 (b64_from_24bit): New function.
566 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
569 libc_hidden_builtin_def to ifunc.
570 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
571 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
573 2014-05-21 Roland McGrath <roland@hack.frob.com>
575 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
576 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
578 2014-05-21 Joseph Myers <joseph@codesourcery.com>
580 * nscd/Depend (linuxthreads): Remove.
582 * resolv/Depend (linuxthreads): Remove.
583 * rt/Depend (linuxthreads): Remove.
585 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
586 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
587 $(common-objpfx)elf/.
588 (link-libc-before-gnulib): Likewise.
589 (elfobjdir): Remove variable.
590 * Makefile (install): Use $(elf-objpfx) instead of
591 $(common-objpfx)elf/.
592 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
594 (link-libc-deps): Likewise.
595 ($(common-objpfx)libc.so): Likewise.
596 ($(common-objpfx)linkobj/libc.so): Likewise.
597 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
598 instead of $(common-objpfx)elf/.
599 (symbolic-link-list): Likewise.
600 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
601 [$(cross-compiling) = no]: Likewise.
602 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
604 (static-gnulib-arch): Likewise.
605 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
606 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
607 $(common-objpfx)elf/.
609 2014-05-21 Richard Henderson <rth@redhat.com>
611 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
612 (SINGLE_THREAD_P): Use the correct width load. Fold
615 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
616 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
618 2014-05-20 Joseph Myers <joseph@codesourcery.com>
620 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
621 (libgcc_s_resume): Use __attribute_used__.
622 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
625 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
628 optimization when used with float constants.
630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
632 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
635 * locale/nl_langinfo_l.c: Make direct reference to every
636 _nl_current_CATEGORY symbol.
637 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
638 (tests-static): Add tst-langinfo-static.
639 (tests-special): Add tst-langinfo-static.out.
640 ($(objpfx)tst-langinfo.out): Redirect output.
641 ($(objpfx)tst-langinfo-static.out): New.
642 * localedata/tst-langinfo.sh: Send output to stdout.
643 * localedata/tst-langinfo-static.c: New file.
646 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
647 when the shift amount is modulo the limb size.
649 2014-05-20 Richard Henderson <rth@redhat.com>
652 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
653 Change type of sa_flags from unsigned int to int.
656 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
658 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
660 2014-05-20 Will Newton <will.newton@linaro.org>
662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
663 Test the return value of the system call in the nocancel case.
665 2014-05-20 Will Newton <will.newton@linaro.org>
666 Yvan Roux <yvan.roux@linaro.org>
668 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
669 #include of asm/ptrace.h.
670 (PTRACE_GET_THREAD_AREA): Remove #undef.
671 (PTRACE_GETHBPREGS): Likewise.
672 (PTRACE_SETHBPREGS): Likewise.
673 (struct user_regs_struct): New structure.
674 (struct user_fpsimd_struct): New structure.
675 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
676 #include of asm/ptrace.h and second #include of sys/user.h.
677 (PTRACE_GET_THREAD_AREA): Remove #undef.
678 (PTRACE_GETHBPREGS): Likewise.
679 (PTRACE_SETHBPREGS): Likewise.
680 (ELF_NGREG): Use new struct user_regs_struct.
681 (elf_fpregset_t): Use new struct user_fpsimd_struct.
683 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
686 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
688 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
692 membar to avoid block loads/stores to overlap previous stores.
694 2014-05-17 Richard Henderson <rth@redhat.com>
696 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
697 Create the __##syscall_name##_nocancel entry point.
698 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
699 Remove; let the sysdep-cancel.h code create it.
701 2014-05-17 David S. Miller <davem@davemloft.net>
703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
704 Protect with __USE_GNU.
705 (TIOCSET_TEMPT): Likewise.
706 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
707 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
708 these are already provided in bits/ioctl-types.h
710 2014-05-16 Roland McGrath <roland@hack.frob.com>
712 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
713 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
715 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
716 Use wait4 regardless of [__NR_waitpid].
718 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
721 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
722 (_FP_NANSIGN_Q): Set the quiet bit.
724 2014-05-16 Joseph Myers <joseph@codesourcery.com>
726 * benchtests/Makefile
727 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
728 not $(common-objpfx)math/libm.so.
729 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
730 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
731 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
732 $(common-objpfx)dlfcn/libdl.so.
733 ($(objpfx)tst-audit8): Depend on $(libm), not
734 $(common-objpfx)math/libm.so.
735 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
736 not $(common-objpfx)dlfcn/libdl.so.
738 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
739 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
740 [$(build-shared) = yes].
741 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
742 $(common-objpfx)nptl/libpthread.so.
743 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
744 $(common-objpfx)math/libm.so$(libm.so-version) or
745 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
746 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
747 $(common-objpfx)dlfcn/libdl.so.
748 * setjmp/Makefile (link-libm): Remove variable.
749 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
750 * stdio-common/Makefile (link-libm): Remove variable.
751 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
752 * stdlib/Makefile (link-libm): Remove variable.
753 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
754 ($(objpfx)tst-strtod-round): Likewise.
755 ($(objpfx)tst-tininess): Likewise.
756 ($(objpfx)tst-strtod-underflow): Likewise.
757 ($(objpfx)tst-strtod6): Likewise.
758 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
759 $(libdl), not $(common-objpfx)nptl/libpthread.so and
760 $(common-objpfx)dlfcn/libdl.so.
762 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
765 BSD terminal modes definitions.
767 2014-05-16 Roland McGrath <roland@hack.frob.com>
769 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
770 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
772 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
773 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
774 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
775 Don't do #include_next.
776 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
777 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
778 Don't do #include_next.
779 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
780 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
781 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
782 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
784 2014-05-16 Allan McRae <allan@archlinux.org>
786 * po/sv.po: Update Swedish translation from translation project.
788 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
791 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
794 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
795 errno if the TIOCGPTN ioctl fails with an error different than
797 * login/tst-ptsname.c: New file.
798 * login/Makefile (tests): Add tst-ptsname.
801 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
804 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
808 herrno to return EAI_AGAIN.
810 2014-05-14 Roland McGrath <roland@hack.frob.com>
812 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
813 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
814 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
816 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
818 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
820 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
821 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
822 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
823 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
824 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
826 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
828 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
830 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
832 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
834 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
836 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
838 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
840 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
841 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
843 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
845 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
848 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
850 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
854 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
856 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
858 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
862 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
868 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
872 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
874 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
877 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
879 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
885 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
887 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
889 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
893 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
895 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
898 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
902 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
903 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
904 (libpthread-sysdep_routines): Add elision-related stuff here instead.
905 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
906 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
907 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
908 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
909 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
910 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
911 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
912 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
913 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
914 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
915 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
916 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
917 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
918 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
919 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
920 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
921 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
922 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
923 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
924 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
925 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
926 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
927 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
929 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
930 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
931 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
932 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
934 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
935 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
937 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
938 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
939 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
940 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
941 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
945 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
947 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
948 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
950 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
954 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
955 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
956 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
958 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
959 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
960 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
961 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
962 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
963 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
964 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
967 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
970 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
972 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
973 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
974 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
975 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
976 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
978 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
980 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
982 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
983 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
984 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
986 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
990 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
992 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
993 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
995 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
999 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1000 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1001 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1003 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1005 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1007 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1009 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1012 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1015 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1017 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1018 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1020 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1023 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1025 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1027 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1029 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1030 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1031 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1032 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1034 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1035 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1038 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1041 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1042 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1044 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1047 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1049 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1051 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1052 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1054 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1056 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1058 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1059 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1060 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1061 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1063 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1066 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1068 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1069 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1071 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1074 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1076 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1078 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1079 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1080 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1082 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1084 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1086 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1088 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1090 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1091 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1093 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1094 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1096 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1097 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1098 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1100 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1102 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1104 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1106 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1108 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1110 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1112 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1115 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1117 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1120 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1122 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1124 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1126 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1129 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1132 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1134 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1137 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1138 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1139 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1140 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1141 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1142 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1143 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1144 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1145 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1146 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1147 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1148 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1150 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1151 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1152 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1153 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1154 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1156 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1157 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1158 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1159 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1160 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1161 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1162 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1163 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1164 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1165 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1168 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1170 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1171 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1172 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1173 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1174 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1175 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1176 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1177 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1178 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1179 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1180 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1181 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1182 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1183 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1204 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1206 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1208 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1209 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1210 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1211 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1212 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1213 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1214 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1215 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1216 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1217 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1218 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1220 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1221 that was previously under [RESET_PID].
1222 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1223 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1224 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1226 * sysdeps/i386/nptl/Implies: New file.
1227 * sysdeps/x86_64/nptl/Implies: New file.
1228 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1229 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1231 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1233 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1234 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1235 (__libc_vfork): New strong alias.
1236 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1237 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1239 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1240 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1241 (__libc_vfork): New strong alias.
1242 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1243 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1245 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1246 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1247 (__libc_vfork): New strong alias.
1248 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1249 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1250 * nptl/pt-vfork.c: New file.
1251 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1252 (libpthread: GLIBC_2.20): New version set (empty).
1254 2014-05-14 Will Newton <will.newton@linaro.org>
1256 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1259 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1262 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1263 arguments with exponent 65 or above.
1264 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1265 arguments 0x1p113L or above.
1266 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1267 to arguments 0x1p107L or above.
1268 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1269 positive arguments with exponent 65 or above.
1270 * math/auto-libm-test-in: Add more tests of log1p.
1271 * math/auto-libm-test-out: Regenerated.
1274 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1275 non-finite arguments is +0.
1276 * math/s_cacosf.c (__cacosf): Likewise.
1277 * math/s_cacosl.c (__cacosl): Likewise.
1278 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1279 * sysdeps/i386/fpu/libm-test-ulps: Update.
1280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1283 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1285 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1286 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1287 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1288 for explicit high bit of mantissa when testing for argument equal
1290 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1295 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1296 (__erf): Scale by 16 instead of 8 in potentially underflowing
1297 case. Ensure exception if result actually underflows.
1298 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1299 (__erff): Scale by 16 instead of 8 in potentially underflowing
1300 case. Ensure exception if result actually underflows.
1301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1302 (efx8): Remove variable.
1303 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1304 case. Ensure exception if result actually underflows.
1305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1306 (efx8): Remove variable.
1307 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1308 case. Ensure exception if result actually underflows.
1309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1310 (efx8): Remove variable.
1311 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1312 case. Ensure exception if result actually underflows.
1313 * math/auto-libm-test-in: Add more tests of erf.
1314 * math/auto-libm-test-out: Regenerated.
1316 2014-05-14 Andreas Schwab <schwab@suse.de>
1318 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1319 Remove code conditionalized on USE___THREAD.
1321 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1322 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1325 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1328 Define unconditionally.
1329 (__ASSUME_O_CLOEXEC): Likewise.
1330 (__ASSUME_SOCK_CLOEXEC): Likewise.
1331 (__ASSUME_IN_NONBLOCK): Likewise.
1332 (__ASSUME_PIPE2): Likewise.
1333 (__ASSUME_EVENTFD2): Likewise.
1334 (__ASSUME_SIGNALFD4): Likewise.
1335 (__ASSUME_DUP3): Likewise.
1336 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1337 (__ASSUME_DUP3): Do not define.
1338 (__ASSUME_EVENTFD2): Likewise.
1339 (__ASSUME_IN_NONBLOCK): Likewise.
1340 (__ASSUME_O_CLOEXEC): Likewise.
1341 (__ASSUME_PIPE2): Likewise.
1342 (__ASSUME_SIGNALFD4): Likewise.
1343 (__ASSUME_SOCK_CLOEXEC): Likewise.
1344 (__ASSUME_UTIMES): Undefine.
1345 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1346 (__ASSUME_UTIMES): Do not define.
1347 (__ASSUME_O_CLOEXEC): Likewise.
1348 (__ASSUME_SOCK_CLOEXEC): Likewise.
1349 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1350 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1352 (__ASSUME_PIPE2): Likewise.
1353 (__ASSUME_EVENTFD2): Likewise.
1354 (__ASSUME_SIGNALFD4): Likewise.
1355 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1356 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1358 (__ASSUME_EVENTFD2): Likewise.
1359 (__ASSUME_SIGNALFD4): Likewise.
1360 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1361 (__ASSUME_32BITUIDS): Likewise.
1362 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1363 (__ASSUME_IPC64): Likewise.
1364 (__ASSUME_ST_INO_64_BIT): Likewise.
1365 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1366 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1367 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1368 (__ASSUME_UTIMES): Do not define.
1369 (__ASSUME_PSELECT): Likewise.
1370 (__ASSUME_PPOLL): Likewise.
1371 (__ASSUME_O_CLOEXEC): Likewise.
1372 (__ASSUME_SOCK_CLOEXEC): Likewise.
1373 (__ASSUME_IN_NONBLOCK): Likewise.
1374 (__ASSUME_PIPE2): Likewise.
1375 (__ASSUME_EVENTFD2): Likewise.
1376 (__ASSUME_SIGNALFD4): Likewise.
1377 (__ASSUME_DUP3): Likewise.
1378 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1379 (__ASSUME_UTIMES): Likewise.
1380 (__ASSUME_O_CLOEXEC): Likewise.
1381 (__ASSUME_SOCK_CLOEXEC): Likewise.
1382 (__ASSUME_IN_NONBLOCK): Likewise.
1383 (__ASSUME_PIPE2): Likewise.
1384 (__ASSUME_EVENTFD2): Likewise.
1385 (__ASSUME_SIGNALFD4): Likewise.
1386 (__ASSUME_DUP3): Likewise.
1387 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1388 (__ASSUME_UTIMES): Likewise.
1389 (__ASSUME_O_CLOEXEC): Likewise.
1390 (__ASSUME_SOCK_CLOEXEC): Likewise.
1391 (__ASSUME_IN_NONBLOCK): Likewise.
1392 (__ASSUME_PIPE2): Likewise.
1393 (__ASSUME_EVENTFD2): Likewise.
1394 (__ASSUME_SIGNALFD4): Likewise.
1395 (__ASSUME_DUP3): Likewise.
1396 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1398 (__ASSUME_UTIMES): Likewise.
1399 (__ASSUME_EVENTFD2): Likewise.
1400 (__ASSUME_SIGNALFD4): Likewise.
1401 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1402 (__ASSUME_O_CLOEXEC): Likewise.
1403 (__ASSUME_SOCK_CLOEXEC): Likewise.
1404 (__ASSUME_IN_NONBLOCK): Likewise.
1405 (__ASSUME_PIPE2): Likewise.
1406 (__ASSUME_EVENTFD2): Likewise.
1407 (__ASSUME_SIGNALFD4): Likewise.
1408 (__ASSUME_DUP3): Likewise.
1409 (__ASSUME_UTIMES): Undefine.
1411 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1412 feclearexcept. Remove symbol versioning code.
1413 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1414 symbol versioning code.
1415 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1416 symbol versioning code.
1417 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1418 feupdateenv. Remove symbol versioning code.
1419 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1420 fegetexceptflag. Remove symbol versioning code.
1421 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1422 fesetexceptflag. Remove symbol versioning code.
1423 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1424 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1425 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1426 (__posix_fadvise64_l32): Remove prototype.
1427 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1430 2014-05-13 Roland McGrath <roland@hack.frob.com>
1432 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1433 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1434 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1435 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1437 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1439 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1440 current working directory
1442 2014-05-13 Roland McGrath <roland@hack.frob.com>
1444 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1445 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1446 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1447 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1448 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1449 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1450 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1469 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1473 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1477 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1478 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1479 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1480 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1481 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1482 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1483 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1484 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1485 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1487 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1488 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1490 * sysdeps/unix/sysv/linux/arm/Makefile
1491 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1492 Add rt-aeabi_unwind_cpp_pr1.
1493 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1494 Add nptl-aeabi_unwind_cpp_pr1.
1495 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1496 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1497 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1498 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1499 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1500 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1502 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1503 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1504 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1505 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1507 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1508 Deconditionalize the code that was previously under [RESET_PID].
1509 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1511 * sysdeps/generic/exit-thread.h: New file.
1512 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1513 * include/unistd.h (__exit_thread): Remove declaration.
1514 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1515 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1516 * csu/libc-start.c: Include <exit-thread.h>.
1517 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1518 * nptl/pthread_create.c: Include <exit-thread.h>.
1519 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1520 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1521 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1522 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1523 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1524 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1525 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1526 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1527 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1528 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1529 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1530 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1531 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1532 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1533 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1534 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1535 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1537 2014-05-13 Andreas Schwab <schwab@suse.de>
1539 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1541 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1543 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1544 (__ASSUME_UTIMES): Do not condition on kernel version.
1545 (__ASSUME_PSELECT): Define unconditionally.
1546 (__ASSUME_PPOLL): Likewise.
1547 (__ASSUME_ATFCTS): Likewise.
1548 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1549 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1550 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1551 (__ASSUME_UTIMENSAT): Define unconditionally.
1552 (__ASSUME_PRIVATE_FUTEX): Likewise.
1553 (__ASSUME_FALLOCATE): Likewise.
1554 (__ASSUME_O_CLOEXEC): Likewise.
1555 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1556 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1557 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1558 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1559 (__ASSUME_IN_NONBLOCK): Likewise.
1560 (__ASSUME_PIPE2): Likewise.
1561 (__ASSUME_EVENTFD2): Likewise.
1562 (__ASSUME_SIGNALFD4): Likewise.
1563 (__ASSUME_DUP3): Likewise.
1564 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1565 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1566 (__ASSUME_AT_RANDOM): Likewise.
1567 (__ASSUME_PREADV): Likewise.
1568 (__ASSUME_PWRITEV): Likewise.
1569 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1570 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1571 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1572 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1573 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1574 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1575 (__ASSUME_O_CLOEXEC): Define unconditionally.
1576 (__ASSUME_PSELECT): Do not undefine conditionally.
1577 (__ASSUME_PPOLL): Likewise.
1578 (__ASSUME_ATFCTS): Likewise.
1579 (__ASSUME_SET_ROBUST_LIST): Likewise.
1580 (__ASSUME_UTIMENSAT): Likewise.
1581 (__ASSUME_FDATASYNC): Define unconditionally.
1582 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1583 (__ASSUME_SIGFRAME_V2): Likewise.
1584 )__ASSUME_EVENTFD2): Likewise.
1585 (__ASSUME_SIGNALFD4): Likewise.
1586 (__ASSUME_PSELECT): Do not undefine conditionally.
1587 (__ASSUME_PPOLL): Likewise.
1588 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1589 (__ASSUME_PSELECT): Define unconditionally.
1590 (__ASSUME_PPOLL): Likewise.
1591 (__ASSUME_O_CLOEXEC): Likewise.
1592 (__ASSUME_SOCK_CLOEXEC): Likewise.
1593 (__ASSUME_IN_NONBLOCK): Likewise.
1594 (__ASSUME_PIPE2): Likewise.
1595 (__ASSUME_EVENTFD2): Likewise.
1596 (__ASSUME_SIGNALFD4): Likewise.
1597 (__ASSUME_DUP3): Likewise.
1598 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1599 (__ASSUME_O_CLOEXEC): Likewise.
1600 (__ASSUME_SOCK_CLOEXEC): Likewise.
1601 (__ASSUME_IN_NONBLOCK): Likewise.
1602 (__ASSUME_PIPE2): Likewise.
1603 (__ASSUME_EVENTFD2): Likewise.
1604 (__ASSUME_SIGNALFD4): Likewise.
1605 (__ASSUME_DUP3): Likewise.
1606 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1607 (__ASSUME_EVENTFD2): Likewise.
1608 (__ASSUME_SIGNALFD4): Likewise.
1609 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1611 2014-05-12 Andreas Schwab <schwab@suse.de>
1614 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1615 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1616 than maximum RPC packet size.
1617 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1618 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1619 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1620 (_nss_nis_getservbyport_r): Likewise.
1622 2014-05-12 Will Newton <will.newton@linaro.org>
1624 * malloc/Makefile (tests): Add tst-mallopt.
1625 * malloc/tst-mallopt.c: New file.
1627 2014-05-09 Roland McGrath <roland@hack.frob.com>
1629 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1630 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1632 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1634 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1635 (tst-tlsmod6.so): Likewise.
1637 2014-05-09 Roland McGrath <roland@hack.frob.com>
1639 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1641 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1644 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1645 and <dl-procinfo.h>.
1646 (__fegetenv): Save SSE state in envp->__eip if supported.
1647 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1648 envp->__eip if supported.
1649 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1650 and <dl-procinfo.h>.
1651 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1652 __data_offset and __data_selector in environment to 0. Set SSE
1654 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1656 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1658 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1660 2014-05-09 Will Newton <will.newton@linaro.org>
1662 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1663 and libc_relro_required for ARM.
1664 * sysdeps/arm/preconfigure: Regenerate.
1666 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1667 Stefan Liebler <stli@linux.vnet.ibm.com>
1669 * config.make.in (enable-lock-elision): New Makefile variable.
1670 * configure.ac: Likewise.
1671 * configure: Regenerate.
1672 * sysdeps/s390/configure.ac:
1673 Add check for gcc transactions support.
1674 * sysdeps/s390/configure: Regenerate.
1675 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1676 Build elision files if enabled.
1677 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1678 Add lock elision support for s390.
1679 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1680 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1681 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1682 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1683 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1684 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1685 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1687 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1689 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1691 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1693 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1694 (__lll_timedlock_elision, __lll_lock_elision)
1695 (__lll_unlock_elision, __lll_trylock_elision)
1696 (lll_timedlock_elision, lll_lock_elision)
1697 (lll_unlock_elision, lll_trylock_elision): Add.
1698 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1699 (pthread_mutex_t): Add lock elision support for s390.
1701 2014-05-14 Wilco <wdijkstr@arm.com>
1703 * sysdeps/arm/fclrexcpt.c: Cleanup.
1704 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1705 * sysdeps/arm/feenablxcpt.c: Cleanup.
1706 * sysdeps/arm/fegetenv.c: Cleanup.
1707 * sysdeps/arm/fegetexcept.c: Cleanup.
1708 * sysdeps/arm/fegetround.c: Cleanup.
1709 * sysdeps/arm/feholdexcpt.c: Cleanup.
1710 * sysdeps/arm/fesetenv.c: Cleanup.
1711 * sysdeps/arm/fesetround.c: Cleanup.
1712 * sysdeps/arm/feupdateenv.c: Cleanup.
1713 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1714 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1715 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1716 * sysdeps/arm/ftestexcept.c: Cleanup.
1717 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1718 * sysdeps/arm/setfpucw.c: Cleanup.
1720 2014-05-09 Will Newton <will.newton@linaro.org>
1722 * sysdeps/arm/armv7/strcmp.S: New file.
1723 * NEWS: Mention addition of ARMv7 optimized strcmp.
1725 2014-05-08 Roland McGrath <roland@hack.frob.com>
1727 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1728 look for %.ac rather than %.in.
1730 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1731 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1732 * sysdeps/mach/hurd/configure: Regenerated.
1733 * sysdeps/unix/sysv/linux/configure: Regenerated.
1735 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1737 2014-05-07 Steve Ellcey <sellcey@mips.com>
1740 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1744 2014-05-07 Andreas Schwab <schwab@suse.de>
1746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1747 when skipping over non-matching result from nscd.
1749 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1752 * nptl/sockperf.c (client): Check socket return value.
1755 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1756 nscd security class.
1758 2014-05-06 Roland McGrath <roland@hack.frob.com>
1760 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1761 * sysdeps/arm/unwind.h: ... here.
1763 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1766 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1769 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1771 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1772 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1773 multiarch strncpy for PPC64.
1774 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1775 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1777 multiarch optimizations.
1778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1779 (__libc_ifunc_impl_list): Likewise.
1780 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1781 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1782 multiarch stpncpy for PPC64.
1783 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1784 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1786 2014-05-06 Andreas Schwab <schwab@suse.de>
1789 * gmon/mcount.c (_MCOUNT_DECL): Use
1790 atomic_compare_and_exchange_bool_acq instead of
1791 catomic_compare_and_exchange_bool_acq.
1793 2014-05-05 Roland McGrath <roland@hack.frob.com>
1795 * elf/Makefile (others, install-bin): Remove pldd.
1796 (pldd-modules): Variable removed.
1797 ($(objpfx)pldd): Target removed.
1798 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1799 (others, install-bin): Append pldd here.
1800 ($(objpfx)pldd): New target.
1802 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1803 to 0, so the first #if test emitted later doesn't see it undefined.
1804 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1805 * sysdeps/gnu/errlist.c: Regenerated.
1807 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1810 [libc_hidden_builtin_def]: Define to empty value.
1811 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1812 [libc_hidden_builtin_def]: Likewise.
1813 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1814 [libc_hidden_builtin_def]: Likewise.
1815 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1816 [libc_hidden_builtin_def]: Likewise.
1817 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1818 __redirect_memcpy and define ifunc as default hidden symbol.
1819 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1820 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1822 2014-05-04 Adam Conrad <adconrad@0c3.net>
1824 * locale/iso-4217.def: Reintroduce XDR currency.
1826 2014-05-04 Allan McRae <allan@archlinux.org>
1828 * po/eo.po: Update Esperanto translation from translation project.
1830 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1832 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1833 and FEATURE_INDEX_MAX to 1.
1834 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1836 2014-05-01 Steve Ellcey <sellcey@mips.com>
1838 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1839 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1840 * iconvdata/big5.c (ONE_DIRECTION): Define.
1841 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1842 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1843 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1844 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1845 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1846 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1847 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1848 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1849 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1850 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1851 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1852 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1853 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1854 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1855 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1856 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1857 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1858 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1859 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1860 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1861 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1862 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1863 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1864 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1865 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1866 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1867 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1868 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1869 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1870 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1871 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1872 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1873 * iconvdata/johab.c (ONE_DIRECTION): Define.
1874 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1875 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1876 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1877 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1878 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1879 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1880 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1881 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1882 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1883 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1885 2014-05-01 Roland McGrath <roland@hack.frob.com>
1887 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1888 (_IO_JUMPS_OFFSET): Define to 0.
1890 * nptl/sysdeps/pthread/bits/libc-lock.h
1891 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1892 (__libc_lock_define_initialized_recursive): Always define using
1893 initializer. Modern compilers treat uninitialized (implicit zero) and
1894 explicit zero initializers the same (i.e. put the datum in bss).
1896 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1898 * nscd/nscd-client.h: Include <string.h>.
1900 2014-05-01 David S. Miller <davem@davemloft.net>
1903 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1904 multiple zero bytes exist at the end of a string.
1905 Reported by Aurelien Jarno <aurelien@aurel32.net>
1907 * string/test-strcmp.c (check): Add explicit test for situations where
1908 there are multiple zero bytes after the first.
1910 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1913 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1914 when compiling wprintf.
1915 * stdio-common/tstdiomisc.c (t3): New function.
1918 2014-05-01 Steve Ellcey <sellcey@mips.com>
1920 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1921 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1922 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1923 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1925 2014-05-01 Steve Ellcey <sellcey@mips.com>
1927 * stdlib/longlong.h: Updated from GCC.
1929 2014-05-01 Will Newton <will.newton@linaro.org>
1930 Bernard Ogden <bernie.ogden@linaro.org>
1932 * NEWS: Update fixed bug list.
1935 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1937 2014-04-30 David S. Miller <davem@davemloft.net>
1939 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1940 (libc_feholdexcept_setround_sparc_ctx): New function.
1941 (libc_fesetenv_sparc_ctx): Likewise.
1942 (libc_feupdateenv_sparc_ctx): Likewise.
1943 (libc_feholdsetround_sparc_ctx): Likewise.
1944 (libc_feholdexcept_setround_ctx): Define.
1945 (libc_feholdexcept_setroundf_ctx): Likewise.
1946 (libc_feholdexcept_setroundl_ctx): Likewise.
1947 (libc_fesetenv_ctx): Likewise.
1948 (libc_fesetenvf_ctx): Likewise.
1949 (libc_fesetenvl_ctx): Likewise.
1950 (libc_feupdateenv_ctx): Likewise.
1951 (libc_feupdateenvf_ctx): Likewise.
1952 (libc_feupdateenvl_ctx): Likewise.
1953 (libc_feresetround_ctx): Likewise.
1954 (libc_feresetroundf_ctx): Likewise.
1955 (libc_feresetroundl_ctx): Likewise.
1956 (libc_feholdsetround_ctx): Likewise.
1957 (libc_feholdsetroundf_ctx): Likewise.
1958 (libc_feholdsetroundl_ctx): Likewise.
1960 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1961 with __USE_GNU instead of XOPEN cpp guards.
1963 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1967 with XOPEN cpp guards.
1969 2014-04-30 Julian Brown <julian@codesourcery.com>
1972 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1975 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1980 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1981 * sysdeps/unix/sysv/linux/configure: Regenerated.
1982 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1983 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1984 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1985 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1986 * README: Update reference to required Linux kernel version.
1987 * manual/install.texi (Linux): Update reference to required Linux
1988 kernel headers version.
1989 * INSTALL: Regenerated.
1991 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1993 [POSIX] (limits.h): Likewise.
1994 [POSIX] (math.h): Likewise.
1995 [POSIX] (sys/wait.h): Likewise.
1996 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1998 [POSIX] (stddef.h): Do not allow header inclusion.
2000 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2002 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2004 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2006 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2007 Return immediately after lll_futex_wake.
2009 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2012 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2014 (datahead_init_pos): Call datahead_init_common early.
2015 (datahead_init_neg): Likewise.
2017 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2018 datahead_init_neg): New functions.
2019 * nscd/aicache.c (addhstaiX): Use them.
2020 * nscd/grpcache.c (cache_addgr): Likewise.
2021 * nscd/hstcache.c (cache_addhst): Likewise.
2022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2023 * nscd/netgroupcache.c (do_notfound): Likewise.
2024 (addgetnetgrentX): Likewise.
2025 (addinnetgrX): Likewise.
2026 * nscd/pwdcache.c (cache_addpw): Likewise.
2027 * nscd/servicescache.c (cache_addserv): Likewise.
2029 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2030 Atsushi Onoe <atsushi@onoe.org>
2035 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2036 one response is valid.
2037 * resolv/res_send.c (send_dg): Check for validity of other
2038 response if the current response is a referral.
2040 2014-04-29 Steve Ellcey <sellcey@mips.com>
2042 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2044 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2047 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2048 Always divide by positive zero when computing -Inf result.
2049 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2050 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2052 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2055 FPSCR if value do not change.
2056 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2057 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2058 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2059 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2060 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2061 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2064 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2066 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2067 * sysdeps/unix/sysv/linux/hppa: Move directory from
2068 ports/systeps/unix/sysv/linux/hppa.
2069 * README: Update listing for hppa-*-linux-gnu.
2071 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2074 * manual/stdio.texi (Hook functions): Fix types of stream hook
2077 * socket/sys/socket.h: Fix typo in comment.
2079 2014-04-28 Wilco <wdijkstr@arm.com>
2081 * sysdeps/arm/fenv_private.h: New file.
2082 * sysdeps/arm/math_private.h: New file.
2083 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2085 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2087 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2089 (La_x86_64_retval): Likewise.
2091 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2093 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2094 fpsr if value didn't change.
2095 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2096 to fpcr if value didn't change.
2097 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2098 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2099 fpsr or fpcr if value didn't change.
2100 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2101 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2102 fpcr if value didn't change.
2103 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2104 to fpsr if value didn't change.
2106 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2108 * nptl/tst-sem3.c: Use test-skeleton.c
2109 (main): Rename to do_test. Use return instead of
2111 * nptl/tst-sem4.c: Use test-skeleton.c
2112 (main): Rename to do_test.
2114 2014-04-22 David S. Miller <davem@davemloft.net>
2116 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2117 (struct sigaction): New struct member __glibc_reserved0, change
2118 type of sa_flags to int.
2120 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2122 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2123 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2125 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2127 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2128 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2130 2014-04-22 Will Newton <will.newton@linaro.org>
2131 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2133 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2134 (__longjmp): Add longjmp and longjmp_target SystemTap
2136 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2137 (__sigsetjmp): Add setjmp SystemTap probe.
2139 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2141 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2144 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2148 * sysdeps/powerpc/fpu/fenv_private.h
2149 (libc_feholdexcept_setroundl_ctx): Define to
2150 libc_feholdexcept_setround_ppc_ctx.
2151 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2152 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2153 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2154 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2156 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2158 * sysdeps/aarch64/math-tests.h: New file.
2160 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2162 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2165 Check and set bit_AVX2_Usable.
2166 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2168 (bit_AVX2): Likewise.
2169 (index_AVX2_Usable): Likewise.
2170 (CPUID_AVX2): Likewise.
2171 (HAS_AVX2): Likewise.
2173 2014-04-17 Will Newton <will.newton@linaro.org>
2175 * manual/setjmp.texi (System V contexts): Add note that
2176 calling setcontext on a context created by a call to a
2177 signal handler is undefined. Update text to note that
2178 setcontext from a signal handler is possible but not
2182 * stdlib/tst-setcontext.c: Include signal.h.
2183 (main): Check that the signal stack before and
2184 after swapcontext is the same.
2186 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2187 Re-implement to restore registers in user code and avoid
2188 rt_sigreturn system call.
2190 2014-04-17 Wilco <wdijkstr@arm.com>
2192 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2193 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2194 * math/test-fenv.c: Skip exception trap tests on targets which only
2195 support non-stop mode.
2197 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2198 Wilco Dijkstra <wilco.dijkstra@arm.com>
2200 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2201 (libc_feholdsetround_aarch64_ctx)
2202 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2203 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2204 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2205 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2206 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2207 (libc_feresetround_noexl_ctx): Define.
2209 2014-04-16 Richard Henderson <rth@redhat.com>
2211 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2213 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2216 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2217 const from the non-libc, non-ldso copy.
2219 * sysdeps/alpha/libm-test-ulps: Regenerate.
2221 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2222 Wilco Dijkstra <wilco.dijkstra@arm.com>
2224 * sysdeps/aarch64/fpu/math_private.h: New file.
2226 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2228 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2230 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2232 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2233 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2235 Intel MPX bound registers before _dl_profile_fixup.
2236 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2237 registers after _dl_profile_fixup. Save and restore bound
2238 registers bnd0/bnd1 when calling _dl_call_pltexit.
2239 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2240 (LR_BND_OFFSET): Likewise.
2241 (LRV_BND0_OFFSET): Likewise.
2242 (LRV_BND1_OFFSET): Likewise.
2244 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2246 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2248 * sysdeps/mach/hurd/i386/tls.h: ... here.
2249 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2250 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2253 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2255 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2257 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2259 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2261 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2264 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2265 * sysdeps/s390/configure: Regenerate.
2268 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2269 Set round-to-nearest internally to reduce error accumulation.
2271 2014-04-16 Alan Modra <amodra@gmail.com>
2275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2276 * math/libm-test.inc (frexp_test_data): Add tests.
2277 * NEWS: Update fixed bug list.
2279 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2281 * benchtests/Makefile: Depend on libraries in build directory.
2282 (bench-math): Separate out math tests.
2283 (bench-pthread): Separate out pthread tests.
2284 (bench): Include math and pthread tests.
2286 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2289 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2290 _dl_debug_initialize.
2292 * configure.ac: Remove SELinux header check.
2293 * configure: Regenerate.
2294 * nscd/selinux.c (perms): Array of const char* to permission names.
2295 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2296 default policy. Call string_to_security_class and string_to_av_perm to
2297 translate strings. Enforce default policy and call avs_has_perm with
2298 results of translated strings.
2300 2014-04-13 David S. Miller <davem@davemloft.net>
2302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2304 2014-04-12 Allan McRae <allan@archlinux.org>
2307 * manual/string.texi (Collation Functions): Fix qsort argument
2309 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2311 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2313 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2314 Make the test a no-op if there are no exceptions defined.
2316 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2318 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2319 enable-hardcoded-path-in-tests
2321 2014-04-11 Will Newton <will.newton@linaro.org>
2323 * benchtests/Makefile (extra-objs): Add json-lib.o.
2324 (bench-func): Tidy up JSON output.
2325 * benchtests/bench-skeleton.c: Include json-lib.h.
2326 (main): Use JSON library functions to do output of
2328 * benchtests/bench-timing-type.c (main): Output the
2329 timing type simply, leaving formatting to the user.
2330 * benchtests/json-lib.c: New file.
2331 * benchtests/json-lib.h: Likewise.
2333 2014-04-11 Torvald Riegel <triegel@redhat.com>
2336 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2337 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2338 memory barriers. Add comments.
2339 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2340 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2341 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2342 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2343 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2344 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2346 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2348 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2349 * sysdeps/s390/s390-64/configure.ac: ... this ...
2350 * sysdeps/s390/configure.ac: ... to here.
2351 * sysdeps/s390/s390-32/configure: Delete file.
2352 * sysdeps/s390/s390-64/configure: Delete file.
2353 * sysdeps/s390/configure: Regenerate.
2355 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2357 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2359 2014-04-11 Will Newton <will.newton@linaro.org>
2361 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2362 to zero if it is not defined elsewhere. (mtrim): Test
2363 the value of MALLOC_DEBUG with #if rather than #ifdef.
2365 2014-04-10 Torvald Riegel <triegel@redhat.com>
2367 * benchtests/pthread_once-inputs: New file.
2368 * benchtests/pthread_once-source.c: New file.
2369 * benchtests/README: Update documentation.
2371 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2372 H.J. Lu <hongjiu.lu@intel.com>
2374 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2375 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2376 * sysdeps/x86_64/configure: Regenerated.
2377 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2379 (REGISTER_SAVE_RAX): Likewise.
2380 (REGISTER_SAVE_RCX): Likewise.
2381 (REGISTER_SAVE_RDX): Likewise.
2382 (REGISTER_SAVE_RSI): Likewise.
2383 (REGISTER_SAVE_RDI): Likewise.
2384 (REGISTER_SAVE_R8): Likewise.
2385 (REGISTER_SAVE_R9): Likewise.
2386 (REGISTER_SAVE_BND0): Likewise.
2387 (REGISTER_SAVE_BND1): Likewise.
2388 (REGISTER_SAVE_BND2): Likewise.
2389 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2390 bound registers when calling _dl_fixup.
2392 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2394 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2395 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2397 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2398 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2399 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2400 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2401 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2402 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2403 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2405 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2408 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2409 pathconf(_PC_NAME_MAX).
2411 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2415 (__PTHREAD_SPINS): Move definition to ...
2416 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2417 (__PTHREAD_SPINS): ... here.
2418 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2419 (__PTHREAD_SPIN): Likewise.
2420 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2421 (__PTHREAD_SPIN): Likewise.
2422 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2423 (__PTHREAD_SPIN): Likewise.
2424 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2425 (__PTHREAD_SPIN): Likewise.
2426 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2427 (__PTHREAD_SPIN): Likewise.
2428 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2429 (__PTHREAD_SPIN): Likewise.
2430 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2431 (__PTHREAD_SPIN): Likewise.
2432 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2433 (__PTHREAD_SPIN): Likewise.
2434 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2435 (__PTHREAD_SPIN): Likewise.
2436 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2437 (__PTHREAD_SPIN): Likewise.
2438 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2439 (__PTHREAD_SPIN): Likewise.
2440 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2441 (__PTHREAD_SPIN): Likewise.
2443 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2444 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2445 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2446 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2448 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2449 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2450 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2451 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2453 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2454 strlen symbol for non multi-arch builds.
2455 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2456 missing hidden_def and weak_alias.
2458 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2460 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2462 2014-04-07 Will Newton <will.newton@linaro.org>
2464 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2465 and contents. [!_LIBC] Remove #ifndef and contents.
2466 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2467 * string/memccpy.c (__memccpy): Use ANSI prototype.
2468 * string/memfrob.c (memfrob): Likewise.
2469 * string/strcoll.c (STRCOLL): Likewise.
2470 * string/strlen.c (strlen): Likewise.
2471 * string/strtok.c (STRTOK): Likewise.
2472 * string/strcat.c: Remove unused #include of memcopy.h.
2473 (strcat): Use ANSI prototype.
2474 * string/strchr.c: Remove unused #include of memcopy.h.
2475 (strchr): Use ANSI prototype.
2476 * string/strcmp.c: Remove unused #include of memcopy.h.
2477 (strcmp): Use ANSI prototype.
2478 * string/strcpy.c: Remove unused #include of memcopy.h.
2479 (strcpy): Use ANSI prototype.
2481 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2483 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2484 * config.make.in (config-extra-cppflags): Set it from
2485 libc_extra_cppflags.
2486 * configure.ac (libc_extra_cflags): Make it accumulate over
2487 configure fragments.
2488 (libc_extra_cppflags): New flag.
2489 * configure. Regenerate.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2491 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2492 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2496 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2497 result for FE_DOWNWARD rounding mode.
2498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2502 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2504 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2505 in function argument name.
2507 2014-04-03 David Svoboda <svoboda@cert.org>
2510 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2513 2014-04-03 Roland McGrath <roland@hack.frob.com>
2515 * elf/dl-unmap-segments.h: New file.
2516 * sysdeps/generic/ldsodefs.h
2517 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2518 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2519 * elf/dl-fptr.c: Likewise.
2520 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2521 * sysdeps/aarch64/tlsdesc.c: Likewise.
2522 * sysdeps/arm/tlsdesc.c: Likewise.
2523 * sysdeps/i386/tlsdesc.c: Likewise.
2524 * sysdeps/tile/dl-runtime.c: Likewise.
2525 * sysdeps/x86_64/tlsdesc.c: Likewise.
2526 * elf/dl-load.h: New file.
2527 * elf/dl-load.c: Include it.
2528 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2529 Macros moved to dl-load.h.
2530 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2531 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2532 Use _dl_unmap_segments in place of __munmap.
2533 Break out segment-mapping loop into ...
2534 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2536 2014-04-03 Will Newton <will.newton@linaro.org>
2538 * elf/dl-lookup.c (do_lookup_x): Remove comment
2539 referring to nested function and move variable
2540 declarations down to before first use.
2542 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2546 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2548 * math/s_catanf.c (__catanf): Likewise.
2549 * math/s_catanh.c (__catanh): Likewise.
2550 * math/s_catanhf.c (__catanhf): Likewise.
2551 * math/s_catanhl.c (__catanhl): Likewise.
2552 * math/s_catanl.c (__catanl): Likewise.
2553 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2554 by positive zero when computing -Inf result.
2555 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2556 (catanh_test): Likewise.
2557 * sysdeps/i386/fpu/libm-test-ulps: Update.
2558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2562 instead of using underflowing value in computing result.
2563 * math/s_clog10.c (__clog10): Likewise.
2564 * math/s_clog10f.c (__clog10f): Likewise.
2565 * math/s_clog10l.c (__clog10l): Likewise.
2566 * math/s_clogf.c (__clogf): Likewise.
2567 * math/s_clogl.c (__clogl): Likewise.
2568 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2569 (clog10_test): Likewise.
2570 * sysdeps/i386/fpu/libm-test-ulps: Update.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2573 2014-04-02 Alan Modra <amodra@gmail.com>
2576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2577 output when value is near a power of two. Use int64_t for lx and
2578 remove casts. Use decimal rather than hex exponent constants.
2579 Don't use long double multiplication when double will suffice.
2580 * math/libm-test.inc (nextafter_test_data): Add tests.
2581 * NEWS: Add 16739 and 16786 to bug list.
2583 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2585 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2587 2014-04-01 Will Newton <will.newton@linaro.org>
2589 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2590 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2592 2014-04-01 Florian Weimer <fweimer@redhat.com>
2595 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2596 * nptl/tst-setuid2.c: New file.
2597 * nptl/Makefile (xtests): Add tst-setuid2.
2599 2014-04-01 Alan Modra <amodra@gmail.com>
2602 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2604 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2608 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2609 set errno as appropriate.
2610 * math/w_scalbf.c (__scalbf): Likewise.
2611 * math/w_scalbl.c (__scalbl): Likewise.
2612 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2613 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2614 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2618 * math/w_atan2.c: Include <errno.h>.
2619 (__atan2): Set errno for result underflowing to zero.
2620 * math/w_atan2f.c: Include <errno.h>.
2621 (__atan2f): Set errno for result underflowing to zero.
2622 * math/w_atan2l.c: Include <errno.h>.
2623 (__atan2l): Set errno for result underflowing to zero.
2624 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2626 * math/auto-libm-test-out: Regenerated.
2628 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2631 Encode instruction correctly in little endian.
2632 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2634 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2636 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2638 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2641 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2644 * sysdeps/unix/sysv/linux/kernel-features.h
2645 [__sparc__ && !__arch64__ && !__sparc_v9__]
2646 (__ASSUME_SET_ROBUST_LIST): Do not define.
2647 [__sparc__ && !__arch64__ && !__sparc_v9__]
2648 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2649 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2651 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2652 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2653 (__ASSUME_REQUEUE_PI): Likewise.
2654 (__ASSUME_SET_ROBUST_LIST): Likewise.
2655 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2656 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2658 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2659 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2661 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2663 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2665 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2666 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2668 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2669 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2673 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2674 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2675 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2677 2014-03-31 Will Newton <will.newton@linaro.org>
2679 * benchtests/Makefile (bench): Add ffs and ffsll to list
2681 * benchtests/ffs-inputs: New file.
2682 * benchtests/ffsll-inputs: Likewise.
2684 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2687 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2688 too large before casting to int.
2689 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2690 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2691 * math/libm-test.inc (scalb_test_data): Add more tests.
2693 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2695 * benchtests/Makefile (DETAILED_OPT): New make option.
2696 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2698 * benchtests/bench-skeleton.c: Include stdbool.h.
2699 (main): Store and print timings per input.
2700 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2701 member to each argument value.
2702 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2703 (_print_arg_data): Initialize per-input timing to 0.
2705 * benchtests/Makefile (timing-type): New binary.
2706 (bench-clean): Also remove bench-timing-type.
2707 (bench): New target for timing-type.
2708 (bench-func): Print output in JSON format.
2709 * benchtests/bench-skeleton.c (main): Print output in JSON
2711 * benchtests/bench-timing-type.c: New file.
2712 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2713 (TIMING_PRINT_STATS): Remove.
2714 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2717 * benchtests/bench-modf.c: Remove.
2718 * benchtests/modf-inputs: New inputs file.
2720 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2723 * math/s_clog10.c (M_PI_LOG10E): New macro.
2724 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2725 imaginary parts are 0.
2726 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2727 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2728 imaginary parts are 0.
2729 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2730 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2731 imaginary parts are 0.
2732 * math/libm-test.inc (clog10_test_data): Update expected results
2733 for when real and imaginary parts are 0.
2735 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2737 * elf/dl-load.c: Finish conversion of __builtin_expect into
2740 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2743 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2744 1+x for argument with exponent below -67.
2745 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2747 * math/auto-libm-test-in: Add more tests of exp.
2748 * math/auto-libm-test-out: Regenerated.
2750 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2753 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2754 (nscd_getnetgrent): Use it.
2757 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2760 2014-03-27 Andi Kleen <ak@linux.intel.com>
2762 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2763 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2764 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2765 (lll_robust_unlock): Remove out of line section. Use cfi
2767 (LLL_STUB_UNWIND_INFO*): Remove.
2768 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2769 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2770 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2771 (lll_robust_unlock): Remove out of line section. Use cfi
2773 (LLL_STUB_UNWIND_INFO*): Remove.
2775 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2778 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2781 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2783 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2785 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2788 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2790 * math/test-fenv-preserve.c: New file.
2791 * math/Makefile (tests): Add test-fenv-preserve.
2793 2014-03-26 Will Newton <will.newton@linaro.org>
2795 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2797 2014-03-25 Roland McGrath <roland@hack.frob.com>
2799 * scripts/versionlist.awk: Partition the version sets and emit all
2800 GLIBC_* (sorted) before all others (sorted).
2802 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2804 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2805 GLIBC_2.2.5 version.
2807 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2809 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2812 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2817 2014-03-25 Andreas Schwab <schwab@suse.de>
2819 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2820 label to be used after in6ailist is initialized.
2822 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2825 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2827 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2831 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2833 (fp_formats): Update initializers.
2834 (init_fp_formats): Initialize new field.
2835 (output_for_one_input_case): Allow underflow for results up to
2837 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2838 * math/auto-libm-test-in: Don't mark some underflows from asin and
2840 * math/auto-libm-test-out: Regenerated.
2841 * sysdeps/i386/fpu/libm-test-ulps: Update.
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2844 2014-03-25 Andreas Schwab <schwab@suse.de>
2846 * libio/Makefile (tst-ftell-partial-wide-ENV)
2847 (tst-ftell-active-handler-ENV): Define.
2849 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2851 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2853 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2855 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2857 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2859 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2860 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2861 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2863 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2866 * elf/dl-load.c (open_verify): Add mode parameter.
2867 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2868 (open_path): Change from boolean 'secure' to complete flag 'mode'
2869 (_dl_map_object): Adjust.
2870 * elf/Makefile (tests): Add tst-dlopen-aout.
2871 * elf/tst-dlopen-aout.c: New test.
2873 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2876 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2877 (struct stat): Rename member pad0 to __glibc_reserved0.
2880 * sysdeps/s390/s390-32/bits/wordsize.h
2881 (__WORDSIZE32_SIZE_ULONG): New define.
2882 * sysdeps/s390/s390-64/bits/wordsize.h
2883 (__WORDSIZE32_SIZE_ULONG): Likewise.
2884 * sysdeps/generic/stdint.h (SIZE_MAX):
2885 Define as UL if __WORDSIZE32_SIZE_ULONG.
2888 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2889 (__glibc_reserved0): New variable.
2890 (sa_flags): Change type to int.
2892 * posix/Makefile (before-compile): Use += before-compile instead
2895 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2896 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2898 2014-03-20 Andreas Schwab <schwab@suse.de>
2901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2902 non-matching result from nscd.
2904 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2906 * scripts/bench.py: Moved to ...
2907 * benchtests/scripts/bench.py: ... here.
2908 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2910 2014-03-24 Andreas Schwab <schwab@suse.de>
2913 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2914 alloca_account and account alloca use for struct in6ailist.
2916 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2919 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2920 rounding mode to recompute results that overflow to infinity or
2922 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2924 * math/auto-libm-test-out: Regenerated.
2925 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2926 (ccosh_test): Likewise.
2927 (csin_test_data): Use plus_oflow.
2928 (csin_test): Use ALL_RM_TEST.
2929 (csinh_test_data): Use plus_oflow.
2930 (csinh_test): Use ALL_RM_TEST.
2931 * sysdeps/i386/fpu/libm-test-ulps: Update.
2932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2934 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2936 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2937 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2938 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2941 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2943 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2944 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2945 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2946 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2948 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2949 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2951 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2952 * sysdeps/i386/fpu/libm-test-ulps: Update.
2953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2955 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2957 * scripts/bench.pl: Remove file.
2958 * scripts/bench.py: New benchmark script.
2959 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2960 * benchtests/README: Mention python dependency.
2961 * scripts/pylintrc: New file.
2962 * scripts/pylint: New file.
2964 * bits/mathdef.h: Use #ifdef instead of #if.
2965 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2966 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2967 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2968 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2969 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2970 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2972 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2975 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2977 and strpbrk-ppc64 objects.
2978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2979 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2980 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2981 multiarch strpbrk for POWER7.
2982 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2983 multiarch strpbrk for PPC64.
2984 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2986 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2989 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2991 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2992 (atan_test): Likewise.
2993 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2994 (atanh_test): Use ALL_RM_TEST.
2995 (atan2_test_data): Likewise.
2996 (cabs_test): Likewise.
2997 (cacosh_test): Likewise.
2998 (carg_test): Likewise.
2999 (casin_test): Likewise.
3000 (casinh_test): Likewise.
3001 (cbrt_test): Likewise.
3002 (csqrt_test): Likewise.
3003 (erf_test): Likewise.
3004 (erfc_test): Likewise.
3005 (pow10_test): Likewise.
3006 (exp2_test): Likewise.
3007 (hypot_test): Likewise.
3008 (j0_test): Likewise.
3009 (j1_test): Likewise.
3010 (lgamma_test): Likewise.
3011 (gamma_test): Likewise.
3012 (sincos_test): Likewise.
3013 (tanh_test): Likewise.
3014 (y0_test): Likewise.
3015 (y1_test): Likewise.
3016 * sysdeps/i386/fpu/libm-test-ulps: Update.
3017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3019 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3021 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3023 and strcspn-ppc64 objects.
3024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3025 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3026 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3027 multiarch strcspn for POWER7.
3028 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3029 multiarch strcspn for PPC64.
3030 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3032 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3035 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3037 * math/gen-libm-test.pl (generate_testfile): Expect only function
3038 name as argument to AUTO_TESTS_* and pass results for all rounding
3039 modes to parse_args.
3040 (parse_auto_input): Separate inputs of automatic tests from
3041 outputs before storing in %auto_tests.
3042 * math/libm-test.inc (acos_test_data): Update call to
3044 (acos_test): Use ALL_RM_TEST.
3045 (acos_tonearest_test_data): Remove.
3046 (acos_test_tonearest): Likewise.
3047 (acos_towardzero_test_data): Likewise.
3048 (acos_test_towardzero): Likewise.
3049 (acos_downward_test_data): Likewise.
3050 (acos_test_downward): Likewise.
3051 (acos_upward_test_data): Likewise.
3052 (acos_test_upward): Likewise.
3053 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3054 (asin_test_data): Likewise.
3055 (asin_test): Use ALL_RM_TEST.
3056 (asin_tonearest_test_data): Remove.
3057 (asin_test_tonearest): Likewise.
3058 (asin_towardzero_test_data): Likewise.
3059 (asin_test_towardzero): Likewise.
3060 (asin_downward_test_data): Likewise.
3061 (asin_test_downward): Likewise.
3062 (asin_upward_test_data): Likewise.
3063 (asin_test_upward): Likewise.
3064 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3065 (atan_test_data): Likewise.
3066 (atanh_test_data): Likewise.
3067 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3068 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3069 (carg_test_data): Likewise.
3070 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3071 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3072 (ccosh_test_data): Likewise.
3073 (cexp_test_data): Likewise.
3074 (clog_test_data): Likewise.
3075 (clog10_test_data): Likewise.
3076 (cos_test_data): Update call to AUTO_TESTS_f_f.
3077 (cos_test): Use ALL_RM_TEST.
3078 (cos_tonearest_test_data): Remove.
3079 (cos_test_tonearest): Likewise.
3080 (cos_towardzero_test_data): Likewise.
3081 (cos_test_towardzero): Likewise.
3082 (cos_downward_test_data): Likewise.
3083 (cos_test_downward): Likewise.
3084 (cos_upward_test_data): Likewise.
3085 (cos_test_upward): Likewise.
3086 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3087 (cosh_test): Use ALL_RM_TEST.
3088 (cosh_tonearest_test_data): Remove.
3089 (cosh_test_tonearest): Likewise.
3090 (cosh_towardzero_test_data): Likewise.
3091 (cosh_test_towardzero): Likewise.
3092 (cosh_downward_test_data): Likewise.
3093 (cosh_test_downward): Likewise.
3094 (cosh_upward_test_data): Likewise.
3095 (cosh_test_upward): Likewise.
3096 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3097 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3098 (ctan_test_data): Likewise.
3099 (ctan_test): Use ALL_RM_TEST.
3100 (ctan_tonearest_test_data): Remove.
3101 (ctan_test_tonearest): Likewise.
3102 (ctan_towardzero_test_data): Likewise.
3103 (ctan_test_towardzero): Likewise.
3104 (ctan_downward_test_data): Likewise.
3105 (ctan_test_downward): Likewise.
3106 (ctan_upward_test_data): Likewise.
3107 (ctan_test_upward): Likewise.
3108 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3109 (ctanh_test): Use ALL_RM_TEST.
3110 (ctanh_tonearest_test_data): Remove.
3111 (ctanh_test_tonearest): Likewise.
3112 (ctanh_towardzero_test_data): Likewise.
3113 (ctanh_test_towardzero): Likewise.
3114 (ctanh_downward_test_data): Likewise.
3115 (ctanh_test_downward): Likewise.
3116 (ctanh_upward_test_data): Likewise.
3117 (ctanh_test_upward): Likewise.
3118 (erf_test_data): Update call to AUTO_TESTS_f_f.
3119 (erfc_test_data): Likewise.
3120 (exp_test_data): Likewise.
3121 (exp_test): Use ALL_RM_TEST.
3122 (exp_tonearest_test_data): Remove.
3123 (exp_test_tonearest): Likewise.
3124 (exp_towardzero_test_data): Likewise.
3125 (exp_test_towardzero): Likewise.
3126 (exp_downward_test_data): Likewise.
3127 (exp_test_downward): Likewise.
3128 (exp_upward_test_data): Likewise.
3129 (exp_test_upward): Likewise.
3130 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3131 (exp10_test): Use ALL_RM_TEST.
3132 (exp10_tonearest_test_data): Remove.
3133 (exp10_test_tonearest): Likewise.
3134 (exp10_towardzero_test_data): Likewise.
3135 (exp10_test_towardzero): Likewise.
3136 (exp10_downward_test_data): Likewise.
3137 (exp10_test_downward): Likewise.
3138 (exp10_upward_test_data): Likewise.
3139 (exp10_test_upward): Likewise.
3140 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3141 (expm1_test_data): Likewise.
3142 (expm1_test): Use ALL_RM_TEST.
3143 (expm1_tonearest_test_data): Remove.
3144 (expm1_test_tonearest): Likewise.
3145 (expm1_towardzero_test_data): Likewise.
3146 (expm1_test_towardzero): Likewise.
3147 (expm1_downward_test_data): Likewise.
3148 (expm1_test_downward): Likewise.
3149 (expm1_upward_test_data): Likewise.
3150 (expm1_test_upward): Likewise.
3151 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3152 (fma_test): Use ALL_RM_TEST.
3153 (fma_towardzero_test_data): Remove.
3154 (fma_test_towardzero): Likewise.
3155 (fma_downward_test_data): Likewise.
3156 (fma_test_downward): Likewise.
3157 (fma_upward_test_data): Likewise.
3158 (fma_test_upward): Likewise.
3159 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3160 (j0_test_data): Update call to AUTO_TESTS_f_f.
3161 (j1_test_data): Likewise.
3162 (jn_test_data): Update call to AUTO_TESTS_if_f.
3163 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3164 (log_test_data): Update call to AUTO_TESTS_f_f.
3165 (log10_test_data): Likewise.
3166 (log1p_test_data): Likewise.
3167 (log2_test_data): Likewise.
3168 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3169 (pow_tonearest_test_data): Likewise.
3170 (sin_test_data): Update call to AUTO_TESTS_f_f.
3171 (sin_test): Use ALL_RM_TEST.
3172 (sin_tonearest_test_data): Remove.
3173 (sin_test_tonearest): Likewise.
3174 (sin_towardzero_test_data): Likewise.
3175 (sin_test_towardzero): Likewise.
3176 (sin_downward_test_data): Likewise.
3177 (sin_test_downward): Likewise.
3178 (sin_upward_test_data): Likewise.
3179 (sin_test_upward): Likewise.
3180 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3181 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3182 (sinh_test): Use ALL_RM_TEST.
3183 (sinh_tonearest_test_data): Remove.
3184 (sinh_test_tonearest): Likewise.
3185 (sinh_towardzero_test_data): Likewise.
3186 (sinh_test_towardzero): Likewise.
3187 (sinh_downward_test_data): Likewise.
3188 (sinh_test_downward): Likewise.
3189 (sinh_upward_test_data): Likewise.
3190 (sinh_test_upward): Likewise.
3191 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3192 (sqrt_test): Use ALL_RM_TEST.
3193 (sqrt_tonearest_test_data): Remove.
3194 (sqrt_test_tonearest): Likewise.
3195 (sqrt_towardzero_test_data): Likewise.
3196 (sqrt_test_towardzero): Likewise.
3197 (sqrt_downward_test_data): Likewise.
3198 (sqrt_test_downward): Likewise.
3199 (sqrt_upward_test_data): Likewise.
3200 (sqrt_test_upward): Likewise.
3201 (tan_test_data): Update call to AUTO_TESTS_f_f.
3202 (tan_test): Use ALL_RM_TEST.
3203 (tan_tonearest_test_data): Remove.
3204 (tan_test_tonearest): Likewise.
3205 (tan_towardzero_test_data): Likewise.
3206 (tan_test_towardzero): Likewise.
3207 (tan_downward_test_data): Likewise.
3208 (tan_test_downward): Likewise.
3209 (tan_upward_test_data): Likewise.
3210 (tan_test_upward): Likewise.
3211 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3212 (tgamma_test_data): Likewise.
3213 (y0_test_data): Likewise.
3214 (y1_test_data): Likewise.
3215 (yn_test_data): Update call to AUTO_TESTS_if_f.
3216 (main): Do not call removed functions.
3218 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3220 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3221 (ldexp_test_data): Remove.
3222 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3224 (scalb_test): Use ALL_RM_TEST.
3226 2014-03-19 Andreas Schwab <schwab@suse.de>
3228 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3230 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3234 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3235 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3237 (__ASSUME_PREADV): Undefine.
3238 (__ASSUME_PWRITEV): Likewise.
3240 2014-03-18 Roland McGrath <roland@hack.frob.com>
3242 * bits/mman-linux.h: Add comment about non-Linux use.
3243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3244 bits/mman-linux.h resting place.
3246 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3247 * bits/mman-linux.h: ... here.
3249 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3251 * conform/conformtest.pl: Add standard definition when calling C
3252 preprocessor on data files.
3253 (checknamespace): Remove unused variable.
3255 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3257 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3258 minus_oflow, plus_uflow and minus_uflow in expected results.
3259 * math/libm-test.inc (scalbn_test_data): Add more tests of
3260 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3262 (scalbn_test): Use ALL_RM_TEST.
3263 (scalbln_test_data): Add more tests of negative arguments. Use
3264 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3265 (scalbln_test): Use ALL_RM_TEST.
3267 2014-03-18 Roland McGrath <roland@hack.frob.com>
3269 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3271 2014-03-18 Will Newton <will.newton@linaro.org>
3273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3276 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3278 * Makerules [!subdir] (check-abi): Exit with error status if a
3281 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3283 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3284 for rint. Include results for all rounding modes.
3285 (nearbyint_test): Use ALL_RM_TEST.
3286 (rint_test_data): Include all tests used for nearbyint.
3288 2014-03-17 Will Newton <will.newton@linaro.org>
3290 * nptl/sysdeps/pthread/pthread.h: Revert previous
3293 * sysdeps/generic/ldsodefs.h: Revert previous
3296 * libio/genops.c: Revert previous change.
3297 * libio/libioP.h: Likewise.
3298 * stdio-common/vfprintf.c: Likewise.
3300 * sysdeps/generic/math_private.h: Revert previous
3303 * sysdeps/generic/math_private.h: Check whether
3304 HAVE_RM_CTX is defined with #ifdef rather
3307 * argp/argp-fmtstream.h: Check whether
3308 __STRICT_ANSI__ is defined with #ifdef rather
3310 * argp/argp.h: Likewise.
3312 * libio/genops.c: Check whether
3313 _IO_JUMPS_OFFSET is defined with #ifdef rather
3315 * libio/libioP.h: Likewise.
3316 * stdio-common/vfprintf.c: Likewise.
3318 * sysdeps/generic/ldsodefs.h: Check whether
3319 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3322 * nptl/sysdeps/pthread/pthread.h: Check
3323 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3326 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3328 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3330 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3334 * libio/fileops.c (_IO_file_open): Seek to end of file but
3335 don't cache the offset.
3336 (get_file_offset): Remove function.
3337 (do_ftell): Use cached offset when available.
3338 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3339 don't cache the offset.
3340 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3342 (do_one_test): Call it.
3343 (do_ftell_test): Fix up expected old offset for a+ mode.
3344 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3347 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3348 up test status with function return status.
3349 (do_write_test): Likewise.
3350 (do_append_test): Likewise.
3352 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3353 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3356 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3358 * math/gen-libm-test.pl (parse_args): Handle results specified for
3359 each rounding mode separately.
3360 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3361 tests and results from lrint_tonearest_test_data,
3362 lrint_towardzero_test_data, lrint_downward_test_data and
3363 lrint_upward_test_data.
3364 (lrint_test): Use ALL_RM_TEST.
3365 (lrint_tonearest_test_data): Remove.
3366 (lrint_test_tonearest): Likewise.
3367 (lrint_towardzero_test_data): Likewise.
3368 (lrint_test_towardzero): Likewise.
3369 (lrint_downward_test_data): Likewise.
3370 (lrint_test_downward): Likewise.
3371 (lrint_upward_test_data): Likewise.
3372 (lrint_test_upward): Likewise.
3373 (llrint_test_data): Merge in per-rounding-mode tests and results
3374 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3375 llrint_downward_test_data and llrint_upward_test_data.
3376 (llrint_test): Use ALL_RM_TEST.
3377 (llrint_tonearest_test_data): Remove.
3378 (llrint_test_tonearest): Likewise.
3379 (llrint_towardzero_test_data): Likewise.
3380 (llrint_test_towardzero): Likewise.
3381 (llrint_downward_test_data): Likewise.
3382 (llrint_test_downward): Likewise.
3383 (llrint_upward_test_data): Likewise.
3384 (llrint_test_upward): Likewise.
3385 (rint_test_data): Merge in per-rounding-mode tests and results
3386 from rint_tonearest_test_data, rint_towardzero_test_data,
3387 rint_downward_test_data and rint_upward_test_data. Add
3388 per-rounding-mode results for tests not in those arrays.
3389 (rint_test): Use ALL_RM_TEST.
3390 (rint_tonearest_test_data): Remove.
3391 (rint_test_tonearest): Likewise.
3392 (rint_towardzero_test_data): Likewise.
3393 (rint_test_towardzero): Likewise.
3394 (rint_downward_test_data): Likewise.
3395 (rint_test_downward): Likewise.
3396 (rint_upward_test_data): Likewise.
3397 (rint_test_upward): Likewise.
3398 (main): Don't call removed functions.
3400 2014-03-14 Roland McGrath <roland@hack.frob.com>
3402 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3403 "Compiled on ..." crapola. It is anti-useful.
3405 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3407 * scripts/evaluate-test.sh: Handle fourth argument to determine
3408 whether test run should stop on failure.
3409 * Makeconfig (stop-on-test-failure): New variable.
3410 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3411 $(stop-on-test-failure).
3412 * Makefile (tests): Give a summary of results from testing and
3413 exit with failure status if they include an ERROR or FAIL.
3415 * manual/install.texi (Configuring and compiling): Mention
3416 stop-on-test-failure=y.
3417 * INSTALL: Regenerated.
3419 2014-03-14 Roland McGrath <roland@hack.frob.com>
3421 * scripts/versionlist.awk: New file.
3422 * Makerules [$(build-shared) = yes]
3423 (postclean-generated): Add Versions.def, not Versions.def.v and
3425 ($(common-objpfx)Versions.def.v.i): Target removed.
3426 ($(common-objpfx)Versions.def): New target.
3427 ($(common-objpfx)Versions.all): Depend on that rather that
3428 $(common-objpfx)Versions.def.v.
3429 * Versions.def: File removed.
3431 * Makeconfig (+gccwarn): Add -Wundef.
3432 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3433 a dl-sysdep.h breaking its contract.
3434 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3435 * include/stackinfo.h: New file.
3436 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3437 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3438 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3439 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3440 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3441 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3442 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3443 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3444 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3445 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3446 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3447 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3448 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3449 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3450 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3452 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3455 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3457 * math/libm-test.inc (round_test_data): Add more tests.
3460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3462 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3465 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3467 * math/libm-test.inc (ceil_test_data): Add more tests.
3469 * math/libm-test.inc (trunc_test_data): Add more tests related to
3472 2014-03-14 Roland McGrath <roland@hack.frob.com>
3474 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3475 with #if rather than #ifdef.
3476 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3478 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3480 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3481 first. Disable AVX-512 GCC support if assembler doesn't support
3483 * sysdeps/x86_64/configure: Regenerated.
3485 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3487 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3488 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3489 (__old_pthread_attr_setstack): Likewise.
3490 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3491 [!_STACK_GROWS_DOWN]: Likewise.
3493 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3495 * config.make.in (have-bash2): Delete.
3496 * configure.ac (libc_cv_have_bash2): Delete.
3497 * configure: Regenerate.
3498 * elf/Makefile (common-ldd-rewrite): Rename to ...
3499 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3500 (sh-ldd-rewrite): Delete.
3501 (bash-ldd-rewrite): Delete.
3502 (have-bash2): Delete checks.
3503 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3506 * config.make.in (have-ksh): Delete.
3508 * configure.ac (libc_cv_have_ksh): Delete.
3509 * configure: Regenerate.
3511 * elf/Makefile: Delete $(have-ksh) check.
3512 ($(objpfx)sotruss): Change KSH to BASH.
3513 * elf/sotruss.ksh: Rename to ...
3514 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3515 function style to match POSIX. Drop ksh vim mode setting.
3517 * manual/time.texi (Specifying the Time Zone with TZ): Change
3518 Tuesday to Thursday.
3520 * debug/tst-longjmp_chk2.c: Update header comment.
3521 (stackoverflow_handler): Add comment. Call assert on pass value.
3523 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3525 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3526 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3527 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3528 (La_x86_64_vector): Add zmm.
3529 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3530 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3531 ($(objpfx)tst-audit10): New target.
3532 ($(objpfx)tst-audit10.out): Likewise.
3533 (tst-audit10-ENV): New.
3534 (AVX512-CFLAGS): Likewise.
3535 (CFLAGS-tst-audit10.c): Likewise.
3536 (CFLAGS-tst-auditmod10a.c): Likewise.
3537 (CFLAGS-tst-auditmod10b.c): Likewise.
3538 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3539 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3540 * sysdeps/x86_64/configure: Regenerated.
3541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3542 AVX-512 zmm register support.
3543 (_dl_x86_64_save_sse): Likewise.
3544 (_dl_x86_64_restore_sse): Likewise.
3545 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3546 size vector registers.
3547 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3548 (ZMM_SIZE): Likewise.
3549 * sysdeps/x86_64/tst-audit10.c: New file.
3550 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3551 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3553 2014-03-13 Roland McGrath <roland@hack.frob.com>
3555 * configure.ac (HAVE_EHDR_START): New check.
3556 * configure: Regenerated.
3557 * config.h.in (HAVE_EHDR_START): New #undef.
3558 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3559 assuming the lowest-addressed segment maps the start of the file.
3561 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3563 * INSTALL: Regenerated.
3565 2014-03-13 Will Newton <will.newton@linaro.org>
3567 * manual/setjmp.texi (System V contexts): Improve
3568 clarity and grammar of documentation.
3570 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3573 * elf/Makefile (tests): Add tst-pie2.
3574 (tests-pie): Add tst-pie2.
3575 * elf/tst-pie2.c: New file.
3576 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3578 * elf/rtld.c (map_doit): Load executable as lt_executable.
3579 (dl_main): Likewise.
3581 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3584 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3585 (__ASSUME_PSELECT): Undefine.
3587 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3591 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3593 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3594 selector for static builds.
3596 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3599 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3602 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3604 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3605 IFUNC selector for static builds.
3607 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3609 * sysdeps/mips/math_private.h [__mips_hard_float]
3610 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3611 libc_feresetround_mips_ctx.
3612 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3613 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3614 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3617 * math/s_nextafter.c (__nextafter): Do not return value from
3618 overflowing computation.
3619 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3620 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3621 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3623 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3625 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3626 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3628 2014-03-11 Roland McGrath <roland@hack.frob.com>
3630 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3631 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3632 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3633 the new mov targetting sp.
3635 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3639 Define it for static builds as well.
3640 (NO_BZERO_IMPL): Likewise.
3642 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3644 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3645 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3646 multiarch strspn for PPC64.
3647 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3648 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3650 (__libc_ifunc_impl_list): Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3652 multiarch optimizations
3653 * string/strspn.c (strspn): Using macro to redefine symbol name.
3655 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3656 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3658 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3659 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3660 multiarch strncat for PPC64.
3661 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3662 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3664 (__libc_ifunc_impl_list): Likewise.
3665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3666 multiarch optimizations
3668 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3671 * nscd/nscd.service: Make service type forking.
3673 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3676 sign in non default rounding modes.
3677 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3679 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3681 * math/libm-test.inc (ALL_RM_TEST): New macro.
3682 (ceil_test): Use ALL_RM_TEST.
3683 (cimag_test): Likewise.
3684 (conj_test): Likewise.
3685 (copysign_test): Likewise.
3686 (cproj_test): Likewise.
3687 (creal_test): Likewise.
3688 (fabs_test): Likewise.
3689 (floor_test): Likewise.
3690 (fmax_test): Likewise.
3691 (fmin_test): Likewise.
3692 (fmod_test): Likewise.
3693 (fpclassify_test): Likewise.
3694 (frexp_test): Likewise.
3695 (ilogb_test): Likewise.
3696 (isfinite_test): Likewise.
3697 (finite_test): Likewise.
3698 (isgreater_test): Likewise.
3699 (isgreaterequal_test): Likewise.
3700 (isinf_test): Likewise.
3701 (isless_test): Likewise.
3702 (islessequal_test): Likewise.
3703 (islessgreater_test): Likewise.
3704 (isnan_test): Likewise.
3705 (isnormal_test): Likewise.
3706 (issignaling_test): Likewise.
3707 (isunordered_test): Likewise.
3708 (logb_test): Likewise.
3709 (logb_downward_test_data): Remove.
3710 (logb_test_downward): Likewise.
3711 (lround_test): Use ALL_RM_TEST.
3712 (llround_test): Likewise.
3713 (modf_test): Likewise.
3714 (nexttoward_test): Likewise.
3715 (remainder_test): Likewise.
3716 (drem_test): Likewise.
3717 (remainder_tonearest_test_data): Likewise.
3718 (remainder_test_tonearest): Likewise.
3719 (drem_test_tonearest): Likewise.
3720 (remainder_towardzero_test_data): Likewise.
3721 (remainder_test_towardzero): Likewise.
3722 (drem_test_towardzero): Likewise.
3723 (remainder_downward_test_data): Likewise.
3724 (remainder_test_downward): Likewise.
3725 (drem_test_downward): Likewise.
3726 (remainder_upward_test_data): Likewise.
3727 (remainder_test_upward): Likewise.
3728 (drem_test_upward): Likewise.
3729 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3730 (round_test): Use ALL_RM_TEST.
3731 (signbit_test): Likewise.
3732 (trunc_test): Likewise.
3733 (significand_test): Likewise.
3734 (main): Don't call removed functions.
3736 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3739 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3741 (ILL_ILLOPN): Likewise.
3742 (ILL_ILLADR): Likewise.
3743 (ILL_ILLTRP): Likewise.
3744 (ILL_PRVOPC): Likewise.
3745 (ILL_PRVREG): Likewise.
3746 (ILL_COPROC): Likewise.
3747 (ILL_BADSTK): Likewise.
3748 (FPE_INTDIV): Likewise.
3749 (FPE_INTOVF): Likewise.
3750 (FPE_FLTDIV): Likewise.
3751 (FPE_FLTOVF): Likewise.
3752 (FPE_FLTUND): Likewise.
3753 (FPE_FLTRES): Likewise.
3754 (FPE_FLTINV): Likewise.
3755 (FPE_FLTSUB): Likewise.
3756 (SEGV_MAPERR): Likewise.
3757 (SEGV_ACCERR): Likewise.
3758 (BUS_ADRALN): Likewise.
3759 (BUS_ADRERR): Likewise.
3760 (BUS_OBJERR): Likewise.
3761 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3762 (TRAP_TRACE): Likewise.
3763 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3765 (CLD_KILLED): Likewise.
3766 (CLD_DUMPED): Likewise.
3767 (CLD_TRAPPED): Likewise.
3768 (CLD_STOPPED): Likewise.
3769 (CLD_CONTINUED): Likewise.
3770 (POLL_IN): Likewise.
3771 (POLL_OUT): Likewise.
3772 (POLL_MSG): Likewise.
3773 (POLL_ERR): Likewise.
3774 (POLL_PRI): Likewise.
3775 (POLL_HUP): Likewise.
3776 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3778 (ILL_ILLOPN): Likewise.
3779 (ILL_ILLADR): Likewise.
3780 (ILL_ILLTRP): Likewise.
3781 (ILL_PRVOPC): Likewise.
3782 (ILL_PRVREG): Likewise.
3783 (ILL_COPROC): Likewise.
3784 (ILL_BADSTK): Likewise.
3785 (FPE_INTDIV): Likewise.
3786 (FPE_INTOVF): Likewise.
3787 (FPE_FLTDIV): Likewise.
3788 (FPE_FLTOVF): Likewise.
3789 (FPE_FLTUND): Likewise.
3790 (FPE_FLTRES): Likewise.
3791 (FPE_FLTINV): Likewise.
3792 (FPE_FLTSUB): Likewise.
3793 (SEGV_MAPERR): Likewise.
3794 (SEGV_ACCERR): Likewise.
3795 (BUS_ADRALN): Likewise.
3796 (BUS_ADRERR): Likewise.
3797 (BUS_OBJERR): Likewise.
3798 (BUS_MCEERR_AR): Likewise.
3799 (BUS_MCEERR_AO): Likewise.
3800 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3801 (TRAP_TRACE): Likewise.
3802 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3804 (CLD_KILLED): Likewise.
3805 (CLD_DUMPED): Likewise.
3806 (CLD_TRAPPED): Likewise.
3807 (CLD_STOPPED): Likewise.
3808 (CLD_CONTINUED): Likewise.
3809 (POLL_IN): Likewise.
3810 (POLL_OUT): Likewise.
3811 (POLL_MSG): Likewise.
3812 (POLL_ERR): Likewise.
3813 (POLL_PRI): Likewise.
3814 (POLL_HUP): Likewise.
3815 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3816 (ILL_ILLOPN): Likewise.
3817 (ILL_ILLADR): Likewise.
3818 (ILL_ILLTRP): Likewise.
3819 (ILL_PRVOPC): Likewise.
3820 (ILL_PRVREG): Likewise.
3821 (ILL_COPROC): Likewise.
3822 (ILL_BADSTK): Likewise.
3823 (FPE_INTDIV): Likewise.
3824 (FPE_INTOVF): Likewise.
3825 (FPE_FLTDIV): Likewise.
3826 (FPE_FLTOVF): Likewise.
3827 (FPE_FLTUND): Likewise.
3828 (FPE_FLTRES): Likewise.
3829 (FPE_FLTINV): Likewise.
3830 (FPE_FLTSUB): Likewise.
3831 (SEGV_MAPERR): Likewise.
3832 (SEGV_ACCERR): Likewise.
3833 (BUS_ADRALN): Likewise.
3834 (BUS_ADRERR): Likewise.
3835 (BUS_OBJERR): Likewise.
3836 (BUS_MCEERR_AR): Likewise.
3837 (BUS_MCEERR_AO): Likewise.
3838 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3839 (TRAP_TRACE): Likewise.
3840 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3842 (CLD_KILLED): Likewise.
3843 (CLD_DUMPED): Likewise.
3844 (CLD_TRAPPED): Likewise.
3845 (CLD_STOPPED): Likewise.
3846 (CLD_CONTINUED): Likewise.
3847 (POLL_IN): Likewise.
3848 (POLL_OUT): Likewise.
3849 (POLL_MSG): Likewise.
3850 (POLL_ERR): Likewise.
3851 (POLL_PRI): Likewise.
3852 (POLL_HUP): Likewise.
3853 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3855 (ILL_ILLOPN): Likewise.
3856 (ILL_ILLADR): Likewise.
3857 (ILL_ILLTRP): Likewise.
3858 (ILL_PRVOPC): Likewise.
3859 (ILL_PRVREG): Likewise.
3860 (ILL_COPROC): Likewise.
3861 (ILL_BADSTK): Likewise.
3862 (ILL_BADIADDR): Likewise.
3863 (ILL_BREAK): 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 (FPE_DECOVF): Likewise.
3873 (FPE_DECDIV): Likewise.
3874 (FPE_DECERR): Likewise.
3875 (FPE_INVASC): Likewise.
3876 (FPE_INVDEC): Likewise.
3877 (SEGV_MAPERR): Likewise.
3878 (SEGV_ACCERR): Likewise.
3879 (SEGV_PSTKOVF): Likewise.
3880 (BUS_ADRALN): Likewise.
3881 (BUS_ADRERR): Likewise.
3882 (BUS_OBJERR): Likewise.
3883 (BUS_MCEERR_AR): Likewise.
3884 (BUS_MCEERR_AO): Likewise.
3885 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3886 (TRAP_TRACE): Likewise.
3887 (TRAP_BRANCH): Likewise.
3888 (TRAP_HWBKPT): Likewise.
3889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3891 (CLD_KILLED): Likewise.
3892 (CLD_DUMPED): Likewise.
3893 (CLD_TRAPPED): Likewise.
3894 (CLD_STOPPED): Likewise.
3895 (CLD_CONTINUED): Likewise.
3896 (POLL_IN): Likewise.
3897 (POLL_OUT): Likewise.
3898 (POLL_MSG): Likewise.
3899 (POLL_ERR): Likewise.
3900 (POLL_PRI): Likewise.
3901 (POLL_HUP): Likewise.
3902 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3903 (ILL_ILLOPN): Likewise.
3904 (ILL_ILLADR): Likewise.
3905 (ILL_ILLTRP): Likewise.
3906 (ILL_PRVOPC): Likewise.
3907 (ILL_PRVREG): Likewise.
3908 (ILL_COPROC): Likewise.
3909 (ILL_BADSTK): Likewise.
3910 (FPE_INTDIV): Likewise.
3911 (FPE_INTOVF): Likewise.
3912 (FPE_FLTDIV): Likewise.
3913 (FPE_FLTOVF): Likewise.
3914 (FPE_FLTUND): Likewise.
3915 (FPE_FLTRES): Likewise.
3916 (FPE_FLTINV): Likewise.
3917 (FPE_FLTSUB): Likewise.
3918 (SEGV_MAPERR): Likewise.
3919 (SEGV_ACCERR): Likewise.
3920 (BUS_ADRALN): Likewise.
3921 (BUS_ADRERR): Likewise.
3922 (BUS_OBJERR): Likewise.
3923 (BUS_MCEERR_AR): Likewise.
3924 (BUS_MCEERR_AO): Likewise.
3925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3926 (TRAP_TRACE): Likewise.
3927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3929 (CLD_KILLED): Likewise.
3930 (CLD_DUMPED): Likewise.
3931 (CLD_TRAPPED): Likewise.
3932 (CLD_STOPPED): Likewise.
3933 (CLD_CONTINUED): Likewise.
3934 (POLL_IN): Likewise.
3935 (POLL_OUT): Likewise.
3936 (POLL_MSG): Likewise.
3937 (POLL_ERR): Likewise.
3938 (POLL_PRI): Likewise.
3939 (POLL_HUP): Likewise.
3940 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3941 (ILL_ILLOPN): Likewise.
3942 (ILL_ILLADR): Likewise.
3943 (ILL_ILLTRP): Likewise.
3944 (ILL_PRVOPC): Likewise.
3945 (ILL_PRVREG): Likewise.
3946 (ILL_COPROC): Likewise.
3947 (ILL_BADSTK): Likewise.
3948 (FPE_INTDIV): Likewise.
3949 (FPE_INTOVF): Likewise.
3950 (FPE_FLTDIV): Likewise.
3951 (FPE_FLTOVF): Likewise.
3952 (FPE_FLTUND): Likewise.
3953 (FPE_FLTRES): Likewise.
3954 (FPE_FLTINV): Likewise.
3955 (FPE_FLTSUB): Likewise.
3956 (SEGV_MAPERR): Likewise.
3957 (SEGV_ACCERR): Likewise.
3958 (BUS_ADRALN): Likewise.
3959 (BUS_ADRERR): Likewise.
3960 (BUS_OBJERR): Likewise.
3961 (BUS_MCEERR_AR): Likewise.
3962 (BUS_MCEERR_AO): Likewise.
3963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3964 (TRAP_TRACE): Likewise.
3965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3967 (CLD_KILLED): Likewise.
3968 (CLD_DUMPED): Likewise.
3969 (CLD_TRAPPED): Likewise.
3970 (CLD_STOPPED): Likewise.
3971 (CLD_CONTINUED): Likewise.
3972 (POLL_IN): Likewise.
3973 (POLL_OUT): Likewise.
3974 (POLL_MSG): Likewise.
3975 (POLL_ERR): Likewise.
3976 (POLL_PRI): Likewise.
3977 (POLL_HUP): Likewise.
3978 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3979 (ILL_ILLOPN): Likewise.
3980 (ILL_ILLADR): Likewise.
3981 (ILL_ILLTRP): Likewise.
3982 (ILL_PRVOPC): Likewise.
3983 (ILL_PRVREG): Likewise.
3984 (ILL_COPROC): Likewise.
3985 (ILL_BADSTK): Likewise.
3986 (FPE_INTDIV): Likewise.
3987 (FPE_INTOVF): Likewise.
3988 (FPE_FLTDIV): Likewise.
3989 (FPE_FLTOVF): Likewise.
3990 (FPE_FLTUND): Likewise.
3991 (FPE_FLTRES): Likewise.
3992 (FPE_FLTINV): Likewise.
3993 (FPE_FLTSUB): Likewise.
3994 (SEGV_MAPERR): Likewise.
3995 (SEGV_ACCERR): Likewise.
3996 (BUS_ADRALN): Likewise.
3997 (BUS_ADRERR): Likewise.
3998 (BUS_OBJERR): Likewise.
3999 (BUS_MCEERR_AR): Likewise.
4000 (BUS_MCEERR_AO): Likewise.
4001 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4002 (TRAP_TRACE): Likewise.
4003 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4005 (CLD_KILLED): Likewise.
4006 (CLD_DUMPED): Likewise.
4007 (CLD_TRAPPED): Likewise.
4008 (CLD_STOPPED): Likewise.
4009 (CLD_CONTINUED): Likewise.
4010 (POLL_IN): Likewise.
4011 (POLL_OUT): Likewise.
4012 (POLL_MSG): Likewise.
4013 (POLL_ERR): Likewise.
4014 (POLL_PRI): Likewise.
4015 (POLL_HUP): Likewise.
4016 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4017 (ILL_ILLOPN): Likewise.
4018 (ILL_ILLADR): Likewise.
4019 (ILL_ILLTRP): Likewise.
4020 (ILL_PRVOPC): Likewise.
4021 (ILL_PRVREG): Likewise.
4022 (ILL_COPROC): Likewise.
4023 (ILL_BADSTK): Likewise.
4024 (ILL_DBLFLT): Likewise.
4025 (ILL_HARDWALL): Likewise.
4026 (FPE_INTDIV): Likewise.
4027 (FPE_INTOVF): Likewise.
4028 (FPE_FLTDIV): Likewise.
4029 (FPE_FLTOVF): Likewise.
4030 (FPE_FLTUND): Likewise.
4031 (FPE_FLTRES): Likewise.
4032 (FPE_FLTINV): Likewise.
4033 (FPE_FLTSUB): Likewise.
4034 (SEGV_MAPERR): Likewise.
4035 (SEGV_ACCERR): Likewise.
4036 (BUS_ADRALN): Likewise.
4037 (BUS_ADRERR): Likewise.
4038 (BUS_OBJERR): Likewise.
4039 (BUS_MCEERR_AR): Likewise.
4040 (BUS_MCEERR_AO): Likewise.
4041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4042 (TRAP_TRACE): Likewise.
4043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4045 (CLD_KILLED): Likewise.
4046 (CLD_DUMPED): Likewise.
4047 (CLD_TRAPPED): Likewise.
4048 (CLD_STOPPED): Likewise.
4049 (CLD_CONTINUED): Likewise.
4050 (POLL_IN): Likewise.
4051 (POLL_OUT): Likewise.
4052 (POLL_MSG): Likewise.
4053 (POLL_ERR): Likewise.
4054 (POLL_PRI): Likewise.
4055 (POLL_HUP): Likewise.
4056 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4057 (ILL_ILLOPN): Likewise.
4058 (ILL_ILLADR): Likewise.
4059 (ILL_ILLTRP): Likewise.
4060 (ILL_PRVOPC): Likewise.
4061 (ILL_PRVREG): Likewise.
4062 (ILL_COPROC): Likewise.
4063 (ILL_BADSTK): Likewise.
4064 (FPE_INTDIV): Likewise.
4065 (FPE_INTOVF): Likewise.
4066 (FPE_FLTDIV): Likewise.
4067 (FPE_FLTOVF): Likewise.
4068 (FPE_FLTUND): Likewise.
4069 (FPE_FLTRES): Likewise.
4070 (FPE_FLTINV): Likewise.
4071 (FPE_FLTSUB): Likewise.
4072 (SEGV_MAPERR): Likewise.
4073 (SEGV_ACCERR): Likewise.
4074 (BUS_ADRALN): Likewise.
4075 (BUS_ADRERR): Likewise.
4076 (BUS_OBJERR): Likewise.
4077 (BUS_MCEERR_AR): Likewise.
4078 (BUS_MCEERR_AO): Likewise.
4079 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4080 (TRAP_TRACE): Likewise.
4081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4083 (CLD_KILLED): Likewise.
4084 (CLD_DUMPED): Likewise.
4085 (CLD_TRAPPED): Likewise.
4086 (CLD_STOPPED): Likewise.
4087 (CLD_CONTINUED): Likewise.
4088 (POLL_IN): Likewise.
4089 (POLL_OUT): Likewise.
4090 (POLL_MSG): Likewise.
4091 (POLL_ERR): Likewise.
4092 (POLL_PRI): Likewise.
4093 (POLL_HUP): Likewise.
4094 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4095 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4098 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4099 before #include of <time.h>.
4100 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4101 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4102 (test-xfail-UNIX98/sched.h/conform): Likewise.
4104 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4106 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4107 error absence of trapping exception support.
4108 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4110 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4112 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4113 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4114 * timezone/Makefile (testdata): Move definition above include of
4116 (test-zones): New variable.
4117 (tests-special): Add zone files.
4118 (build-testdata): Use $(evaluate-test).
4120 * elf/Makefile (tests-special): Rename tests to end with .out.
4121 ($(objpfx)noload-mem): Likewise.
4122 ($(objpfx)tst-leaks1-mem): Likewise.
4123 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4124 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4125 $(objpfx)test-iconvconfig.out.
4126 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4127 set -e inside subshell and redirect output to file.
4128 * iconvdata/Makefile (generated): Rename tests to end with .out.
4130 (tests-special): Rename tests to end with .out.
4131 ($(objpfx)mtrace-tst-loading): Likewise.
4132 * intl/Makefile (generated): Likewise.
4133 (tests-special): Likewise.
4134 ($(objpfx)mtrace-tst-gettext): Likewise.
4135 * misc/Makefile (generated): Likewise.
4136 (tests-special): Likewise.
4137 ($(objpfx)tst-error1-mem): Likewise.
4138 * nptl/Makefile (tests-special): Likewise.
4139 ($(objpfx)tst-stack3-mem): Likewise.
4140 (generated): Likewise.
4141 * posix/Makefile (generated): Likewise.
4142 (tests-special): Likewise.
4143 (xtests-special): Likewise.
4144 ($(objpfx)tst-fnmatch-mem): Likewise.
4145 ($(objpfx)bug-regex2-mem): Likewise.
4146 ($(objpfx)bug-regex14-mem): Likewise.
4147 ($(objpfx)bug-regex21-mem): Likewise.
4148 ($(objpfx)bug-regex31-mem): Likewise.
4149 ($(objpfx)tst-vfork3-mem): Likewise.
4150 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4151 ($(objpfx)tst-pcre-mem): Likewise.
4152 ($(objpfx)tst-boost-mem): Likewise.
4153 ($(objpfx)bug-ga2-mem): Likewise.
4154 ($(objpfx)bug-glob2-mem): Likewise.
4155 * resolv/Makefile (generate): Likewise.
4156 (tests-special): Likewise.
4157 (xtests-special): Likewise.
4158 (generated): Likewise.
4159 ($(objpfx)mtrace-tst-leaks): Likewise.
4160 ($(objpfx)mtrace-tst-leaks2): Likewise.
4162 * scripts/merge-test-results.sh: New file.
4163 * Makefile (tests-special-notdir): New variable.
4164 (tests): Run merge-test-results.sh.
4166 * Rules (tests-special-notdir): New variable.
4167 (xtests-special-notdir): Likewise.
4168 (tests): Run merge-test-results.sh
4171 * Makeconfig (test-xfail-name): New variable.
4172 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4173 compute variable name for expected failures.
4174 * conform/Makefile (conformtest-headers-data): New variable.
4175 (conformtest-standards): Likewise.
4176 (conformtest-headers-ISO): Likewise.
4177 (conformtest-headers-ISO99): Likewise.
4178 (conformtest-headers-ISO11): Likewise.
4179 (conformtest-headers-POSIX): Likewise.
4180 (conformtest-headers-XPG3): Likewise.
4181 (conformtest-headers-XPG4): Likewise.
4182 (conformtest-headers-UNIX98): Likewise.
4183 (conformtest-headers-XOPEN2K): Likewise.
4184 (conformtest-headers-POSIX2008): Likewise.
4185 (conformtest-headers-XOPEN2K8): Likewise.
4186 (conformtest-header-list-base): Likewise.
4187 (conformtest-header-list-tests): Likewise.
4188 (conformtest-header-base): Likewise.
4189 (conformtest-header-tests): Likewise.
4190 (tests-special): Add $(conformtest-header-list-tests). If
4191 [$(fast-check) && !$(cross-compiling)], add
4192 $(conformtest-header-tests) instead of
4193 $(objpfx)run-conformtest.out.
4194 (generated): Add $(conformtest-header-list-base). If
4195 [$(fast-check) && !$(cross-compiling)], add
4196 $(conformtest-header-base). Remove previous setting.
4197 ($(conformtest-header-list-tests)): New target.
4198 (test-xfail-run-conformtest): Remove variable.
4199 ($(objpfx)run-conformtest.out): Remove target.
4200 (test-xfail-ISO11/complex.h/conform): New variable.
4201 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4202 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4203 (test-xfail-XPG3/varargs.h/conform): Likewise.
4204 (test-xfail-XPG4/varargs.h/conform): Likewise.
4205 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4206 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4207 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4208 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4209 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4210 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4211 (test-xfail-XPG3/ftw.h/conform): Likewise.
4212 (test-xfail-XPG3/grp.h/conform): Likewise.
4213 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4214 (test-xfail-XPG3/limits.h/conform): Likewise.
4215 (test-xfail-XPG3/pwd.h/conform): Likewise.
4216 (test-xfail-XPG3/search.h/conform): Likewise.
4217 (test-xfail-XPG3/signal.h/conform): Likewise.
4218 (test-xfail-XPG3/stdio.h/conform): Likewise.
4219 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4220 (test-xfail-XPG3/string.h/conform): Likewise.
4221 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4222 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4223 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4224 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4225 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4226 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4227 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4228 (test-xfail-XPG3/termios.h/conform): Likewise.
4229 (test-xfail-XPG3/time.h/conform): Likewise.
4230 (test-xfail-XPG3/unistd.h/conform): Likewise.
4231 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4232 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4233 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4234 (test-xfail-XPG4/netdb.h/conform): Likewise.
4235 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4236 (test-xfail-XPG4/signal.h/conform): Likewise.
4237 (test-xfail-XPG4/stdio.h/conform): Likewise.
4238 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4239 (test-xfail-XPG4/stropts.h/conform): Likewise.
4240 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4241 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4242 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4243 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4244 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4245 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4246 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4247 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4248 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4249 (test-xfail-XPG4/termios.h/conform): Likewise.
4250 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4251 (test-xfail-XPG4/unistd.h/conform): Likewise.
4252 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4253 (test-xfail-POSIX/sched.h/conform): Likewise.
4254 (test-xfail-POSIX/signal.h/conform): Likewise.
4255 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4256 (test-xfail-POSIX/tar.h/conform): Likewise.
4257 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4258 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4259 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4260 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4261 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4262 (test-xfail-UNIX98/sched.h/conform): Likewise.
4263 (test-xfail-UNIX98/signal.h/conform): Likewise.
4264 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4265 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4266 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4267 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4268 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4269 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4270 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4271 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4272 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4273 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4274 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4275 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4276 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4277 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4278 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4279 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4280 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4281 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4282 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4283 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4284 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4285 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4286 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4287 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4288 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4289 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4290 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4291 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4292 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4293 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4294 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4295 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4296 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4297 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4298 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4299 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4300 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4301 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4302 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4303 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4304 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4305 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4306 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4307 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4308 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4309 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4310 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4311 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4312 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4313 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4314 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4315 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4316 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4317 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4318 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4319 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4320 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4321 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4322 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4323 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4324 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4325 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4326 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4327 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4328 (conformtest-cc-flags): Likewise.
4329 ($(conformtest-header-tests): New target.
4330 * conform/check-header-lists.sh: New file.
4331 * conform/run-conformtest.sh: Remove.
4333 * conform/conformtest.pl: Allow ' and \ in values given for
4335 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4337 [POSIX] (sys/types.h): Likewise.
4338 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4340 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4342 * conform/data/signal.h-data (SIGIO): Remove expectation.
4343 [XPG3] (SIGBUS): Do not expect.
4344 [POSIX || XPG3] (SIGPOLL): Likewise.
4345 [POSIX || XPG3] (SIGPROF): Likewise.
4346 [POSIX || XPG3] (SIGSYS): Likewise.
4347 [XPG3] (SIGTRAP): Likewise.
4348 [POSIX || XPG3] (SIGURG): Likewise.
4349 [POSIX || XPG3] (SIGVTALRM): Likewise.
4350 [POSIX || XPG3] (SIGXCPU): Likewise.
4351 [POSIX || XPG3] (SIGXFSZ): Likewise.
4352 [POSIX] (SA_SIGINFO): Expect.
4353 [XPG3] (siginfo_t): Do not expect type or contents.
4354 [POSIX] (si_pid): Do not expect element.
4355 [POSIX] (si_uid): Likewise.
4356 [POSIX] (si_addr): Likewise.
4357 [POSIX] (si_status): Likewise.
4358 [POSIX] (si_band): Likewise.
4359 [XPG4] (si_value): Likewise.
4360 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4361 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4362 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4363 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4364 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4365 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4366 [POSIX || XPG3] (ILL_COPROC): Likewise.
4367 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4368 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4369 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4370 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4371 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4372 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4373 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4374 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4375 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4376 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4377 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4378 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4379 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4380 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4381 [POSIX || XPG3] (CLD_EXITED): Likewise.
4382 [POSIX || XPG3] (CLD_KILLED): Likewise.
4383 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4384 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4385 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4386 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4387 [POSIX || XPG3] (POLL_IN): Likewise.
4388 [POSIX || XPG3] (POLL_OUT): Likewise.
4389 [POSIX || XPG3] (POLL_MSG): Likewise.
4390 [POSIX || XPG3] (POLL_ERR): Likewise.
4391 [POSIX || XPG3] (POLL_PRI): Likewise.
4392 [POSIX || XPG3] (POLL_HUP): Likewise.
4393 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4394 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4395 (SIG*): Do not allow.
4396 [XPG3] (si_*): Likewise.
4397 [XPG3] (SI_*): Likewise.
4398 [XPG3 || XPG4] (sigev_*): Likewise.
4399 [XPG3 || XPG4] (SIGEV_*): Likewise.
4400 [XPG3 || XPG4] (sival_*): Likewise.
4401 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4402 [POSIX || XPG3] (BUS_*): Likewise.
4403 [POSIX || XPG3] (CLD_*): Likewise.
4404 [POSIX || XPG3] (FPE_*): Likewise.
4405 [POSIX || XPG3] (ILL_*): Likewise.
4406 [POSIX || XPG3] (POLL_*): Likewise.
4407 [POSIX || XPG3] (SEGV_*): Likewise.
4408 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4409 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4410 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4411 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4412 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4413 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4414 Specify type and value.
4415 (TVERSLEN): Likewise.
4416 (REGTYPE): Likewise.
4417 (AREGTYPE): Likewise.
4418 (LNKTYPE): Likewise.
4419 (SYMTYPE): Likewise.
4420 (CHRTYPE): Likewise.
4421 (BLKTYPE): Likewise.
4422 (DIRTYPE): Likewise.
4423 (FIFOTYPE): Likewise.
4424 (CONTTYPE): Likewise.
4429 (TUWRITE): Likewise.
4432 (TGWRITE): Likewise.
4435 (TOWRITE): Likewise.
4437 [POSIX] (TSVTX): Expect constant.
4439 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4441 * Makefile (tests): Change dependencies to ....
4442 (tests-special): ... additions to this variable.
4443 (tests): Depend on $(tests-special).
4444 * Makerules (check-abi-list): New variable.
4445 (check-abi): Depend on $(check-abi-list).
4446 [$(subdir) = elf] (tests-special): Add
4447 $(objpfx)check-abi-libc.out.
4448 [$(build-shared) = yes && subdir] (tests-special): Add
4450 [$(build-shared) = yes && subdir] (tests): Do not depend on
4452 * Rules (tests): Depend on $(tests-special).
4453 (xtests): Depend on $(xtests-special).
4454 * catgets/Makefile (tests): Change dependencies to ....
4455 (tests-special): ... additions to this variable.
4456 * conform/Makefile (tests): Change dependencies to ....
4457 (tests-special): ... additions to this variable.
4458 * elf/Makefile (tests): Change dependencies to ....
4459 (tests-special): ... additions to this variable.
4460 * grp/Makefile (tests): Change dependencies to ....
4461 (tests-special): ... additions to this variable.
4462 * iconv/Makefile (xtests): Change dependencies to ....
4463 (xtests-special): ... additions to this variable.
4464 * iconvdata/Makefile (tests): Change dependencies to ....
4465 (tests-special): ... additions to this variable.
4466 * intl/Makefile (tests): Change dependencies to ....
4467 (tests-special): ... additions to this variable. Also add
4468 $(objpfx)tst-gettext.out.
4469 * io/Makefile (tests): Change dependencies to ....
4470 (tests-special): ... additions to this variable.
4471 * libio/Makefile (tests): Change dependencies to ....
4472 (tests-special): ... additions to this variable.
4473 * malloc/Makefile (tests): Change dependencies to ....
4474 (tests-special): ... additions to this variable.
4475 * misc/Makefile (tests): Change dependencies to ....
4476 (tests-special): ... additions to this variable.
4477 * nptl/Makefile (tests): Change dependencies to ....
4478 (tests-special): ... additions to this variable.
4479 * nptl_db/Makefile (tests): Change dependencies to ....
4480 (tests-special): ... additions to this variable.
4481 * posix/Makefile (tests): Change dependencies to ....
4482 (tests-special): ... additions to this variable.
4483 (xtests): Change dependencies to ....
4484 (xtests-special): ... additions to this variable.
4485 * resolv/Makefile (tests): Change dependencies to ....
4486 (tests-special): ... additions to this variable.
4487 (xtests): Change dependencies to ....
4488 (xtests-special): ... additions to this variable.
4489 * stdio-common/Makefile (tests): Change dependencies to ....
4490 (tests-special): ... additions to this variable.
4491 (do-tst-unbputc): Remove target.
4492 (do-tst-printf): Likewise.
4493 * stdlib/Makefile (tests): Change dependencies to ....
4494 (tests-special): ... additions to this variable.
4495 * string/Makefile (tests): Change dependencies to ....
4496 (tests-special): ... additions to this variable.
4497 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4498 (tests-special): ... additions to this variable.
4500 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4502 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4504 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4505 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4507 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4508 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4509 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4510 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4511 * conform/data/libgen.h-data [XPG3]: Likewise.
4512 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4513 * conform/data/ndbm.h-data [XPG3]: Likewise.
4514 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4515 * conform/data/netdb.h-data [XPG3]: Likewise.
4516 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4517 * conform/data/poll.h-data [XPG3]: Likewise.
4518 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4519 * conform/data/strings.h-data [XPG3]: Likewise.
4520 * conform/data/stropts.h-data [XPG3]: Likewise.
4521 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4522 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4523 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4525 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4526 * conform/data/sys/time.h-data [XPG3]: Likewise.
4527 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4528 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4529 * conform/data/sys/un.h-data [XPG3]: Likewise.
4530 * conform/data/syslog.h-data [XPG3]: Likewise.
4531 * conform/data/ucontext.h-data [XPG3]: Likewise.
4532 * conform/data/utmpx.h-data [XPG3]: Likewise.
4533 * conform/data/varargs.h-data [UNIX98]: Enable file.
4535 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4537 * math/libm-test.inc (struct test_f_f_data): Move expected results
4538 into structure for each rounding mode.
4539 (struct test_ff_f_data): Likewise.
4540 (struct test_ff_f_data_nexttoward): Likewise.
4541 (struct test_fi_f_data): Likewise.
4542 (struct test_fl_f_data): Likewise.
4543 (struct test_if_f_data): Likewise.
4544 (struct test_fff_f_data): Likewise.
4545 (struct test_c_f_data): Likewise.
4546 (struct test_f_f1_data): Likewise.
4547 (struct test_fF_f1_data): Likewise.
4548 (struct test_ffI_f1_data): Likewise.
4549 (struct test_c_c_data): Likewise.
4550 (struct test_cc_c_data): Likewise.
4551 (struct test_f_i_data): Likewise.
4552 (struct test_ff_i_data): Likewise.
4553 (struct test_f_l_data): Likewise.
4554 (struct test_f_L_data): Likewise.
4555 (struct test_fFF_11_data): Likewise.
4557 (RM_FE_DOWNWARD): Likewise.
4558 (RM_FE_TONEAREST): Likewise.
4559 (RM_FE_TOWARDZERO): Likewise.
4560 (RM_FE_UPWARD): Likewise.
4561 (RUN_TEST_LOOP_f_f): Update references to expected results.
4562 (RUN_TEST_LOOP_2_f): Likewise.
4563 (RUN_TEST_LOOP_fff_f): Likewise.
4564 (RUN_TEST_LOOP_c_f): Likewise.
4565 (RUN_TEST_LOOP_f_f1): Likewise.
4566 (RUN_TEST_LOOP_fF_f1): Likewise.
4567 (RUN_TEST_LOOP_fI_f1): Likewise.
4568 (RUN_TEST_LOOP_ffI_f1): Likewise.
4569 (RUN_TEST_LOOP_c_c): Likewise.
4570 (RUN_TEST_LOOP_cc_c): Likewise.
4571 (RUN_TEST_LOOP_f_i): Likewise.
4572 (RUN_TEST_LOOP_f_i_tg): Likewise.
4573 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4574 (RUN_TEST_LOOP_f_b): Likewise.
4575 (RUN_TEST_LOOP_f_b_tg): Likewise.
4576 (RUN_TEST_LOOP_f_l): Likewise.
4577 (RUN_TEST_LOOP_f_L): Likewise.
4578 (RUN_TEST_LOOP_fFF_11): Likewise.
4579 * math/gen-libm-test.pl (parse_args): Output four copies of
4580 expected results for each test.
4582 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4583 (__ASSUME_UTIMES): Remove.
4584 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4585 (__ASSUME_UTIMES): Likewise.
4587 * math/gen-auto-libm-tests.c: Update comment on output format.
4588 (output_for_one_input_case): Generate before-rounding and
4589 after-rounding information as conditions on output flags not
4590 floating-point format.
4591 * math/auto-libm-test-out: Regenerated.
4592 * math/gen-libm-test.pl (cond_value): New function.
4593 (or_cond_value): Use cond_value.
4594 (generate_testfile): Handle conditional exceptions.
4596 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4598 * math/libm-test.inc (max_valid_error): New variable.
4599 (init_max_error): Take new argument specifying whether function
4600 results are exactly determined. Set max_valid_error and bound
4601 other variables for errors based on this argument.
4602 (set_max_error): Do not record results above max_valid_error.
4603 (check_float_internal): Only accept errors of up to 0.5ulps if
4604 also at most max_valid_error.
4605 (START): Take new argument EXACT and pass it to init_max_error.
4606 (acos_test): Update call to START.
4607 (acos_test_tonearest): Likewise.
4608 (acos_test_towardzero): Likewise.
4609 (acos_test_downward): Likewise.
4610 (acos_test_upward): Likewise.
4611 (acosh_test): Likewise.
4612 (asin_test): Likewise.
4613 (asin_test_tonearest): Likewise.
4614 (asin_test_towardzero): Likewise.
4615 (asin_test_downward): Likewise.
4616 (asin_test_upward): Likewise.
4617 (asinh_test): Likewise.
4618 (atan_test): Likewise.
4619 (atanh_test): Likewise.
4620 (atan2_test): Likewise.
4621 (cabs_test): Likewise.
4622 (cacos_test): Likewise.
4623 (cacosh_test): Likewise.
4624 (carg_test): Likewise.
4625 (casin_test): Likewise.
4626 (casinh_test): Likewise.
4627 (catan_test): Likewise.
4628 (catanh_test): Likewise.
4629 (cbrt_test): Likewise.
4630 (ccos_test): Likewise.
4631 (ccosh_test): Likewise.
4632 (ceil_test): Likewise.
4633 (cexp_test): Likewise.
4634 (cimag_test): Likewise.
4635 (clog_test): Likewise.
4636 (clog10_test): Likewise.
4637 (conj_test): Likewise.
4638 (copysign_test): Likewise.
4639 (cos_test): Likewise.
4640 (cos_test_tonearest): Likewise.
4641 (cos_test_towardzero): Likewise.
4642 (cos_test_downward): Likewise.
4643 (cos_test_upward): Likewise.
4644 (cosh_test): Likewise.
4645 (cosh_test_tonearest): Likewise.
4646 (cosh_test_towardzero): Likewise.
4647 (cosh_test_downward): Likewise.
4648 (cosh_test_upward): Likewise.
4649 (cpow_test): Likewise.
4650 (cproj_test): Likewise.
4651 (creal_test): Likewise.
4652 (csin_test): Likewise.
4653 (csinh_test): Likewise.
4654 (csqrt_test): Likewise.
4655 (ctan_test): Likewise.
4656 (ctan_test_tonearest): Likewise.
4657 (ctan_test_towardzero): Likewise.
4658 (ctan_test_downward): Likewise.
4659 (ctan_test_upward): Likewise.
4660 (ctanh_test): Likewise.
4661 (ctanh_test_tonearest): Likewise.
4662 (ctanh_test_towardzero): Likewise.
4663 (ctanh_test_downward): Likewise.
4664 (ctanh_test_upward): Likewise.
4665 (erf_test): Likewise.
4666 (erfc_test): Likewise.
4667 (exp_test): Likewise.
4668 (exp_test_tonearest): Likewise.
4669 (exp_test_towardzero): Likewise.
4670 (exp_test_downward): Likewise.
4671 (exp_test_upward): Likewise.
4672 (exp10_test): Likewise.
4673 (exp10_test_tonearest): Likewise.
4674 (exp10_test_towardzero): Likewise.
4675 (exp10_test_downward): Likewise.
4676 (exp10_test_upward): Likewise.
4677 (pow10_test): Likewise.
4678 (exp2_test): Likewise.
4679 (expm1_test): Likewise.
4680 (expm1_test_tonearest): Likewise.
4681 (expm1_test_towardzero): Likewise.
4682 (expm1_test_downward): Likewise.
4683 (expm1_test_upward): Likewise.
4684 (fabs_test): Likewise.
4685 (fdim_test): Likewise.
4686 (floor_test): Likewise.
4687 (fma_test): Likewise.
4688 (fma_test_towardzero): Likewise.
4689 (fma_test_downward): Likewise.
4690 (fma_test_upward): Likewise.
4691 (fmax_test): Likewise.
4692 (fmin_test): Likewise.
4693 (fmod_test): Likewise.
4694 (fpclassify_test): Likewise.
4695 (frexp_test): Likewise.
4696 (hypot_test): Likewise.
4697 (ilogb_test): Likewise.
4698 (isfinite_test): Likewise.
4699 (finite_test): Likewise.
4700 (isgreater_test): Likewise.
4701 (isgreaterequal_test): Likewise.
4702 (isinf_test): Likewise.
4703 (isless_test): Likewise.
4704 (islessequal_test): Likewise.
4705 (islessgreater_test): Likewise.
4706 (isnan_test): Likewise.
4707 (isnormal_test): Likewise.
4708 (issignaling_test): Likewise.
4709 (isunordered_test): Likewise.
4710 (j0_test): Likewise.
4711 (j1_test): Likewise.
4712 (jn_test): Likewise.
4713 (ldexp_test): Likewise.
4714 (lgamma_test): Likewise.
4715 (gamma_test): Likewise.
4716 (lrint_test): Likewise.
4717 (lrint_test_tonearest): Likewise.
4718 (lrint_test_towardzero): Likewise.
4719 (lrint_test_downward): Likewise.
4720 (lrint_test_upward): Likewise.
4721 (llrint_test): Likewise.
4722 (llrint_test_tonearest): Likewise.
4723 (llrint_test_towardzero): Likewise.
4724 (llrint_test_downward): Likewise.
4725 (llrint_test_upward): Likewise.
4726 (log_test): Likewise.
4727 (log10_test): Likewise.
4728 (log1p_test): Likewise.
4729 (log2_test): Likewise.
4730 (logb_test): Likewise.
4731 (logb_test_downward): Likewise.
4732 (lround_test): Likewise.
4733 (llround_test): Likewise.
4734 (modf_test): Likewise.
4735 (nearbyint_test): Likewise.
4736 (nextafter_test): Likewise.
4737 (nexttoward_test): Likewise.
4738 (pow_test): Likewise.
4739 (pow_test_tonearest): Likewise.
4740 (pow_test_towardzero): Likewise.
4741 (pow_test_downward): Likewise.
4742 (pow_test_upward): Likewise.
4743 (remainder_test): Likewise.
4744 (drem_test): Likewise.
4745 (remainder_test_tonearest): Likewise.
4746 (drem_test_tonearest): Likewise.
4747 (remainder_test_towardzero): Likewise.
4748 (drem_test_towardzero): Likewise.
4749 (remainder_test_downward): Likewise.
4750 (drem_test_downward): Likewise.
4751 (remainder_test_upward): Likewise.
4752 (drem_test_upward): Likewise.
4753 (remquo_test): Likewise.
4754 (rint_test): Likewise.
4755 (rint_test_tonearest): Likewise.
4756 (rint_test_towardzero): Likewise.
4757 (rint_test_downward): Likewise.
4758 (rint_test_upward): Likewise.
4759 (round_test): Likewise.
4760 (scalb_test): Likewise.
4761 (scalbn_test): Likewise.
4762 (scalbln_test): Likewise.
4763 (signbit_test): Likewise.
4764 (sin_test): Likewise.
4765 (sin_test_tonearest): Likewise.
4766 (sin_test_towardzero): Likewise.
4767 (sin_test_downward): Likewise.
4768 (sin_test_upward): Likewise.
4769 (sincos_test): Likewise.
4770 (sinh_test): Likewise.
4771 (sinh_test_tonearest): Likewise.
4772 (sinh_test_towardzero): Likewise.
4773 (sinh_test_downward): Likewise.
4774 (sinh_test_upward): Likewise.
4775 (sqrt_test): Likewise.
4776 (sqrt_test_tonearest): Likewise.
4777 (sqrt_test_towardzero): Likewise.
4778 (sqrt_test_downward): Likewise.
4779 (sqrt_test_upward): Likewise.
4780 (tan_test): Likewise.
4781 (tan_test_tonearest): Likewise.
4782 (tan_test_towardzero): Likewise.
4783 (tan_test_downward): Likewise.
4784 (tan_test_upward): Likewise.
4785 (tanh_test): Likewise.
4786 (tgamma_test): Likewise.
4787 (trunc_test): Likewise.
4788 (y0_test): Likewise.
4789 (y1_test): Likewise.
4790 (yn_test): Likewise.
4791 (significand_test): Likewise.
4793 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4794 individual tests in comment.
4795 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4796 (prev_max_error): New variable.
4797 (prev_real_max_error): Likewise.
4798 (prev_imag_max_error): Likewise.
4799 (compare_ulp_data): Don't refer to test names in comment.
4800 (find_test_ulps): Remove function.
4801 (find_function_ulps): Likewise.
4802 (find_complex_function_ulps): Likewise.
4803 (init_max_error): Take function name as argument. Look up ulps
4805 (print_ulps): Remove function.
4806 (print_max_error): Use prev_max_error instead of calling
4808 (print_complex_max_error): Use prev_real_max_error and
4809 prev_imag_max_error instead of calling find_complex_function_ulps.
4810 (check_float_internal): Take max_ulp parameter instead of calling
4811 find_test_ulps. Don't call print_ulps.
4812 (check_float): Update call to check_float_internal.
4813 (check_complex): Update calls to check_float_internal.
4814 (START): Pass argument to init_max_error.
4815 * math/gen-libm-test.pl (%results): Don't include "kind"
4817 (parse_ulps): Don't handle ulps of individual tests.
4818 (print_ulps_file): Likewise.
4819 (output_ulps): Likewise.
4820 * math/README.libm-test: Update.
4821 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4823 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4824 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4825 * sysdeps/arm/libm-test-ulps: Likewise.
4826 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4827 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4828 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4829 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4830 * sysdeps/microblaze/libm-test-ulps: Likewise.
4831 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4832 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4834 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4835 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4836 * sysdeps/sh/libm-test-ulps: Likewise.
4837 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4838 * sysdeps/tile/libm-test-ulps: Likewise.
4839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4841 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4843 * math/libm-test.inc (print_complex_max_error): Check separately
4844 whether real and imaginary errors are within allowed range and
4845 pass 0 to print_complex_function_ulps instead of value within
4848 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4850 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4852 (get_handles_fopen): Likewise.
4853 (do_write_test): Likewise.
4855 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4857 * libio/fileops.c (do_ftell): Use cached offset when
4859 * libio/iofwide.c (do_ftell_wide): Likewise.
4860 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4862 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4865 * libio/libioP.h (get_file_offset): New function.
4866 * libio/fileops.c (get_file_offset): Likewise.
4867 (do_ftell): Likewise.
4868 (_IO_new_file_seekoff): Split out ftell logic.
4869 * libio/wfileops.c (do_ftell_wide): Likewise.
4870 (_IO_wfile_seekoff): Split out ftell logic.
4871 * libio/tst-ftell-active-handler.c: New test case.
4872 * libio/Makefile (tests): Add it.
4874 2014-03-03 Roland McGrath <roland@hack.frob.com>
4876 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4877 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4879 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4882 * nscd/connections.c (nscd_init): Call do_exit.
4883 (start_threads): Call do_exit and notify_parent.
4884 (begin_drop_privileges): Call do_exit.
4885 (finish_drop_privileges): Likewise.
4886 * nscd/selinux.c (preserve_capabilities): Likewise.
4887 (install_real_capabilities): Likewise.
4888 (nscd_selinux_enabled): Likewise.
4889 (avc_create_thread): Likewise.
4890 (avc_alloc_lock): Likewise.
4891 (nscd_avc_init): Likewise.
4892 * nscd/nscd.c (parent_fd): New static variable.
4893 (main): Create a pipe between parent and child processes.
4894 Skip closing parent_fd.
4895 (monitor_child): New function.
4896 (do_exit): Likewise.
4897 (notify_parent): Likewise.
4898 * nscd/nscd.h (notify_parent): Likewise.
4899 (do_exit): Likewise.
4901 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4903 * malloc/malloc.c (__libc_calloc): Revert last change.
4905 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4909 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4911 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4915 (__libc_ifunc_impl_list): Likewise.
4916 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4917 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4918 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4919 * string/strrchr.c: Define STRRCHR.
4921 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4923 * benchtest/bench-strtok.c (simple_strtok): Delete.
4924 (strtok_string): Use as benchmark.
4925 * string/strtok (STRTOK): New macro.
4927 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4929 * manual/threads.texi: Add header and standard comments to all
4932 * elf/dl-lookup.c (check_match): New function.
4933 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4934 (do_lookup_x): Remove nested function check_match. Use non-nested
4935 function check_match.
4937 2014-02-28 Roland McGrath <roland@hack.frob.com>
4939 * csu/Makefile (generated, before-compile): Use += rather than =.
4940 * catgets/Makefile (generated, generated-dirs): Likewise.
4941 * debug/Makefile (generated): Likewise.
4942 * dlfcn/Makefile (generated): Likewise.
4943 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4944 * iconvdata/Makefile (before-compile, generated): Likewise.
4945 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4946 * libio/Makefile (generated): Likewise.
4947 * malloc/Makefile (generated): Likewise.
4948 * manual/Makefile (generated, generated-dirs): Likewise.
4949 * misc/Makefile (generated): Likewise.
4950 * posix/Makefile (generated): Likewise.
4951 * resolv/Makefile (generated): Likewise.
4952 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4953 * timezone/Makefile (generated, generated-dirs): Likewise.
4955 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4957 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4960 power8 implementation.
4961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4962 file: POWER8 llround ifunc implementation.
4963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4964 (__lllround): Add POWER8 implementation.
4965 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4966 POWER8 llround implementation.
4968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4969 power8 implementation.
4970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4971 file: POWER8 llrint ifunc implementation.
4972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4973 Add POWER8 implementation.
4974 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4975 POWER8 llrint implementation.
4977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4978 power8 implementation.
4979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4980 file: POWER8 finite ifunc implementation.
4981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4982 Add POWER8 implementation.
4983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4985 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4986 POWER8 finite implementation.
4987 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4990 power8 implementation.
4991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4992 file: POWER8 isinf ifunc implementation.
4993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4994 POWER8 implementation.
4995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4998 isinf implementation.
4999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5001 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5002 (INIT_ARCH): Add hwcap2 initialization.
5003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5004 power8 implementation.
5005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5006 file: POWER8 isnan ifunc implementation.
5007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5008 POWER8 implementation.
5009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5012 isnan implementation.
5013 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5015 2014-02-27 Joey Ye <joey.ye@arm.com>
5017 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5018 (_FP_NANFRAC_Q): Set to zero.
5020 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5023 * math/auto-libm-test-in: New test inputs.
5024 * math/auto-libm-test-out: Regenerate.
5025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5030 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5032 * scripts/evaluate-test.sh: Take new argument indicating whether
5033 failure is expected.
5034 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5035 indicating whether failure is expected.
5036 * conform/Makefile (test-xfail-run-conformtest): New variable.
5037 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5039 * posix/Makefile (test-xfail-annexc): New variable.
5040 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5042 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5044 * argp/Makefile: Include Makeconfig immediately after defining
5046 * assert/Makefile: Likewise.
5047 * benchtests/Makefile: Likewise.
5048 * catgets/Makefile: Likewise.
5049 * conform/Makefile: Likewise.
5050 * crypt/Makefile: Likewise.
5051 * csu/Makefile: Likewise.
5052 (all): Remove target.
5053 * ctype/Makefile: Include Makeconfig immediately after defining
5055 * debug/Makefile: Likewise.
5056 * dirent/Makefile: Likewise.
5057 * dlfcn/Makefile: Likewise.
5058 * gmon/Makefile: Likewise.
5059 * gnulib/Makefile: Likewise.
5060 * grp/Makefile: Likewise.
5061 * gshadow/Makefile: Likewise.
5062 * hesiod/Makefile: Likewise.
5063 * hurd/Makefile: Likewise.
5064 (all): Remove target.
5065 * iconvdata/Makefile: Include Makeconfig immediately after
5067 * inet/Makefile: Likewise.
5068 * intl/Makefile: Likewise.
5069 * io/Makefile: Likewise.
5070 * libio/Makefile: Likewise.
5071 (all): Remove target.
5072 * locale/Makefile: Include Makeconfig immediately after defining
5074 * login/Makefile: Likewise.
5075 * mach/Makefile: Likewise.
5076 (all): Remove target.
5077 * malloc/Makefile: Include Makeconfig immediately after defining
5079 (all): Remove target.
5080 * manual/Makefile: Include Makeconfig immediately after defining
5082 * math/Makefile: Likewise.
5083 * misc/Makefile: Likewise.
5084 * nis/Makefile: Likewise.
5085 * nss/Makefile: Likewise.
5086 * po/Makefile: Likewise.
5087 (all): Remove target.
5088 * posix/Makefile: Include Makeconfig immediately after defining
5090 * pwd/Makefile: Likewise.
5091 * resolv/Makefile: Likewise.
5092 * resource/Makefile: Likewise.
5093 * rt/Makefile: Likewise.
5094 * setjmp/Makefile: Likewise.
5095 * shadow/Makefile: Likewise.
5096 * signal/Makefile: Likewise.
5097 * socket/Makefile: Likewise.
5098 * soft-fp/Makefile: Likewise.
5099 * stdio-common/Makefile: Likewise.
5100 * stdlib/Makefile: Likewise.
5101 * streams/Makefile: Likewise.
5102 * string/Makefile: Likewise.
5103 * sunrpc/Makefile: Likewise.
5104 (all): Remove target.
5105 * sysvipc/Makefile: Include Makeconfig immediately after defining
5107 * termios/Makefile: Likewise.
5108 * time/Makefile: Likewise.
5109 * timezone/Makefile: Likewise.
5110 (all): Remove target.
5111 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5113 * wctype/Makefile: Likewise.
5115 2014-02-26 Steve Ellcey <sellcey@mips.com>
5117 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5118 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5119 (libc_feholdexcept_setround_mips): Ditto.
5120 (libc_feholdsetround): New.
5121 (libc_feholdsetroundf): New.
5122 (libc_feholdsetroundl): New.
5123 (libc_feupdateenv_test_mips): New.
5124 (libc_feupdateenv_test): New.
5125 (libc_feupdateenv_testf): New.
5126 (libc_feupdateenv_testl): New.
5127 (libc_feresetround): New.
5128 (libc_feresetroundf): New.
5129 (libc_feresetroundl): New.
5130 (libc_fetestexcept_mips): New.
5131 (libc_fetestexcept): New.
5132 (libc_fetestexceptf): New.
5133 (libc_fetestexceptl): New.
5135 (libc_feholdexcept_setround_mips_ctx): New.
5136 (libc_feholdexcept_setround_ctx): New.
5137 (libc_feholdexcept_setroundf_ctx): New.
5138 (libc_feholdexcept_setroundl_ctx): New.
5139 (libc_fesetenv_mips_ctx): New.
5140 (libc_fesetenv_ctx): New.
5141 (libc_fesetenv_ctxf): New.
5142 (libc_fesetenv_ctxl): New.
5143 (libc_feupdateenv_mips_ctx): New.
5144 (libc_feupdateenv_ctx): New.
5145 (libc_feupdateenvf_ctx): New.
5146 (libc_feupdateenvl_ctx): New.
5147 (libc_feholdsetround_mips_ctx): New.
5148 (libc_feholdsetround_ctx): New.
5149 (libc_feholdsetroundf_ctx): New.
5150 (libc_feholdsetroundl_ctx): New.
5151 (libc_feresetround_mips_ctx): New.
5152 (libc_feresetround_ctx): New.
5153 (libc_feresetroundf_ctx): New.
5154 (libc_feresetroundl_ctx): New.
5156 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5158 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5160 * manual/ipc.texi: New file.
5161 * manual/Makefile (chapters): Add ipc.
5162 * manual/job.texi: Add "Inter-Process Communication" to next.
5163 * manual/process.texi: Add "Inter-Process Communication" to prev.
5165 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5169 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5171 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5173 * manual/arith.texi: Fix spaces after sentences.
5174 * manual/charset.texi: Likewise.
5175 * manual/errno.texi: Likewise.
5176 * manual/install.texi: Likewise.
5177 * manual/llio.texi: Likewise.
5178 * manual/locale.texi: Likewise.
5179 * manual/maint.texi: Likewise.
5180 * manual/math.texi: Likewise.
5181 * manual/memory.texi: Likewise.
5182 * manual/message.texi: Likewise.
5183 * manual/probes.texi: Likewise.
5184 * manual/resource.texi: Likewise.
5185 * manual/signal.texi: Likewise.
5186 * manual/socket.texi: Likewise.
5187 * manual/stdio.texi: Likewise.
5188 * manual/string.texi: Likewise.
5189 * manual/time.texi: Likewise.
5190 * manual/users.texi: Likewise.
5192 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5195 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5196 _DEFAULT_SOURCE is defined.
5198 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5199 Carlos O'Donell <carlos@redhat.com>
5202 * elf/dl-tls.c (_dl_count_modids): New function.
5203 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5204 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5205 audit library and increment generation counter.
5206 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5207 * elf/tst-audit9.c: New file.
5208 * elf/tst-auditmod9a.c: New file.
5209 * elf/tst-auditmod9b.c: New file.
5210 * elf/Makefile: Add rules to build and run tst-audit9.
5212 2014-02-25 Florian Weimer <fweimer@redhat.com>
5215 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5217 2014-02-25 Will Newton <will.newton@linaro.org>
5219 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5220 (__longjmp): Restore sp and lr before restoring callee
5221 saved registers. Add longjmp and longjmp_target
5222 SystemTap probe point.
5223 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5224 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5225 Define to zero to match jmpbuf layout.
5226 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5227 (__sigsetjmp): Save sp and lr before saving callee
5228 saved registers. Add setjmp SystemTap probe point.
5230 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5232 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5234 2014-02-24 Andreas Schwab <schwab@suse.de>
5237 * elf/pldd.c (wait_for_ptrace_stop): New function.
5238 (main): Call it after attaching.
5240 2014-02-22 Roland McGrath <roland@hack.frob.com>
5242 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5243 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5244 Versions files is now verboten.
5245 * hurd/Versions (libc: GLIBC_2.0):
5246 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5247 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5248 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5249 * mach/Versions: Likewise.
5251 * csu/Versions: Remove unused %include.
5252 * resolv/Versions: Likewise.
5254 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5256 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5257 ($(objpfx)check-local-headers.out): Likewise.
5258 ($(objpfx)begin-end-check.out): Likewise.
5259 * Makerules (check-abi-%.out): Likewise.
5260 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5261 ($(objpfx)test2.cat): Likewise.
5262 ($(objpfx)de/libc.cat): Likewise.
5263 ($(objpfx)test-gencat.out): Likewise.
5264 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5265 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5266 ($(objpfx)noload-mem): Likewise.
5267 ($(objpfx)tst-pathopt.out): Likewise.
5268 ($(objpfx)tst-rtld-load-self.out): Likewise.
5269 ($(objpfx)tst-array1-cmp.out): Likewise.
5270 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5271 ($(objpfx)tst-array2-cmp.out): Likewise.
5272 ($(objpfx)tst-array3-cmp.out): Likewise.
5273 ($(objpfx)tst-array4-cmp.out): Likewise.
5274 ($(objpfx)tst-array5-cmp.out): Likewise.
5275 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5276 ($(objpfx)check-textrel.out): Likewise.
5277 ($(objpfx)check-execstack.out): Likewise.
5278 ($(objpfx)check-localplt.out): Likewise.
5279 ($(objpfx)order2-cmp.out): Likewise.
5280 ($(objpfx)tst-leaks1-mem): Likewise.
5281 ($(objpfx)tst-leaks1-static-mem): Likewise.
5282 ($(objpfx)tst-initorder-cmp.out): Likewise.
5283 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5284 ($(objpfx)tst-unused-dep.out): Likewise.
5285 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5286 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5287 * iconv/Makefile (test-iconvconfig): Likewise.
5288 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5289 ($(objpfx)iconv-test.out): Likewise.
5290 ($(objpfx)tst-tables.out): Likewise.
5291 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5292 ($(objpfx)tst-gettext.out): Likewise.
5293 ($(objpfx)tst-translit.out): Likewise.
5294 ($(objpfx)tst-gettext2.out): Likewise.
5295 ($(objpfx)tst-gettext4.out): Likewise.
5296 ($(objpfx)tst-gettext6.out): Likewise.
5297 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5298 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5299 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5300 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5301 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5302 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5303 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5304 ($(objpfx)wordexp-tst.out): Likewise.
5305 ($(objpfx)annexc.out): Likewise.
5306 ($(objpfx)tst-fnmatch-mem): Likewise.
5307 ($(objpfx)bug-regex2-mem): Likewise.
5308 ($(objpfx)bug-regex14-mem): Likewise.
5309 ($(objpfx)bug-regex21-mem): Likewise.
5310 ($(objpfx)bug-regex31-mem): Likewise.
5311 ($(objpfx)tst-vfork3-mem): Likewise.
5312 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5313 ($(objpfx)tst-pcre-mem): Likewise.
5314 ($(objpfx)tst-boost-mem): Likewise.
5315 ($(objpfx)tst-getconf.out): Likewise.
5316 ($(objpfx)bug-ga2-mem): Likewise.
5317 ($(objpfx)bug-glob2-mem): Likewise.
5318 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5319 ($(objpfx)mtrace-tst-leaks2): Likewise.
5320 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5321 ($(objpfx)tst-printf.out): Likewise.
5322 ($(objpfx)tst-setvbuf1.out): Likewise.
5323 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5324 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5325 ($(objpfx)tst-fmtmsg.out): Likewise.
5326 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5327 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5329 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5330 * bits/sigaction.h [__USE_MISC]: Likewise.
5331 * bits/waitstatus.h: Update #endif comments.
5332 * ctype/ctype.h: Likewise.
5333 * dirent/dirent.h: Likewise.
5334 [__USE_MISC]: Remove redundant conditionals.
5335 * grp/grp.h: Update #endif comments.
5336 [__USE_GNU]: Remove redundant conditionals.
5337 [__USE_MISC]: Likewise.
5338 * inet/netinet/in.h [__USE_GNU]: Likewise.
5339 * io/sys/stat.h [__USE_MISC]: Likewise.
5340 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5341 * libio/bits/stdio.h: Update #endif comments.
5342 [__USE_MISC]: Remove redundant conditionals.
5343 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5344 * libio/stdio.h: Update #endif comments.
5345 [__USE_MISC]: Remove redundant conditionals.
5346 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5347 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5348 * math/math.h: Update #else and #endif comments.
5349 [__USE_MISC]: Remove redundant conditionals.
5350 * misc/sys/uio.h: Update #endif comments.
5351 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5352 * posix/glob.h [__USE_MISC]: Likewise.
5353 * posix/sys/types.h: Update #endif comments.
5354 [__USE_MISC]: Remove redundant conditionals.
5355 * posix/sys/wait.h: Update #endif comments.
5356 [__USE_MISC]: Remove redundant conditionals.
5357 * posix/unistd.h: Update #endif comments.
5358 [__USE_MISC]: Remove redundant conditionals.
5359 * pwd/pwd.h [__USE_GNU]: Likewise.
5360 [__USE_MISC]: Likewise.
5361 * resolv/netdb.h [__USE_GNU]: Likewise.
5362 * signal/signal.h: Update #endif comments.
5363 [__USE_MISC]: Remove redundant conditionals.
5364 * stdlib/stdlib.h: Update #else and #endif comments.
5365 [__USE_MISC]: Remove redundant conditionals.
5366 [__USE_GNU]: Likewise.
5367 * string/bits/string2.h [__USE_MISC]: Likewise.
5368 * string/string.h: Update #endif comments.
5369 [__USE_MISC]: Remove redundant conditionals.
5370 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5372 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5373 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5374 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5376 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5380 [__USE_MISC]: Remove redundant conditionals.
5381 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5382 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5383 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5384 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5385 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5387 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5388 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5390 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5391 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5393 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5395 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5396 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5398 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5400 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5401 * sysdeps/x86/bits/string.h: Update #endif comments.
5402 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5404 * time/sys/time.h: Update #endif comments.
5405 * time/time.h: Likewise.
5406 [__USE_MISC]: Remove redundant conditionals.
5408 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5411 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5413 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5415 * Versions.def (librt): Add GLIBC_2.17.
5417 2014-02-21 Adam Conrad <adconrad@0c3.net>
5419 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5420 synonym for _SYS_AUXV_H to allow direct inclusion.
5421 * sysdeps/sparc/bits/hwcap.h: Likewise.
5422 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5423 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5424 * sysdeps/sparc/sysdep.h: Likewise.
5426 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5428 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5430 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5432 * benchtests/bench-strrchr.c: Print length instead of position.
5434 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5437 * sysdeps/unix/sysv/linux/kernel-features.h
5438 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5439 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5440 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5441 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5443 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5444 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5445 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5446 (__ASSUME_SENDMMSG): Define instead of using previous
5447 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5448 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5449 (__ASSUME_SENDMMSG_SYSCALL): Define.
5450 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5451 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5453 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5454 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5456 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5457 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5459 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5460 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5461 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5462 [__ASSUME_SENDMMSG]: Change conditionals to
5463 [__ASSUME_SENDMMSG_SOCKETCALL].
5464 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5465 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5467 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5468 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5470 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5471 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5472 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5473 [!__ASSUME_SENDMMSG]: Change conditional to
5474 [!__ASSUME_SENDMMSG_SOCKETCALL].
5475 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5476 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5480 * sysdeps/unix/sysv/linux/kernel-features.h
5481 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5482 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5483 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5484 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5485 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5486 [__i386__ || __sparc__]
5487 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5488 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5489 (__ASSUME_RECVMMSG): Define instead of using previous
5490 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5491 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5492 (__ASSUME_RECVMMSG_SYSCALL): Define.
5493 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5494 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5497 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5499 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5500 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5502 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5503 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5504 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5505 [__ASSUME_RECVMMSG]: Change condition to
5506 [__ASSUME_RECVMMSG_SOCKETCALL].
5507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5508 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5510 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5511 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5514 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5515 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5516 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5517 [!__ASSUME_RECVMMSG]: Change condition to
5518 [!__ASSUME_RECVMMSG_SOCKETCALL].
5519 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5520 (__ASSUME_RECVMMSG_SYSCALL): Define.
5523 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5524 __powerpc__ || __s390__ || __sh__ || __sparc__]
5525 (__ASSUME_SOCKETCALL): Define.
5526 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5527 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5528 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5529 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5530 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5531 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5532 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5533 (__ASSUME_ACCEPT4): Define instead of using previous
5534 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5535 __powerpc__ || __sparc__ || __s390__)] condition.
5536 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5537 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5538 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5539 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5540 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5541 [!__ASSUME_ACCEPT4]: Change condition to
5542 [!__ASSUME_ACCEPT4_SOCKETCALL].
5543 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5544 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5545 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5546 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5547 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5548 __ASSUME_ACCEPT4_SYSCALL.
5549 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5550 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5551 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5552 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5553 __ASSUME_ACCEPT4_SYSCALL.
5554 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5555 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5556 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5557 [__ASSUME_ACCEPT4]: Change condition to
5558 [__ASSUME_ACCEPT4_SOCKETCALL].
5559 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5560 (__ASSUME_SOCKETCALL): Define.
5561 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5562 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5563 (__ASSUME_SOCKETCALL): Define.
5564 (__ASSUME_ACCEPT4): Remove.
5565 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5567 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5568 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5570 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5571 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5573 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5575 (HWCAP_ARM_LPAE): Likewise.
5576 (HWCAP_ARM_EVTSTRM): Likewise.
5577 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5578 Add vpfd32, lpae and evtstrm.
5579 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5582 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5584 * math/auto-libm-test-in: Add tests of clog10.
5585 * math/auto-libm-test-out: Regenerated.
5586 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5587 * sysdeps/i386/fpu/libm-test-ulps: Update.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5590 2014-02-18 Andreas Schwab <schwab@suse.de>
5593 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5594 Store non-zero if the second buffer was newly allocated.
5595 (send_dg): Likewise.
5596 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5597 to send_vc and send_dg.
5598 (res_nsend): Pass NULL for ansp2_malloced.
5599 * resolv/res_query.c (__libc_res_nquery): Add parameter
5600 answerp2_malloced and pass it down to __libc_res_nsend.
5601 (res_nquery): Pass additional NULL to __libc_res_nquery.
5602 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5603 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5604 second answer buffer if answerp2_malloced was set.
5605 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5606 (__libc_res_nquerydomain): Add parameter
5607 answerp2_malloced and pass it down to __libc_res_nquery.
5608 (res_nquerydomain): Pass additional NULL to
5609 __libc_res_nquerydomain.
5610 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5611 additional NULL to __libc_res_nsend and __libc_res_nquery.
5612 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5613 additional NULL to __libc_res_nsearch.
5614 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5615 parameter of __libc_res_nsearch to check for separately allocated
5617 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5619 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5620 additional NULL to __libc_res_nquery.
5621 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5623 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5624 * include/resolv.h: Update prototypes of __libc_res_nquery,
5625 __libc_res_nsearch, __libc_res_nsend.
5627 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5629 * math/auto-libm-test-in: Add tests of fma.
5630 * math/auto-libm-test-out: Regenerated.
5631 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5632 (fma_towardzero_test_data): Likewise.
5633 (fma_downward_test_data): Likewise.
5634 (fma_upward_test_data): Likewise.
5635 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5637 (rounding_modes): Add values for new field.
5638 (func_calc_method): Add value mpfr_fff_f.
5639 (func_calc_desc): Add mpfr_fff_f union field.
5640 (test_function): Add field exact_args.
5641 (FUNC): Add macro argument EXACT_ARGS.
5642 (FUNC_mpfr_f_f): Update call to FUNC.
5643 (FUNC_mpfr_f_f): Likewise.
5644 (FUNC_mpfr_ff_f): Likewise.
5645 (FUNC_mpfr_if_f): Likewise.
5646 (FUNC_mpc_c_f): Likewise.
5647 (FUNC_mpc_c_c): Likewise.
5648 (test_functions): Add fma. Update calls to FUNC.
5649 (handle_input_arg): Add argument exact_args.
5650 (add_test): Update call to handle_input_arg.
5651 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5652 (output_for_one_input_case): Update call to calc_generic_results.
5653 Recalculate exact zero results in each rounding mode.
5655 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5656 non-negative before setting low bit.
5657 * math/auto-libm-test-in: Mark one asin test possibly having
5659 * math/auto-libm-test-out: Regenerated.
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5665 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5666 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5667 ports/sysdeps/unix/sysv/linux/microblaze.
5668 * README: Add missing listing for microblaze*-*-linux-gnu.
5670 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5672 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5673 * sysdeps/unix/sysv/linux/ia64: Move directory from
5674 ports/sysdeps/unix/sysv/linux/ia64.
5675 * README: Update listing for ia64-*-linux-gnu.
5677 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5678 Joseph Myers <joseph@codesourcery.com>
5680 * Makeconfig (test-name): New variable.
5681 (evaluate-test): Likewise.
5682 * Makerules (do-test-clean): Remove .test-result files.
5683 (common-mostlyclean): Likewise.
5684 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5685 * scripts/evaluate-test.sh: New file.
5687 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5689 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5690 separate $(objpfx)tst-fopenloc-cmp.out and
5691 $(objpfx)tst-fopenloc-mem.out targets.
5692 (tests): Update dependencies.
5693 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5694 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5695 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5696 (tst-rxspencer-no-utf8-ARGS): New variable.
5697 (tst-rxspencer-no-utf8-ENV): Likewise.
5698 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5699 instead of $(objpfx)tst-rxspencer-mem.
5700 ($(objpfx)tst-rxspencer-mem): Change target to
5701 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5702 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5703 * posix/tst-rxspencer-no-utf8.c: New file.
5705 * elf/Makefile ($(objpfx)order.out): Remove rule.
5706 [$(run-built-tests) = yes] (tests): Depend on
5707 $(objpfx)order-cmp.out.
5708 ($(objpfx)order-cmp.out): New rule.
5709 [$(run-built-tests) = yes] (tests): Depend on
5710 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5711 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5712 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5713 $(objpfx)tst-array5-static-cmp.out.
5714 ($(objpfx)tst-array1.out): Remove rule.
5715 ($(objpfx)tst-array1-cmp.out): New rule.
5716 ($(objpfx)tst-array1-static.out): Remove rule.
5717 ($(objpfx)tst-array1-static-cmp.out): New rule.
5718 ($(objpfx)tst-array2.out): Remove rule.
5719 ($(objpfx)tst-array2-cmp.out): New rule.
5720 ($(objpfx)tst-array3.out): Remove rule.
5721 ($(objpfx)tst-array3-cmp.out): New rule.
5722 ($(objpfx)tst-array4.out): Remove rule.
5723 ($(objpfx)tst-array4-cmp.out): New rule.
5724 ($(objpfx)tst-array5.out): Remove rule.
5725 ($(objpfx)tst-array5-cmp.out): New rule.
5726 ($(objpfx)tst-array5-static.out): Remove rule.
5727 ($(objpfx)tst-array5-static-cmp.out): New rule.
5728 [$(run-built-tests) = yes] (tests): Depend on
5729 $(objpfx)order2-cmp.out.
5730 ($(objpfx)order2.out): Remove rule.
5731 ($(objpfx)order2-cmp.out): New rule.
5732 ($(objpfx)tst-initorder.out): Remove rule.
5733 [$(run-built-tests) = yes] (tests): Depend on
5734 $(objpfx)tst-initorder-cmp.out.
5735 ($(objpfx)tst-initorder-cmp.out): New rule.
5736 ($(objpfx)tst-initorder2.out): Remove rule.
5737 [$(run-built-tests) = yes] (tests): Depend on
5738 $(objpfx)tst-initorder2-cmp.out.
5739 ($(objpfx)tst-initorder2-cmp.out): New rule.
5740 [$(run-built-tests) = yes] (tests): Depend on
5741 $(objpfx)tst-unused-dep-cmp.out.
5742 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5743 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5744 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5745 on $(objpfx)tst-setvbuf1-cmp.out.
5746 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5747 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5748 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5749 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5750 ($(objpfx)tst-svc.out): Remove rule.
5751 ($(objpfx)tst-svc-cmp.out): New rule.
5753 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5755 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5756 * ctype/ctype.h [__USE_MISC]: Likewise.
5757 * dirent/dirent.h [__USE_MISC]: Likewise.
5758 * grp/grp.h [__USE_MISC]: Likewise.
5759 * io/fcntl.h [__USE_MISC]: Likewise.
5760 * io/sys/stat.h [__USE_MISC]: Likewise.
5761 * libio/stdio.h [__USE_MISC]: Likewise.
5762 * posix/unistd.h [__USE_MISC]: Likewise.
5763 * pwd/pwd.h [__USE_MISC]: Likewise.
5764 * stdlib.h [__USE_MISC]: Likewise.
5765 * string/bits/string2.h [__USE_MISC]: Likewise.
5766 * string/string.h [__USE_MISC]: Likewise.
5767 * time/time.h [__USE_MISC]: Likewise.
5769 2014-02-13 Andreas Schwab <schwab@suse.de>
5772 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5773 second answer buffer if it was separately allocated.
5775 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5777 * sysdeps/mips/math-tests.h: Include <features.h>.
5778 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5779 (ROUNDING_TESTS_long_double): Do not define.
5780 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5781 (EXCEPTION_TESTS_long_double): Likewise.
5782 * sysdeps/mips/mips64/libm-test-ulps: Update.
5784 * include/features.h (__USE_BSD): Remove macro definitions.
5785 (__USE_SVID): Likewise.
5786 (_BSD_SOURCE): Likewise.
5787 (_SVID_SOURCE): Likewise.
5788 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5789 from definition of _DEFAULT_SOURCE.
5790 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5792 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5793 * bits/mman.h [__USE_BSD]: Likewise.
5794 * bits/termios.h [__USE_BSD]: Likewise.
5795 * bits/waitstatus.h [__USE_BSD]: Likewise.
5796 * ctype/ctype.h [__USE_SVID]: Likewise.
5797 * dirent/dirent.h [__USE_BSD]: Likewise.
5798 * grp/grp.h [__USE_SVID]: Likewise.
5799 [__USE_BSD]: Likewise.
5800 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5801 * io/fcntl.h [__USE_BSD]: Likewise.
5802 * io/ftw.h [__USE_BSD]: Likewise.
5803 * io/sys/stat.h [__USE_BSD]: Likewise.
5804 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5805 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5806 * libio/stdio.h [__USE_SVID]: Likewise.
5807 [__USE_BSD]: Likewise.
5808 * math/math.h [__USE_SVID]: Likewise.
5809 [__USE_BSD]: Likewise.
5810 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5811 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5812 * misc/search.h [__USE_SVID]: Likewise.
5813 * misc/sys/mman.h [__USE_BSD]: Likewise.
5814 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5815 * misc/sys/uio.h [__USE_BSD]: Likewise.
5816 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5817 * posix/glob.h [__USE_BSD]: Likewise.
5818 * posix/regex.h [__USE_BSD]: Likewise.
5819 * posix/sys/types.h [__USE_BSD]: Likewise.
5820 [__USE_SVID]: Likewise.
5821 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5822 * posix/sys/wait.h [__USE_BSD]: Likewise.
5823 [__USE_SVID]: Likewise.
5824 * posix/unistd.h [__USE_BSD]: Likewise.
5825 [__USE_SVID]: Likewise.
5826 * pwd/pwd.h [__USE_SVID]: Likewise.
5827 * resolv/netdb.h [__USE_BSD]: Likewise.
5828 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5829 * signal/signal.h [__USE_BSD]: Likewise.
5830 [__USE_SVID]: Likewise.
5831 * socket/sys/socket.h [__USE_BSD]: Likewise.
5832 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5833 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5834 [__USE_SVID]: Likewise.
5835 * string/bits/string2.h [__USE_BSD]: Likewise.
5836 [__USE_SVID]: Likewise.
5837 * string/bits/string3.h [__USE_BSD]: Likewise.
5838 * string/endian.h [__USE_BSD]: Likewise.
5839 * string/string.h [__USE_SVID]: Likewise.
5840 [__USE_BSD]: Likewise.
5841 * string/strings.h [__USE_BSD]: Likewise.
5842 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5843 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5844 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5845 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5846 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5847 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5849 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5851 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5852 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5854 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5855 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5857 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5859 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5860 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5861 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5863 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5865 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5866 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5867 * termios/termios.h [__USE_BSD]: Likewise.
5868 * time/sys/time.h [__USE_BSD]: Likewise.
5869 * time/time.h [__USE_BSD]: Likewise.
5870 [__USE_SVID]: Likewise.
5872 * Makefile (subdir_targets): Remove subdir_lint.out.
5874 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5875 (do-tst-printf): Likewise.
5876 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5877 $(objpfx)tst-printf.out.
5879 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5881 * Makerules (check-abi-%): Change target to
5882 $(objpfx)check-abi-%.out.
5883 (check-abi target): Update dependencies.
5884 (check-abi-pattern variable): Redirect output of diff to $@.
5885 (check-abi variable): Likewise.
5886 * elf/Makefile (check-abi): Update dependencies.
5888 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5890 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5891 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5893 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5894 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5895 value has largest subnormal exponent.
5896 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5897 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5898 * sysdeps/aarch64/soft-fp/sfp-machine.h
5899 (_FP_TININESS_AFTER_ROUNDING): New macro.
5900 * sysdeps/alpha/soft-fp/sfp-machine.h
5901 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5902 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5904 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5905 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5906 * sysdeps/mips/soft-fp/sfp-machine.h
5907 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5908 * sysdeps/powerpc/soft-fp/sfp-machine.h
5909 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5910 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5912 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5913 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5914 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5915 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5916 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5919 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5922 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5925 2014-02-12 Richard Henderson <rth@redhat.com>
5927 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5928 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5929 * sysdeps/unix/sysv/linux/alpha: Move directory from
5930 ports/sysdeps/unix/sysv/linux/alpha.
5931 * README: Update listing for alpha-*-linux-gnu.
5933 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5935 * include/features.h: Update comment documenting feature test
5937 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5939 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5940 (_SVID_SOURCE): Likewise.
5941 (_DEFAULT_SOURCE): Update description of default features.
5942 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5944 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5945 (S_ISVTX): Likewise.
5946 * manual/math.texi (Mathematical Constants): Likewise.
5947 * manual/signal.texi (Interrupted Primitives): Likewise.
5948 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5949 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5950 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5951 Don't refer to _SVID_SOURCE in warning text.
5953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5955 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5957 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5958 * sysdeps/mips/dl-lookup.c: Remove.
5959 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5961 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5964 * math/auto-libm-test-in: Add testcase for expl.
5965 * math/auto-libm-test-out: Regenerate.
5966 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5967 calculation of unsafe.
5968 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5970 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5972 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5973 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5974 ports/sysdeps/unix/sysv/linux/aarch64.
5975 * README: Update listing for aarch64*-*-linux-gnu.
5977 2014-02-11 Will Newton <will.newton@linaro.org>
5979 * manual/probes.texi (Mathematical Function Probes): Use
5980 "triggered" instead of "hit".
5982 * manual/probes.texi (Internal Probes): Add documentation
5983 of setjmp, longjmp and longjmp_target probes.
5985 * include/stap-probe.h: Add comment about probe argument
5988 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5989 definition. (tr_where, tr_freehook, tr_mallochook,
5990 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5992 2014-02-11 David S. Miller <davem@davemloft.net>
5994 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5995 processing int_tests.
5997 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5999 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6000 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6001 * sysdeps/unix/sysv/linux/mips: Move directory from
6002 ports/sysdeps/unix/sysv/linux/mips.
6003 * README: Update listing for mips-*-linux-gnu and
6006 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6008 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6009 * sysdeps/unix/sysv/linux/m68k: Move directory from
6010 ports/sysdeps/unix/sysv/linux/m68k.
6011 * README: Update listing for m68k-*-linux-gnu.
6013 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6015 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6016 * sysdeps/unix/sysv/linux/generic: Move directory from
6017 ports/sysdeps/unix/sysv/linux/generic.
6018 * sysdeps/unix/sysv/linux/tile: Move directory from
6019 ports/sysdeps/unix/sysv/linux/tile.
6020 * README: Update listing for tile*-*-linux-gnu.
6022 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6024 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6026 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6027 * catgets/open_catalog.c (__open_catalog): Likewise.
6028 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6029 * debug/confstr_chk.c: Likewise.
6030 * debug/fread_chk.c (__fread_chk): Likewise.
6031 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6032 * debug/getgroups_chk.c: Likewise.
6033 * debug/mbsnrtowcs_chk.c: Likewise.
6034 * debug/mbsrtowcs_chk.c: Likewise.
6035 * debug/mbstowcs_chk.c: Likewise.
6036 * debug/memcpy_chk.c: Likewise.
6037 * debug/memmove_chk.c: Likewise.
6038 * debug/mempcpy_chk.c: Likewise.
6039 * debug/memset_chk.c: Likewise.
6040 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6041 * debug/strcat_chk.c (__strcat_chk): Likewise.
6042 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6043 * debug/strncat_chk.c (__strncat_chk): Likewise.
6044 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6045 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6046 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6047 * debug/wcpncpy_chk.c: Likewise.
6048 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6049 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6050 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6051 * debug/wcsncpy_chk.c: Likewise.
6052 * debug/wcsnrtombs_chk.c: Likewise.
6053 * debug/wcsrtombs_chk.c: Likewise.
6054 * debug/wcstombs_chk.c: Likewise.
6055 * debug/wmemcpy_chk.c: Likewise.
6056 * debug/wmemmove_chk.c: Likewise.
6057 * debug/wmempcpy_chk.c: Likewise.
6058 * debug/wmemset_chk.c: Likewise.
6059 * dirent/scandirat.c (SCANDIRAT): Likewise.
6060 * dlfcn/dladdr1.c (dladdr1): Likewise.
6061 * dlfcn/dladdr.c (dladdr): Likewise.
6062 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6063 * dlfcn/dlerror.c (__dlerror): Likewise.
6064 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6065 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6066 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6067 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6068 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6069 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6070 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6071 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6073 * elf/dl-conflict.c: Likewise.
6074 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6075 * elf/dl-dst.h: Likewise.
6076 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6077 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6078 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6079 * elf/dl-init.c (call_init, _dl_init): Likewise.
6080 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6081 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6082 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6084 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6086 * elf/dl-minimal.c (__libc_memalign): Likewise.
6087 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6088 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6089 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6090 * elf/dl-sym.c (do_sym): Likewise.
6091 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6092 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6093 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6094 * elf/dl-writev.h (_dl_writev): Likewise.
6095 * elf/ldconfig.c (search_dir): Likewise.
6096 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6097 (dl_main): Likewise.
6098 * elf/setup-vdso.h (setup_vdso): Likewise.
6099 * grp/compat-initgroups.c (compat_call): Likewise.
6100 * grp/fgetgrent.c (fgetgrent): Likewise.
6101 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6102 * grp/putgrent.c (putgrent): Likewise.
6103 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6105 * hurd/hurdinit.c: Likewise.
6106 * iconvdata/8bit-gap.c (struct): Likewise.
6107 * iconvdata/ansi_x3.110.c : Likewise.
6108 * iconvdata/big5.c : Likewise.
6109 * iconvdata/big5hkscs.c : Likewise.
6110 * iconvdata/cp1255.c: Likewise.
6111 * iconvdata/cp1258.c : Likewise.
6112 * iconvdata/cp932.c : Likewise.
6113 * iconvdata/euc-cn.c: Likewise.
6114 * iconvdata/euc-jisx0213.c : Likewise.
6115 * iconvdata/euc-jp.c: Likewise.
6116 * iconvdata/euc-jp-ms.c : Likewise.
6117 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6118 * iconvdata/gb18030.c : Likewise.
6119 * iconvdata/gbbig5.c (const): Likewise.
6120 * iconvdata/gbgbk.c: Likewise.
6121 * iconvdata/gbk.c : Likewise.
6122 * iconvdata/ibm1364.c : Likewise.
6123 * iconvdata/ibm930.c : Likewise.
6124 * iconvdata/ibm932.c: Likewise.
6125 * iconvdata/ibm933.c : Likewise.
6126 * iconvdata/ibm935.c : Likewise.
6127 * iconvdata/ibm937.c : Likewise.
6128 * iconvdata/ibm939.c : Likewise.
6129 * iconvdata/ibm943.c: Likewise.
6130 * iconvdata/iso_11548-1.c: Likewise.
6131 * iconvdata/iso-2022-cn.c : Likewise.
6132 * iconvdata/iso-2022-cn-ext.c : Likewise.
6133 * iconvdata/iso-2022-jp-3.c: Likewise.
6134 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6135 * iconvdata/iso-2022-kr.c : Likewise.
6136 * iconvdata/iso646.c (gconv_end): Likewise.
6137 * iconvdata/iso_6937-2.c : Likewise.
6138 * iconvdata/iso_6937.c : Likewise.
6139 * iconvdata/iso8859-1.c: Likewise.
6140 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6141 * iconvdata/shift_jisx0213.c : Likewise.
6142 * iconvdata/sjis.c : Likewise.
6143 * iconvdata/t.61.c : Likewise.
6144 * iconvdata/tcvn5712-1.c : Likewise.
6145 * iconvdata/tscii.c: Likewise.
6146 * iconvdata/uhc.c : Likewise.
6147 * iconvdata/unicode.c (gconv_end): Likewise.
6148 * iconvdata/utf-16.c (gconv_end): Likewise.
6149 * iconvdata/utf-32.c (gconv_end): Likewise.
6150 * iconvdata/utf-7.c (base64): Likewise.
6151 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6152 * iconv/gconv_close.c (__gconv_close): Likewise.
6153 * iconv/gconv_open.c (__gconv_open): Likewise.
6154 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6155 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6156 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6157 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6158 (ucs4le_internal_loop_single): Likewise.
6159 * iconv/iconv.c (iconv): Likewise.
6160 * iconv/iconv_close.c: Likewise.
6161 * iconv/loop.c (SINGLE): Likewise.
6162 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6163 * include/atomic.h: Likewise.
6164 * inet/inet6_option.c (option_alloc): Likewise.
6165 * intl/bindtextdom.c (set_binding_values): Likewise.
6166 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6167 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6168 * intl/localealias.c (read_alias_file): Likewise.
6169 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6170 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6171 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6172 * libio/fmemopen.c (fmemopen): Likewise.
6173 * libio/iofgets.c (_IO_fgets): Likewise.
6174 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6175 * libio/iofgetws.c (fgetws): Likewise.
6176 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6177 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6178 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6179 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6180 * locale/findlocale.c (_nl_find_locale): Likewise.
6181 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6182 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6184 * locale/setlocale.c (setlocale): Likewise.
6185 * login/programs/pt_chown.c (main): Likewise.
6186 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6187 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6188 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6189 (mmap, mmap64, mremap, munmap): Likewise.
6190 * math/e_exp2l.c: Likewise.
6191 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6192 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6193 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6194 * math/s_catan.c (__catan): Likewise.
6195 * math/s_catanf.c (__catanf): Likewise.
6196 * math/s_catanh.c (__catanh): Likewise.
6197 * math/s_catanhf.c (__catanhf): Likewise.
6198 * math/s_catanhl.c (__catanhl): Likewise.
6199 * math/s_catanl.c (__catanl): Likewise.
6200 * math/s_ccosh.c (__ccosh): Likewise.
6201 * math/s_ccoshf.c (__ccoshf): Likewise.
6202 * math/s_ccoshl.c (__ccoshl): Likewise.
6203 * math/s_cexp.c (__cexp): Likewise.
6204 * math/s_cexpf.c (__cexpf): Likewise.
6205 * math/s_cexpl.c (__cexpl): Likewise.
6206 * math/s_clog10.c (__clog10): Likewise.
6207 * math/s_clog10f.c (__clog10f): Likewise.
6208 * math/s_clog10l.c (__clog10l): Likewise.
6209 * math/s_clog.c (__clog): Likewise.
6210 * math/s_clogf.c (__clogf): Likewise.
6211 * math/s_clogl.c (__clogl): Likewise.
6212 * math/s_csin.c (__csin): Likewise.
6213 * math/s_csinf.c (__csinf): Likewise.
6214 * math/s_csinh.c (__csinh): Likewise.
6215 * math/s_csinhf.c (__csinhf): Likewise.
6216 * math/s_csinhl.c (__csinhl): Likewise.
6217 * math/s_csinl.c (__csinl): Likewise.
6218 * math/s_csqrt.c (__csqrt): Likewise.
6219 * math/s_csqrtf.c (__csqrtf): Likewise.
6220 * math/s_csqrtl.c (__csqrtl): Likewise.
6221 * math/s_ctan.c (__ctan): Likewise.
6222 * math/s_ctanf.c (__ctanf): Likewise.
6223 * math/s_ctanh.c (__ctanh): Likewise.
6224 * math/s_ctanhf.c (__ctanhf): Likewise.
6225 * math/s_ctanhl.c (__ctanhl): Likewise.
6226 * math/s_ctanl.c (__ctanl): Likewise.
6227 * math/w_pow.c: Likewise.
6228 * math/w_powf.c: Likewise.
6229 * math/w_powl.c: Likewise.
6230 * math/w_scalb.c (sysv_scalb): Likewise.
6231 * math/w_scalbf.c (sysv_scalbf): Likewise.
6232 * math/w_scalbl.c (sysv_scalbl): Likewise.
6233 * misc/error.c (error_tail): Likewise.
6234 * misc/pselect.c (__pselect): Likewise.
6235 * nis/nis_callback.c (__nis_create_callback): Likewise.
6236 * nis/nis_call.c (__nisfind_server): Likewise.
6237 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6238 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6239 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6240 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6241 * nis/nis_lookup.c (nis_lookup): Likewise.
6242 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6243 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6244 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6245 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6246 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6247 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6248 * nis/nss_compat/compat-initgroups.c (add_group)
6249 (internal_getgrent_r): Likewise.
6250 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6251 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6252 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6253 (internal_getspnam_r): Likewise.
6254 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6255 (_nss_nis_getaliasbyname_r): Likewise.
6256 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6257 (_nss_nis_getntohost_r): Likewise.
6258 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6259 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6260 (_nss_nis_getgrgid_r): Likewise.
6261 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6262 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6263 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6264 (_nss_nis_gethostbyname4_r): Likewise.
6265 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6266 (initgroups_netid): Likewise.
6267 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6268 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6269 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6270 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6271 (_nss_nis_getprotobynumber_r): Likewise.
6272 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6273 (_nss_nis_getsecretkey): Likewise.
6274 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6275 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6276 (_nss_nis_getpwuid_r): Likewise.
6277 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6278 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6279 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6280 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6281 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6282 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6283 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6285 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6286 (_nss_nisplus_getntohost_r): Likewise.
6287 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6288 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6289 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6290 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6292 * nis/nss_nisplus/nisplus-initgroups.c
6293 (_nss_nisplus_initgroups_dyn): Likewise.
6294 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6295 (_nss_nisplus_getnetbyaddr_r): Likewise.
6296 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6297 (_nss_nisplus_getprotobynumber_r): Likewise.
6298 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6299 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6300 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6302 * nis/nss_nisplus/nisplus-service.c
6303 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6304 (_nss_nisplus_getservbyport_r): Likewise.
6305 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6306 (_nss_nisplus_getspnam_r): Likewise.
6307 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6309 * nscd/aicache.c (addhstaiX): Likewise.
6310 * nscd/cache.c (cache_search, prune_cache): Likewise.
6311 * nscd/connections.c (register_traced_file, send_ro_fd)
6312 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6313 (main_loop_epoll): Likewise.
6314 * nscd/grpcache.c (addgrbyX): Likewise.
6315 * nscd/hstcache.c (addhstbyX): Likewise.
6316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6317 * nscd/mem.c (gc, mempool_alloc): Likewise.
6318 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6319 (addinnetgrX): Likewise.
6320 * nscd/nscd-client.h (__nscd_acquire_maplock)
6321 (__nscd_drop_map_ref): Likewise.
6322 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6323 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6324 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6326 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6328 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6329 (__nscd_get_map_ref): Likewise.
6330 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6331 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6333 * nscd/pwdcache.c (addpwbyX): Likewise.
6334 * nscd/selinux.c (preserve_capabilities): Likewise.
6335 * nscd/servicescache.c (addservbyX): Likewise.
6336 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6337 * posix/fnmatch.c (fnmatch): Likewise.
6338 * posix/getopt.c (_getopt_internal_r): Likewise.
6339 * posix/glob.c (glob, glob_in_dir): Likewise.
6340 * posix/wordexp.c (exec_comm_child): Likewise.
6341 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6342 (getanswer_r, gaih_getanswer_slice): Likewise.
6343 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6344 * resolv/res_init.c: Likewise.
6345 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6346 * resolv/res_query.c (__libc_res_nquery): Likewise.
6347 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6349 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6350 * stdio-common/perror.c (perror): Likewise.
6351 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6352 * stdio-common/tmpnam.c (tmpnam): Likewise.
6353 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6354 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6355 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6357 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6358 * stdlib/putenv.c (putenv): Likewise.
6359 * stdlib/setenv.c (__add_to_environ): Likewise.
6360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6361 * stdlib/strtol_l.c (INTERNAL): Likewise.
6362 * string/memmem.c (memmem): Likewise.
6363 * string/strerror.c (strerror): Likewise.
6364 * string/strnlen.c (__strnlen): Likewise.
6365 * string/test-memmem.c (simple_memmem): Likewise.
6366 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6367 * sunrpc/pm_getport.c (__get_socket): Likewise.
6368 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6369 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6370 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6371 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6373 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6374 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6375 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6376 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6377 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6378 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6380 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6382 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6383 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6384 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6385 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6386 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6388 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6389 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6390 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6391 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6392 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6393 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6395 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6399 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6402 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6403 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6404 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6405 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6414 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6416 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6418 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6420 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6422 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6423 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6424 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6426 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6427 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6428 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6429 * sysdeps/posix/sleep.c: Likewise.
6430 * sysdeps/posix/tempname.c: Likewise.
6431 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6432 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6434 * sysdeps/powerpc/powerpc32/dl-machine.h
6435 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6436 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6438 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6439 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6441 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6442 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6443 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6444 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6445 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6446 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6447 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6448 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6449 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6450 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6452 (elf_machine_lazy_rel): Likewise.
6453 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6455 (elf_machine_lazy_rel): Likewise.
6456 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6457 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6458 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6459 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6460 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6461 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6462 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6465 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6466 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6467 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6468 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6469 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6470 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6471 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6472 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6473 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6474 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6475 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6477 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6478 (__posix_fallocate64_l64): Likewise.
6479 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6480 (posix_fallocate): Likewise.
6481 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6484 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6485 (getifaddrs_internal): Likewise.
6486 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6487 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6488 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6489 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6490 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6491 (__posix_fallocate64_l64): Likewise.
6492 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6494 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6495 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6496 (__get_clockfreq): Likewise.
6497 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6498 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6499 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6502 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6503 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6504 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6506 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6507 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6508 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6510 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6511 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6512 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6514 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6515 (posix_fallocate): Likewise.
6516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6517 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6518 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6519 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6520 (elf_machine_rela, elf_machine_rela_relative)
6521 (elf_machine_lazy_rel): Likewise.
6522 * time/asctime.c (asctime_internal): Likewise.
6523 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6524 * time/tzset.c (__tzset_parse_tz): Likewise.
6525 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6526 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6527 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6528 * wcsmbs/wcsmbsload.h: Likewise.
6531 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6533 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6534 (arena_get2): Remove THREAD_STATS conditionals.
6535 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6536 (__malloc_stats, int): Likewise.
6538 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6540 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6541 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6543 * manual/setjmp.texi: Fix typos/grammar errors.
6545 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6546 Only return early when n is <= 0. Delete unused return statement.
6548 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6549 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6550 * debug/tst-longjmp_chk3.c: New file.
6552 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6553 (test_main): Replace code with set_fortify_handler call.
6554 * debug/test-strcpy_chk.c: Likewise.
6555 * debug/tst-chk1.c: Likewise.
6556 * debug/tst-longjmp_chk.c: Likewise.
6557 * test-skeleton.c: Include fcntl.h & paths.h
6558 (set_fortify_handler): Define.
6560 * debug/tst-longjmp_chk.c: Add header comment and include
6562 (do_test): Mark static.
6563 (TEST_FUNCTION): Define.
6565 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6566 (IP_PMTUDISC_INTERFACE): Likewise.
6567 (IP_MULTICAST_IF): Likewise.
6568 (IP_MULTICAST_TTL): Likewise.
6569 (IP_MULTICAST_LOOP): Likewise.
6570 (IP_ADD_MEMBERSHIP): Likewise.
6571 (IP_DROP_MEMBERSHIP): Likewise.
6572 (IP_UNBLOCK_SOURCE): Likewise.
6573 (IP_BLOCK_SOURCE): Likewise.
6574 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6575 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6576 (IP_MSFILTER): Likewise.
6577 (MCAST_JOIN_GROUP): Likewise.
6578 (MCAST_BLOCK_SOURCE): Likewise.
6579 (MCAST_UNBLOCK_SOURCE): Likewise.
6580 (MCAST_LEAVE_GROUP): Likewise.
6581 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6582 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6583 (MCAST_MSFILTER): Likewise.
6584 (IP_MULTICAST_ALL): Likewise.
6585 (IP_UNICAST_IF): Likewise.
6587 * timezone/Makefile: Delete $(have-ksh) check.
6588 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6589 * timezone/tzselect.ksh: Add +x mode bits.
6591 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6592 (ANON_INODE_FS_MAGIC): Likewise.
6593 (BDEVFS_MAGIC): Likewise.
6594 (BINFMTFS_MAGIC): Likewise.
6595 (BTRFS_TEST_MAGIC): Likewise.
6596 (CRAMFS_MAGIC_WEND): Likewise.
6597 (DEBUGFS_MAGIC): Likewise.
6598 (ECRYPTFS_SUPER_MAGIC): Likewise.
6599 (EXT3_SUPER_MAGIC): Likewise.
6600 (EXT4_SUPER_MAGIC): Likewise.
6601 (FUTEXFS_SUPER_MAGIC): Likewise.
6602 (HOSTFS_SUPER_MAGIC): Likewise.
6603 (HUGETLBFS_MAGIC): Likewise.
6604 (MINIX3_SUPER_MAGIC): Likewise.
6605 (MTD_INODE_FS_MAGIC): Likewise.
6606 (NILFS_SUPER_MAGIC): Likewise.
6607 (OPENPROM_SUPER_MAGIC): Likewise.
6608 (PIPEFS_MAGIC): Likewise.
6609 (PSTOREFS_MAGIC): Likewise.
6610 (QNX6_SUPER_MAGIC): Likewise.
6611 (RAMFS_MAGIC): Likewise.
6612 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6613 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6614 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6615 (SECURITYFS_MAGIC): Likewise.
6616 (SELINUX_MAGIC): Likewise.
6617 (SMACK_MAGIC): Likewise.
6618 (SOCKFS_MAGIC): Likewise.
6619 (SQUASHFS_MAGIC): Likewise.
6620 (STACK_END_MAGIC): Likewise.
6621 (TMPFS_MAGIC): Likewise.
6622 (USBDEVICE_SUPER_MAGIC): Likewise.
6623 (V9FS_MAGIC): Likewise.
6624 (XENFS_SUPER_MAGIC): Likewise.
6625 (CRAMFS_MAGIC): Fix typo in comment.
6626 (EXT2_SUPER_MAGIC): Update comment.
6627 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6629 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6631 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6632 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6633 * sysdeps/unix/sysv/linux/arm: Move directory from
6634 ports/sysdeps/unix/sysv/linux/arm.
6635 * README: Update listing for arm-*-linux-gnueabi.
6637 * README: Remove mention of am33.
6639 2014-02-07 Roland McGrath <roland@hack.frob.com>
6641 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6642 than the comma operator, to avoid "rhs of comma has no effect"
6644 (__sigfillset, __sigandset, __sigorset): Likewise.
6645 * include/signal.h (__sigemptyset): Likewise.
6646 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6648 2014-02-07 Allan McRae <allan@archlinux.org>
6650 * version.h (RELEASE): Set to "development".
6651 (VERSION): Set to "2.19.90"
6652 * NEWS: Add 2.20 section.
6654 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6657 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6659 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6661 * manual/contrib.texi: Update entry for Carlos O'Donell,
6662 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6664 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6666 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6668 * sysdeps/unix/sysv/linux/kernel-features.h
6669 [__LINUX_KERNEL_VERSION >= 0x020621]
6670 (__ASSUME_PROC_PID_TASK_COMM): Define.
6672 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6675 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6676 conversion when destination buffer does not have enough space.
6677 * libio/tst-ftell-partial-wide.c: New test case.
6678 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6680 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6681 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6682 Leonard and Allan McRae.
6684 2014-02-04 David S. Miller <davem@davemloft.net>
6686 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6689 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6718 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6720 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6721 * shlib-versions: Likewise.
6723 2014-02-04 Roland McGrath <roland@hack.frob.com>
6724 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6726 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6727 (abilist-pattern): New variable, set to %-le.abilist.
6729 * Makerules (abilist-pattern): New variable.
6730 (vpath): Use $(abilist-pattern) in place of %.abilist.
6731 (check-abi-% pattern rule): Likewise.
6732 (check-abi, update-abi): Likewise.
6734 2014-02-04 Eric Wong <normalperson@yhbt.net>
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6738 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6740 * manual/startup.texi: Add next, previous, and top entries for
6741 the `Program Arguments' and `Environment Variables' nodes.
6743 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6745 * manual/macros.texi: Add comments before MTASC-safety macros.
6747 * manual/users.texi: Document MTASC-safety properties.
6749 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6750 (pthread_getspecific, pthread_setspecific): Format with
6751 @deftypefun, and add @safety note.
6752 * manual/signal.texi: Move comments that analyze the above
6753 functions to their home place.
6755 2014-02-03 Allan McRae <allan@archlinux.org>
6757 * po/sl.po: Update Slovenian translation from translation project.
6759 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6761 * manual/time.texi (timegm): Add missing blank after @c.
6762 Reported by Joseph Myers <joseph@codesourcery.com>.
6764 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6766 * manual/check-safety.sh: New.
6767 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6769 * manual/terminal.texi: Document MTASC-safety properties.
6771 * manual/filesys.texi: Document MTASC-safety properties.
6773 * manual/errno.texi: Document MTASC-safety properties.
6775 * manual/intro.texi: Document safety identifiers and
6778 * manual/string.texi (wcstok): Fix prototype.
6779 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6781 * manual/time.texi: Document MTASC-safety properties.
6783 * manual/string.texi: Document MTASC-safety properties.
6785 * manual/threads.texi: Document MTASC-safety properties.
6787 * manual/stdio.texi: Document MTASC-safety properties.
6789 * manual/syslog.texi: Document MTASC-safety properties.
6791 * manual/sysinfo.texi: Document MTASC-safety properties.
6793 * manual/startup.texi: Document MTASC-safety properties.
6795 * manual/socket.texi: Document MTASC-safety properties.
6797 * manual/signal.texi: Document MTASC-safety properties.
6799 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6801 * manual/setjmp.texi: Document MTASC-safety properties.
6803 * manual/search.texi: Document MTASC-safety properties.
6805 * manual/resource.texi: Document MTASC-safety properties.
6807 * manual/process.texi: Document MTASC-safety properties.
6809 * manual/platform.texi: Document MTASC-safety properties.
6811 * manual/pipe.texi: Document MTASC-safety properties.
6813 * manual/pattern.texi: Document MTASC-safety properties.
6815 * manual/message.texi: Document MTASC-safety properties.
6818 * manual/memory.texi: Document MTASC-safety properties.
6820 * manual/math.texi: Document MTASC-safety properties.
6822 * manual/locale.texi: Document MTASC-safety properties.
6824 * manual/llio.texi: Document MTASC-safety properties.
6826 * manual/libdl.texi: New.
6828 * manual/lang.texi: Document MTASC-safety properties.
6830 * manual/job.texi: Document MTASC-safety properties.
6832 * manual/getopt.texi: Document MTASC-safety properties.
6834 * manual/ctype.texi: Document MTASC-safety properties.
6836 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6839 * csu/libc-tls.c (static_map): Remove variable.
6840 (__libc_setup_tls): Use main executable's link map for TLS data.
6841 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6842 casing for LM_ID_BASE and GL(dl_nns).
6843 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6844 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6845 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6846 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6847 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6849 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6852 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6854 * manual/debug.texi: Document MTASC-safety properties.
6856 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6859 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6860 of __x86_64__ when disabling x87 inline functions.
6862 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6864 * manual/charset.texi: Document MTASC-safety properties.
6866 * manual/crypt.texi: Document MTASC-safety properties.
6868 * manual/conf.texi: Document MTASC-safety properties.
6870 * manual/arith.texi: Document MTASC-safety properties.
6872 * manual/argp.texi: Document MTASC-safety properties.
6874 * manual/macros.texi: Introduce macros to document multi
6875 thread, asynchronous signal and asynchronous cancellation
6877 * manual/intro.texi: Introduce the properties themselves.
6879 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6881 * sysdeps/sh/sh4/Makefile: New file.
6883 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6885 * math/gen-libm-test.pl ($srcdir): New variable.
6886 ($auto_input): Use it.
6888 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6891 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6892 access beyond array bounds when parsing netgroups file.
6894 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6895 the old buffer before realloc.
6897 2014-01-27 Allan McRae <allan@archlinux.org>
6899 * po/fr.po: Update French translation from translation project.
6901 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6903 * sysdeps/sh/libm-test-ulps: Regenerate.
6905 2014-01-24 David S. Miller <davem@davemloft.net>
6907 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6909 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6911 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6912 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6914 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6917 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6918 string pointers after reallocation.
6920 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6922 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6923 __SH4A__ instead of __SH_FPU_ANY__.
6925 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6927 * sysdeps/sh/fpu_control.h: New file.
6928 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6929 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6930 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6931 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6932 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6933 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6934 * sysdeps/sh/sys/ucontext.h: Remove.
6935 * sysdeps/sh/sys: Remove directory.
6937 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6939 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6940 s390/sys/ucontext.h.
6941 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6942 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6944 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6947 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6949 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6953 Adjust the vDSO correctly for internal calls.
6954 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6956 2014-01-20 Allan McRae <allan@archlinux.org>
6958 * po/ca.po: Update Catalan translation from translation project.
6960 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6962 * sysdeps/s390/sotruss-lib.c: New file.
6964 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6968 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6969 local calls issues by not having a PLT stub required for IFUNC calls.
6970 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6972 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6974 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6975 * math/test-fpucw-static.c: Likewise.
6977 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6980 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6982 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6984 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6985 implementation for powerpc.
6987 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6990 * sysdeps/posix/system.c (__libc_system): Do not enable
6991 asynchronous cancellation.
6993 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6996 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6997 handling only for numbers special also in the IEEE case.
6999 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7001 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7003 2014-01-11 Allan McRae <allan@archlinux.org>
7005 * po/bg.po: Update Bulgarian translation from translation project.
7007 * po/de.po: Update German translation from translation project.
7009 2014-01-10 Roland McGrath <roland@hack.frob.com>
7011 * sysdeps/generic/gcc-compat.h: New file.
7013 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7015 * benchtests/asin-inputs: Correct slow inputs.
7016 * benchtests/acos-inputs: Likewise.
7018 2014-01-10 Allan McRae <allan@archlinux.org>
7020 * po:sv.po: Update Swedish translation from translation project.
7022 * po/vi.po: Update Vietnamese translation from translation project.
7024 * po/eo.po: Update Esperanto translation from translation project.
7026 * po/cs.po: Update Czech translation from translation project.
7028 * po/nl.po: Update Dutch translation from translation project.
7030 * po/pl.po: Update Polish translation from translation project.
7032 * po/ru.po: Update Russian translation from translation project.
7034 * po/uk.po: Update Ukrainian translation from translation project.
7036 2014-01-08 Brooks Moses <bmoses@google.com>
7038 * elf/dl-load.c: Fix comment typo.
7040 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7042 * po/header.pot: Rename to...
7043 * po/pot.header: ... this.
7044 * po/Makefile: Use pot.header.
7046 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7047 Maxim Kuvyrkov <maxim@kugelworks.com>
7050 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7051 SRC and DEST against LEN.
7053 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7056 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7058 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7060 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7064 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7068 for large positive arguments.
7070 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7072 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7074 * math/auto-libm-test-in: Mark various tests with
7075 xfail-rounding:ldbl-128ibm.
7076 * math/auto-libm-test-out: Regenerated.
7079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7080 Increase overflow threshold.
7082 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7085 * stdio-common/vfprintf.c: Check for integer overflow.
7087 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7089 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7090 the first argument and return value of __tls_get_addr_internal.
7092 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7094 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7095 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7097 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7099 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7100 * sysdeps/s390/rtld-global-offsets.sym: New file.
7101 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7103 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7104 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7105 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7107 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7108 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7114 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7115 halfs of GPRs for high_gprs contexts.
7116 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7117 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7119 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7121 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7123 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7124 for high GPRs (uc_high_gprs) and for future extensions
7126 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7127 for future extensions (__reserved).
7128 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7130 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7131 SC_HIGHGPRS offset definition.
7132 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7133 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7135 * Versions.def: Add GLIBC_2.19 for libpthread.
7136 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7137 siglongjmp for libpthread with GLIBC_2.19 symver.
7138 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7139 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7140 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7141 * sysdeps/s390/__longjmp.c: New file.
7142 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7143 * sysdeps/s390/longjmp.c: New file.
7144 * sysdeps/s390/setjmp.S: New file.
7145 * sysdeps/s390/sigjmp.S: New file.
7146 * sysdeps/s390/v1-longjmp.c: New file.
7147 * sysdeps/s390/v1-setjmp.h: New file.
7148 * sysdeps/s390/v1-sigjmp.c: New file.
7149 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7150 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7152 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7154 versioned symbols for ____longjmp_chk.
7155 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7165 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7166 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7167 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7168 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7169 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7170 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7171 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7172 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7173 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7174 * sysdeps/s390/rtld-__longjmp.c: New file.
7175 * sysdeps/s390/rtld-setjmp.S: New file.
7177 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7180 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7181 Return -__logl (x) for small positive arguments without evaluating
7184 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7186 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7188 (__ptrace_peeksiginfo_args): ... this.
7189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7193 2014-01-06 Allan McRae <allan@archlinux.org>
7195 * inet/netinet/in.h: Fix typo in comment.
7197 2014-01-05 Andreas Jaeger <aj@suse.de>
7199 * sysdeps/i386/fpu/libm-test-ulps: Update.
7201 2014-01-05 Allan McRae <allan@archlinux.org>
7203 * po/libc.pot: Regenerated.
7205 * malloc/memusagestat.c: Fix gettext call formatting.
7207 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7209 * nscd/nscd.c: Improve usage() output.
7211 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7213 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7214 * sysdeps/unix/sysv/linux/configure: Regenerated.
7215 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7216 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7218 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7221 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7222 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7224 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7226 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7227 extra tokens at end of #undef directive.
7228 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7229 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7230 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7232 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7234 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7236 * math/auto-libm-test-in: Mark various tests with
7237 xfail-rounding:ldbl-128ibm.
7238 * math/auto-libm-test-out: Regenerated.
7240 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7243 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7244 numbers with subnormal high part when calculating exponent.
7247 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7251 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7253 (__ieee754_acoshl): Use __log1pl not __log1p.
7255 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7257 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7258 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7259 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7260 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7261 (reused_arena, arena_get2): Convert to GNU style.
7262 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7263 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7264 (memalign_check, __malloc_set_state): Likewise.
7265 * malloc/mallocbug.c (main): Likewise.
7266 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7267 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7268 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7269 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7270 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7271 (__posix_memalign, malloc_info): Likewise.
7272 * malloc/malloc.h: Likewise.
7273 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7274 (mallochook, memalignhook, reallochook, mabort): Likewise.
7275 * malloc/mcheck.h: Likewise.
7276 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7277 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7278 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7279 * malloc/morecore.c (__default_morecore): Likewise.
7280 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7281 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7282 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7283 (print_and_abort): Likewise.
7284 * malloc/obstack.h: Likewise.
7285 * malloc/set-freeres.c (__libc_freeres): Likewise.
7286 * malloc/tst-mallocstate.c (main): Likewise.
7287 * malloc/tst-mtrace.c (main): Likewise.
7288 * malloc/tst-realloc.c (do_test): Likewise.
7290 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7293 * nscd/netgroupcache.c (do_notfound): New function.
7294 (addgetnetgrentX): Use it.
7297 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7298 NSS_STATUS_NOTFOUND.
7300 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7302 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7305 2014-01-01 Allan McRae <allan@archlinux.org>
7307 * scripts/update-copyrights: Update configure input file suffix.
7309 * NEWS: Update copyright year.
7310 * catgets/gencat.c: Likewise.
7311 * csu/version.c: Likewise.
7312 * debug/catchsegv.sh: Likewise.
7313 * debug/pcprofiledump.c: Likewise.
7314 * debug/xtrace.sh: Likewise.
7315 * elf/ldconfig.c: Likewise.
7316 * elf/ldd.bash.in: Likewise.
7317 * elf/pldd.c: Likewise.
7318 * elf/sotruss.ksh: Likewise.
7319 * elf/sprof.c: Likewise.
7320 * iconv/iconv_prog.c: Likewise.
7321 * iconv/iconvconfig.c: Likewise.
7322 * locale/programs/locale.c: Likewise.
7323 * locale/programs/localedef.c: Likewise.
7324 * login/programs/pt_chown.c: Likewise.
7325 * malloc/memusage.sh: Likewise.
7326 * malloc/memusagestat.c: Likewise.
7327 * malloc/mtrace.pl: Likewise.
7328 * manual/libc.texinfo: Likewise.
7329 * nscd/nscd.c: Likewise.
7330 * nss/getent.c: Likewise.
7331 * nss/makedb.c: Likewise.
7332 * posix/getconf.c: Likewise.
7333 * scripts/test-installation.pl: Likewise.
7335 * All files with FSF copyright notices: Update copyright dates
7336 using scripts/update-copyrights.
7337 * intl/plural.c: Regenerated.
7338 * locale/programs/charmap-kw.h: Likewise.
7339 * locale/programs/locfile-kw.h: Likewise.
7341 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7343 * sysdeps/unix/sysv/linux/configure: Regenerated.
7344 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7345 the linux/fanotify.h header.
7346 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7347 HAVE_LINUX_FANOTIFY_H is defined.
7349 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7351 * benchtests/cos-inputs: New inputs.
7352 * benchtests/sin-inputs: Likewise.
7354 * benchtests/atan-inputs: New inputs. Fix name of multiple
7355 precision fallback inputs.
7357 * benchtests/atanh-inputs: New inputs.
7358 * benchtests/tanh-inputs: Likewise.
7360 * benchtests/acosh-inputs: New inputs.
7361 * benchtests/asinh-inputs: Likewise.
7363 * benchtests/cosh-inputs: New inputs.
7364 * benchtests/sinh-inputs: Likewise.
7366 * benchtests/acos-inputs: Add more inputs.
7367 * benchtests/asin-inputs: Likewise.
7369 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7372 * manual/arith.texi: Fix spelling.
7373 * manual/charset.texi: Likewise.
7374 * manual/errno.texi: Likewise.
7375 * manual/filesys.texi: Likewise.
7376 * manual/lang.texi: Likewise.
7377 * manual/llio.texi: Likewise.
7378 * manual/locale.texi: Likewise.
7379 * manual/message.texi: Likewise.
7380 * manual/resource.texi: Likewise.
7381 * manual/search.texi: Likewise.
7382 * manual/setjmp.texi: Likewise.
7383 * manual/stdio.texi: Likewise.
7384 * manual/string.texi: Likewise.
7385 * manual/sysinfo.texi: Likewise.
7386 * manual/time.texi: Likewise.
7388 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7390 * po/sl.po: New file.
7392 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7394 * .gitignore: Add core/.gdbinit/.gdb_history.
7396 2013-12-27 Allan McRae <allan@archlinux.org>
7399 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7400 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7402 2013-12-24 Brooks Moses <bmoses@google.com>
7404 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7405 all compilers that claim C++98 compliance, not just GCC.
7406 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7409 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7411 * NEWS: Restore accidentally deleted bug-fix entries.
7413 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7414 Ondřej Bílka <neleai@seznam.cz>
7417 * malloc/malloc.c (_int_free): Perform sanity check only if we
7420 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7423 * manual/stdio.texi (String Input Conversions): Clarify that character
7424 classes are not supported.
7426 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7430 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7433 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7434 Calculate results for small negative arguments directly rather
7435 than using reflection formula with special underflow handling.
7437 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7438 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7439 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7440 (fchflags): Likewise.
7442 (setlogin): Likewise.
7443 (sigaltstack): Likewise.
7446 (sigsetmask): Likewise.
7448 (waitpid): Likewise.
7449 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7450 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7452 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7453 * sysdeps/unix/bsd/Makefile: ... here.
7454 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7455 * sysdeps/unix/bsd/Versions: ... here.
7456 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7457 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7458 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7459 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7460 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7461 * sysdeps/unix/bsd/sigblock.c: ... here.
7462 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7463 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7464 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7465 * sysdeps/unix/bsd/sigvec.c: ... here.
7466 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7467 * sysdeps/unix/bsd/tcdrain.c: ... here.
7468 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7469 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7470 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7471 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7472 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7473 * sysdeps/unix/bsd/wait.c: ... here.
7474 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7475 * sysdeps/unix/bsd/wait3.c: ... here.
7476 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7477 * sysdeps/unix/bsd/waitpid.c: ... here.
7479 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7482 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7483 round-to-nearest for [!USE_AS_EXPM1L].
7484 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7485 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7486 more tests of exp and exp10. Expect some exp10 tests to miss
7487 exceptions or fail in directed rounding modes.
7488 * math/auto-libm-test-out: Regenerated.
7489 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7490 (exp10_test_tonearest): New function.
7491 (exp10_towardzero_test_data): New array.
7492 (exp10_test_towardzero): New function.
7493 (exp10_downward_test_data): New array.
7494 (exp10_test_downward): New function.
7495 (exp10_upward_test_data): New array.
7496 (exp10_test_upward): New function.
7497 (main): Call the new functions.
7498 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7501 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7503 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7504 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7505 * math/auto-libm-test-out: Regenerated.
7506 * math/libm-test.inc (acosh_test_data): Add more tests.
7507 (atanh_test_data): Likewise.
7508 (ceil_test_data): Likewise.
7509 (copysign_test_data): Likewise.
7510 * sysdeps/i386/fpu/libm-test-ulps: Update.
7511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513 * timezone/checktab.awk: Update from tzcode 2013i.
7514 * timezone/private.h: Likewise.
7515 * timezone/scheck.c: Likewise.
7516 * timezone/tzfile.h: Likewise.
7517 * timezone/tzselect.ksh: Likewise.
7518 * timezone/zdump.c: Likewise.
7519 * timezone/zic.c: Likewise.
7521 * math/auto-libm-test-in: Add tests of cpow.
7522 * math/auto-libm-test-out: Regenerated.
7523 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7524 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7526 (func_calc_desc): Add mpc_cc_c union field.
7527 (test_functions): Add cpow.
7528 (special_fill_2pi): New function.
7529 (special_real_inputs): Add 2pi.
7530 (calc_generic_results): Handle mpc_cc_c.
7531 * sysdeps/i386/fpu/libm-test-ulps: Update.
7532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7534 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7535 csqrt, ctan and ctanh.
7536 * math/auto-libm-test-out: Regenerated.
7537 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7538 (TEST_COND_x86): Likewise.
7539 (ccos_test_data): Use AUTO_TESTS_c_c.
7540 (ccosh_test_data): Likewise.
7541 (cexp_test_data): Likewise.
7542 (clog_test_data): Likewise.
7543 (csqrt_test_data): Likewise.
7544 (ctan_test_data): Likewise.
7545 (ctan_tonearest_test_data): Likewise.
7546 (ctan_towardzero_test_data): Likewise.
7547 (ctan_downward_test_data): Likewise.
7548 (ctan_upward_test_data): Likewise.
7549 (ctanh_test_data): Likewise.
7550 (ctanh_tonearest_test_data): Likewise.
7551 (ctanh_towardzero_test_data): Likewise.
7552 (ctanh_downward_test_data): Likewise.
7553 (ctanh_upward_test_data): Likewise.
7554 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7556 (func_calc_desc): Add mpc_c_c union field.
7557 (FUNC_mpc_c_c): New macro.
7558 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7559 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7561 (special_fill_min_subnorm_p120): New function.
7562 (special_real_inputs): Add min_subnorm_p120.
7563 (calc_generic_results): Handle mpc_c_c.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7569 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7570 (do_sin_slow): New functions.
7571 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7572 (cslow2, csloww1, csloww2): Use the new functions.
7574 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7575 Use M to change sign of result instead of X. Assume X is
7577 (csloww1): Likewise.
7581 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7588 (sloww1): Don't adjust sign of DX.
7589 (csloww1): Likewise.
7590 (sloww2): Use X directly and don't adjust sign of DX.
7591 (csloww2): Likewise.
7593 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7595 * math/auto-libm-test-in: Add tests of cabs and carg.
7596 * math/auto-libm-test-out: Regenerated.
7597 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7598 (carg_test_data): Likewise.
7599 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7601 (func_calc_desc): Add mpc_c_f union field.
7602 (test_functions): Add cabs and carg.
7603 (calc_generic_results): Handle mpc_c_f.
7605 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7606 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7607 as a macro and a compat symbol.
7608 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7609 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7610 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7611 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7612 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7613 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7615 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7617 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7619 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7621 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7623 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7625 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7626 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7629 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7633 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7635 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7636 trailing whitespace removed.
7637 * scripts/config.guess: Update to version 2013-11-29.
7638 * scripts/config.sub: Update to version 2013-10-01.
7640 * math/auto-libm-test-in: Add tests of sincos.
7641 * math/auto-libm-test-out: Regenerated.
7642 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7643 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7645 (func_calc_desc): Add mpfr_f_11 union field.
7646 (test_functions): Add sincos.
7647 (calc_generic_results): Handle mpfr_f_11.
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7651 2013-12-19 Andreas Schwab <schwab@suse.de>
7653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7655 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7656 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7657 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7659 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7661 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7662 * sysdeps/i386/fpu/libm-test-ulps: Update.
7663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7666 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7667 round-to-nearest mode when using frndint.
7668 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7669 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7670 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7672 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7674 * math/auto-libm-test-out: Regenerated.
7675 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7676 (TEST_COND_x86): Likewise.
7677 (expm1_tonearest_test_data): New array.
7678 (expm1_test_tonearest): New function.
7679 (expm1_towardzero_test_data): New array.
7680 (expm1_test_towardzero): New function.
7681 (expm1_downward_test_data): New array.
7682 (expm1_test_downward): New function.
7683 (expm1_upward_test_data): New array.
7684 (expm1_test_upward): New function.
7685 (main): Run the new test functions.
7686 * sysdeps/i386/fpu/libm-test-ulps: Update.
7687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7689 * include/features.h: Update comment documenting feature test
7690 macros. Mention _DEFAULT_SOURCE in comment.
7691 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7692 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7693 _BSD_SOURCE and _SVID_SOURCE.
7694 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7695 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7696 !_SVID_SOURCE]: Likewise.
7697 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7698 (__USE_POSIX_IMPLICITLY): Define.
7699 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7700 (_POSIX_SOURCE): Undefine and redefine.
7701 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7702 (_POSIX_C_SOURCE): Likewise.
7703 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7704 (Feature Test Macros): Update documentation of default features.
7706 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7708 * benchtests/Makefile: Add bench-strtok.
7709 * benchtests/bench-strtok.c: New file: strtok benchtest.
7711 2013-12-19 Allan McRae <allan@archlinux.org>
7713 * manual/install.texi: Suppress menu for plain text output.
7714 * INSTALL: Regenerated.
7716 2013-12-18 Brooks Moses <bmoses@google.com>
7719 * misc/getauxval.c: Include errno.h.
7720 (__getauxval): Set errno to ENOENT if the requested type is not
7722 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7723 don't declare with __attribute_const__.
7724 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7725 * manual/startup.texi: Document that getauxval sets errno.
7727 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7729 * math/auto-libm-test-in: Add tests of jn and yn.
7730 * math/auto-libm-test-out: Regenerated.
7731 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7732 (yn_test_data): Likewise.
7733 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7735 (func_calc_desc): Add mpfr_if_f union field.
7736 (FUNC_mpfr_if_f): New macro.
7737 (test_functions): Add jn and yn.
7738 (calc_generic_results): Assert type of second input for
7739 mpfr_ff_f. Handle mpfr_if_f.
7740 (output_for_one_input_case): Disable all checking for arguments
7741 fitting floating-point types in case of an integer argument.
7742 * sysdeps/i386/fpu/libm-test-ulps: Update.
7743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7746 Don't expect fegetround reference in libm.so.
7748 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7750 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7751 $(config-cflags-nofma).
7753 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7755 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7756 * math/auto-libm-test-out: Regenerated.
7759 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7760 to determine exponent and adjust argument to have exponent of -1.
7761 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7763 * math/auto-libm-test-out: Regenerated.
7764 * sysdeps/i386/fpu/libm-test-ulps: Update.
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7769 * manual/probes.texi: Remove cases when per-thread arenas are
7772 2013-12-18 Andreas Schwab <schwab@suse.de>
7774 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7775 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7776 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7777 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7778 * sysdeps/i386/i686/multiarch/Makefile: Update.
7779 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7781 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7783 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7784 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7786 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7789 Support TZ transition times < 00:00:00.
7790 This is needed for version-3 tz-format files; it supports time
7791 stamps past 2037 for America/Godthab (the only entry in the tz
7792 database for which this change is relevant).
7793 * manual/time.texi (TZ Variable): Document transition times
7794 from -167:59:59 through -00:00:01.
7795 * time/tzset.c (tz_rule): Time of day is now signed.
7796 (__tzset_parse_tz): Parse negative time of day.
7798 Document TZ transition times >= 25:00:00.
7799 * manual/time.texi (TZ Variable): Document transition times from
7800 25:00:00 through 167:59:59. These are already supported, and this
7801 support will help with version-3 tz-format files.
7803 * manual/time.texi (TZ Variable): Modernize North America example
7804 to reflect current (i.e., 2007-and-later) daylight saving rules.
7806 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7808 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7810 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7811 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7814 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7815 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7816 * sysdeps/unix/bsd/clock.c: Likewise.
7817 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7818 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7819 * sysdeps/unix/bsd/init-posix.c: Likewise.
7820 * sysdeps/unix/bsd/poll.c: Likewise.
7821 * sysdeps/unix/bsd/ptsname.c: Likewise.
7822 * sysdeps/unix/bsd/seekdir.c: Likewise.
7823 * sysdeps/unix/bsd/setegid.c: Likewise.
7824 * sysdeps/unix/bsd/seteuid.c: Likewise.
7825 * sysdeps/unix/bsd/setgid.c: Likewise.
7826 * sysdeps/unix/bsd/setrgid.c: Likewise.
7827 * sysdeps/unix/bsd/setruid.c: Likewise.
7828 * sysdeps/unix/bsd/setsid.c: Likewise.
7829 * sysdeps/unix/bsd/setuid.c: Likewise.
7830 * sysdeps/unix/bsd/sigaction.c: Likewise.
7831 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7832 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7833 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7834 * sysdeps/unix/bsd/telldir.c: Likewise.
7835 * sysdeps/unix/bsd/times.c: Likewise.
7836 * sysdeps/unix/bsd/usleep.c: Likewise.
7838 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7839 ($(objpfx)libbsd-compat.a): Remove rule.
7841 * include/features.h (__FAVOR_BSD): Do not define.
7842 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7843 features conflicting with POSIX.
7844 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7845 (_BSD_SOURCE): Remove description of not being a subset of other
7846 feature test macros.
7847 * manual/job.texi (getpgrp): Do not document BSD version.
7848 (getpgid): Do not document by reference to BSD getpgrp.
7849 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7850 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7851 * signal/signal.h [__FAVOR_BSD]: Likewise.
7852 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7853 instead of making contents conditional on [__FAVOR_BSD].
7854 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7856 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7860 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7863 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7864 values below 2**-450, not 2**-500.
7865 * math/auto-libm-test-in: Don't allow spurious underflow from
7867 * math/auto-libm-test-out: Regenerated.
7871 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7872 values of ha and hb and sort them after adjusting subnormal
7874 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7876 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7877 values of ea and eb and sort them after adjusting subnormal
7879 * math/auto-libm-test-in: Do not expect some hypot tests of
7880 subnormals to fail. Add more hypot tests.
7881 * math/auto-libm-test-out: Regenerated.
7883 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7886 * sysdeps/sh/s_fma.c: New file.
7887 * sysdeps/sh/s_fmaf.c: New file.
7888 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7890 * sysdeps/sh/Implies: Add sh/soft-fp.
7892 2013-12-16 Roland McGrath <roland@hack.frob.com>
7894 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7895 level of indirection to members `objname', `errstring', `malloced'.
7896 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7897 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7898 it as the __longjmp argument (just pass 1 instead).
7899 (_dl_catch_error): Initialize C with argument pointers and address of
7900 volatile local ERRCODE rather than copying values out of C at return.
7902 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7904 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7905 * math/auto-libm-test-out: Regenerated.
7906 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7907 (hypot_test_data): Likewise.
7908 (pow_test_data): Likewise.
7909 (pow_tonearest_test_data): Likewise.
7910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7912 (func_calc_desc): Add mpfr_ff_f union field.
7913 (FUNC_mpfr_ff_f): New macro.
7914 (test_functions): Add atan2, hypot and pow.
7915 (special_fill_min): New function.
7916 (special_fill_minus_min): Likewise.
7917 (special_fill_min_subnorm): Likewise.
7918 (special_fill_minus_min_subnorm): Likewise.
7919 (special_real_inputs): Add min, -min, min_subnorm and
7921 (calc_generic_results): Handle mpfr_ff_f.
7922 * sysdeps/i386/fpu/libm-test-ulps: Update.
7923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7925 2013-12-16 Will Newton <will.newton@linaro.org>
7927 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7928 (Aligned Memory Blocks): Add documentation for aligned_alloc
7929 and suggest it as an alternative to posix_memalign.
7930 (Hooks for Malloc): Document __memalign_hook is also called
7931 for aligned_alloc. (Summary of Malloc): Add summary for
7932 aligned alloc. Document __memalign_hook is also called
7935 2013-12-16 Will Newton <will.newton@linaro.org>
7937 * manual/memory.texi (Malloc Examples): Clarify default
7938 alignment documentation. Suggest posix_memalign rather
7939 than memalign or valloc.
7940 (Aligned Memory Blocks): Remove suggestion to use memalign
7941 or valloc. Remove obsolete comment about BSD.
7942 Document memalign errno values and mark the function obsolete.
7943 Document posix_memalign returned error codes. Mark valloc
7944 as obsolete. (Hooks for Malloc): __memalign_hook is also
7945 called for posix_memalign and valloc.
7946 (Summary of Malloc): Add posix_memalign to function summary.
7947 __memalign_hook is also called for posix_memalign and valloc.
7949 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7951 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7955 (sloww): Use mynumber union. Expand ternary operator into
7957 (cslow): use mynumber union.
7959 2013-12-16 Allan McRae <allan@archlinux.org>
7961 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7962 * configure: Regenerated.
7964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7967 * configure.ac: Added --enable-maintainer-mode. Check for
7968 autoconf when enabled.
7969 * configure: Regenerated.
7971 * nscd/nscd.service: New file.
7972 * nscd/nscd.tmpfiles: New file.
7974 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7977 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7978 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7979 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7980 (strstr): Add __strstr_sse2_unaligned ifunc.
7981 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7982 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7983 (strcasestr): Remove __strcasestr_sse42 ifunc.
7984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7988 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7990 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7991 * sysdeps/sh/bits/fenv.h: ... here.
7992 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7994 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7996 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7999 hypotf multiarch implementations.
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8003 multiarch hypot for PPC64.
8004 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8006 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8007 multiarch hypotf for PPC64.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8010 modff multiarch implementations.
8011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8014 multiarch modf for PPC64.
8015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8018 multiarch modff for PPC64.
8020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8021 and logl multiarch implementations.
8022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8025 multiarch logb for PPC64.
8026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8029 multiarch logb for PPC64.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8033 multiarch logb for PPC64.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8036 isinff multiarch implementation.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8041 multiarch isinf for PPC64.
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8045 multiarch isinff for PPC64.
8047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8048 finitef multiarch implementation.
8049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8053 multiarch finite for PPC64.
8054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8057 multiarch finitef for PPC64.
8059 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8060 lrint multiarch implementation.
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8065 multiarch llrint for PPC64.
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8067 multiarch lrint for PPC64.
8069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8070 copysignf multiarch implementation.
8071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8076 multiarch copysign for PPC64.
8077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8078 multiarch copysignf for PPC64.
8080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8081 multiarch implementation.
8082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8090 multiarch llround for PPC64.
8091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8092 multiarch trunc for PPC64.
8093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8094 multiarch truncf for PPC64.
8096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8097 multiarch implementation.
8098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8106 multiarch llround for PPC64.
8107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8108 multiarch round for PPC64.
8109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8110 multiarch roundf for PPC64.
8112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8113 multiarch implementation.
8114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8122 multiarch llround for PPC64.
8123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8124 multiarch floor for PPC64.
8125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8126 multiarch floorf for PPC64.
8128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8129 multiarch implementation.
8130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8138 multiarch llround for PPC64.
8139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8140 multiarch ceil for PPC64.
8141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8142 multiarch ceilf for PPC64.
8144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8145 multiarch implementation.
8146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8153 multiarch llround for PPC64.
8154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8155 multiarch lround for PPC64.
8157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8158 multiarch implementation.
8159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8166 multiarch isnan for PPC64.
8167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8168 multiarch isnanf for PPC64.
8170 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8171 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8172 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8173 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8174 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8177 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8178 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8183 multiarch implementations.
8184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8185 (__libc_ifunc_impl_list): Likewise.
8186 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8187 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8188 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8189 multiarch stpcpy for PPC64.
8191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8192 multiarch implementations.
8193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8194 (__libc_ifunc_impl_list): Likewise.
8195 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8196 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8197 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8198 multiarch strcpy for PPC64.
8200 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8201 redefine function name.
8202 (_wordcopy_fwd_dest_aligned): Likewise.
8203 (_wordcopy_bwd_aligned): Likewise.
8204 (_wordcopy_bwd_dest_aligned): Likewise.
8205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8206 multiarch implementations.
8207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8208 (__libc_ifunc_impl_list): Likewise.
8209 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8210 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8211 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8212 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8213 multiarch wcscpy for PPC64.
8215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8216 multiarch implementations.
8217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8218 (__libc_ifunc_impl_list): Likewise.
8219 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8220 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8221 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8222 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8223 multiarch wcscpy for PPC64.
8225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8226 multiarch implementations.
8227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8228 (__libc_ifunc_impl_list): Likewise.
8229 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8230 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8231 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8232 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8233 multiarch wcsrchr for PPC64.
8235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8236 multiarch implementations.
8237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8238 (__libc_ifunc_impl_list): Likewise.
8239 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8240 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8241 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8242 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8243 multiarch wcschr for PPC64.
8245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8246 multiarch implementations.
8247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8248 (__libc_ifunc_impl_list): Likewise.
8249 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8250 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8251 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8252 multiarch strchrnul for PPC64.
8254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8257 (__libc_ifunc_impl_list): Likewise.
8258 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8259 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8260 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8261 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8267 (__libc_ifunc_impl_list): Likewise.
8268 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8269 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8270 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8271 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8275 multiarch implementations.
8276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8277 (__libc_ifunc_impl_list): Likewise.
8278 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8279 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8280 strncasecmp for PPC64.
8281 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8282 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8283 multiarch strncasecmp_l for PPC64.
8285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8286 multiarch implementations.
8287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8288 (__libc_ifunc_impl_list): Likewise.
8289 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8291 multiarch strcasecmp for PPC64.
8292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8295 multiarch strcasecmp_l for PPC64.
8297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8300 (__libc_ifunc_impl_list): Likewise.
8301 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8302 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8303 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8309 (__libc_ifunc_impl_list): Likewise.
8310 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8311 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8312 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8318 (__libc_ifunc_impl_list): Likewise.
8319 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8320 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8321 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8322 rawmemrchr for PPC64.
8324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8327 (__libc_ifunc_impl_list): Likewise.
8328 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8329 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8330 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8336 (__libc_ifunc_impl_list): Likewise.
8337 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8338 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8339 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8345 (__libc_ifunc_impl_list): Likewise.
8346 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8347 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8348 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8351 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8352 avoid cretion of __bzero symbol.
8353 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8355 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8357 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8360 multiarch implementations.
8361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8362 (__libc_ifunc_impl_list): Likewise.
8363 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8364 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8365 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8366 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8368 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8369 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8370 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8371 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8372 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8374 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8376 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8380 (__libc_ifunc_impl_list): Likewise.
8381 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8382 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8383 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8384 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8388 multiarch for POWER/PPC64.
8389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8390 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8391 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8392 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8393 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8394 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8396 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8397 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8400 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8401 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8402 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8403 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8404 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8405 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8406 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8407 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8408 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8409 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8410 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8411 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8412 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8413 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8414 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8423 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8425 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8427 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8429 * benchtests/Makefile (bench): Add exp2 and log2.
8430 (LDLIBS-bench-exp2): Add -lm.
8431 (LDLIBS-bench-log2): Likewise.
8432 * benchtests/exp2-inputs: New inputs file.
8433 * benchtests/log2-inputs: New inputs file.
8434 * benchtests/log-inputs: Add new inputs.
8435 * benchtests/tan-inputs: Likewise.
8437 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8439 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8441 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8442 (csloww2): ... from here.
8444 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8445 instead of structures.
8446 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8447 (POLYNOMIAL): Likewise.
8448 (TAYLOR_SLOW): Likewise.
8456 (bsloww1): Likewise.
8457 (bsloww2): Likewise.
8460 (csloww1): Likewise.
8461 (csloww2): Likewise.
8463 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8465 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8466 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8467 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8468 * malloc/hooks.c (realloc_check): Likewise.
8470 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8471 * malloc/arena.c: Remove PER_THREAD conditional.
8472 [!PER_THREAD]: Remove code.
8473 (ptmalloc_unlock_all2): Likewise.
8474 (ptmalloc_init): Likewise.
8475 (_int_new_arena): Likewise.
8476 (arena_get2): Likewise.
8477 * malloc/hooks.c (__malloc_get_state): Likewise.
8478 (__malloc_set_state): Likewise.
8479 * malloc/malloc.c: Likewise.
8480 (struct malloc_state): Likewise.
8481 (struct malloc_par): Likewise.
8482 (__libc_realloc): Likewise.
8483 (__libc_mallopt): Likewise.
8485 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8487 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8489 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8491 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8492 macro to a function. Check for zero perturb_byte.
8493 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8495 * malloc/malloc.c: (force_reg): Remove.
8496 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8497 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8498 force_reg by atomic_forced_read.
8499 * malloc/arena.c (ptmalloc_init): Likewise.
8500 * malloc/hooks.c (top_check): Likewise.
8502 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8506 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8510 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8512 * math/auto-libm-test-in: Add tests of lgamma.
8513 * math/auto-libm-test-out: Regenerated.
8514 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8515 (M_LOG_2_SQRT_PIl): Likewise.
8516 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8517 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8519 (func_calc_desc): Add mpfr_f_f1 union field.
8528 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8529 (test_functions): Add lgamma.
8530 (calc_generic_results): Handle mpfr_f_f1.
8531 * sysdeps/i386/fpu/libm-test-ulps: Update.
8532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8534 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8536 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8537 __mpn_add_n for PowerPC64/POWER7.
8538 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8539 __mpn_sub_n for PowerPC64/POWER7.
8541 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8542 __mpn_addmul_1 for PowerPC64.
8543 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8544 __mpn_submul_1 for PowerPC64.
8545 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8547 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8550 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8553 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8555 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8557 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8559 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8560 add multiarch folders.
8561 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8562 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8563 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8564 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8565 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8566 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8567 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8568 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8569 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8570 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8571 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8580 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8586 multiarch __ieee754_hypot for PowerPC32.
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8592 multiarch __ieee754_hypotf for PowerPC32.
8594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8595 long_double_symbol only if __logbl is defined.
8596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8597 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8599 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8601 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8603 path for implementation.
8604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8607 logb, and logbl multiarch implementations for PowerPC32.
8608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8613 multiarch logb for PowerPC32.
8614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8619 multiarch logbf for PowerPC32.
8620 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8624 multiarch logbl implementation for PowerPC32.
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8627 and modff multiarch implementations.
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8633 multiarch modf for PowerPC32.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8639 multiarch modff for PowerPC32.
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8642 and lrintf multiarch implementations.
8643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8648 multiarch lrint for PowerPC32.
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8650 file: multiarch lrintf for PowerPC32.
8652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8653 and lroundf multiarch implementations.
8654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8661 multiarch lround for PowerPC32.
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8663 file: multiarch lroundf for PowerPC32.
8665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8666 copysign and copysignf multiarch implementations.
8667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8672 file: multiarch copysign for PowerPC32.
8673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8674 file: multiarch copysignf for PowerPC32.
8676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8677 and truncf multiarch implementations.
8678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8683 multiarch trunc for PowerPC32.
8684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8689 multiarch truncf for PowerPC32.
8691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8692 and roundf multiarch implementations.
8693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8698 multiarch round for PowerPC32.
8699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8704 multiarch roundf for PowerPC32.
8706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8707 and floorf multiarch implementations.
8708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8713 multiarch floor for PowerPC32.
8714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8719 multiarch floorf for PowerPC32.
8721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8722 and ceilf multiarch implementations.
8723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8728 multiarch ceil for PowerPC32.
8729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8734 multiarch ceilf for PowerPC32.
8736 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8738 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8741 and finitef multiarch implementations.
8742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8747 multiarch finite for PowerPC32.
8748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8751 file: multiarch finitef for PowerPC32.
8753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8754 and isinff multiarch implementations.
8755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8760 multiarch isinf for PowerPC32.
8761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8764 multiarch isinff for PowerPC32.
8766 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8767 alias when __isnan is defined.
8768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8769 and isnanf multiarch implementations.
8770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8779 multiarch isnan for PowerPC32.
8780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8785 multiarch isnanf for PowerPC32.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8788 and sqrtf multiarch implementations.
8789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8794 multiarch sqrt for PowerPC32.
8795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8800 multiarch sqrtf for PowerPC32.
8802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8803 and llroundf multiarch implementations.
8804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8811 file: multiarch llround for PowerPC32.
8812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8813 file: multiarch llroundf for PowerPC32.
8815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8816 multiarch PowerPC32 fpu implementations.
8817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8822 multiarch llrint for PowerPC32.
8823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8834 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8839 multiarch wordcopy for PPC32.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8843 (__libc_ifunc_impl_list): Likewise.
8844 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8845 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8846 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8847 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8848 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8849 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8851 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8859 multiarch wcscpy for PPC32.
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8863 (__libc_ifunc_impl_list): Likewise.
8864 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8865 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8866 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8867 sysdeps/powerpc/power6/wcscpy.c.
8869 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8877 multiarch wcsrchr for PPC32.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8881 (__libc_ifunc_impl_list): Likewise.
8882 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8883 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8884 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8885 sysdeps/powerpc/power6/wcsrchr.c.
8887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8893 multiarch wcschr for PPc32.
8894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8897 (__libc_ifunc_impl_list): Likewise.
8898 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8899 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8900 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8901 sysdeps/powerpc/power6/wcschr.c.
8903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8907 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8908 file: multiarch strchr for PPC32.
8909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8912 (__libc_ifunc_impl_list): Likewise.
8914 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8916 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8918 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8920 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8921 multiarch strchrnul for PPC32.
8922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8925 (__libc_ifunc_impl_list): Likewise.
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8929 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8930 multiarch strncasecmp for PPC32.
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8934 multiarch strncasecmp_l for PPC32.
8935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8936 strncasecmp multiarch objects.
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8938 (__libc_ifunc_impl_list): Likewise.
8940 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8942 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8943 multiarch strncasecmp for PPC32.
8944 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8946 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8947 multiarch strcasecmp_l for PPC32.
8948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8951 (__libc_ifunc_impl_list): Likewise.
8953 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8957 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8958 multiarch strncmp for PPC32.
8959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8962 (__libc_ifunc_impl_list): Likewise.
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8965 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8967 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8968 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8972 (__libc_ifunc_impl_list): Likewise.
8974 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8982 (__libc_ifunc_impl_list): Likewise.
8984 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8986 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8988 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8989 multiarch rawmemchr for PPC32.
8990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8993 (__libc_ifunc_impl_list): Likewise.
8995 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8997 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8999 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9000 file: memrchr multiarch for PPC32.
9001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9004 (__libc_ifunc_impl_list): Likewise.
9006 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9007 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9009 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9010 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9011 multiarch memchr for PPC32.
9012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9015 (__libc_ifunc_impl_list): Likewise.
9017 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9018 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9020 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9022 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9023 file: multiarch mempcpy for PPC32.
9024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9027 (__libc_ifunc_impl_list): Likewise.
9029 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9030 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9031 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9032 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9033 multiarch bzero for PPC32.
9034 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9036 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9038 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9039 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9040 file: multiarch memset for PPC32.
9041 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9043 memset multiarch objects.
9044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9045 (__libc_ifunc_impl_list): Likewise.
9047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9052 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9056 (__libc_ifunc_impl_list): Likewise.
9058 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9062 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9067 multiarch memcpy for PPC32.
9068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9071 (__libc_ifunc_impl_list): Likewise.
9073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9074 support multiarch for POWER/PPC32.
9075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9077 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9079 Implies file to make multiarch folder appers before the fpu and
9080 default folder for power4 configuration.
9082 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9084 * scripts/bench.pl: Append volatile keyword to type.
9086 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9088 * sysdeps/sh/sotruss-lib.c: New file.
9089 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9091 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9095 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9098 * math/w_tgamma.c: Include <errno.h>.
9099 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9100 * math/w_tgammaf.c: Include <errno.h>.
9101 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9102 * math/w_tgammal.c: Include <errno.h>.
9103 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9104 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9105 underflow. Add more tgamma tests.
9106 * math/auto-libm-test-out: Regenerated.
9107 * sysdeps/i386/fpu/libm-test-ulps: Update.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9110 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9111 sin, sinh, tan, tanh, tgamma, y0 and y1.
9112 * math/auto-libm-test-out: Regenerated.
9113 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9114 (TEST_COND_x86): Likewise.
9115 (M_E2l): Remove macro.
9117 (M_2_SQRT_PIl): Likewise.
9118 (M_SQRT_PIl): Likewise.
9119 (M_1_DIV_El): Likewise.
9120 (log_test_data): Use AUTO_TESTS_f_f.
9121 (log10_test_data): Likewise.
9122 (log1p_test_data): Likewise.
9123 (log2_test_data): Likewise.
9124 (sin_test_data): Likewise.
9125 (sin_tonearest_test_data): Likewise.
9126 (sin_towardzero_test_data): Likewise.
9127 (sin_downward_test_data): Likewise.
9128 (sin_upward_test_data): Likewise.
9129 (sinh_test_data): Likewise.
9130 (sinh_tonearest_test_data): Likewise.
9131 (sinh_towardzero_test_data): Likewise.
9132 (sinh_downward_test_data): Likewise.
9133 (sinh_upward_test_data): Likewise.
9134 (tan_test_data): Likewise.
9135 (tan_tonearest_test_data): Likewise.
9136 (tan_towardzero_test_data): Likewise.
9137 (tan_downward_test_data): Likewise.
9138 (tan_upward_test_data): Likewise.
9139 (tanh_test_data): Likewise.
9140 (tgamma_test_data): Likewise.
9141 (y0_test_data): Likewise.
9142 (y1_test_data): Likewise.
9143 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9144 (special_real_inputs): Add pi/4.
9145 * sysdeps/i386/fpu/libm-test-ulps: Update.
9146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9148 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9150 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9151 "longjmp_target" static probes.
9152 (__longjmp): Rename to __longjmp_symbol.
9153 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9154 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9155 on which longjmp to generate.
9156 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9157 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9159 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9160 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9161 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9162 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9163 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9164 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9166 __longjmp_symbol based on which __longjmp to generate.
9167 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9169 (setjmp): Rename to setjmp_symbol.
9170 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9171 (_setjmp): Rename to _setjmp_symbol.
9172 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9173 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9174 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9175 which setjmp to generate.
9176 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9177 "longjmp_target" static probes.
9179 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9181 * benchtests/README: Add note about output arguments.
9182 * benchtests/bench-sincos.c: Remove file.
9183 * benchtests/sincos-inputs: New file.
9184 * scripts/bench.pl: Identify output arguments and define
9185 static variables for them.
9187 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9190 * Makefile (INSTALL): Add install-plain.texi as the primary
9192 * manual/install-plain.texi: New file.
9193 * manual/install.texi: Include node directive only for
9194 non-plaintext output.
9196 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9198 * stdlib/longlong.h: Update from GCC.
9202 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9203 * math/w_j0f.c (y0f): Likewise.
9204 * math/w_j0l.c (__y0l): Likewise.
9205 * math/w_j1.c (y1): Likewise.
9206 * math/w_j1f.c (y1f): Likewise.
9207 * math/w_j1l.c (__y1l): Likewise
9208 * math/w_jn.c (yn): Likewise.
9209 * math/w_jnf.c (ynf): Likewise.
9210 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9211 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9212 value for Bessel function domain errors outside _SVID_ mode.
9213 Adjust sign of return value for yn (negative integer, 0).
9214 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9215 by zero in return for negative x and set sign appropriately for
9217 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9218 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9219 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9220 expectations in error cases.
9221 (y1_test_data): Likewise.
9222 (yn_test_data): Likewise.
9223 * sysdeps/i386/fpu/libm-test-ulps: Update.
9224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9226 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9228 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9229 "64" to "64-v1". Add "64-v2".
9230 (abi-64-options): Rename to ...
9231 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9232 (abi-64-condition): Rename to ...
9233 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9234 (abi-64-ld-soname): Rename to ...
9235 (abi-64-v1-ld-soname): ... this.
9236 (abi-64-v2-options): Define.
9237 (abi-64-v2-condition): Likewise.
9238 (abi-64-v2-ld-soname): Likewise.
9239 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9240 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9245 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9246 Alan Modra <amodra@gmail.com>
9248 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9249 New versions for use with the ELFv2 ABI.
9250 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9251 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9253 (struct La_ppc64v2_retval): Likewise.
9254 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9255 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9256 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9257 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9258 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9259 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9260 Do not save or restore CR.
9261 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9262 (_dl_profile_resolve): Do no save or restore CR. Support extended
9263 return values for ELFv2 ABI. Fix location of FPR return registers.
9264 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9265 updated values for _CALL_ELF == 2.
9266 (La_regs, La_retval, int_retval): Likewise.
9268 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9270 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9271 (FRAME_MIN_SIZE_PARM): Likewise.
9272 (FRAME_BACKCHAIN): Likewise.
9273 (FRAME_CR_SAVE): Likewise.
9274 (FRAME_LR_SAVE): Likewise.
9275 (FRAME_TOC_SAVE): Likewise.
9276 (FRAME_PARM_SAVE): Likewise.
9277 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9278 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9279 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9280 (call_mcount_parm_offset): New macro.
9281 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9282 (PROF): Use symbolic stack frame offsets.
9283 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9284 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9285 Redefine in terms of FRAME_MIN_SIZE.
9286 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9287 (_dl_profile_resolve): Likewise. Update comment.
9288 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9289 symbols stack frame offsets.
9290 (__sigsetjmp): Likewise.
9291 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9292 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9293 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9294 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9297 (FRAME_BACKCHAIN): Remove.
9298 (FRAME_CR_SAVE): Likewise.
9299 (FRAME_LR_SAVE): Likewise.
9300 (FRAME_COMPILER_DW): Likewise.
9301 (FRAME_LINKER_DW): Likewise.
9302 (FRAME_TOC_SAVE): Likewise.
9303 (FRAME_PARM_SAVE): Likewise.
9304 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9305 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9306 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9308 (CHECK_SP): Use symbolic stack frame offsets.
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9310 zone" instead of caller's parameter save area for temp storage.
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9312 Likewise. Also, use symbolic stack frame offsets.
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9314 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9315 our own stack frame instead of the caller's.
9316 (__socket): Use symbolic stack frame offsets.
9318 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9319 Alan Modra <amodra@gmail.com>
9321 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9323 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9324 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9325 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9327 (elf_machine_fixup_plt): Call it.
9328 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9330 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9332 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9333 r2 before calling target.
9335 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9336 Alan Modra <amodra@gmail.com>
9338 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9339 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9340 versions of macros to support ELFv2 ABI.
9341 (LOCALENTRY): New macro.
9342 (ENTRY, EALIGN): Use it.
9343 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9344 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9345 fall through into ENTRY entry point.
9346 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9347 Only define if _CALL_ELF != 2.
9349 (elf_machine_matches_host): Verify ABI version matches.
9350 (RTLD_START): Use LOCALENTRY.
9351 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9352 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9353 (PLT_ENTRY_WORDS): New macro.
9354 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9355 (elf_machine_runtime_setup): Support ELFv2 ABI.
9356 (elf_machine_fixup_plt): Likewise.
9357 (elf_machine_plt_conflict): Likewise.
9358 (resolve_ifunc): Likewise.
9359 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9360 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9363 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9365 (makecontext): Support ELFv2 ABI.
9366 * elf/elf.h (EF_PPC64_ABI): Define.
9368 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9370 * sysdeps/powerpc/powerpc64/sysdep.h
9371 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9372 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9373 (ENTRY) [ASSEMBLER]: ... but instead here ...
9374 (EALIGN) [ASSEMBLER]: ... and here.
9375 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9376 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9377 (ENTRY_2) [!ASSEMBLER]: Use it.
9378 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9379 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9380 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9381 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9382 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9384 Use PPC64_LOAD_FUNCPTR.
9386 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9388 2013-12-04 Alan Modra <amodra@gmail.com>
9390 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9391 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9392 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9393 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9396 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9397 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9398 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9399 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9400 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9402 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9405 (__makecontext): Fix incorrect CFI when backtracing out of
9406 context created via makecontext.
9407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9408 (__setcontext): Fix incorrect CFI during switch to new context.
9409 (__novec_setcontext): Likewise.
9411 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9414 * time/strptime_l.c (__strptime_internal): Allow modifiers
9416 * time/tst-strptime.c (day_tests): Add testcase.
9418 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9420 * scripts/bench.pl: Skip over blank lines.
9422 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9425 * manual/time.texi (Calendar Time): Clarify what timezone functions
9428 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9432 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9434 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9436 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9437 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9438 * debug/memset_chk.c (__memset_chk): Likewise.
9439 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9440 * debug/strncpy_chk.c: Likewise.
9442 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9446 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9447 (__ieee754_exp): For possibly underflowing results, check size of
9448 result and force underflow exception if required.
9449 * math/auto-libm-test-in: Add more tests of exp.
9450 * math/auto-libm-test-out: Regenerated.
9451 * sysdeps/i386/fpu/libm-test-ulps: Update.
9452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9455 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9456 * math/w_exp2f.c (__exp2f): Likewise.
9457 * math/w_exp2l.c (__exp2l): Likewise.
9458 * math/auto-libm-test-in: Do not allow missing errno on exp2
9460 * math/auto-libm-test-out: Regenerated.
9462 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9465 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9466 handle filename validation.
9467 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9470 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9474 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9475 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9477 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9478 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9479 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9481 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9482 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9483 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9484 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9485 Add more erfc tests.
9486 * math/auto-libm-test-out: Regenerated.
9487 * sysdeps/i386/fpu/libm-test-ulps: Update.
9488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9490 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9491 exp2, expm1, j0 and j1.
9492 * math/auto-libm-test-out: Regenerated.
9493 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9494 (erfc_test_data): Likewise.
9495 (exp_test_data): Likewise.
9496 (exp_tonearest_test_data): Likewise.
9497 (exp_towardzero_test_data): Likewise.
9498 (exp_downward_test_data): Likewise.
9499 (exp_upward_test_data): Likewise.
9500 (exp10_test_data): Likewise.
9501 (exp2_test_data): Likewise.
9502 (expm1_test_data): Likewise.
9503 (j0_test_data): Likewise.
9504 (j1_test_data): Likewise.
9505 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9506 (input_flag_type): Add flag_xfail_rounding.
9507 (input_flags): Add xfail-rounding.
9508 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9509 (output_for_one_input_case): Handle flag_xfail_rounding.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9516 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9519 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9522 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9523 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9524 (STAP_PROBE0): New macro.
9525 (STAP_PROBE1): Likewise.
9526 (STAP_PROBE2): Likewise.
9527 (STAP_PROBE3): Likewise.
9528 (STAP_PROBE4): Likewise.
9530 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9532 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9534 2013-12-02 Steve Ellcey <sellcey@mips.com>
9536 * benchtests/Makefile (bench): Add sqrt.
9537 (LDLIBS-bench-sqrt): New.
9538 * benchtests/sqrt-input: New.
9540 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9542 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9543 (GAIH_EAI): Likewise.
9544 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9545 (gaih_inet): Likewise.
9546 (getaddrinfo): Don't use GAIH_EAI.
9548 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9549 (struct gaih): Remove definition.
9551 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9553 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9554 Use HERRNOP directly.
9556 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9560 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9562 * math/gen-auto-libm-tests.c (test_functions): Add more
9563 single-argument functions.
9564 (special_fill_pi_2): New function.
9565 (special_fill_minus_pi_2): Likewise.
9566 (special_fill_pi_6): Likewise.
9567 (special_fill_minus_pi_6): Likewise.
9568 (special_fill_pi_3): Likewise.
9569 (special_fill_2pi_3): Likewise.
9570 (special_fill_e): Likewise.
9571 (special_fill_1_e): Likewise.
9572 (special_fill_e_minus_1): Likewise.
9573 (special_real_inputs): Add more special inputs.
9574 (output_for_one_input_case): Do not require ERANGE on underflow to
9575 zero if round-to-nearest result does not underflow to zero, unless
9576 exact results required.
9577 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9578 atan, atanh, cbrt, cos and cosh.
9579 * math/auto-libm-test-out: Regenerated.
9580 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9581 (acos_tonearest_test_data): Likewise.
9582 (acos_towardzero_test_data): Likewise.
9583 (acos_downward_test_data): Likewise.
9584 (acos_upward_test_data): Likewise.
9585 (acosh_test_data): Likewise.
9586 (asin_test_data): Likewise.
9587 (asin_tonearest_test_data): Likewise.
9588 (asin_towardzero_test_data): Likewise.
9589 (asin_upward_test_data): Likewise.
9590 (asinh_test_data): Likewise.
9591 (atan_test_data): Likewise.
9592 (atanh_test_data): Likewise.
9593 (cbrt_test_data): Likewise.
9594 (cos_test_data): Likewise.
9595 (cos_tonearest_test_data): Likewise.
9596 (cos_towardzero_test_data): Likewise.
9597 (cos_downward_test_data): Likewise.
9598 (cos_upward_test_data): Likewise.
9599 (cosh_test_data): Likewise.
9600 (cosh_tonearest_test_data): Likewise.
9601 (cosh_towardzero_test_data): Likewise.
9602 (cosh_downward_test_data): Likewise.
9603 (cosh_upward_test_data): Likewise.
9604 * sysdeps/i386/fpu/libm-test-ulps: Update.
9605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9607 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9610 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9611 * math/w_exp10f.c (__exp10f): Likewise.
9612 * math/w_exp10l.c (__exp10l): Likewise.
9613 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9614 errno settings in existing tests.
9617 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9618 precision control set to double precision.
9619 * sysdeps/i386/fpu/w_sqrt.c: New file.
9620 * math/auto-libm-test-in: Add more tests.
9621 * math/auto-libm-test-out: Update.
9623 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9624 (sqrt_test_tonearest): New function.
9625 (sqrt_towardzero_test_data): New variable.
9626 (sqrt_test_towardzero): New function.
9627 (sqrt_downward_test_data): New variable.
9628 (sqrt_test_downward): New function.
9629 (sqrt_upward_test_data): New variable.
9630 (sqrt_test_upward): New function.
9631 (main): Call the new functions.
9633 * math/gen-auto-libm-tests.c: New file.
9634 * math/auto-libm-test-in: Likewise.
9635 * math/auto-libm-test-out: New generated file.
9636 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9638 (%beautify): Add generated representations of zero.
9639 (top level): Set $auto_input and call parse_auto_input.
9640 (beautify): Remove trailing "f" from hex float constants.
9641 (parse_args): Handle XFAIL_TEST.
9642 (convert_condition): New function.
9643 (or_value): Likewise.
9644 (or_cond_value): Likewise.
9645 (generate_testfile): Handle AUTO_TESTS_* lines.
9646 (parse_auto_input): New function.
9647 * math/libm-test.inc (XFAIL_TEST): New macro.
9648 (ERRNO_UNCHANGED): Update value.
9649 (ERRNO_EDOM): Likewise.
9650 (ERRNO_ERANGE): Likewise.
9651 (IGNORE_RESULT): Likewise.
9652 (TEST_COND_flt_32): New macro.
9653 (TEST_COND_dbl_64): Likewise.
9654 (TEST_COND_ldbl_96_intel): Likewise.
9655 (TEST_COND_ldbl_96_m68k): Likewise.
9656 (TEST_COND_ldbl_128): Likewise.
9657 (TEST_COND_ldbl_128ibm): Likewise.
9658 (TEST_COND_long32): Likewise.
9659 (TEST_COND_long64): Likewise.
9660 (TEST_COND_before_rounding): Likewise.
9661 (TEST_COND_after_rounding): Likewise.
9662 (enable_test): Handle XFAIL_TEST flag.
9663 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9664 with finite results.
9665 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9668 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9669 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9672 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9673 __tls_get_addr_internal instead of __tls_get_offset in order to
9674 avoid GOT pointer dependency. Make rtld export
9675 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9676 __tls_get_addr since we are a __tls_get_offset platform.
9677 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9678 GOT pointer being set up before.
9679 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9681 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9683 * manual/math.texi (Errors in Math Functions): Document accuracy
9687 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9688 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9704 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9705 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9706 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9707 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9708 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9710 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9712 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9714 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9715 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9716 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9717 atomic-feupdateenv and flt-rounds.
9718 * sysdeps/powerpc/nofpu/Versions (libc): Add
9719 __atomic_feholdexcept, __atomic_feclearexcept,
9720 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9721 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9722 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9723 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9724 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9729 * manual/arith.texi (FP Exceptions): Document that exceptions may
9730 not be raised when matherr is used.
9731 (Math Error Reporting): Document overflow in directed rounding
9732 modes. Document that errno may not be set when finite values are
9733 returned on overflow. Document intent to set errno on underflow
9734 only for underflow to zero.
9737 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9738 round-to-nearest then adjust result for other rounding modes.
9739 * include/fenv.h (fegetround): Use libm_hidden_proto.
9740 * math/fegetround.c (fegetround): Use libm_hidden_def.
9741 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9742 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9743 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9746 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9747 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9748 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9749 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9751 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9754 * nss/Versions (libnss_files): Add
9755 _nss_files_gethostbyname3_r.
9756 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9758 (HOST_DB_LOOKUP): Remove macro.
9759 (_nss_files_gethostbyname_r): Implement function without the
9760 HOST_DB_LOOKUP macro.
9761 (_nss_files_gethostbyname2_r): Likewise.
9763 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9765 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9767 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9769 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9770 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9773 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9775 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9776 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9777 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9778 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9779 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9780 __fe_nomask_env_priv and attribute_hidden.
9781 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9782 (libc_feupdateenv_test_ppc): Likewise.
9783 (libc_feresetround_ppc): Likewise.
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9785 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9786 compat_symbol macro.
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9788 (__fe_nomask_env): Likewise.
9789 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9791 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9793 * string/Makefile: Remove ifunc tests.
9794 * string/test-string.h: Define TEST_IFUNC.
9795 * string/test-bcopy-ifunc.c: Remove.
9796 * string/test-bzero-ifunc.c: Likewise.
9797 * string/test-memccpy-ifunc.c: Likewise.
9798 * string/test-memchr-ifunc.c: Likewise.
9799 * string/test-memcmp-ifunc.c: Likewise.
9800 * string/test-memcpy-ifunc.c: Likewise.
9801 * string/test-memmem-ifunc.c: Likewise.
9802 * string/test-memmove-ifunc.c: Likewise.
9803 * string/test-mempcpy-ifunc.c: Likewise.
9804 * string/test-memrchr-ifunc.c: Likewise.
9805 * string/test-memset-ifunc.c: Likewise.
9806 * string/test-rawmemchr-ifunc.c: Likewise.
9807 * string/test-stpcpy-ifunc.c: Likewise.
9808 * string/test-stpncpy-ifunc.c: Likewise.
9809 * string/test-strcasecmp-ifunc.c: Likewise.
9810 * string/test-strcasestr-ifunc.c: Likewise.
9811 * string/test-strcat-ifunc.c: Likewise.
9812 * string/test-strchr-ifunc.c: Likewise.
9813 * string/test-strchrnul-ifunc.c: Likewise.
9814 * string/test-strcmp-ifunc.c: Likewise.
9815 * string/test-strcpy-ifunc.c: Likewise.
9816 * string/test-strcspn-ifunc.c: Likewise.
9817 * string/test-strlen-ifunc.c: Likewise.
9818 * string/test-strncasecmp-ifunc.c: Likewise.
9819 * string/test-strncat-ifunc.c: Likewise.
9820 * string/test-strncmp-ifunc.c: Likewise.
9821 * string/test-strncpy-ifunc.c: Likewise.
9822 * string/test-strnlen-ifunc.c: Likewise.
9823 * string/test-strpbrk-ifunc.c: Likewise.
9824 * string/test-strrchr-ifunc.c: Likewise.
9825 * string/test-strspn-ifunc.c: Likewise.
9826 * string/test-strstr-ifunc.c: Likewise.
9828 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9830 * benchtests/Makefile: Remove ifunc tests.
9831 * benchtests/bench-string.h: Define TEST_IFUNC.
9832 * benchtests/bench-bcopy-ifunc.c: Remove.
9833 * benchtests/bench-bzero-ifunc.c: Likewise.
9834 * benchtests/bench-memccpy-ifunc.c: Likewise.
9835 * benchtests/bench-memchr-ifunc.c: Likewise.
9836 * benchtests/bench-memcmp-ifunc.c: Likewise.
9837 * benchtests/bench-memcpy-ifunc.c: Likewise.
9838 * benchtests/bench-memmem-ifunc.c: Likewise.
9839 * benchtests/bench-memmove-ifunc.c: Likewise.
9840 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9841 * benchtests/bench-memrchr-ifunc.c: Likewise.
9842 * benchtests/bench-memset-ifunc.c: Likewise.
9843 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9844 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9845 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9846 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9847 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9848 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9849 * benchtests/bench-strcat-ifunc.c: Likewise.
9850 * benchtests/bench-strchr-ifunc.c: Likewise.
9851 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9852 * benchtests/bench-strcmp-ifunc.c: Likewise.
9853 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9854 * benchtests/bench-strcpy-ifunc.c: Likewise.
9855 * benchtests/bench-strcspn-ifunc.c: Likewise.
9856 * benchtests/bench-strlen-ifunc.c: Likewise.
9857 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9858 * benchtests/bench-strncat-ifunc.c: Likewise.
9859 * benchtests/bench-strncmp-ifunc.c: Likewise.
9860 * benchtests/bench-strncpy-ifunc.c: Likewise.
9861 * benchtests/bench-strnlen-ifunc.c: Likewise.
9862 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9863 * benchtests/bench-strrchr-ifunc.c: Likewise.
9864 * benchtests/bench-strsep-ifunc.c: Likewise.
9865 * benchtests/bench-strspn-ifunc.c: Likewise.
9866 * benchtests/bench-strstr-ifunc.c: Likewise.
9868 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9870 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9872 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9874 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9875 * rt/aio.h: Likewise.
9876 * sysdeps/gnu/bits/utmp.h: Likewise.
9877 * sysdeps/gnu/bits/utmpx.h: Likewise.
9878 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9879 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9880 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9881 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9882 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9883 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9884 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9885 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9887 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9888 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9889 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9893 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9894 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9895 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9896 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9897 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9898 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9899 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9900 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9901 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9902 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9904 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9905 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9906 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9907 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9908 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9909 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9910 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9911 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9912 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9913 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9914 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9915 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9916 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9917 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9918 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9919 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9921 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9924 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9925 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9927 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9929 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9930 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9933 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9936 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9937 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9938 (__fesetround): Remove define.
9939 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9940 rounding and exceptions handling.
9941 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9942 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9943 (__fe_nomask_env): Likewise.
9944 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9945 __fegetround instead of fegetround.
9946 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9947 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9949 2013-11-21 Roland McGrath <roland@hack.frob.com>
9951 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9954 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9956 2013-11-21 Meador Inge <meadori@codesourcery.com>
9959 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9960 (encrypt_r): Likewise.
9961 * malloc/obstack.h (obstack_free): Likewise.
9962 * posix/unistd.h (encrypt): Likewise.
9964 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9966 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9967 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9968 DL_CALL_DT_FINI() that call the functions directly.
9969 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9970 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9971 * elf/dl-fini.c: Likewise.
9973 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9975 * malloc/hooks.c (memalign_check): Add alignment rounding.
9976 * malloc/malloc.c (_mid_memalign): New function.
9977 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9978 Implement by calling _mid_memalign.
9979 * manual/probes.texi (Memory Allocation Probes): Remove
9980 memory_valloc_retry and memory_pvalloc_retry.
9982 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9984 * locale/programs/locarchive.c (open_archive): Add const
9985 qualifier to ARCHIVEFNAME and copy default fname to
9989 * libio/tst-widetext.input: Rename Oriya to Odia.
9990 * locale/iso-639.def: Likewise.
9992 * manual/probes.texi (Mathematical Function Probes): Add
9993 documentation for sin, cos, asin and acos probes.
9994 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9995 (__sin32): Add slowasin probe.
9996 (__cos32): Add slowacos probe.
9997 (__mpsin): Add slowsin probe.
9998 (__mpcos): Add slowcos probe.
10000 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10003 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10004 thread-local __sim_exceptions_thread and global
10005 __sim_exceptions_global.
10006 (__sim_disabled_exceptions): Change to thread-local
10007 __sim_disabled_exceptions_thread and global
10008 __sim_disabled_exceptions_global.
10009 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10010 and global __sim_round_mode_global.
10011 (__simulate_exceptions): Use thread-local floating-point state and
10012 set global state from it as needed.
10013 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10014 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10015 __sim_round_mode_thread.
10016 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10017 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10018 and global __sim_exceptions_global.
10019 (__sim_disabled_exceptions): Change to thread-local
10020 __sim_disabled_exceptions_thread and global
10021 __sim_disabled_exceptions_global.
10022 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10023 and global __sim_round_mode_global.
10024 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10025 (SIM_SET_GLOBAL): Likewise.
10026 * sysdeps/powerpc/soft-fp/sfp-machine.h
10027 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10028 __sim_round_mode_thread.
10029 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10030 __sim_disabled_exceptions_thread.
10031 (__sim_exceptions): Change to __sim_exceptions_thread.
10032 (__sim_disabled_exceptions): Change to
10033 __sim_disabled_exceptions_thread.
10034 (__sim_round_mode): Change to __sim_round_mode_thread.
10035 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10036 thread-local floating-point state and set global state from it as
10038 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10039 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10040 (__sim_disabled_exceptions): Remove extern declaration.
10041 (feenableexcept): Use thread-local floating-point state and set
10042 global state from it as needed.
10043 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10044 extern declaration.
10045 (__sim_disabled_exceptions): Likewise.
10046 (__sim_round_mode): Likewise.
10047 (__fegetenv): Use thread-local floating-point state.
10048 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10049 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10050 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10051 floating-point state and set global state from it as needed.
10052 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10053 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10054 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10056 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10057 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10059 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10060 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10061 Use __sim_round_mode_thread.
10062 * math/test-fenv-tls.c: New file.
10063 * math/Makefile (tests): Add test-fenv-tls.
10064 ($(objpfx)test-fenv-tls): Depend on
10065 $(common-objpfx)nptl/libpthread.so.
10067 2013-11-19 Andreas Schwab <schwab@suse.de>
10069 * locale/programs/locale.c (show_info): Decode wordarray elements.
10070 * locale/categories.def (LC_MONETARY): Add element for
10071 _NL_MONETARY_CRNCYSTR.
10072 * locale/C-monetary.c (conversion_rate): New variable.
10073 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10076 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10078 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10079 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10081 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10083 * elf/Makefile (tst-auxv): New test.
10084 * elf/tst-auxv.c: New
10085 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10087 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10089 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10090 (hidden_proto): Caller changed.
10091 (hidden_tls_proto): New macro.
10092 (libc_hidden_tls_proto): Likewise.
10093 (rtld_hidden_tls_proto): Likewise.
10094 (libm_hidden_tls_proto): Likewise.
10095 (libresolv_hidden_tls_proto): Likewise.
10096 (librt_hidden_tls_proto): Likewise.
10097 (libdl_hidden_tls_proto): Likewise.
10098 (libnss_files_hidden_tls_proto): Likewise.
10099 (libnsl_hidden_tls_proto): Likewise.
10100 (libnss_nisplus_hidden_tls_proto): Likewise.
10101 (libutil_hidden_tls_proto): Likewise.
10103 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10106 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10107 (decompose_rpath): Defer expansion to fillin_rpath.
10108 (_dl_init_paths): Pass linkmap to fillin_rpath.
10110 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10112 * benchtests/Makefile: Add strsep.
10113 * benchtests/bench-strsep.c: New file: strsep benchtest.
10114 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10116 2013-11-18 Andreas Schwab <schwab@suse.de>
10118 * locale/programs/locale.c (show_info) [case byte]: Check for
10119 '\377' instead of '\177'.
10120 * locale/C-monetary.c (not_available): Always use "\377".
10121 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10122 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10123 detect unavailable sign_posn locale elements.
10124 * locale/localeconv.c (__localeconv): For grouping and
10125 mon_grouping handle "\177" and "\377" like no grouping.
10126 (INT_ELEM): New macro. Use it to set all numeric members.
10127 * locale/programs/ld-monetary.c (monetary_read)
10128 <tok_mon_grouping>: Normalize single -1 to the empty string.
10129 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10132 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10135 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10136 when we match (nil).
10137 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10139 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10141 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10142 (NO_TEST_INLINE): Update value.
10143 (ERRNO_UNCHANGED): Likewise.
10144 (ERRNO_EDOM): Likewise.
10145 (ERRNO_ERANGE): Likewise.
10146 (IGNORE_RESULT): Likewise.
10147 (check_float_internal): Check signs of NaN results if
10148 TEST_NAN_SIGN used.
10149 (check_complex): Pass TEST_NAN_SIGN flag through to second
10150 check_float_internal call.
10151 (copysign_test_data): Add tests with quiet NaNs as second
10152 argument. Use TEST_NAN_SIGN.
10153 (fabs_test_data): Add test of negative quiet NaN argument. Use
10155 (signbit_test_data): Add tests of quiet NaN argument.
10156 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10158 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10160 (parse_args): Handle function results specified as IGNORE.
10161 * math/libm-test.inc (IGNORE_RESULT): New macro.
10162 (check_float_internal): Do not check numerical result if flag
10164 (check_complex): Pass through IGNORE_RESULT to second
10165 check_float_internal call.
10166 (check_int): Do not check numerical result if flag IGNORE_RESULT
10168 (check_long): Likewise.
10169 (check_bool): Likewise.
10170 (check_longlong): Likewise.
10171 (lrint_test_data): Add tests of infinite and NaN arguments.
10172 (lrint_tonearest_test_data): Likewise.
10173 (lrint_towardzero_test_data): Likewise.
10174 (lrint_downward_test_data): Likewise.
10175 (lrint_upward_test_data): Likewise.
10176 (llrint_test_data): Likewise.
10177 (llrint_tonearest_test_data): Likewise.
10178 (llrint_towardzero_test_data): Likewise.
10179 (llrint_downward_test_data): Likewise.
10180 (llrint_upward_test_data): Likewise.
10181 (lround_test_data): Likewise.
10182 (llround_test_data): Likewise.
10184 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10185 (ERRNO_UNCHANGED): Update value.
10186 (ERRNO_EDOM): Likewise.
10187 (ERRNO_ERANGE): Likewise.
10188 (NO_TEST_INLINE_FLOAT): New macro.
10189 (NO_TEST_INLINE_DOUBLE): Likewise.
10190 (enable_test): New function.
10191 (RUN_TEST_f_f): Check enable_test before running test.
10192 (RUN_TEST_2_f): Likewise.
10193 (RUN_TEST_fff_f): Likewise.
10194 (RUN_TEST_c_f): Likewise.
10195 (RUN_TEST_f_f1): Likewise.
10196 (RUN_TEST_fF_f1): Likewise.
10197 (RUN_TEST_fI_f1): Likewise.
10198 (RUN_TEST_ffI_f1): Likewise.
10199 (RUN_TEST_c_c): Likewise.
10200 (RUN_TEST_cc_c): Likewise.
10201 (RUN_TEST_f_i): Likewise.
10202 (RUN_TEST_f_i_tg): Likewise.
10203 (RUN_TEST_ff_i_tg): Likewise.
10204 (RUN_TEST_f_b): Likewise.
10205 (RUN_TEST_f_b_tg): Likewise.
10206 (RUN_TEST_f_l): Likewise.
10207 (RUN_TEST_f_L): Likewise.
10208 (RUN_TEST_fFF_11): Likewise.
10209 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10211 (cosh_test_data): Likewise.
10212 (exp_test_data): Likewise.
10213 (expm1_test_data): Likewise.
10214 (hypot_test_data): Likewise.
10215 (pow_test_data): Likewise.
10216 (sinh_test_data): Likewise.
10217 (tanh_test_data): Likewise.
10218 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10221 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10222 tests with quiet NaN input and output.
10223 (acosh_test_data): Likewise.
10224 (asin_test_data): Likewise.
10225 (asinh_test_data): Likewise.
10226 (atan_test_data): Likewise.
10227 (atanh_test_data): Likewise.
10228 (atan2_test_data): Likewise.
10229 (cbrt_test_data): Likewise.
10230 (cos_test_data): Likewise.
10231 (cosh_test_data): Likewise.
10232 (erf_test_data): Likewise.
10233 (erfc_test_data): Likewise.
10234 (exp_test_data): Likewise.
10235 (exp10_test_data): Likewise.
10236 (exp2_test_data): Likewise.
10237 (expm1_test_data): Likewise.
10238 (hypot_test_data): Likewise.
10239 (j0_test_data): Likewise.
10240 (j1_test_data): Likewise.
10241 (jn_test_data): Likewise.
10242 (lgamma_test_data): Likewise.
10243 (log_test_data): Likewise.
10244 (log10_test_data): Likewise.
10245 (log1p_test_data): Likewise.
10246 (log2_test_data): Likewise.
10247 (pow_test_data): Likewise.
10248 (scalb_test_data): Likewise.
10249 (sin_test_data): Likewise.
10250 (sincos_test_data): Likewise.
10251 (sinh_test_data): Likewise.
10252 (tan_test_data): Likewise.
10253 (tanh_test_data): Likewise.
10254 (tgamma_test_data): Likewise.
10255 (y0_test_data): Likewise.
10256 (y1_test_data): Likewise.
10257 (yn_test_data): Likewise.
10260 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10261 argument being NaN and avoid computations with second argument in
10263 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10264 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10265 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10267 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10269 * locale/iso-639.def: Add Chitwani Tharu (the).
10271 2013-11-14 Andreas Schwab <schwab@suse.de>
10273 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10274 word instead of empty string.
10276 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10279 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10281 (__fe_nomask_env): Likewise.
10283 2013-11-13 Steve Ellcey <sellcey@mips.com>
10285 * benchtests/bench-timing.h: Include time.h.
10287 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10290 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10292 * sysdeps/unix/sysv/linux/configure: Regenerated.
10294 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10297 * stdlib/strtod_l.c (round_and_return): Do not consider
10298 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10299 exponent one less than half the least subnormal exponent.
10300 * stdlib/test-strtod-round-data: Add more tests.
10301 * stdlib/tst-strtod-round.c (tests): Regenerated.
10303 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10306 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10307 (__fe_mask_env): Likewise.
10308 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10309 libm_hidden_proto and add function prototype.
10310 (__fe_mask_env): Add function prototype.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10312 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10314 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10316 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10318 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10320 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10321 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10323 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10325 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10326 of htab_find_slot().
10328 2013-11-11 David S. Miller <davem@davemloft.net>
10331 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10332 symbol in the non-vis3 case in static builds.
10333 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10334 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10335 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10336 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10338 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10341 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10344 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10346 * benchtests/Makefile: Add bench-strtod.
10347 * benchtests/bench-strtod.c: New file: strtod benchtest
10349 2013-11-11 Andreas Schwab <schwab@suse.de>
10352 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10353 terminating NUL in key length.
10355 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10357 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10358 Add artificial ODP entry for vDSO symbol for PPC64.
10359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10360 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10362 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10365 * nss/getent.c (services_keys): Recognize services starting with digit.
10367 2013-11-06 David S. Miller <davem@davemloft.net>
10370 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10371 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10373 2013-11-06 Will Newton <will.newton@linaro.org>
10375 * manual/memory.texi (Malloc Examples): Remove register
10376 keyword from examples.
10378 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10380 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10382 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10385 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10386 depending on [__GCC_IEC_559 > 0].
10387 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10388 depending on [__GCC_IEC_559_COMPLEX > 0].
10390 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10392 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10395 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10397 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10399 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10402 * malloc/malloc (malloc_info): Do not handle first bin as
10405 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10407 * locale/iso-639.def: Add Central Nahuatl (nhn).
10409 2013-11-01 Bruno Haible <bruno@clisp.org>
10412 * manual/math.texi (BSD Random): Specify range upper bound as
10415 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10417 * locale/iso-639.def: Add Meadow Mari (mhr).
10419 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10421 [BZ #14752], [BZ #15763]
10422 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10424 * rt/tst_shm.c: Add test for escaping directory.
10426 2013-10-31 Andreas Schwab <schwab@suse.de>
10429 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10430 followed by 'x' as part of digit sequence.
10431 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10433 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10436 * configure.ac: allow GNU Make 4.0 and greater.
10437 * configure: Regenerated.
10439 2013-10-30 Will Newton <will.newton@linaro.org>
10442 * malloc/hooks.c (memalign_check): Limit alignment to the
10443 maximum representable power of two.
10444 * malloc/malloc.c (__libc_memalign): Likewise.
10445 * malloc/tst-memalign.c (do_test): Add test for very
10446 large alignment values.
10447 * malloc/tst-posix_memalign.c (do_test): Likewise.
10449 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10452 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10453 (munmap_chunk): Likewise.
10454 (mremap_chunk): Likewise.
10456 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10459 * stdlib/div.c (div): Remove obsolete code.
10460 * stdlib/ldiv.c (ldiv): Likewise.
10461 * stdlib/lldiv.c (lldiv): Likewise.
10463 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10466 * nss/nss_files/files-XXX.c (get_contents_ret): New
10468 (get_contents): New function.
10469 (internal_getent): Use it. Expand size of LINEBUFLEN.
10471 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10473 * configure.in: Moved to ...
10474 * configure.ac: ... here. Change reference to configure.in
10476 * sysdeps/arm/preconfigure.ac: ... here.
10477 configure.in to configure.ac.
10478 * sysdeps/gnu/configure.in: Moved to ...
10479 * sysdeps/gnu/configure.ac: ... here.
10480 * sysdeps/i386/configure.in: Moved to ...
10481 * sysdeps/i386/configure.ac: ... here.
10482 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10483 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10484 * sysdeps/mach/configure.in: Moved to ...
10485 * sysdeps/mach/configure.ac: ... here.
10486 * sysdeps/mach/hurd/configure.in: Moved to ...
10487 * sysdeps/mach/hurd/configure.ac: ... here.
10488 * sysdeps/powerpc/configure.in: Moved to ...
10489 * sysdeps/powerpc/configure.ac: ... here.
10490 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10491 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10492 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10493 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10494 * sysdeps/s390/s390-32/configure.in: Moved to ...
10495 * sysdeps/s390/s390-32/configure.ac: ... here.
10496 * sysdeps/s390/s390-64/configure.in: Moved to ...
10497 * sysdeps/s390/s390-64/configure.ac: ... here.
10498 * sysdeps/sh/configure.in: Moved to ...
10499 * sysdeps/sh/configure.ac: ... here.
10500 * sysdeps/sparc/configure.in: Moved to ...
10501 * sysdeps/sparc/configure.ac: ... here.
10502 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10503 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10504 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10505 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10506 * sysdeps/x86_64/configure.in: Moved to ...
10507 * sysdeps/x86_64/configure.ac: ... here.
10508 * sysdeps/x86_64/preconfigure.in: Moved to ...
10509 * sysdeps/x86_64/preconfigure.ac: ... here.
10510 * aclocal.m4: Change reference to configure.in to configure.ac.
10511 * config.h.in: Likewise.
10512 * manual/install.texi: Likewise.
10513 * manual/maint.texi: Likewise.
10514 * Makefile: Likewise.
10515 * malloc/Makefile: Likewise.
10516 * nscd/Makefile: Likewise.
10517 * Makeconfig: Change reference to configure.in and
10518 preconfigure.in to configure.ac and preconfigure.ac
10520 * INSTALL: Regenerated.
10521 * configure: Likewise.
10522 * sysdeps/gnu/configure: Likewise.
10523 * sysdeps/i386/configure: Likewise.
10524 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10525 * sysdeps/mach/configure: Likewise.
10526 * sysdeps/mach/hurd/configure: Likewise.
10527 * sysdeps/powerpc/configure: Likewise.
10528 * sysdeps/powerpc/powerpc32/configure: Likewise.
10529 * sysdeps/powerpc/powerpc64/configure: Likewise.
10530 * sysdeps/s390/s390-32/configure: Likewise.
10531 * sysdeps/s390/s390-64/configure: Likewise.
10532 * sysdeps/sh/configure: Likewise.
10533 * sysdeps/sparc/configure: Likewise.
10534 * sysdeps/unix/sysv/linux/configure: Likewise.
10535 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10536 * sysdeps/x86_64/configure: Likewise.
10537 * sysdeps/x86_64/preconfigure: Likewise.
10539 2013-10-29 Andreas Schwab <schwab@suse.de>
10541 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10543 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10545 * benchtests/pow-inputs: Add new inputs.
10547 * benchtests/exp-inputs: Add new inputs.
10549 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10550 conditional check for return value.
10551 (__cos32): Likewise.
10553 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10555 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10556 to provide a boost for large inputs with word alignment.
10557 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10558 implementation based on optimized PPC64 strcpy.
10559 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10560 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10561 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10562 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10564 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10567 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10569 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10572 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10573 * time/tst-strptime.c (day_tests): Add testcase.
10575 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10578 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10580 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10583 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10584 MAP_FAILED on error.
10586 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10589 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10590 heap for large requests.
10592 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10595 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10596 result if the result has no associated interface.
10597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10598 interface for all 127.X.Y.Z addresses.
10600 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10602 * locale/iso-639.def: Add Ligurian (lij)
10604 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10607 * sunrpc/rpc_main.c: Document rpcgen -5.
10609 2013-10-19 Michael Stahl <mstahl@redhat.com>
10611 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10613 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10616 * posix/glob.c: Match only directories when trailing slash is present.
10617 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10618 (main): Add testcase.
10620 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10623 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10625 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10627 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10628 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10629 AUTH_DES and cindex for FIPS 140-2.
10630 (DES Encryption): Add cindex FIPS 46-3.
10632 * locale/locarchive.h (struct locarhandle): Add fname.
10633 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10634 if an optional argument was specified to --list-archive,
10636 * locale/programs/locarchive.c (show_archive_content): Take new
10637 argument fname and pass it via ah.fname to open_archive.
10638 * locale/programs/localedef.h: Update decl.
10639 (open_archive): If AH->fname is non-null, open that file
10640 rather than the default file name, and don't ignore ENOENT.
10641 (create_archive): Set AH.fname to NULL.
10642 (delete_locales_from_archive): Likewise.
10643 (add_locales_to_archive): Likewise.
10644 * locale/programs/locfile.c (write_all_categories): Likewise.
10646 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10647 Aldy Hernandez <aldyh@redhat.com>
10649 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10650 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10651 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10652 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10653 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10654 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10655 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10656 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10657 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10658 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10659 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10660 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10661 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10662 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10663 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10665 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10667 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10669 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10671 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10672 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10674 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10675 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10676 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10677 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10679 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10680 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10681 * sysdeps/powerpc/preconfigure: Likewise.
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10684 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10685 Replace contents of file by #include of <fenv_libc.h>.
10686 * sysdeps/powerpc/soft-fp/sfp-machine.h
10687 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10689 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10690 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10691 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10696 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10697 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10698 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10699 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10700 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10702 Allow copysignl PLT reference to be missing.
10704 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10705 Joseph Myers <joseph@codesourcery.com
10708 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10710 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10712 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10714 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10715 * elf/tst-tls1.c: Likewise.
10716 * elf/tst-tls10.h: Likewise.
10717 * elf/tst-tls14.c: Likewise.
10718 * elf/tst-tls2.c: Likewise.
10719 * elf/tst-tls3.c: Likewise.
10720 * elf/tst-tls4.c: Likewise.
10721 * elf/tst-tls5.c: Likewise.
10722 * elf/tst-tls6.c: Likewise.
10723 * elf/tst-tls7.c: Likewise.
10724 * elf/tst-tls8.c: Likewise.
10725 * elf/tst-tls9.c: Likewise.
10726 * elf/tst-tlsmod1.c: Likewise.
10727 * elf/tst-tlsmod13.c: Likewise.
10728 * elf/tst-tlsmod13a.c: Likewise.
10729 * elf/tst-tlsmod14a.c: Likewise.
10730 * elf/tst-tlsmod16a.c: Likewise.
10731 * elf/tst-tlsmod16b.c: Likewise.
10732 * elf/tst-tlsmod2.c: Likewise.
10733 * elf/tst-tlsmod3.c: Likewise.
10734 * elf/tst-tlsmod4.c: Likewise.
10735 * elf/tst-tlsmod5.c: Likewise.
10736 * elf/tst-tlsmod6.c: Likewise.
10738 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10741 * malloc/malloc.c: remove checks for statistics.
10743 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10746 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10747 * inet/tst-network.c: Add testcase.
10749 2013-10-17 Andreas Schwab <schwab@suse.de>
10752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10753 to determine canonical name.
10755 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10757 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10758 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10781 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10787 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10804 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10816 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10819 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10820 make result into a quiet NaN.
10822 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10824 * soft-fp/adddf3.c: Fix horizontal whitespace.
10825 * soft-fp/addsf3.c: Likewise.
10826 * soft-fp/addtf3.c: Likewise.
10827 * soft-fp/divdf3.c: Likewise.
10828 * soft-fp/divsf3.c: Likewise.
10829 * soft-fp/divtf3.c: Likewise.
10830 * soft-fp/double.h: Likewise.
10831 * soft-fp/eqdf2.c: Likewise.
10832 * soft-fp/eqsf2.c: Likewise.
10833 * soft-fp/eqtf2.c: Likewise.
10834 * soft-fp/extenddftf2.c: Likewise.
10835 * soft-fp/extended.h: Likewise.
10836 * soft-fp/extendsfdf2.c: Likewise.
10837 * soft-fp/extendsftf2.c: Likewise.
10838 * soft-fp/extendxftf2.c: Likewise.
10839 * soft-fp/fixdfdi.c: Likewise.
10840 * soft-fp/fixdfsi.c: Likewise.
10841 * soft-fp/fixdfti.c: Likewise.
10842 * soft-fp/fixsfdi.c: Likewise.
10843 * soft-fp/fixsfsi.c: Likewise.
10844 * soft-fp/fixsfti.c: Likewise.
10845 * soft-fp/fixtfdi.c: Likewise.
10846 * soft-fp/fixtfsi.c: Likewise.
10847 * soft-fp/fixtfti.c: Likewise.
10848 * soft-fp/fixunsdfdi.c: Likewise.
10849 * soft-fp/fixunsdfsi.c: Likewise.
10850 * soft-fp/fixunsdfti.c: Likewise.
10851 * soft-fp/fixunssfdi.c: Likewise.
10852 * soft-fp/fixunssfsi.c: Likewise.
10853 * soft-fp/fixunssfti.c: Likewise.
10854 * soft-fp/fixunstfdi.c: Likewise.
10855 * soft-fp/fixunstfsi.c: Likewise.
10856 * soft-fp/fixunstfti.c: Likewise.
10857 * soft-fp/floatdidf.c: Likewise.
10858 * soft-fp/floatdisf.c: Likewise.
10859 * soft-fp/floatditf.c: Likewise.
10860 * soft-fp/floatsidf.c: Likewise.
10861 * soft-fp/floatsisf.c: Likewise.
10862 * soft-fp/floatsitf.c: Likewise.
10863 * soft-fp/floattidf.c: Likewise.
10864 * soft-fp/floattisf.c: Likewise.
10865 * soft-fp/floattitf.c: Likewise.
10866 * soft-fp/floatundidf.c: Likewise.
10867 * soft-fp/floatundisf.c: Likewise.
10868 * soft-fp/floatunditf.c: Likewise.
10869 * soft-fp/floatunsidf.c: Likewise.
10870 * soft-fp/floatunsisf.c: Likewise.
10871 * soft-fp/floatunsitf.c: Likewise.
10872 * soft-fp/floatuntidf.c: Likewise.
10873 * soft-fp/floatuntisf.c: Likewise.
10874 * soft-fp/floatuntitf.c: Likewise.
10875 * soft-fp/fmadf4.c: Likewise.
10876 * soft-fp/fmasf4.c: Likewise.
10877 * soft-fp/fmatf4.c: Likewise.
10878 * soft-fp/gedf2.c: Likewise.
10879 * soft-fp/gesf2.c: Likewise.
10880 * soft-fp/getf2.c: Likewise.
10881 * soft-fp/ledf2.c: Likewise.
10882 * soft-fp/lesf2.c: Likewise.
10883 * soft-fp/letf2.c: Likewise.
10884 * soft-fp/muldf3.c: Likewise.
10885 * soft-fp/mulsf3.c: Likewise.
10886 * soft-fp/multf3.c: Likewise.
10887 * soft-fp/negdf2.c: Likewise.
10888 * soft-fp/negsf2.c: Likewise.
10889 * soft-fp/negtf2.c: Likewise.
10890 * soft-fp/op-1.h: Likewise.
10891 * soft-fp/op-2.h: Likewise.
10892 * soft-fp/op-4.h: Likewise.
10893 * soft-fp/op-8.h: Likewise.
10894 * soft-fp/op-common.h: Likewise.
10895 * soft-fp/quad.h: Likewise.
10896 * soft-fp/single.h: Likewise.
10897 * soft-fp/soft-fp.h: Likewise.
10898 * soft-fp/sqrtdf2.c: Likewise.
10899 * soft-fp/sqrtsf2.c: Likewise.
10900 * soft-fp/sqrttf2.c: Likewise.
10901 * soft-fp/subdf3.c: Likewise.
10902 * soft-fp/subsf3.c: Likewise.
10903 * soft-fp/subtf3.c: Likewise.
10904 * soft-fp/truncdfsf2.c: Likewise.
10905 * soft-fp/trunctfdf2.c: Likewise.
10906 * soft-fp/trunctfsf2.c: Likewise.
10907 * soft-fp/trunctfxf2.c: Likewise.
10908 * soft-fp/unorddf2.c: Likewise.
10909 * soft-fp/unordsf2.c: Likewise.
10910 * soft-fp/unordtf2.c: Likewise.
10912 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10914 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10915 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10917 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10919 * elf/dl-libc.c: Clear initfini list after freeing.
10921 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10923 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10924 * soft-fp/addsf3.c: Likewise.
10925 * soft-fp/addtf3.c: Likewise.
10926 * soft-fp/divdf3.c: Likewise.
10927 * soft-fp/divsf3.c: Likewise.
10928 * soft-fp/divtf3.c: Likewise.
10929 * soft-fp/double.h: Likewise.
10930 * soft-fp/eqdf2.c: Likewise.
10931 * soft-fp/eqsf2.c: Likewise.
10932 * soft-fp/eqtf2.c: Likewise.
10933 * soft-fp/extenddftf2.c: Likewise.
10934 * soft-fp/extended.h: Likewise.
10935 * soft-fp/extendsfdf2.c: Likewise.
10936 * soft-fp/extendsftf2.c: Likewise.
10937 * soft-fp/extendxftf2.c: Likewise.
10938 * soft-fp/fixdfdi.c: Likewise.
10939 * soft-fp/fixdfsi.c: Likewise.
10940 * soft-fp/fixdfti.c: Likewise.
10941 * soft-fp/fixsfdi.c: Likewise.
10942 * soft-fp/fixsfsi.c: Likewise.
10943 * soft-fp/fixsfti.c: Likewise.
10944 * soft-fp/fixtfdi.c: Likewise.
10945 * soft-fp/fixtfsi.c: Likewise.
10946 * soft-fp/fixtfti.c: Likewise.
10947 * soft-fp/fixunsdfdi.c: Likewise.
10948 * soft-fp/fixunsdfsi.c: Likewise.
10949 * soft-fp/fixunsdfti.c: Likewise.
10950 * soft-fp/fixunssfdi.c: Likewise.
10951 * soft-fp/fixunssfsi.c: Likewise.
10952 * soft-fp/fixunssfti.c: Likewise.
10953 * soft-fp/fixunstfdi.c: Likewise.
10954 * soft-fp/fixunstfsi.c: Likewise.
10955 * soft-fp/fixunstfti.c: Likewise.
10956 * soft-fp/floatdidf.c: Likewise.
10957 * soft-fp/floatdisf.c: Likewise.
10958 * soft-fp/floatditf.c: Likewise.
10959 * soft-fp/floatsidf.c: Likewise.
10960 * soft-fp/floatsisf.c: Likewise.
10961 * soft-fp/floatsitf.c: Likewise.
10962 * soft-fp/floattidf.c: Likewise.
10963 * soft-fp/floattisf.c: Likewise.
10964 * soft-fp/floattitf.c: Likewise.
10965 * soft-fp/floatundidf.c: Likewise.
10966 * soft-fp/floatundisf.c: Likewise.
10967 * soft-fp/floatunsidf.c: Likewise.
10968 * soft-fp/floatunsisf.c: Likewise.
10969 * soft-fp/floatuntidf.c: Likewise.
10970 * soft-fp/floatuntisf.c: Likewise.
10971 * soft-fp/floatuntitf.c: Likewise.
10972 * soft-fp/fmadf4.c: Likewise.
10973 * soft-fp/fmasf4.c: Likewise.
10974 * soft-fp/fmatf4.c: Likewise.
10975 * soft-fp/gedf2.c: Likewise.
10976 * soft-fp/gesf2.c: Likewise.
10977 * soft-fp/getf2.c: Likewise.
10978 * soft-fp/ledf2.c: Likewise.
10979 * soft-fp/lesf2.c: Likewise.
10980 * soft-fp/letf2.c: Likewise.
10981 * soft-fp/muldf3.c: Likewise.
10982 * soft-fp/mulsf3.c: Likewise.
10983 * soft-fp/multf3.c: Likewise.
10984 * soft-fp/negdf2.c: Likewise.
10985 * soft-fp/negsf2.c: Likewise.
10986 * soft-fp/negtf2.c: Likewise.
10987 * soft-fp/op-1.h: Likewise.
10988 * soft-fp/op-2.h: Likewise.
10989 * soft-fp/op-4.h: Likewise.
10990 * soft-fp/op-8.h: Likewise.
10991 * soft-fp/op-common.h: Likewise.
10992 * soft-fp/quad.h: Likewise.
10993 * soft-fp/single.h: Likewise.
10994 * soft-fp/soft-fp.h: Likewise.
10995 * soft-fp/sqrtdf2.c: Likewise.
10996 * soft-fp/sqrtsf2.c: Likewise.
10997 * soft-fp/sqrttf2.c: Likewise.
10998 * soft-fp/subdf3.c: Likewise.
10999 * soft-fp/subsf3.c: Likewise.
11000 * soft-fp/subtf3.c: Likewise.
11001 * soft-fp/truncdfsf2.c: Likewise.
11002 * soft-fp/trunctfdf2.c: Likewise.
11003 * soft-fp/trunctfsf2.c: Likewise.
11004 * soft-fp/trunctfxf2.c: Likewise.
11005 * soft-fp/unorddf2.c: Likewise.
11006 * soft-fp/unordsf2.c: Likewise.
11007 * soft-fp/unordtf2.c: Likewise.
11009 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11012 * misc/error.c (error_tail): Fix possible buffer overflow.
11014 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11017 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11020 2013-10-14 P. J. McDermott <pj@pehjota.net>
11023 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11024 testing pipefail option.
11026 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11028 * soft-fp/double.h: Indent preprocessor directives inside #if.
11029 * soft-fp/extended.h: Likewise.
11030 * soft-fp/op-2.h: Likewise.
11031 * soft-fp/op-4.h: Likewise.
11032 * soft-fp/op-common.h: Likewise.
11033 * soft-fp/quad.h: Likewise.
11034 * soft-fp/single.h: Likewise.
11035 * soft-fp/soft-fp.h: Likewise.
11037 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11039 * iconv/iconv_prog.c: Fix typos.
11040 * stdio-common/psiginfo-data.h: Likewise.
11042 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11045 * locale/setlocale.c: Fix typo.
11047 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11050 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11051 signaling NaN arguments.
11052 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11053 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11056 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11057 unordered operands.
11058 * soft-fp/gesf2.c (__gesf2): Likewise.
11059 * soft-fp/getf2.c (__getf2): Likewise.
11060 * soft-fp/ledf2.c (__ledf2): Likewise.
11061 * soft-fp/lesf2.c (__lesf2): Likewise.
11062 * soft-fp/letf2.c (__letf2): Likewise.
11064 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11065 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11066 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11067 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11068 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11069 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11070 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11071 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11072 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11073 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11074 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11075 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11076 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11077 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11078 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11079 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11080 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11081 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11082 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11083 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11084 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11085 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11086 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11087 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11088 * soft-fp/floattidf.c (__floattidf): Likewise.
11089 * soft-fp/floattisf.c (__floattisf): Likewise.
11090 * soft-fp/floattitf.c (__floattitf): Likewise.
11091 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11092 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11093 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11094 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11095 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11096 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11097 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11098 * soft-fp/gesf2.c (__gesf2): Likewise.
11099 * soft-fp/getf2.c (__getf2): Likewise.
11100 * soft-fp/ledf2.c (__ledf2): Likewise.
11101 * soft-fp/lesf2.c (__lesf2): Likewise.
11102 * soft-fp/letf2.c (__letf2): Likewise.
11104 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11105 Undefine and redefine.
11106 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11107 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11108 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11109 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11110 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11111 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11112 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11113 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11114 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11115 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11116 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11117 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11118 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11119 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11120 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11123 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11124 without decrementing exponent if mantissa >= that for the
11125 denominator, not >.
11126 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11127 denominator, not >. Decrement exponent in < case instead of
11128 incrementing in >= case.
11129 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11130 without decrementing exponent if mantissa >= that for the
11131 denominator, not >.
11133 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11134 computing saturated result for unsigned overflow.
11136 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11137 Jeff Law <law@redhat.com>
11139 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11140 (atan2Mp): Add systemtap probe marker.
11141 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11142 (__ieee754_log): Add systemtap probe marker.
11143 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11144 (atanMp): Add systemtap probe marker.
11145 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11146 (tanMp): Add systemtap probe marker.
11147 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11148 (__slowexp): Add systemtap probe marker.
11149 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11150 (__slowpow): Add systemtap probe marker.
11151 * manual/probes.texi: Document probes.
11153 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11156 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11158 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11160 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11161 written to buffer but not flushed.
11162 * libio/iofwrite_u.c: Likewise.
11163 * libio/iopadn.c: Return bytes returned even if EOF was
11165 * libio/iowpadn.c: Likewise.
11166 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11167 if _IO_padn does not write the whole buffer.
11168 [!COMPILE_WPRINTF] (PAD): Likewise.
11170 2013-10-10 David S. Miller <davem@davemloft.net>
11172 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11175 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11177 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11178 instead of FSF address.
11179 * soft-fp/fixdfti.c: Likewise.
11180 * soft-fp/fixsfti.c: Likewise.
11181 * soft-fp/fixtfti.c: Likewise.
11182 * soft-fp/fixunsdfti.c: Likewise.
11183 * soft-fp/fixunssfti.c: Likewise.
11184 * soft-fp/fixunstfti.c: Likewise.
11185 * soft-fp/floattidf.c: Likewise.
11186 * soft-fp/floattisf.c: Likewise.
11187 * soft-fp/floattitf.c: Likewise.
11188 * soft-fp/floatuntidf.c: Likewise.
11189 * soft-fp/floatuntisf.c: Likewise.
11190 * soft-fp/floatuntitf.c: Likewise.
11191 * soft-fp/trunctfxf2.c: Likewise.
11193 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11194 * soft-fp/fixdfti.c: Likewise.
11195 * soft-fp/fixsfti.c: Likewise.
11196 * soft-fp/fixtfti.c: Likewise.
11197 * soft-fp/fixunsdfti.c: Likewise.
11198 * soft-fp/fixunssfti.c: Likewise.
11199 * soft-fp/fixunstfti.c: Likewise.
11200 * soft-fp/floattidf.c: Likewise.
11201 * soft-fp/floattisf.c: Likewise.
11202 * soft-fp/floattitf.c: Likewise.
11203 * soft-fp/floatuntidf.c: Likewise.
11204 * soft-fp/floatuntisf.c: Likewise.
11205 * soft-fp/floatuntitf.c: Likewise.
11206 * soft-fp/trunctfxf2.c: Likewise.
11208 2013-10-10 David S. Miller <davem@davemloft.net>
11210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11212 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11214 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11215 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11216 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11217 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11218 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11219 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11220 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11223 for NaNs before doing comparisons on argument.
11224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11227 2013-10-10 Will Newton <will.newton@linaro.org>
11229 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11230 passed to _int_memalign does not overflow.
11232 2013-10-10 Torvald Riegel <triegel@redhat.com>
11234 * scripts/bench.pl: Add include-sources directive.
11235 * benchtests/README: Update documentation.
11237 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11239 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11240 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11241 instead of FP_INIT_ROUNDMODE.
11242 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11243 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11246 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11247 copy class of input value.
11248 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11249 not handle exceptions.
11250 * soft-fp/negsf2.c (__negsf2): Likewise.
11251 * soft-fp/negtf2.c (__negtf2): Likewise.
11252 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11254 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11256 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11257 semicolon. From Linux kernel.
11259 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11261 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11263 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11266 * manual/socket.texi: Added statement about buffer
11267 for gethostbyname2_r.
11269 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11271 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11272 Use .p2align directive instead, throughout.
11273 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11274 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11275 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11276 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11277 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11278 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11279 * sysdeps/x86_64/strchr.S: Likewise.
11280 * sysdeps/x86_64/strrchr.S: Likewise.
11282 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11284 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11286 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11288 * sysdeps/generic/math_private.h (__mpsin1): Remove
11290 (__mpcos1): Likewise.
11291 (__mpsin): New argument __range_reduce.
11292 (__mpcos): Likewise.
11293 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11294 (slow): Use __mpsin and __mpcos.
11298 (sloww1): Likewise.
11299 (sloww2): Likewise.
11300 (bsloww): Likewise.
11301 (bsloww1): Likewise.
11302 (bsloww2): Likewise.
11303 (cslow2): Likewise.
11304 (csloww): Likewise.
11305 (csloww1): Likewise.
11306 (csloww2): Likewise.
11307 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11308 range_reduce. Merge in __mpsin1.
11309 (__mpcos): Likewise.
11310 (__mpsin1): Remove.
11311 (__mpcos1): Likewise.
11313 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11315 * locale/loadlocale.c (_nl_intern_locale_data): Use
11317 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11318 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11319 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11320 obstack data is appropriately aligned.
11321 (obstack_int32_grow_fast): Likewise.
11322 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11323 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11324 (add_locale_uint32_array): Likewise.
11326 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11328 * benchtests/Makefile: Remove ARGLIST and RET variables.
11329 ($(objpfx)bench-%.c): Pass only function name to the script.
11330 * benchtests/README: Update documentation.
11331 * benchtests/acos-inputs: Add new directives.
11332 * benchtests/acosh-inputs: Likewise.
11333 * benchtests/asin-inputs: Likewise.
11334 * benchtests/asinh-inputs: Likewise.
11335 * benchtests/atan-inputs: Likewise.
11336 * benchtests/atanh-inputs: Likewise.
11337 * benchtests/cos-inputs: Likewise.
11338 * benchtests/cosh-inputs: Likewise.
11339 * benchtests/exp-inputs: Likewise.
11340 * benchtests/log-inputs: Likewise.
11341 * benchtests/pow-inputs: Likewise.
11342 * benchtests/rint-inputs: Likewise.
11343 * benchtests/sin-inputs: Likewise.
11344 * benchtests/sinh-inputs: Likewise.
11345 * benchtests/tan-inputs: Likewise.
11346 * benchtests/tanh-inputs: Likewise.
11347 * scripts/bench.pl: Add support for new directives.
11349 2013-10-07 Alan Modra <amodra@gmail.com>
11351 * README: Fix careless merge.
11353 2013-10-05 Alan Modra <amodra@gmail.com>
11355 * NEWS: Mention powerpc64le support and bugs fixed.
11356 * README: Both big-endian and little-endian powerpc64 supported.
11358 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11360 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11361 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11362 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11363 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11365 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11367 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11370 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11372 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11373 Move -mhard-float appending from
11374 ports/sysdeps/powerpc/powerpc32/Makefile.
11375 [$(with-fp) = yes] (ASFLAGS): Likewise.
11376 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11377 * sysdeps/powerpc/nofpu: Move directory from
11378 ports/sysdeps/powerpc/nofpu.
11379 * sysdeps/powerpc/soft-fp: Move directory from
11380 ports/sysdeps/powerpc/soft-fp.
11381 * sysdeps/powerpc/powerpc32/405: Move directory from
11382 ports/sysdeps/powerpc/powerpc32/405.
11383 * sysdeps/powerpc/powerpc32/440: Move directory from
11384 ports/sysdeps/powerpc/powerpc32/440.
11385 * sysdeps/powerpc/powerpc32/464: Move directory from
11386 ports/sysdeps/powerpc/powerpc32/464.
11387 * sysdeps/powerpc/powerpc32/476: Move directory from
11388 ports/sysdeps/powerpc/powerpc32/476.
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11390 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11392 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11394 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11396 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11398 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11399 * README: Update for powerpc-*-linux-gnu software floating point
11402 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11403 case to powerpc/powerpc32*.
11404 * sysdeps/unix/sysv/linux/configure: Regenerated.
11406 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11407 (_FPU_MASK_OM): Define as 0x04.
11408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11416 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11419 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11422 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11423 and setcontext_e500.
11425 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11427 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11429 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11431 * manual/threads.texi (Default Thread Attributes): Fix typo.
11433 2013-10-04 Will Newton <will.newton@linaro.org>
11435 * malloc/Makefile: Add tst-memalign.
11436 * malloc/tst-memalign.c: New file.
11438 * malloc/tst-posix_memalign.c: Add comments.
11439 (do_test): Add comments and call free on all potentially
11440 allocated pointers. Add space after cast.
11442 * malloc/tst-pvalloc.c: Add comments.
11443 (do_test): Add comments and call free on all potentially
11444 allocated pointers. Remove duplicate check for NULL pointer.
11445 Add space after cast.
11447 * malloc/tst-valloc.c: Add comments.
11448 (do_test): Add comments and call free on all potentially
11449 allocated pointers. Remove duplicate check for NULL pointer.
11450 Add space after cast.
11452 2013-10-04 Alan Modra <amodra@gmail.com>
11454 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11455 Use stdint types in rather than __attribute__((mode())).
11456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11458 2013-10-04 Alan Modra <amodra@gmail.com>
11460 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11461 Correct handling of unaligned relocs for little-endian.
11462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11464 2013-10-04 Alan Modra <amodra@gmail.com>
11466 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11467 * configure: Regenerate.
11468 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11469 * shlib-versions: Likewise.
11471 2013-10-04 Alan Modra <amodra@gmail.com>
11473 * string/tester.c (test_memrchr): Increment reported test cycle.
11475 2013-10-04 Alan Modra <amodra@gmail.com>
11477 * string/test-memcpy.c (do_one_test): When reporting errors, print
11478 string address and don't overrun end of string.
11480 2013-10-04 Alan Modra <amodra@gmail.com>
11482 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11483 insrdi. Make better use of reg selection to speed exit slightly.
11484 Schedule entry path a little better. Remove useless "are we done"
11485 checks on entry to main loop. Handle wrapping around zero address.
11486 Correct main loop count. Handle single left-over word from main
11487 loop inline rather than by using loop_small. Remove extra word
11488 case in loop_small caused by wrong loop count. Add little-endian
11490 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11491 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11493 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11494 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11495 support. Avoid rlwimi.
11496 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11498 2013-10-04 Alan Modra <amodra@gmail.com>
11500 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11501 insrdi. Formatting.
11502 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11503 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11504 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11505 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11506 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11507 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11509 2013-10-04 Alan Modra <amodra@gmail.com>
11511 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11512 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11513 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11514 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11515 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11517 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11518 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11519 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11520 use of regs. Use power7 mtocrf. Tidy function tails.
11522 2013-10-04 Alan Modra <amodra@gmail.com>
11524 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11525 Formatting. Consistently use rXXX register defines or rN defines.
11526 Use early exit labels that avoid restoring unused non-volatile regs.
11527 Make cr field use more consistent with rWORDn compares. Rename
11528 regs used as shift registers for unaligned loop, using rN defines
11529 for short lifetime/multiple use regs.
11530 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11531 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11532 addi 1,1,64 to pop stack frame. Simplify return value code.
11533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11535 2013-10-04 Alan Modra <amodra@gmail.com>
11537 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11538 support. Correct typos, formatting. Optimize tail. Use insrdi
11539 rather than rlwimi.
11540 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11541 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11542 little-endian support. Correct typos.
11543 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11544 rather than rlwimi.
11545 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11546 in loop and entry code to keep "and." results.
11547 (strchr): Add little-endian support. Comment. Move cntlzd
11549 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11551 2013-10-04 Alan Modra <amodra@gmail.com>
11553 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11554 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11555 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11556 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11558 2013-10-04 Alan Modra <amodra@gmail.com>
11560 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11561 (rTMP): Define as r11.
11562 (strcmp): Add little-endian support. Optimise tail.
11563 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11564 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11565 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11566 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11568 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11571 2013-10-04 Alan Modra <amodra@gmail.com>
11573 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11574 little-endian support. Remove unnecessary "are we done" tests.
11575 Handle "s" wrapping around zero and extremely large "size".
11576 Correct main loop count. Handle single left-over word from main
11577 loop inline rather than by using small_loop. Correct comments.
11578 Delete "zero" tail, use "end_max" instead.
11579 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11581 2013-10-04 Alan Modra <amodra@gmail.com>
11583 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11584 support. Don't branch over align.
11585 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11586 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11587 support. Rearrange tmp reg use to suit. Comment.
11588 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11590 2013-10-04 Alan Modra <amodra@gmail.com>
11592 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11594 2013-10-04 Alan Modra <amodra@gmail.com>
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11597 conditional form of branch and link when obtaining pc.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11600 2013-10-04 Alan Modra <amodra@gmail.com>
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11607 2013-10-04 Alan Modra <amodra@gmail.com>
11609 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11610 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11611 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11612 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11613 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11614 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11615 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11616 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11617 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11618 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11620 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11621 Alistair Popple <alistair@ozlabs.au.ibm.com>
11622 Alan Modra <amodra@gmail.com>
11625 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11626 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11627 _dl_hwcap access for little-endian.
11628 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11629 destroy vmx regs when saving unaligned.
11630 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11631 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11632 destroy vmx regs when saving unaligned.
11634 2013-10-04 Alan Modra <amodra@gmail.com>
11636 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11637 Don't use a union to pack hi/low value.
11639 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11641 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11643 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11645 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11646 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11647 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11649 2013-10-04 Alan Modra <amodra@gmail.com>
11651 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11652 constants to usual value for .cst8 section, and remove redundant
11654 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11655 constant for 0x1p52. Load little-endian words of double from
11656 correct stack offsets.
11658 2013-10-04 Alan Modra <amodra@gmail.com>
11660 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11661 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11662 words of double from correct stack offsets.
11663 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11664 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11665 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11666 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11667 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11668 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11669 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11670 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11671 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11672 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11673 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11674 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11675 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11676 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11677 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11678 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11679 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11681 2013-10-04 Alan Modra <amodra@gmail.com>
11683 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11684 64-bit int/double union.
11685 (_FPU_SETCW): Likewise.
11686 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11687 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11689 2013-10-04 Alan Modra <amodra@gmail.com>
11691 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11692 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11694 2013-10-04 Alan Modra <amodra@gmail.com>
11696 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11697 use vector int constants.
11698 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11700 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11702 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11703 array with long long.
11704 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11705 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11706 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11707 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11708 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11709 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11710 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11711 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11712 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11713 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11714 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11715 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11716 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11718 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11720 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11721 (__signbit): Likewise. Correct for little-endian.
11722 (__signbitl): Call __signbit.
11723 (lrint): Correct for little-endian.
11724 (lrintf): Call lrint.
11726 2013-10-04 Alan Modra <amodra@gmail.com>
11728 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11729 union 32-bit int array member with 64-bit int array.
11730 (t515, tm256): Double rather than long double.
11731 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11733 2013-10-04 Alan Modra <amodra@gmail.com>
11735 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11737 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11739 version of math_ldbl.h.
11741 2013-10-04 Alan Modra <amodra@gmail.com>
11743 [BZ #15734], [BZ #15735]
11744 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11745 all uses of ieee875 long double macros and unions. Simplify test
11746 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11747 ldbl_extract_mantissa value for ix,iy exponents. Properly
11748 normalize after ldbl_extract_mantissa, and don't add hidden bit
11749 already handled. Don't treat low word of ieee854 mantissa like
11750 low word of IBM long double and mask off bit when testing for
11752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11753 all uses of ieee875 long double macros and unions. Simplify tests
11754 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11755 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11756 two1022, instead use their values. Recognise that tests for large
11757 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11758 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11759 Rewrite all uses of ieee875 long double macros and unions. Simplify
11760 test for 0.0L and nan. Correct negation.
11761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11762 ieee875 long double macros and unions. Correct output for large
11763 magnitude x. Correct absolute value calculation.
11764 (__erfcl): Likewise.
11765 * math/libm-test.inc: Add tests for errors discovered in IBM long
11766 double versions of fmodl, remainderl, erfl and erfcl.
11768 2013-10-04 Alan Modra <amodra@gmail.com>
11770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11771 all uses of ieee854 long double macros and unions. Simplify tests
11772 for long doubles that are fully specified by the high double.
11773 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11775 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11776 Remove dead code too.
11777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11778 (__ieee754_ynl): Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11782 Remove dead code too.
11783 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11784 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11786 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11788 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11791 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11793 Comment on variable precision.
11794 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11797 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11803 2013-10-04 Alan Modra <amodra@gmail.com>
11805 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11806 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11807 all uses of ieee854 long double macros and unions.
11808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11815 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11816 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11818 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11819 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11820 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11821 Simplify sign and nan test too.
11822 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11823 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11824 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11825 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11827 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11828 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11831 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11832 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11833 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11834 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11835 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11837 2013-10-04 Alan Modra <amodra@gmail.com>
11839 * stdio-common/printf_size.c (__printf_size): Don't use
11840 union ieee854_long_double in fpnum union.
11841 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11842 signbit macro to retrieve sign from long double.
11843 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11844 retrieve sign from long double.
11845 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11846 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11847 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11848 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11849 * math/test-misc.c (main): Don't use union ieee854_long_double.
11851 2013-10-04 Alan Modra <amodra@gmail.com>
11854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11855 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11856 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11857 calculation. Remove unnecessary test for denormal exponent.
11858 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11859 Correct handling of denormals. Avoid undefined shift behaviour.
11860 Correct normalisation of low mantissa when low double is denormal.
11861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11862 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11863 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11864 Correct normalisation of low mantissa. Test for overflow of high
11865 mantissa and normalise.
11866 (ldbl_nearbyint): Use more readable constant for two52.
11867 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11868 (__mpn_construct_long_double): Fix test for overflow of high
11869 mantissa and correct normalisation. Avoid undefined shift.
11871 2013-10-04 Alan Modra <amodra@gmail.com>
11873 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11874 (union ibm_extended_long_double): Define as an array of ieee754_double.
11875 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11876 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11877 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11878 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11879 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11880 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11882 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11883 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11884 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11885 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11887 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11889 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11890 page size instead of calling getpagesize.
11892 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11893 (LOCFILE_ALIGN_MASK): Likewise.
11894 (LOCFILE_ALIGN_UP): Likewise.
11895 (LOCFILE_ALIGNED_P): Likewise.
11896 * locale/programs/ld-collate.c (collate_output): Use the new
11897 macros instead of __alignof__ (int32_t).
11898 * locale/weight.h (findidx): Likewise.
11900 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11903 * manual/string.texi: Fix strncat and wcsncat.
11905 2013-10-03 Brooks Moses <bmoses@google.com>
11908 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11909 * Makerules: ...here, and adjust associated comments.
11911 2013-10-02 Will Newton <will.newton@linaro.org>
11913 * malloc/Makefile: Add tst-pvalloc.
11914 * malloc/tst-pvalloc.c: New file.
11916 2013-10-02 Will Newton <will.newton@linaro.org>
11918 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11919 improve test coverage.
11921 2013-10-02 Will Newton <will.newton@linaro.org>
11923 * malloc/Makefile: Add tst-posix_memalign.
11924 * malloc/tst-posix_memalign.c: New file.
11926 2013-10-01 Eric Blake <eblake@redhat.com>
11928 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11929 Use __THROWNL rather than __THROW on static functions.
11931 2013-09-30 Petr Machata <pmachata@redhat.com>
11933 * elf/elf.h (R_AARCH64_ABS16): New macro.
11934 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11935 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11936 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11937 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11938 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11939 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11940 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11941 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11942 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11943 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11944 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11945 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11946 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11947 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11948 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11949 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11950 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11951 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11952 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11953 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11954 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11955 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11956 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11957 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11958 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11959 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11960 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11961 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11962 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11963 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11964 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11965 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11966 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11967 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11968 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11969 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11970 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11971 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11972 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11973 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11974 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11975 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11976 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11977 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11978 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11979 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11980 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11981 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11982 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11983 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11984 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11985 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11986 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11987 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11988 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11989 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11990 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11991 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11992 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11993 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11994 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11995 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11996 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11997 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11998 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11999 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12000 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12001 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12002 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12003 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12004 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12005 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12006 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12007 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12008 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12009 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12010 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12011 (R_AARCH64_TLSDESC_LDR): Likewise.
12012 (R_AARCH64_TLSDESC_ADD): Likewise.
12013 (R_AARCH64_TLSDESC_CALL): Likewise.
12015 2013-09-30 Andreas Schwab <schwab@suse.de>
12018 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12019 the nss database lookup.
12020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12023 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12025 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12027 2013-09-28 P. J. McDermott <pj@pehjota.net>
12029 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12030 ${Bash-specific parameter/pattern/string} parameter expansion.
12031 * sysdeps/unix/make-syscalls.sh: Likewise.
12033 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12035 * sysdeps/sh/stackguard-macros.h: New file.
12037 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12041 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12042 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12044 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12046 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12048 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12049 Fix thread ID register.
12051 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12053 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12054 [POSIX || UNIX98]: Require rather than permitting all symbols from
12056 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12057 element of struct sched_param.
12058 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12059 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12060 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12061 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12064 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12066 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12067 argument calculation.
12069 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12071 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12073 [POSIX] (pthread_attr_t): Do not require type.
12074 [POSIX] (pthread_cond_t): Likewise.
12075 [POSIX] (pthread_condattr_t): Likewise.
12076 [POSIX] (pthread_key_t): Likewise.
12077 [POSIX] (pthread_mutex_t): Likewise.
12078 [POSIX] (pthread_mutexattr_t): Likewise.
12079 [POSIX] (pthread_once_t): Likewise.
12080 [POSIX] (pthread_t): Likewise.
12081 [POSIX-based standards] (pthread_atfork): Expect function.
12083 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12084 Richard Sandiford <richard@codesourcery.com>
12086 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12087 (swap_endianness_p): New extern variable.
12088 (set_big_endian): New inline function.
12089 (maybe_swap_uint32): Likewise.
12090 (maybe_swap_uint32_array): Likewise.
12091 (maybe_swap_uint32_obstack): Likewise.
12092 * locale/programs/locfile.c: Include <stdbool.h>.
12093 (swap_endianness_p): New variable.
12094 (add_locale_uint32): Call maybe_swap_uint32.
12095 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12096 (write_locale_data): Call maybe_swap_uint32_array.
12097 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12099 (obstack_int32_grow_fast): Likewise.
12100 (output_weightwc): Call maybe_swap_uint32_obstack.
12101 (collate_output): Likewise.
12102 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12103 (OPT_LITTLE_ENDIAN): Likewise.
12104 (options): Add --little-endian and --big-endian options.
12105 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12106 * locale/programs/locarchive.c: Include "locfile.h".
12110 (create_archive): Use the new macros to access fields of
12111 structures directly mapped from or written to locale archives.
12112 (oldlocrecentcmp): Likewise.
12113 (enlarge_archive): Likewise.
12114 (insert_name): Likewise.
12115 (add_alias): Likewise.
12116 (add_locale): Likewise.
12117 (delete_locales_from_archive): Likewise.
12118 (show_archive_content): Likewise.
12119 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12122 2013-09-24 Roland McGrath <roland@hack.frob.com>
12124 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12125 http://www.gnu.org/doc/freemanuals.texi.
12126 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12128 2013-09-24 Will Newton <will.newton@linaro.org>
12130 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12133 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12135 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12138 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12140 * manual/threads.texi (POSIX Threads): Fix a typo.
12142 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12145 * string/tst-strcoll-overflow.c: New test case.
12146 * string/Makefile (xtests): Add tst-strcoll-overflow.
12147 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12148 cache if string sizes may cause integer overflow.
12151 * string/strcoll_l.c (coll_seq): New members rule, idx,
12152 save_idx and back_us.
12153 (get_next_seq_nocache): New function.
12154 (do_compare_nocache): New function.
12155 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12158 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12161 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12162 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12163 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12166 * elf/Makefile (tests): Add tst-ptrguard1.
12167 (tests-static): Add tst-ptrguard1-static.
12168 (tst-ptrguard1-ARGS): Define.
12169 (tst-ptrguard1-static-ARGS): Define.
12170 * elf/tst-ptrguard1.c: New file.
12171 * elf/tst-ptrguard1-static.c: New file.
12172 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12173 * sysdeps/i386/stackguard-macros.h: Likewise.
12174 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12175 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12176 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12177 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12178 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12179 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12181 2013-09-23 Hector Marco <hecmargi@upv.es>
12182 Ismael Ripoll <iripoll@disca.upv.es>
12183 Carlos O'Donell <carlos@redhat.com>
12186 * sysdeps/generic/stackguard-macros.h: Define
12187 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12188 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12189 Define __pointer_chk_guard_local.
12190 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12191 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12193 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12196 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12198 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12200 * include/string.h (__ffs): Declare as hidden.
12201 * string/ffs.c (__ffs): Define as hidden.
12202 * sysdeps/i386/ffs.c (__ffs): Likewise.
12203 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12204 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12205 * sysdeps/s390/ffs.c (__ffs): Likewise.
12206 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12208 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12210 * NEWS: Mention malloc probes.
12212 * malloc/arena.c (new_heap): New memory_heap_new probe.
12213 (grow_heap): New memory_heap_more probe.
12214 (shrink_heap): New memory_heap_less probe.
12215 (heap_trim): New memory_heap_free probe.
12216 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12217 (systrim): New memory_sbrk_less probe.
12218 * manual/probes.texi: Document them.
12220 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12221 * manual/probes.texi: Document it.
12223 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12224 (__libc_realloc): Add memory_realloc_retry probe.
12225 (__libc_memalign): Add memory_memalign_retry probe.
12226 (__libc_valloc): Add memory_valloc_retry probe.
12227 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12228 (__libc_calloc): Add memory_calloc_retry probe.
12229 * manual/probes.texi: Document them.
12231 * malloc/arena.c (get_free_list): Add probe
12232 memory_arena_reuse_free_list.
12233 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12234 and memory_arena_reuse.
12235 (arena_get2) [!PER_THREAD]: Likewise.
12236 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12237 memory_arena_reuse_realloc.
12238 * manual/probes.texi: Document them.
12240 * malloc/malloc.c (__libc_free): Add
12241 memory_mallopt_free_dyn_thresholds probe.
12242 (__libc_mallopt): Add multiple memory_mallopt probes.
12243 * manual/probes.texi: Document them.
12245 * malloc/malloc.c: Include stap-probe.h.
12246 (__libc_mallopt): Add memory_mallopt probe.
12247 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12248 * manual/probes.texi: New.
12249 * manual/Makefile (chapters): Add probes.
12250 * manual/threads.texi: Set next node.
12252 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12254 [BZ #15963, #13985]
12255 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12256 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12257 Add `Chinese' to `nan' entry name.
12259 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12261 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12262 (POLYNOMIAL): Likewise.
12263 (TAYLOR_SINCOS): Likewise.
12264 (TAYLOR_SLOW): Likewise.
12265 (__sin): Use TAYLOR_SINCOS.
12267 (slow): Use TAYLOR_SLOW.
12269 (bsloww): Likewise.
12270 (csloww): Likewise.
12272 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12274 * stdlib/strtod_l.c: Fix buffer overrun.
12276 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12278 * benchtests/Makefile (bench): Add sincos.
12279 * benchtests/bench-sincos.c: New file.
12281 * math/libm-test.inc (cos_test_data): New test inputs.
12282 (sin_test_data): Likewise.
12284 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12290 (sloww1): Likewise.
12291 (sloww2): Likewise.
12292 (bsloww1): Likewise.
12293 (bsloww2): Likewise.
12294 (cslow2): Likewise.
12295 (csloww1): Likewise.
12296 (csloww2): Likewise.
12298 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12307 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12309 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12310 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12311 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12312 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12313 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12314 * elf/cache.c (print_entry): Handle the new cache flags.
12316 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12317 Aldy Hernandez <aldyh@redhat.com>
12319 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12320 Change condition to [_SOFT_FLOAT].
12321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12333 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12336 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12339 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12341 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12342 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12343 (__longjmp): Use LOAD_GP to load saved GPRs.
12344 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12345 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12346 (__sigsetjmp): Use SAVE_GP to save GPRs.
12348 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12349 Do not append -msoft-float.
12350 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12352 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12354 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12356 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12359 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12360 (_FPU_GETCW): Use initial "__" on variable and field names but not
12361 on macro parameter name.
12362 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12363 parentheses around reference to macro parameter.
12365 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12367 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12369 (ctype_startup): Use uint32_t in cast and sizeof for
12372 2013-09-11 Jia Liu <proljc@gmail.com>
12374 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12376 [__FreeBSD__]: Likewise.
12378 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12381 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12382 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12383 (strchr): Remove __strchr_sse42 ifunc selection.
12384 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12385 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12387 2013-09-11 Will Newton <will.newton@linaro.org>
12389 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12390 parameter to RES. Remove hardcoded 1000 value.
12391 * benchtests/bench-skeleton.c (main): Pass RES parameter
12392 to TIMING_INIT and multiply result by 1000.
12394 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12398 2013-09-11 Andreas Schwab <schwab@suse.de>
12400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12402 (O_TMPFILE) [__USE_GNU]: Define.
12403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12406 2013-09-11 Will Newton <will.newton@linaro.org>
12409 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12412 2013-09-11 Will Newton <will.newton@linaro.org>
12415 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12418 2013-09-11 Will Newton <will.newton@linaro.org>
12421 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12424 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12426 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12427 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12432 2013-09-10 Allan McRae <allan@archlinux.org>
12435 * manual/arith.texi (Parsing of Floats): Clarify
12439 * manual/install.texi (Running make install): Mention
12441 * INSTALL: Regenerated.
12443 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12445 * csu/init-first.c (_init): Remove the !SHARED condition around
12446 FPU control word initialization.
12447 * elf/dl-support.c (_dl_fpu_control): New variable.
12448 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12449 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12450 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12451 * math/test-fpucw-static.c: New file.
12452 * math/test-fpucw-ieee.c: New file.
12453 * math/test-fpucw-ieee-static.c: New file.
12454 * math/Makefile (tests): Add `test-fpucw-ieee' and
12456 (tests-static): New variable.
12457 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12459 [($(build-shared),yes)]
12460 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12462 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12465 2013-09-09 Allan McRae <allan@archlinux.org>
12468 * manual/string.texi (Collation Functions): Fix typo in
12470 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12473 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12476 * libio/memstream.c (open_memstream): Fix memory leak.
12477 * libio/wmemstream.c (open_wmemstream): Likewise.
12480 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12482 2013-09-09 Will Newton <will.newton@linaro.org>
12484 * malloc/Makefile: Add tst-realloc to tests.
12485 * malloc/tst-realloc.c: New file.
12487 2013-09-09 Allan McRae <allan@archlinux.org>
12490 * COPYING: Update from GNU website to fix FSF address.
12491 * COPYING.LIB: Likewise.
12493 2013-09-06 David S. Miller <davem@davemloft.net>
12495 * po/zh_TW.po: Update Chinese (traditional) translation from
12496 translation project.
12498 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12499 Joseph Myers <joseph@codesourcery.com>
12501 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12503 (obstack_chunk_alloc): New macro.
12504 (obstack_chunk_free): Likewise.
12505 (record_offset): New function.
12506 (init_locale_data): Likewise.
12507 (align_locale_data): Likewise.
12508 (add_locale_empty): Likewise.
12509 (add_locale_raw_data): Likewise.
12510 (add_locale_raw_obstack): Likewise.
12511 (add_locale_string): Likewise.
12512 (add_locale_wstring): Likewise.
12513 (add_locale_uint32): Likewise.
12514 (add_locale_uint32_array): Likewise.
12515 (add_locale_char): Likewise.
12516 (start_locale_structure): Likewise.
12517 (end_locale_structure): Likewise.
12518 (start_locale_prelude): Likewise.
12519 (end_locale_prelude): Likewise.
12520 (write_locale_data): Take locale_file structure rather than an
12522 * locale/programs/locfile.h: Include "obstack.h".
12523 (struct locale_file): Change to store locale file contents instead
12525 (init_locale_data): New prototype.
12526 (align_locale_data): Likewise.
12527 (add_locale_empty): Likewise.
12528 (add_locale_raw_data): Likewise.
12529 (add_locale_raw_obstack): Likewise.
12530 (add_locale_string): Likewise.
12531 (add_locale_wstring): Likewise.
12532 (add_locale_uint32): Likewise.
12533 (add_locale_uint32_array): Likewise.
12534 (add_locale_char): Likewise.
12535 (start_locale_structure): Likewise.
12536 (end_locale_structure): Likewise.
12537 (start_locale_prelude): Likewise.
12538 (end_locale_prelude): Likewise.
12539 (write_locale_data): Update prototype.
12540 * locale/programs/3level.h (struct TABLE): Remove result field.
12541 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12542 Use new locale_file interface.
12543 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12544 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12545 * locale/programs/ld-address.c (address_output): Use new
12546 locale_file interface.
12547 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12549 (collate_finish): Don't call collseq_table_finalize.
12550 (collate_output): Use new locale_file interface.
12551 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12553 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12554 (TABLE): Move defines earlier in file.
12555 (ELEMENT): Likewise.
12556 (DEFAULT): Likewise.
12557 (wctrans_table_add): Move macro and inline function earlier in
12559 (struct wctype_table): Move type earlier in file.
12560 (add_locale_wctype_table): New static prototype.
12561 (struct locale_ctype_t): Use logical types instead of struct iovec
12562 pointers for members.
12563 (ctype_output): Use new locale_file interface.
12564 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12565 new locale_file interface.
12566 (allocate_arrays): Update for use of new locale_file interface.
12567 * locale/programs/ld-identification.c (identification_output): Use
12568 new locale_file interface.
12569 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12570 * locale/programs/ld-messages.c (messages_output): Likewise.
12571 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12572 * locale/programs/ld-name.c (name_output): Likewise.
12573 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12574 * locale/programs/ld-paper.c (paper_output): Likewise.
12575 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12576 * locale/programs/ld-time.c (time_output): Likewise.
12578 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12580 * benchtests/Makefile: Add memrchr benchmark.
12581 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12582 benchmark as memrchr.
12583 * benchtests/bench-memrchr-ifunc.c: New file.
12584 * benchtests/bench-memrchr.c: New file.
12586 2013-09-06 Will Newton <will.newton@linaro.org>
12588 * benchtests/Makefile (string-bench): Add memcpy.
12590 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12591 Cong Wang <amwang@redhat.com>
12594 * sysdeps/unix/sysv/linux/bits/in.h
12595 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12596 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12597 before __USE_KERNEL_IPV6_DEFS uses.
12598 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12600 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12601 sockaddr_in6, or ipv6_mreq.
12603 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12605 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12606 memory access for final bytes in some large inputs.
12607 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12609 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12611 * string/test-memrchr.c: New file.
12612 * string/test-memrchr-ifunc.c: New file.
12613 * string/Makefile: Add new memrchr testcase.
12615 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12617 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12618 fanotify_init returns EPERM.
12620 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12622 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12624 (top level): Treat second token from macro or constant entries for
12625 allowed headers as allowed.
12626 * include/complex.h: Condition internal declarations on
12628 * include/fenv.h: Condition include of <stdbool.h> and internal
12629 declarations on [!_ISOMAC].
12631 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12634 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12636 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12638 * configure.in (--enable-versioning): Remove configure option.
12639 (libc_cv_asm_symver_directive): Remove configure test.
12640 (libc_cv_ld_version_script_option): Likewise.
12641 (VERSIONING): Remove variable and AC_SUBST.
12642 (DO_VERSIONING): Remove AC_DEFINE.
12643 * configure: Regenerated.
12644 * config.h.in (DO_VERSIONING): Remove macro.
12645 * Makerules [$(versioning) = yes]: Change conditionals to
12646 [$(build-shared) = yes].
12647 * config.make.in (versioning): Remove variable.
12648 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12649 [$(build-shared) = yes].
12650 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12651 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12652 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12653 [$(build-shared) = yes].
12654 * extra-lib.mk [$(versioning) = yes]: Likewise.
12655 * hurd/Makefile [$(versioning) = yes]: Likewise.
12656 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12658 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12660 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12661 [SHARED && !NO_HIDDEN].
12662 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12664 [SHARED && DO_VERSIONING]: Likewise..
12665 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12666 [$(build-shared) = yes].
12667 * manual/install.texi (--disable-versioning): Remove
12669 * INSTALL: Regenerated.
12670 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12672 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12673 [$(build-shared) = yes].
12674 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12675 * sysdeps/i386/i686/multiarch/strstr-c.c
12676 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12677 [SHARED && !NO_HIDDEN].
12678 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12679 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12680 * sysdeps/powerpc/powerpc32/dl-machine.c
12681 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12682 * sysdeps/powerpc/powerpc32/sysdep.h
12683 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12684 to [SHARED && PIC && !NO_HIDDEN].
12685 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12686 conditional to [SHARED].
12688 2013-09-04 Will Newton <will.newton@linaro.org>
12690 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12691 * benchtests/bench-string.h: Include bench-timing.h instead
12692 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12693 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12694 call to HP_TIMING_DIFF_INIT.
12695 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12696 instead of hp-timing.h macros.
12697 * benchtests/bench-memchr.c: Likewise.
12698 * benchtests/bench-memcmp.c: Likewise.
12699 * benchtests/bench-memcpy.c: Likewise.
12700 * benchtests/bench-memmem.c: Likewise.
12701 * benchtests/bench-memmove.c: Likewise.
12702 * benchtests/bench-memset.c: Likewise.
12703 * benchtests/bench-rawmemchr.c: Likewise.
12704 * benchtests/bench-strcasecmp.c: Likewise.
12705 * benchtests/bench-strcasestr.c: Likewise.
12706 * benchtests/bench-strcat.c: Likewise.
12707 * benchtests/bench-strchr.c: Likewise.
12708 * benchtests/bench-strcmp.c: Likewise.
12709 * benchtests/bench-strcpy.c: Likewise.
12710 * benchtests/bench-strcpy_chk.c: Likewise.
12711 * benchtests/bench-strlen.c: Likewise.
12712 * benchtests/bench-strncasecmp.c: Likewise.
12713 * benchtests/bench-strncat.c: Likewise.
12714 * benchtests/bench-strncmp.c: Likewise.
12715 * benchtests/bench-strncpy.c: Likewise.
12716 * benchtests/bench-strnlen.c: Likewise.
12717 * benchtests/bench-strpbrk.c: Likewise.
12718 * benchtests/bench-strrchr.c: Likewise.
12719 * benchtests/bench-strspn.c: Likewise.
12720 * benchtests/bench-strstr.c: Likewise.
12722 2013-09-04 Will Newton <will.newton@linaro.org>
12724 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12726 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12729 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12730 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12731 * math/libm-test.inc (lgamma_test_data): Add more tests.
12732 * sysdeps/i386/fpu/libm-test-ulps: Update.
12733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12735 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12737 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12741 Add strcmp-sse2-unaligned
12742 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12744 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12746 * Versions.def (libc): Add GLIBC_2.19.
12748 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12750 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12751 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12753 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12756 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12757 intermediate calculations in recurrence.
12758 (__ieee754_ynf): Likewise.
12759 * math/libm-test.inc (jn_test_data): Do not allow spurious
12760 underflow exception. Add more tests.
12761 (yn_test_data): Add more tests.
12762 * sysdeps/i386/fpu/libm-test-ulps: Update.
12763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12765 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12767 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12769 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12771 * csu/init-first.c: Fix then/than typos.
12772 * locale/programs/ld-collate.c: Likewise.
12773 * locale/programs/linereader.h: Likewise.
12774 * manual/charset.texi: Likewise.
12775 * manual/filesys.texi: Likewise.
12776 * manual/stdio.texi: Likewise.
12777 * manual/string.texi: Likewise.
12778 * stdlib/fmtmsg.c: Likewise.
12779 * sysdeps/i386/stpncpy.S: Likewise.
12780 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12781 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12782 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12783 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12785 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12787 * elf/dl-open.c: Fix typos.
12788 * iconvdata/gbbig5.c: Likewise.
12789 * iconvdata/iso-2022-jp.c: Likewise.
12790 * iconv/gconv_int.h: Likewise.
12791 * iconv/loop.c: Likewise.
12792 * nis/rpcsvc/nis.h: Likewise.
12793 * resolv/ns_name.c: Likewise.
12794 * stdio-common/vfscanf.c: Likewise.
12795 * streams/stropts.h: Likewise.
12796 * sunrpc/rpc_thread.c: Likewise.
12797 * sysdeps/i386/strpbrk.S: Likewise.
12798 * sysdeps/ieee754/k_standard.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12801 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12802 * sysdeps/mach/hurd/profil.c: Likewise.
12803 * sysdeps/s390/dl-procinfo.h: Likewise.
12804 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12807 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12808 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12810 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12812 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12815 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12817 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12818 aix specific files.
12819 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12822 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12823 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12824 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12825 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12826 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12828 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12829 Roland McGrath <roland@hack.frob.com>
12831 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12832 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12834 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12836 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12837 __executable_start symbol instead of _start.
12839 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12841 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12842 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12844 * sysdeps/gnu/ldsodefs.h: ... this new file.
12846 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12847 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12848 instead of ELFOSABI_LINUX.
12850 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12851 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12852 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12853 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12855 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12856 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12859 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12860 (ibm_extended_long_double): Add ieee_nan member.
12861 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12862 (do_test): New function.
12864 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12866 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12867 functions, renamed from truncdfsf_test, trunctfsf_test,
12869 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12871 (do_test): Run all these.
12873 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12875 * argp/argp-help.c: Fix typos.
12876 * argp/argp-parse.c: Likewise.
12877 * debug/backtracesyms.c: Likewise.
12878 * elf/elf.h: Likewise.
12879 * malloc/malloc.c: Likewise.
12880 * nis/nis_print.c: Likewise.
12881 * resolv/res_comp.c: Likewise.
12882 * stdlib/stdlib.h: Likewise.
12883 * sunrpc/clnt_tcp.c: Likewise.
12884 * sunrpc/clnt_udp.c: Likewise.
12885 * sunrpc/clnt_unix.c: Likewise.
12886 * sysdeps/unix/bsd/ptsname.c: Likewise.
12887 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12888 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12895 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12897 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12899 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12902 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12905 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12906 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12907 ($(objpfx)bug-dl-leaf): New rule.
12908 ($(objpfx)bug-dl-leaf.so): Likewise.
12909 ($(objpfx)bug-dl-leaf.out): Likewise.
12910 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12911 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12912 * dlfcn/bug-dl-leaf.c: New test.
12913 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12914 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12915 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12916 (dlclose): Likewise.
12917 (dlmopen): Likewise.
12919 2013-08-27 Roland McGrath <roland@hack.frob.com>
12921 * include/netdb.h [!_ISOMAC]:
12922 Don't include <tls.h>.
12923 (h_errno, __libc_h_errno): Move declaration and macros out of
12926 * include/resolv.h [_RESOLV_H_]:
12927 Don't include <tls.h>.
12928 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12929 * resolv/res_libc.c: Don't include <tls.h>.
12930 (_res): Use __attribute__ ((nocommon)) in place of
12931 __attribute__ ((section (".bss"))).
12933 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12934 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12936 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12938 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12939 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12941 * resolv/res_mkquery.c: Include <sys/time.h>.
12943 * inet/ifreq.c: Moved to ...
12944 * sysdeps/unix/ifreq.c: ... here.
12945 * inet/ifreq.c: New file, true stub version.
12947 * socket/sa_len.c: New file.
12948 * socket/Makefile (aux): Add it.
12949 * sysdeps/unix/sysv/linux/Makefile
12950 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12951 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12952 and #include <socket/sa_len.c>.
12953 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12954 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12956 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12957 * bits/socket.h: ... here.
12959 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12960 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12961 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12963 2013-08-27 Andreas Schwab <schwab@suse.de>
12966 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12967 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12968 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12969 * string/test-strcasecmp.c (test_main): Run tests in several
12971 * string/test-strncasecmp.c (test_main): Likewise.
12973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12974 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12975 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12977 (__strncasecmp_ssse3) [PIC]: Likewise.
12979 2013-08-26 Roland McGrath <roland@hack.frob.com>
12981 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12983 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12984 instead of explicitly declaring xdecrypt.
12985 * nis/nss_nis/nis-publickey.c: Likewise.
12987 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12990 * nscd/aicache.c: Include res_hconf.h.
12991 (addhstaiX): Initialize res_hconf.
12993 2013-08-26 Andreas Schwab <schwab@suse.de>
12995 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12996 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12998 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13000 * nscd/aicache.c (addhstaiX): Fix indentation.
13002 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13004 * configure.ac: Quote $build_pt_chown test.
13005 * configure: Regenerated.
13007 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13010 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13011 * math/s_cexpf.c (__cexpf): Likewise.
13012 * math/s_cexpl.c (__cexpl): Likewise.
13013 * math/libm-test.inc (cexp_test_data): Correct expected return
13014 value for NaN + i0. Add another test.
13016 2013-08-22 David S. Miller <davem@davemloft.net>
13018 * po/ca.po: Update Catalan translation from translation project.
13019 * po/uk.po: Add Ukrainian translations from translation project.
13021 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13024 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13025 is infinite, not alongside NaN test.
13026 * math/s_fdimf.c (__fdimf): Likewise.
13027 * math/s_fdiml.c (__fdiml): Likewise.
13028 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13029 errno is unchanged.
13031 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13033 * argp/argp-help.c: Fix typos.
13034 * crypt/speeds.c: Likewise.
13035 * csu/check_fds.c: Likewise.
13036 * elf/dl-load.c: Likewise.
13037 * elf/dl-open.c: Likewise.
13038 * elf/reldep3.c: Likewise.
13039 * elf/reldep.c: Likewise.
13040 * elf/sprof.c: Likewise.
13041 * iconv/iconv_charmap.c: Likewise.
13042 * iconv/skeleton.c: Likewise.
13043 * iconv/strtab.c: Likewise.
13044 * io/lockf64.c: Likewise.
13045 * libio/libioP.h: Likewise.
13046 * resolv/gai_notify.c: Likewise.
13047 * resolv/ns_name.c: Likewise.
13048 * resolv/ns_samedomain.c: Likewise.
13049 * resolv/res_send.c: Likewise.
13050 * stdlib/random.c: Likewise.
13051 * sunrpc/rpc/xdr.h: Likewise.
13052 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13053 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13054 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13055 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13056 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13057 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13059 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13060 * sysdeps/mach/hurd/check_fds.c: Likewise.
13061 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13062 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13063 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13064 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13065 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13066 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13067 * sysdeps/pthread/aio_notify.c: Likewise.
13068 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13069 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13070 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13071 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13072 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13074 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13076 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13077 version if bit_Slow_SSE4_2 is set.
13078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13081 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13084 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13085 trampoline stack frame information.
13086 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13087 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13088 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13089 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13090 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13091 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13092 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13093 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13095 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13096 interrupting a syscall and set with option SA_SIGINFO.
13098 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13101 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13102 argument is infinite.
13103 * math/s_cprojf.c (__cprojf): Likewise.
13104 * math/s_cprojl.c (__cprojl): Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13106 * math/libm-test.inc (cproj_test_data): Add more tests.
13108 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13110 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13111 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13112 size. Use __ffs to determine corresponding shift.
13114 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13115 Roland McGrath <roland@hack.frob.com>
13117 * Makefile (INSTALL): Remove trailing blank lines from output of
13120 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13122 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13123 Align 32 bit compat elf_greg to 8 bytes.
13125 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13127 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13129 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13131 * string/strcoll_l.c (coll_seq): New structure.
13132 (get_next_seq_cached): New function.
13133 (get_next_seq): New function.
13134 (do_compare): New function.
13135 (STRCOLL): Use GNU style definition. Simplify implementation
13136 by using get_next_seq, get_next_seq_cached and do_compare.
13138 2013-08-16 Florian Weimer <fweimer@redhat.com>
13142 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13144 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13146 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13147 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13148 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13150 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13151 GETDENTS_64BIT_ALIGNED.
13152 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13153 * manual/filesys.texi (Reading/Closing Directory): Document
13154 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13156 * manual/conf.texi (Limits for Files): Add portability note to
13157 NAME_MAX, PATH_MAX.
13158 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13160 2013-08-13 Andreas Schwab <schwab@suse.de>
13163 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13165 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13166 LDBL_MAX_EXP >= 16384]: Add tests for it.
13168 2013-08-12 David S. Miller <davem@davemloft.net>
13170 * version.h (RELEASE): Set to "development".
13171 (VERSION): Set to "2.18.90".
13172 * NEWS: Add 2.19 section.
13174 2013-08-03 David S. Miller <davem@davemloft.net>
13176 * po/ko.po: Update Korean translation from translation project.
13178 2013-08-01 David S. Miller <davem@davemloft.net>
13180 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13181 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13184 2013-07-30 David S. Miller <davem@davemloft.net>
13186 * po/fr.po: Update French translation from translation project.
13188 2013-07-28 David S. Miller <davem@davemloft.net>
13190 * po/cs.po: Update Czech translation from translation project.
13192 * po/sv.po: Update Swedish translation from translation project.
13194 2013-07-27 David S. Miller <davem@davemloft.net>
13196 * po/eo.po: Update Esperanto translation from translation project.
13198 * po/vi.po: Update Vietnamese translation from translation project.
13200 * po/de.po: Update German translation from translation project.
13202 2013-07-26 David S. Miller <davem@davemloft.net>
13204 * po/bg.po: Update Bulgarian translation from translation project.
13206 * po/nl.po: Update Dutch translation from translation project.
13207 * po/pl.po: Update Polish translation from translation project.
13208 * po/ru.po: Update Russian translation from translation project.
13210 2013-07-24 David S. Miller <davem@davemloft.net>
13212 * po/libc.pot: Update.
13214 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13216 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13217 variable page size.
13218 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13219 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13220 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13222 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13224 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13226 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13227 Andreas Schwab <schwab@suse.de>
13228 Roland McGrath <roland@hack.frob.com>
13229 Joseph Myers <joseph@codesourcery.com>
13230 Carlos O'Donell <carlos@redhat.com>
13233 * config.h.in: Define HAVE_PT_CHOWN.
13234 * config.make.in (build-pt-chown): New variable.
13235 * configure.in (--enable-pt_chown): New configure option.
13236 * configure: Regenerate.
13237 * login/Makefile: Include Makeconfig. Build pt_chown only if
13238 build-pt-chown is enabled.
13239 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13240 pt_chown to fix pty ownership.
13241 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13243 * manual/install.texi (Configuring and compiling): Mention
13244 --enable-pt_chown. Add @findex for grantpt.
13245 * INSTALL: Regenerate.
13247 2013-07-20 David S. Miller <davem@davemloft.net>
13249 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13250 difference between 32-bit and 64-bit.
13252 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13255 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13256 Avoid system header dependency with -ffreestanding.
13257 ($(objpfx)bits/syscall%d): Likewise.
13259 2013-07-13 David S. Miller <davem@davemloft.net>
13261 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13262 underflows from atanl/atan2l due to bug 15319.
13263 (casinh_test_data): Likewise.
13265 2013-07-07 David S. Miller <davem@davemloft.net>
13267 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13269 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13271 * sysdeps/i386/fpu/libm-test-ulps: Update.
13272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13274 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13276 * configure.in (--enable-lock-elision): Fix message text.
13277 * INSTALL: Regenerate.
13278 * configure: Regenerate.
13280 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13284 2013-07-03 Andreas Jaeger <aj@suse.de>
13286 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13288 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13289 (ptrace_peeksiginfo_args): Add.
13290 (__ptrace_peeksiginfo_flags): Add.
13291 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13292 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13295 2013-07-03 Allan McRae <allan@archlinux.org>
13297 * sysdeps/i386/fpu/libm-test-ulps: Update.
13299 2013-07-02 David S. Miller <davem@davemloft.net>
13301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13303 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13307 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13309 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13312 2013-07-02 Andi Kleen <ak@linux.intel.com>
13314 * config.h.in (ENABLE_LOCK_ELISION): Add.
13315 * configure.in (--enable-lock-elision): Add option.
13316 * manual/install.texi: Document --enable lock elision.
13317 * configure: Regenerate
13318 * INSTALL: Regenerate.
13320 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13322 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13323 SSE4.2 strcasecmp for libc.a.
13324 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13326 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13329 * soft-fp/op-common.h (_FP_FMA): New macro.
13330 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13331 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13332 (_FP_MUL_MEAT_1_imm): ... here.
13333 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13334 (_FP_MUL_MEAT_1_wide): ... here.
13335 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13336 (_FP_MUL_MEAT_1_hard): ... here.
13337 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13338 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13339 (_FP_MUL_MEAT_2_wide): ... here.
13340 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13341 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13342 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13343 (_FP_MUL_MEAT_2_gmp): ... here.
13344 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13345 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13346 (_FP_MUL_MEAT_4_wide): ... here.
13347 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13348 (_FP_MUL_MEAT_4_gmp): ... here.
13349 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13350 (_FP_WFRACBITS_DW_S): Likewise.
13351 (_FP_WFRACXBITS_DW_S): Likewise.
13352 (_FP_HIGHBIT_DW_S): Likewise.
13353 (FP_FMA_S): Likewise.
13354 (_FP_FRAC_HIGH_DW_S): Likewise.
13355 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13356 (_FP_WFRACBITS_DW_D): Likewise.
13357 (_FP_WFRACXBITS_DW_D): Likewise.
13358 (_FP_HIGHBIT_DW_D): Likewise.
13359 (FP_FMA_D): Likewise.
13360 (_FP_FRAC_HIGH_DW_D): Likewise.
13361 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13362 (_FP_WFRACBITS_DW_E): Likewise.
13363 (_FP_WFRACXBITS_DW_E): Likewise.
13364 (_FP_HIGHBIT_DW_E): Likewise.
13365 (FP_FMA_E): Likewise.
13366 (_FP_FRAC_HIGH_DW_E): Likewise.
13367 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13368 (_FP_WFRACBITS_DW_Q): Likewise.
13369 (_FP_WFRACXBITS_DW_Q): Likewise.
13370 (_FP_HIGHBIT_DW_Q): Likewise.
13371 (FP_FMA_Q): Likewise.
13372 (_FP_FRAC_HIGH_DW_Q): Likewise.
13373 * soft-fp/fmasf4.c: New file.
13374 * soft-fp/fmadf4.c: Likewise.
13375 * soft-fp/fmatf4.c: Likewise.
13377 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13380 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13382 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13384 (index_Slow_SSE4_2): Likewise.
13385 (index_Prefer_PMINUB_for_stringop): Likewise.
13386 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13387 bit_Slow_SSE4_2 is set.
13388 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13389 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13391 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13393 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13394 rtld_global._dl_hwcap2.
13395 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13397 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13398 POWER8 feature descriptions defined in _dl_hwcap2.
13399 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13400 string handling for POWER8 feature bits.
13401 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13402 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13403 _dl_powerpc_cap_flags.
13404 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13405 * sysdeps/powerpc/rtld-global-offsets.sym
13406 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13407 _dl_hwcap2 in the rtld_global_ro structure.
13409 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13411 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13412 hardware capabilities in support of AT_HWCAP2.
13413 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13414 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13416 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13417 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13418 explicitly the unknown a_type display mechanism is used.
13419 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13420 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13422 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13423 to macro prototype for AT_HWCAP2 support.
13424 * sysdeps/i386/dl-procinfo.h: Likewise.
13425 * sysdeps/s390/dl-procinfo.h: Likewise.
13426 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13427 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13428 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13429 return -1 for unknown a_type display fallback.
13430 * sysdeps/sparc/dl-procinfo.h: Likewise.
13431 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13432 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13434 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13436 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13437 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13439 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13442 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13443 mprotect making __stack_prot writable.
13445 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13446 Joseph Myers <joseph@codesourcery.com>
13448 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13449 as being properly aligned.
13451 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13453 * dlfcn/modstatic5.c: New file.
13454 * dlfcn/tststatic5.c: New file.
13455 * dlfcn/Makefile (tests): Add tststatic5.
13456 (tests-static): Likewise.
13457 (modules-names): Add modstatic5.
13458 (tststatic5-ENV): New variable.
13459 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13462 * elf/dl-support.c (_dl_main_map): New variable.
13463 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13464 (_dl_nns, _dl_load_adds): Set to 1.
13465 (_dl_initial_searchlist): Refer to _dl_main_map.
13466 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13467 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13468 call to _dl_get_origin.
13469 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13471 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13472 * dlfcn/modstatic3.c: New file.
13473 * dlfcn/tststatic3.c: New file.
13474 * dlfcn/tststatic4.c: New file.
13475 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13476 (tests-static): Likewise.
13477 (modules-names): Add modstatic3.
13478 (tststatic3-ENV, tststatic4-ENV): New variables.
13479 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13480 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13482 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13484 * configure.in (CC): Require GCC version 4.4 or later.
13485 * configure: Regenerated.
13486 * manual/install.texi (Tools for Compilation): Update GCC version
13488 * INSTALL: Regenerated.
13490 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13493 * string/test-memcmp.c (check2): New.
13494 (main): Call check2.
13496 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13498 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13501 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13503 (dl_open_worker) [!SHARED]: ... here.
13505 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13507 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13509 2013-06-25 Richard Henderson <rth@redhat.com>
13511 * locale/programs/locarchive.c: Include <libc-internal.h>
13513 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13515 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13516 trailing whitespace removed.
13518 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13521 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13522 * locale/programs/locarchive.c: Include libc-mmap.h.
13523 (prepare_address_space): Take two new outputs (the mmap base and len).
13524 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13526 (create_archive): Declare new mmap base and len values for
13527 prepare_address_space, and store the result in ah.
13528 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13529 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13530 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13531 Declare new mmap base and len values for
13532 prepare_address_space, and store the result in new_ah.
13533 (open_archive): Declare new mmap base and len values for
13534 prepare_address_space, and store the result in ah.
13535 (close_archive): If ah->mmap_base is not NULL, use that and
13536 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13537 * sysdeps/generic/libc-mmap.h: New file.
13539 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13541 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13542 (ALIGN_UP): Likewise.
13543 (PTR_ALIGN_DOWN): Likewise.
13544 (PTR_ALIGN_UP): Likewise.
13546 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13548 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13549 entry mapped to PPC_PLATFORM_POWER8.
13550 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13552 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13553 (_dl_string_platform): Add case for exporting platform position for
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13556 search path to sysdeps/powerpc/powerpc32/power8 directory.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13558 search path to sysdeps/powerpc/powerpc64/power8 directory.
13559 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13560 power7 directories.
13561 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13562 power7 directories.
13564 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13566 * INSTALL: Regenerate.
13568 * nscd/connections.c (nscd_init): Fix comment.
13570 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13572 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13575 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13576 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13578 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13580 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13582 (DL_DST_REQ_STATIC): Remove macro.
13584 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13587 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13588 with a shift of 0 bits.
13590 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13592 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13595 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13598 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13600 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13602 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13603 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13604 accepts -fno-tree-loop-distribute-patterns.
13605 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13606 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13608 * string/memset.c (memset): Likewise.
13609 * string/test-memmove.c (simple_memmove): Disable loop transformation
13611 * string/test-memset.c (simple_memset): Likewise.
13612 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13613 * benchtests/bench-memset.c (simple_memset): Likewise.
13614 * configure: Regenerated.
13616 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13618 * math/test-misc.c (main): Ignore fesetround failure when failures
13619 of subsequent rounding tests would be ignored.
13622 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13623 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13624 * math/fegetenv.c (__fegetenv): Return 0.
13625 * math/fegetexcept.c (fegetexcept): Return 0.
13626 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13628 * math/feholdexcpt.c (feholdexcept): Return 0.
13629 * math/fesetenv.c (__fesetenv): Return 0.
13630 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13631 argument FE_TONEAREST.
13632 * math/feupdateenv.c (__feupdateenv): Return 0.
13633 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13635 2013-06-18 Roland McGrath <roland@hack.frob.com>
13637 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13638 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13639 ($(objpfx)rtld-%.os rules): Use them.
13641 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13643 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13646 2013-06-17 Roland McGrath <roland@hack.frob.com>
13648 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13649 length of target pattern, then descending length of dependency pattern.
13650 * configure.in (AWK): Require gawk 3.1.2 or newer.
13651 * manual/install.texi (Tools for Compilation): Say that we do.
13652 * configure: Regenerated.
13654 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13655 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13656 * scripts/sysd-rules.awk: ... this new script.
13657 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13658 than a glob-style pattern.
13660 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13662 * math/test-misc.c (main): Do not treat incorrectly rounded
13663 conversions as failure unless ROUNDING_TESTS passes.
13665 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13668 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13669 restore exception state around main square root computation, then
13670 check for inexactness explicitly.
13672 * math/libm-test.inc (fma_test_data): Add another test.
13674 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13676 * manual/threads.texi (Non-POSIX Extensions): New document
13677 node. Document pthread_getattr_default_np and
13678 pthread_setattr_default_np.
13680 * Versions.def (libpthread): Add GLIBC_2.18.
13681 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13690 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13701 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13704 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13706 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13707 H.J. Lu <hjl.tools@gmail.com>
13710 * sysdeps/x86_64/rtld-memset.c: Remove file.
13711 * sysdeps/x86_64/rtld-memset.S: New file.
13713 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13715 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13716 (test_in_one_mode): Take arguments for whether the rounding mode
13717 is supported for each floating-point type.
13718 (do_test): Pass new arguments to test_in_one_mode using
13721 2013-06-13 Roland McGrath <roland@hack.frob.com>
13723 * posix/tst-waitid.c (do_test): Distinguish different instances of
13724 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13725 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13726 before entering the kernel for waitpid.
13728 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13730 * NEWS: Fix note on clock function precision. Text by Roland
13733 2013-06-13 Roland McGrath <roland@hack.frob.com>
13735 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13736 it into place only when and if the sanity check passes.
13738 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13740 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13741 output for whether conversion result is exact. Take argument
13742 indicating whether type is IBM long double.
13743 (round_for_all): Change need_exact field to ibm_ld.
13744 * stdlib/tst-strtod-round.c (struct exactness): New type.
13745 (struct test): Change bool ld_ok field to struct exactness exact.
13746 (TEST): Update all definitions for change to field.
13747 (tests): Regenerate array contents.
13748 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13749 field value. Check for IBM long double here.
13750 (do_test): Update calls to test_in_one_mode.
13752 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13755 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13756 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13758 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13761 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13762 generated by the compiler on loop optimizations.
13763 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13764 general definitions.
13766 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13768 * math/bug-nextafter.c: Include <math-tests.h>.
13769 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13771 * math/bug-nexttoward.c: Include <math-tests.h>.
13772 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13774 * math/test-misc.c: Include <math-tests.h>.
13775 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13778 2013-06-12 Andreas Jaeger <aj@suse.de>
13780 * po/ia.po: Update Interlingua translation from translation
13783 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13785 * include/fenv.h: Include stdbool.h.
13786 (struct rm_ctx): New structure.
13787 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13789 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13790 (SET_RESTORE_ROUNDF): Likewise.
13791 (SET_RESTORE_ROUNDL): Likewise.
13792 (SET_RESTORE_ROUND_NOEX): Likewise.
13793 (SET_RESTORE_ROUND_NOEXF): Likewise.
13794 (SET_RESTORE_ROUND_NOEXL): Likewise.
13795 (SET_RESTORE_ROUND_53BIT): Likewise.
13796 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13797 (libc_feresetround_noexf_ctx): Likewise.
13798 (libc_feresetround_noexl_ctx): Likewise.
13799 (libc_feholdsetround_53bit_ctx): Likewise.
13800 (libc_feresetround_53bit_ctx): Likewise.
13801 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13802 (libc_feholdexcept_setround_sse_ctx): New function.
13803 (libc_fesetenv_sse_ctx): Likewise.
13804 (libc_feupdateenv_sse_ctx): Likewise.
13805 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13806 (libc_feholdexcept_setround_387_ctx): Likewise.
13807 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13808 (libc_feholdsetround_387_prec_ctx): Likewise.
13809 (libc_feholdsetround_387_ctx): Likewise.
13810 (libc_feholdsetround_387_53bit_ctx): Likewise.
13811 (libc_feholdsetround_sse_ctx): Likewise.
13812 (libc_feresetround_sse_ctx): Likewise.
13813 (libc_feresetround_387_ctx): Likewise.
13814 (libc_feupdateenv_387_ctx): Likewise.
13815 (libc_feholdexcept_setroundf_ctx): Define macro.
13816 (libc_fesetenvf_ctx): Likewise.
13817 (libc_feupdateenvf_ctx): Likewise.
13818 (libc_feholdsetroundf_ctx): Likewise.
13819 (libc_feresetroundf_ctx): Likewise.
13820 (libc_feholdexcept_setround_ctx): Likewise.
13821 (libc_fesetenv_ctx): Likewise.
13822 (libc_feupdateenv_ctx): Likewise.
13823 (libc_feholdsetround_ctx): Likewise.
13824 (libc_feresetround_ctx): Likewise.
13825 (libc_feholdexcept_setroundl_ctx): Likewise.
13826 (libc_feupdateenvl_ctx): Likewise.
13827 (libc_feholdsetroundl_ctx): Likewise.
13828 (libc_feresetroundl_ctx): Likewise.
13829 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13830 (libc_feresetround_53bit_ctx): Likewise.
13832 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13834 * locale/iso-639.def: Convert to UTF-8.
13836 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13838 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13839 (EXCEPTION_TESTS_double): Likewise.
13840 (EXCEPTION_TESTS_long_double): Likewise.
13841 (EXCEPTION_TESTS): Likewise.
13842 * math/libm-test.inc (test_exceptions): Only test exceptions if
13843 EXCEPTION_TESTS (FLOAT).
13845 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13847 * benchtests/Makefile (string-bench): Add strcpy_chk and
13849 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13850 * benchtests/bench-stpcpy_chk.c: New file.
13851 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13852 * benchtests/bench-strcpy_chk.c: New file.
13853 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13855 (do_test): Likewise.
13857 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13859 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13860 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13861 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13862 with tabs where appropriate.
13863 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13865 [PPC_PLATFORM_PPC440]: Likewise.
13866 [PPC_PLATFORM_PPC464]: Likewise.
13867 [PPC_PLATFORM_PPC476]: Likewise.
13868 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13869 ppc464, and ppc476 platform strings merging from ports/
13872 2013-06-11 Andreas Schwab <schwab@suse.de>
13875 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13876 (from_ucs4_idx): Regenerate.
13877 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13878 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13879 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13880 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13881 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13882 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13883 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13884 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13885 from FROM_LOOP and TO_LOOP specific macros.
13886 (BODY): Handle combining characters.
13887 * iconvdata/BIG5HKSCS.irreversible: Update.
13888 * iconvdata/BIG5HKSCS.precomposed: New file.
13889 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13891 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13893 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13895 * include/sys/time.h: Fix indentation and add copyright header.
13897 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13898 (do_test): Likewise.
13899 * string/test-memchr.c (do_one_test): Likewise.
13900 (do_test): Likewise.
13901 * string/test-memcmp.c (do_one_test): Likewise.
13902 (do_test): Likewise.
13903 * string/test-memcpy.c (do_one_test): Likewise.
13904 (do_test): Likewise.
13905 * string/test-memmem.c (do_one_test): Likewise.
13906 (do_test): Likewise.
13907 (do_random_tests): Likewise.
13908 * string/test-memmove.c (do_one_test): Likewise.
13909 (do_test): Likewise.
13910 * string/test-memset.c (do_one_test): Likewise.
13911 (do_test): Likewise.
13912 * string/test-rawmemchr.c (do_one_test): Likewise.
13913 (do_test): Likewise.
13914 * string/test-strcasecmp.c (do_one_test): Likewise.
13915 (do_test): Likewise.
13916 * string/test-strcasestr.c (do_one_test): Likewise.
13917 (do_test): Likewise.
13918 * string/test-strcat.c (do_one_test): Likewise.
13919 (do_test): Likewise.
13920 * string/test-strchr.c (do_one_test): Likewise.
13921 (do_test): Likewise.
13922 * string/test-strcmp.c (do_one_test): Likewise.
13923 (do_test): Likewise.
13924 * string/test-strcpy.c (do_one_test): Likewise.
13925 (do_test): Likewise.
13926 * string/test-string.h: Likewise.
13927 (test_init): Likewise.
13928 * string/test-strlen.c (do_one_test): Likewise.
13929 (do_test): Likewise.
13930 * string/test-strncasecmp.c (do_one_test): Likewise.
13931 (do_test): Likewise.
13932 * string/test-strncat.c (do_one_test): Likewise.
13933 (do_test): Likewise.
13934 * string/test-strncmp.c (do_one_test): Likewise.
13935 (do_test_limit): Likewise.
13936 (do_test): Likewise.
13937 * string/test-strncpy.c (do_one_test): Likewise.
13938 (do_test): Likewise.
13939 * string/test-strnlen.c (do_one_test): Likewise.
13940 (do_test): Likewise.
13941 * string/test-strpbrk.c (do_one_test): Likewise.
13942 (do_test): Likewise.
13943 * string/test-strrchr.c (do_one_test): Likewise.
13944 (do_test): Likewise.
13945 * string/test-strspn.c (do_one_test): Likewise.
13946 (do_test): Likewise.
13947 * string/test-strstr.c (do_one_test): Likewise.
13948 (do_test): Likewise.
13950 * benchtests/Makefile (string-bench): Add string benchmarks.
13951 * benchtests/bench-bcopy-ifunc.c: New file.
13952 * benchtests/bench-bcopy.c: New file.
13953 * benchtests/bench-bzero-ifunc.c: New file.
13954 * benchtests/bench-bzero.c: New file.
13955 * benchtests/bench-memccpy-ifunc.c: New file.
13956 * benchtests/bench-memccpy.c: New file.
13957 * benchtests/bench-memchr-ifunc.c: New file.
13958 * benchtests/bench-memchr.c: New file.
13959 * benchtests/bench-memcmp-ifunc.c: New file.
13960 * benchtests/bench-memcmp.c: New file.
13961 * benchtests/bench-memmem-ifunc.c: New file.
13962 * benchtests/bench-memmem.c: New file.
13963 * benchtests/bench-memmove-ifunc.c: New file.
13964 * benchtests/bench-memmove.c: New file.
13965 * benchtests/bench-mempcpy-ifunc.c: New file.
13966 * benchtests/bench-mempcpy.c: New file.
13967 * benchtests/bench-memset-ifunc.c: New file.
13968 * benchtests/bench-memset.c: New file.
13969 * benchtests/bench-rawmemchr-ifunc.c: New file.
13970 * benchtests/bench-rawmemchr.c: New file.
13971 * benchtests/bench-stpcpy-ifunc.c: New file.
13972 * benchtests/bench-stpcpy.c: New file.
13973 * benchtests/bench-stpncpy-ifunc.c: New file.
13974 * benchtests/bench-stpncpy.c: New file.
13975 * benchtests/bench-strcasecmp-ifunc.c: New file.
13976 * benchtests/bench-strcasecmp.c: New file.
13977 * benchtests/bench-strcasestr-ifunc.c: New file.
13978 * benchtests/bench-strcasestr.c: New file.
13979 * benchtests/bench-strcat-ifunc.c: New file.
13980 * benchtests/bench-strcat.c: New file.
13981 * benchtests/bench-strchr-ifunc.c: New file.
13982 * benchtests/bench-strchr.c: New file.
13983 * benchtests/bench-strchrnul-ifunc.c: New file.
13984 * benchtests/bench-strchrnul.c: New file.
13985 * benchtests/bench-strcmp-ifunc.c: New file.
13986 * benchtests/bench-strcmp.c: New file.
13987 * benchtests/bench-strcpy-ifunc.c: New file.
13988 * benchtests/bench-strcpy.c: New file.
13989 * benchtests/bench-strcspn-ifunc.c: New file.
13990 * benchtests/bench-strcspn.c: New file.
13991 * benchtests/bench-strlen-ifunc.c: New file.
13992 * benchtests/bench-strlen.c: New file.
13993 * benchtests/bench-strncasecmp-ifunc.c: New file.
13994 * benchtests/bench-strncasecmp.c: New file.
13995 * benchtests/bench-strncat-ifunc.c: New file.
13996 * benchtests/bench-strncat.c: New file.
13997 * benchtests/bench-strncmp-ifunc.c: New file.
13998 * benchtests/bench-strncmp.c: New file.
13999 * benchtests/bench-strncpy-ifunc.c: New file.
14000 * benchtests/bench-strncpy.c: New file.
14001 * benchtests/bench-strnlen-ifunc.c: New file.
14002 * benchtests/bench-strnlen.c: New file.
14003 * benchtests/bench-strpbrk-ifunc.c: New file.
14004 * benchtests/bench-strpbrk.c: New file.
14005 * benchtests/bench-strrchr-ifunc.c: New file.
14006 * benchtests/bench-strrchr.c: New file.
14007 * benchtests/bench-strspn-ifunc.c: New file.
14008 * benchtests/bench-strspn.c: New file.
14009 * benchtests/bench-strstr-ifunc.c: New file.
14010 * benchtests/bench-strstr.c: New file.
14012 * benchtests/Makefile: Disable parallel execution of targets.
14013 (string-bench): Add memcpy.
14014 (benchset): New variable to store a list of benchmark sets.
14015 (bench-func): Renamed from bench.
14016 (bench-set): New target.
14017 (bench): Depend on bench-func and bench-set.
14018 * benchtests/README: Add section on benchmark sets.
14019 * benchtests/bench-memcpy-ifunc.c: New file.
14020 * benchtests/bench-memcpy.c: New file.
14021 * benchtests/bench-string.h: New file.
14023 2013-06-11 Andreas Schwab <schwab@suse.de>
14026 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14027 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14028 values in the triple.
14029 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14030 terminator in the group key.
14032 2013-06-11 Andreas Jaeger <aj@suse.de>
14034 * po/zh_TW.po: Update Chinese (traditional) translation from
14035 translation project.
14037 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14039 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14040 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14041 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14042 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14043 (clock_getcpuclockid): Likewise.
14044 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14045 Add weak_alias and libc_hidden_def.
14046 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14047 * rt/clock_gettime.c (clock_gettime): Rename to
14048 __clock_gettime. Add weak_alias and libc_hidden_def.
14049 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14050 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14051 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14052 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14053 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14055 * rt/clock_settime.c (clock_settime): Rename to
14056 __clock_settime. Add weak_alias and libc_hidden_def.
14057 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14059 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14061 * mach/err_boot.sub: Remove trailing whitespace.
14062 * mach/err_ipc.sub: Likewise.
14063 * mach/err_mach.sub: Likewise.
14065 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14066 (ROUNDING_TESTS_double): Likewise.
14067 (ROUNDING_TESTS_long_double): Likewise.
14068 (ROUNDING_TESTS): Likewise.
14069 * math/libm-test.inc: Include <math-tests.h>.
14070 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14071 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14072 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14073 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14075 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14077 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14080 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14082 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14083 otherwise empty TRANS lines.
14084 * sysdeps/gnu/errlist.c: Regenerated.
14086 * catgets/gencat.c (error_print): Use (void) in function
14088 * crypt/crypt_util.c (__init_des): Likewise.
14089 * crypt/speeds.c (Stop): Likewise.
14091 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14092 * inet/ruserpass.c (token): Likewise.
14093 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14094 * intl/localealias.c (extend_alias_table): Likewise.
14095 * intl/plural-exp.c (init_germanic_plural): Likewise.
14096 * libio/fcloseall.c (__fcloseall): Likewise.
14097 * libio/genops.c (_IO_flush_all): Likewise.
14098 (_IO_flush_all_linebuffered): Likewise.
14099 (_IO_cleanup): Likewise.
14100 (_IO_iter_begin): Likewise.
14101 (_IO_iter_end): Likewise.
14102 (_IO_list_lock): Likewise.
14103 (_IO_list_unlock): Likewise.
14104 (_IO_list_resetlock): Likewise.
14105 * libio/getchar.c (getchar): Likewise.
14106 * libio/getchar_u.c (getchar_unlocked): Likewise.
14107 * libio/getwchar.c (getwchar): Likewise.
14108 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14109 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14110 * login/getpt.c (__getpt): Likewise.
14111 * login/tst-utmp.c (main): Likewise.
14112 * malloc/hooks.c (__malloc_check_init): Likewise.
14113 * malloc/malloc.c (__malloc_stats): Likewise.
14114 * malloc/mtrace.c (tr_break): Likewise.
14115 (mtrace): Likewise.
14116 (muntrace): Likewise.
14117 * misc/fstab.c (endfsent): Likewise.
14118 * misc/getclktck.c (__getclktck): Likewise.
14119 * misc/getdtsz.c (__getdtablesize): Likewise.
14120 * misc/gethostid.c (gethostid): Likewise.
14121 * misc/getpagesize.c (__getpagesize): Likewise.
14122 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14123 (__get_nprocs): Likewise.
14124 (__get_phys_pages): Likewise.
14125 (__get_avphys_pages): Likewise.
14126 * misc/getttyent.c (getttyent): Likewise.
14127 (setttyent): Likewise.
14128 (endttyent): Likewise.
14129 * misc/getusershell.c (getusershell): Likewise.
14130 (endusershell): Likewise.
14131 (setusershell): Likewise.
14132 (initshells): Likewise.
14133 * misc/hsearch.c (__hdestroy): Likewise.
14134 * misc/sync.c (sync): Likewise.
14135 * misc/syslog.c (closelog_internal): Likewise.
14136 (closelog): Likewise.
14137 * misc/ttyslot.c (ttyslot): Likewise.
14138 * misc/vhangup.c (vhangup): Likewise.
14139 * posix/fork.c (__fork): Likewise.
14140 * posix/getegid.c (__getegid): Likewise.
14141 * posix/geteuid.c (__geteuid): Likewise.
14142 * posix/getgid.c (__getgid): Likewise.
14143 * posix/getpid.c (__getpid): Likewise.
14144 * posix/getppid.c (__getppid): Likewise.
14145 * posix/getuid.c (__getuid): Likewise.
14146 * posix/pause.c (pause): Likewise.
14147 * posix/setpgrp.c (setpgrp): Likewise.
14148 * posix/setsid.c (__setsid): Likewise.
14149 * posix/test-vfork.c (noop): Likewise.
14150 * resolv/gethnamaddr.c (_endhtent): Likewise.
14151 (_gethtent): Likewise.
14152 (ht_endhostent): Likewise.
14153 (gethostent): Likewise.
14154 (dns_service): Likewise.
14155 * stdlib/drand48.c (drand48): Likewise.
14156 * stdlib/lrand48.c (lrand48): Likewise.
14157 * stdlib/mrand48.c (mrand48): Likewise.
14158 * stdlib/rand.c (rand): Likewise.
14159 * stdlib/random.c (__random): Likewise.
14160 * stdlib/setenv.c (clearenv): Likewise.
14161 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14162 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14163 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14164 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14165 (__get_nprocs): Likewise.
14166 (__get_phys_pages): Likewise.
14167 (__get_avphys_pages): Likewise.
14168 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14169 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14170 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14171 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14172 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14173 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14174 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14175 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14176 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14177 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14178 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14179 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14180 * sysdeps/posix/clock.c (clock): Likewise.
14181 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14182 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14183 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14184 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14185 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14187 (__get_nprocs_conf): Likewise.
14188 (__get_phys_pages): Likewise.
14189 (__get_avphys_pages): Likewise.
14190 * time/clock.c (clock): Likewise.
14191 * time/tzset.c (__tzname_max): Likewise.
14193 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14195 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14196 (__bswap_32): Do not use "register".
14197 * crypt/crypt.c (_ufc_doit_r): Likewise.
14198 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14199 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14200 * gmon/gmon.c (__monstartup): Likewise.
14201 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14202 * hurd/hurdmalloc.c (more_memory): Likewise.
14203 (malloc): Likewise.
14205 (realloc): Likewise.
14206 (malloc_fork_prepare): Likewise.
14207 (malloc_fork_parent): Likewise.
14208 (malloc_fork_child): Likewise.
14209 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14210 (_svcauth_des): Likewise.
14211 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14212 * inet/inet_net.c (inet_network): Likewise.
14213 * inet/inet_netof.c (inet_netof): Likewise.
14214 * inet/rcmd.c (__validuser2_sa): Likewise.
14215 * io/fts.c (fts_open): Likewise.
14216 (fts_load): Likewise.
14217 (fts_close): Likewise.
14218 (fts_read): Likewise.
14219 (fts_children): Likewise.
14220 (fts_build): Likewise.
14221 (fts_stat): Likewise.
14222 (fts_sort): Likewise.
14223 (fts_alloc): Likewise.
14224 (fts_lfree): Likewise.
14225 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14226 (_IO_file_xsgetn): Likewise.
14227 (_IO_file_xsgetn_mmap): Likewise.
14228 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14229 (_IO_cookie_write): Likewise.
14230 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14231 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14232 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14233 * malloc/obstack.c (_obstack_begin): Likewise.
14234 (_obstack_begin_1): Likewise.
14235 (_obstack_newchunk): Likewise.
14236 (_obstack_allocated_p): Likewise.
14237 (obstack_free): Likewise.
14238 (_obstack_memory_used): Likewise.
14239 * misc/getttyent.c (getttynam): Likewise.
14240 (getttyent): Likewise.
14243 * misc/getusershell.c (initshells): Likewise.
14244 * misc/syslog.c (__vsyslog_chk): Likewise.
14245 * misc/ttyslot.c (ttyslot): Likewise.
14246 * nis/nis_hash.c (__nis_hash): Likewise.
14247 * posix/fnmatch_loop.c (FCT): Likewise.
14248 * posix/getconf.c (print_all): Likewise.
14250 * posix/getopt.c (exchange): Likewise.
14251 * posix/glob.c (globfree): Likewise.
14252 (prefix_array): Likewise.
14253 (__glob_pattern_type): Likewise.
14254 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14255 (NS_GET32): Likewise.
14256 (NS_PUT16): Likewise.
14257 (NS_PUT32): Likewise.
14258 * resolv/gethnamaddr.c (getanswer): Likewise.
14259 (gethostbyname2): Likewise.
14260 (gethostbyaddr): Likewise.
14261 (_gethtent): Likewise.
14262 (_gethtbyname2): Likewise.
14263 (_gethtbyaddr): Likewise.
14264 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14265 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14266 * resolv/res_init.c (__res_vinit): Likewise.
14267 (net_mask): Likewise.
14268 * resolv/res_mkquery.c (outchar): Likewise.
14270 * stdio-common/printf_fp.c (outchar): Likewise.
14272 * stdio-common/printf_fphex.c (outchar): Likewise.
14274 * stdio-common/printf_size.c (outchar): Likewise.
14276 * stdio-common/test_rdwr.c (main): Likewise.
14277 * stdio-common/tfformat.c (matches): Likewise.
14278 * stdio-common/vfprintf.c (outchar): Likewise.
14279 (printf_unknown): Likewise.
14280 (buffered_vfprintf): Likewise.
14281 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14282 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14283 (ReadFile): Likewise.
14284 * stdlib/qsort.c (SWAP): Likewise.
14285 (_quicksort): Likewise.
14286 * stdlib/setenv.c (__add_to_environ): Likewise.
14287 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14288 * stdlib/strtol_l.c (__strtol_l): Likewise.
14289 * stdlib/tst-strtod.c (main): Likewise.
14290 * stdlib/tst-strtol.c (main): Likewise.
14291 * stdlib/tst-strtoll.c (main): Likewise.
14292 * string/bits/string2.h (__strcmp_cc): Likewise.
14293 (__strcmp_cg): Likewise.
14294 (__strcspn_c1): Likewise.
14295 (__strcspn_c2): Likewise.
14296 (__strcspn_c3): Likewise.
14297 (__strspn_c1): Likewise.
14298 (__strspn_c2): Likewise.
14299 (__strspn_c3): Likewise.
14300 (__strsep_1c): Likewise.
14301 (__strsep_2c): Likewise.
14302 (__strsep_3c): Likewise.
14303 * string/memccpy.c (__memccpy): Likewise.
14304 * string/stpcpy.c (__stpcpy): Likewise.
14305 * string/strcmp.c (strcmp): Likewise.
14306 * string/strrchr.c (strrchr): Likewise.
14307 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14309 * sysdeps/mach/hurd/getcwd.c
14310 (_hurd_canonicalize_directory_name_internal): Likewise.
14311 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14312 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14313 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14314 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14315 Likewise, in both definitions.
14316 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14318 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14319 64] (__bswap_64): Likewise.
14320 * time/test_time.c (main): Likewise.
14321 * time/tzfile.c (__tzfile_read): Likewise.
14322 (__tzfile_compute): Likewise.
14323 * time/tzset.c (__tzset_parse_tz): Likewise.
14324 (tzset_internal): Likewise.
14325 (compute_change): Likewise.
14326 * wcsmbs/wcscat.c (__wcscat): Likewise.
14327 * wcsmbs/wcschr.c (wcschr): Likewise.
14328 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14329 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14330 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14331 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14332 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14333 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14334 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14335 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14336 * wcsmbs/wmemset.c (wmemset): Likewise.
14338 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14340 * scripts/config.guess: Update to version 2013-05-16.
14341 * scripts/config.sub: Update to version 2013-04-24.
14342 * scripts/install-sh: Update to version 2011-11-20.07.
14343 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14344 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14346 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14348 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14349 * elf/sln.c: Likewise.
14350 * hurd/hurd/ioctl.h: Likewise.
14351 * hurd/hurdmalloc.c: Likewise.
14352 * hurd/xattr.c: Likewise.
14353 * include/shlib-compat.h: Likewise.
14354 * inet/ruserpass.c: Likewise.
14355 * libio/iofgets_u.c: Likewise.
14356 * libio/iofgetws_u.c: Likewise.
14357 * locale/programs/ld-identification.c: Likewise.
14358 * locale/programs/ld-time.c: Likewise.
14359 * mach/msg-destroy.c: Likewise.
14360 * nss/nss_files/files-netgrp.c: Likewise.
14361 * resolv/res_data.c: Likewise.
14362 * soft-fp/op-1.h: Likewise.
14363 * soft-fp/op-2.h: Likewise.
14364 * soft-fp/op-4.h: Likewise.
14365 * soft-fp/op-common.h: Likewise.
14366 * stdio-common/printf_fphex.c: Likewise.
14367 * stdlib/strtod_l.c: Likewise.
14368 * sunrpc/rpc/clnt.h: Likewise.
14369 * sysdeps/generic/framestate.c: Likewise.
14370 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14371 * sysdeps/i386/bsd-setjmp.S: Likewise.
14372 * sysdeps/i386/__longjmp.S: Likewise.
14373 * sysdeps/i386/setjmp.S: Likewise.
14374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14375 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14390 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14392 * sysdeps/ieee754/support.c: Likewise.
14393 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14394 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14395 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14396 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14397 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14398 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14399 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14400 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14401 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14402 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14403 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14404 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14405 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14406 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14407 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14408 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14409 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14412 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14414 * posix/transbug.c: Remove executable mode.
14416 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14418 * crypt/speeds.c: Remove trailing whitespace.
14419 * dlfcn/default.c: Likewise.
14420 * elf/ifuncdep2.c: Likewise.
14421 * elf/ifuncmain1.c: Likewise.
14422 * elf/ifuncmain1vis.c: Likewise.
14423 * elf/testobj.h: Likewise.
14424 * elf/tst-stackguard1.c: Likewise.
14425 * gmon/sys/gmon.h: Likewise.
14426 * hurd/hurdmsg.c: Likewise.
14427 * hurd/new-fd.c: Likewise.
14428 * hurd/ports-get.c: Likewise.
14429 * iconvdata/ibm1008_420.c: Likewise.
14430 * inet/tst-getni1.c: Likewise.
14431 * inet/tst-getni2.c: Likewise.
14432 * libio/ioungetc.c: Likewise.
14433 * libio/wfiledoalloc.c: Likewise.
14434 * manual/libm-err-tab.pl: Likewise.
14435 * math/w_dremf.c: Likewise.
14436 * misc/ftruncate.c: Likewise.
14437 * posix/bug-glob2.c: Likewise.
14438 * posix/tst-pcre.c: Likewise.
14439 * posix/wait4.c: Likewise.
14440 * resolv/README: Likewise.
14441 * resolv/res_debug.h: Likewise.
14442 * resolv/tst-inet_ntop.c: Likewise.
14443 * setjmp/bug269-setjmp.c: Likewise.
14444 * soft-fp/extended.h: Likewise.
14445 * soft-fp/op-1.h: Likewise.
14446 * soft-fp/op-2.h: Likewise.
14447 * soft-fp/op-4.h: Likewise.
14448 * soft-fp/op-8.h: Likewise.
14449 * soft-fp/testit.c: Likewise.
14450 * stdio-common/bug16.c: Likewise.
14451 * stdlib/random.c: Likewise.
14452 * sunrpc/rpcsvc/rquota.x: Likewise.
14453 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14454 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14455 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14456 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14457 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14458 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14459 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14460 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14461 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14462 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14463 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14476 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14477 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14478 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14480 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14481 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14482 * sysdeps/ieee754/s_lib_version.c: Likewise.
14483 * sysdeps/mach/hurd/check_fds.c: Likewise.
14484 * sysdeps/mach/hurd/getsockname.c: Likewise.
14485 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14486 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14487 * sysdeps/powerpc/bits/link.h: Likewise.
14488 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14489 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14490 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14491 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14492 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14493 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14494 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14495 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14496 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14498 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14499 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14501 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14502 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14503 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14504 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14506 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14507 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14508 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14509 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14510 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14511 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14512 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14513 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14514 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14515 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14516 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14518 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14519 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14520 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14521 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14522 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14523 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14524 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14525 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14526 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14527 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14528 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14529 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14530 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14531 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14532 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14533 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14534 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14535 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14536 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14537 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14539 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14540 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14541 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14542 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14543 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14544 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14545 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14546 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14547 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14548 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14549 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14550 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14551 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14552 * sysdeps/powerpc/sysdep.h: Likewise.
14553 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14554 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14555 * sysdeps/sh/dl-trampoline.S: Likewise.
14556 * sysdeps/sh/memset.S: Likewise.
14557 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14558 * sysdeps/sh/strlen.S: Likewise.
14559 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14560 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14561 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14562 * sysdeps/sparc/sparc32/rem.S: Likewise.
14563 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14564 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14565 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14566 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14567 * sysdeps/sparc/sparc32/urem.S: Likewise.
14568 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14569 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14570 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14571 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14572 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14573 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14574 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14575 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14576 * sysdeps/unix/bsd/times.c: Likewise.
14577 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14578 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14582 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14584 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14585 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14586 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14587 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14588 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14589 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14590 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14591 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14592 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14593 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14594 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14595 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14596 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14597 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14598 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14599 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14600 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14601 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14602 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14603 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14605 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14606 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14607 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14608 * sysdeps/x86_64/strcspn.S: Likewise.
14610 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14612 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14613 generated file. Regenerate properly from gen-translit.pl.
14614 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14615 locale/C-translit.h.
14617 2013-06-05 Andreas Schwab <schwab@suse.de>
14620 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14621 week as 6 instead of -1.
14622 * time/tst-strptime.c (day_tests): Add test case.
14624 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14626 * sysdeps/generic/math_private.h
14627 (libc_feholdexcept_setround_53bit): Replace with
14628 libc_feholdsetround_53bit.
14629 (libc_feupdateenv_53bit): Replace with
14630 libc_feresetround_53bit.
14631 (SET_RESTORE_ROUND_53BIT): Adjust.
14633 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14635 * string/test-strchrnul.c: Add copyright header.
14637 * posix/tst-getaddrinfo4.c: Increase test timeout.
14639 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14642 * math/libm-test.inc (MAX_EXP): Remove
14644 (ulp): Use MIN_EXP - MANT_DIG.
14645 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14647 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14649 * po/be.po: Revert last change.
14650 * po/zh_CN.po: Likewise.
14651 * po/header.pot: Likewise.
14653 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14655 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14656 link-libc-deps to empty as target-specific variable.
14657 * Makerules (link-libc-args): New variable.
14658 (libc-for-link): Likewise.
14659 (link-libc-deps): Likewise.
14660 (lib%.so): Depend on $(link-libc-deps). Link with
14662 (build-module): Link with $(link-libc-args).
14663 (build-module-asneeded): Likewise.
14664 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14666 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14667 target-specific variable.
14668 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14669 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14670 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14672 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14674 ($(objpfx)libpcprofile.so): Likewise.
14675 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14677 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14678 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14679 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14681 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14682 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14683 * login/Makefile ($(objpfx)libutil.so): Likewise.
14684 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14685 * math/Makefile ($(objpfx)libm.so): Likewise.
14686 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14687 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14688 variable instead of depending directly on libc.
14689 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14690 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14692 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14694 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14695 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14696 ($(objpfx)libanl.so): Likewise.
14697 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14699 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14701 * sysdeps/i386/fpu/Makefile: Remove file.
14702 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14703 ($(objpfx)libm.so): Remove dependency on ld.so.
14705 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14708 * nis/yp_xdr.c (XDRMAXNAME): Define.
14709 (XDRMAXRECORD): Define.
14710 (xdr_domainname): Use XDRMAXNAME.
14711 (xdr_mapname): Likewise.
14712 (xdr_peername): Likewise.
14713 (xdr_keydat): Use XDRMAXRECORD.
14714 (xdr_valdat): Likewise.
14716 2013-05-30 Jeff Law <law@redhat.com>
14719 * manual/errno.texi (ESTALE): Update to account for more than
14720 just NFS file systems.
14721 * sysdeps/gnu/errlist.c: Regenerated.
14723 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14726 * elf/Makefile (tests): Add tst-null-argv.
14727 (modules-names): Add tst-null-argv-lib.
14728 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14729 (tst-null-argv-ENV): Set environment for tst-null-argv.
14730 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14731 (RTLD_PROGNAME): New macro.
14732 * elf/tst-null-argv.c: New test case.
14733 * elf/tst-null-argv-lib.c: Library for test case.
14734 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14735 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14736 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14737 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14738 * elf/dl-init.c (call_init): Likewise.
14739 (_dl_init): Likewise.
14740 * elf/dl-load.c (print_search_path): Likewise.
14741 (_dl_map_object): Likewise.
14742 * elf/dl-lookup.c (do_lookup_x): Likewise.
14743 (add_dependency): Likewise.
14744 (_dl_lookup_symbol_x): Likewise.
14745 (_dl_debug_bindings): Likewise.
14746 * elf/dl-open.c (_dl_show_scope): Likewise.
14747 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14748 * elf/dl-version.c (match_symbol): Likewise.
14749 (_dl_check_map_versions): Likewise.
14750 * elf/rtld.c (dl_main): Likewise.
14751 (print_unresolved): Use RTLD_PROGNAME.
14752 (print_missing_version): Likewise.
14753 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14754 (elf_machine_rela): Likewise.
14755 * sysdeps/powerpc/powerpc32/dl-machine.c
14756 (__process_machine_rela): Likewise.
14757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14759 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14761 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14763 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14770 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14772 * po/be.po: Add descriptive title.
14773 * po/zh_CN.po: Likewise.
14774 * po/header.pot: Likewise.
14776 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14778 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14780 (enlarge_archive): Likewise.
14782 2013-05-28 Ben North <ben@redfrontdoor.org>
14784 * manual/arith.texi (frexp): It is the magnitude of the return
14785 value which lies in [0.5, 1), not the return value itself.
14787 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14791 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14793 * stdio-common/bug26.c (main): Correct fscanf template.
14795 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14796 declare _dl_skip_args.
14798 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14801 * manual/platform.texi: Add missing @end deftypefun.
14803 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14806 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14807 bit of mantissa of 2^16382.
14808 * math/libm-test.inc (hypot_test_data): Add more tests.
14810 * math/libm-test.inc: Add drem and pow10 to list of tested
14812 (pow10_test): New function.
14813 (drem_test): Likewise.
14814 (drem_test_tonearest): Likewise.
14815 (drem_test_towardzero): Likewise.
14816 (drem_test_downward): Likewise.
14817 (drem_test_upward): Likewise.
14818 (main): Call the new functions.
14820 * math/libm-test.inc (finite_test_data): Remove.
14821 (finite_test): Run tests from isfinite_test_data.
14822 (gamma_test_data): Remove.
14823 (gamma_test): Run tests from lgamma_test_data.
14824 * sysdeps/i386/fpu/libm-test-ulps: Update.
14825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14827 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14829 * manual/platform.texi: Add PowerPC PPR function set documentation.
14830 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14833 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14835 * math/libm-test.inc (MAX_EXP): Define.
14837 (ulp): New function.
14838 (check_float_internal): Use ULPDIFF.
14839 (cpow_test): Disable failing test.
14840 (check_ulp): Test ulp() implemetnation.
14841 (main): Call check_ulp before starting tests.
14843 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14845 * math/gen-libm-test.pl (generate_testfile): Do not handle
14846 START_DATA and END_DATA.
14847 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14849 (acos_tonearest_test_data): Likewise.
14850 (acos_towardzero_test_data): Likewise.
14851 (acos_downward_test_data): Likewise.
14852 (acos_upward_test_data): Likewise.
14853 (acosh_test_data): Likewise.
14854 (asin_test_data): Likewise.
14855 (asin_tonearest_test_data): Likewise.
14856 (asin_towardzero_test_data): Likewise.
14857 (asin_downward_test_data): Likewise.
14858 (asin_upward_test_data): Likewise.
14859 (asinh_test_data): Likewise.
14860 (atan_test_data): Likewise.
14861 (atanh_test_data): Likewise.
14862 (atan2_test_data): Likewise.
14863 (cabs_test_data): Likewise.
14864 (cacos_test_data): Likewise.
14865 (cacosh_test_data): Likewise.
14866 (carg_test_data): Likewise.
14867 (casin_test_data): Likewise.
14868 (casinh_test_data): Likewise.
14869 (catan_test_data): Likewise.
14870 (catanh_test_data): Likewise.
14871 (cbrt_test_data): Likewise.
14872 (ccos_test_data): Likewise.
14873 (ccosh_test_data): Likewise.
14874 (ceil_test_data): Likewise.
14875 (cexp_test_data): Likewise.
14876 (cimag_test_data): Likewise.
14877 (clog_test_data): Likewise.
14878 (clog10_test_data): Likewise.
14879 (conj_test_data): Likewise.
14880 (copysign_test_data): Likewise.
14881 (cos_test_data): Likewise.
14882 (cos_tonearest_test_data): Likewise.
14883 (cos_towardzero_test_data): Likewise.
14884 (cos_downward_test_data): Likewise.
14885 (cos_upward_test_data): Likewise.
14886 (cosh_test_data): Likewise.
14887 (cosh_tonearest_test_data): Likewise.
14888 (cosh_towardzero_test_data): Likewise.
14889 (cosh_downward_test_data): Likewise.
14890 (cosh_upward_test_data): Likewise.
14891 (cpow_test_data): Likewise.
14892 (cproj_test_data): Likewise.
14893 (creal_test_data): Likewise.
14894 (csin_test_data): Likewise.
14895 (csinh_test_data): Likewise.
14896 (csqrt_test_data): Likewise.
14897 (ctan_test_data): Likewise.
14898 (ctan_tonearest_test_data): Likewise.
14899 (ctan_towardzero_test_data): Likewise.
14900 (ctan_downward_test_data): Likewise.
14901 (ctan_upward_test_data): Likewise.
14902 (ctanh_test_data): Likewise.
14903 (ctanh_tonearest_test_data): Likewise.
14904 (ctanh_towardzero_test_data): Likewise.
14905 (ctanh_downward_test_data): Likewise.
14906 (ctanh_upward_test_data): Likewise.
14907 (erf_test_data): Likewise.
14908 (erfc_test_data): Likewise.
14909 (exp_test_data): Likewise.
14910 (exp_tonearest_test_data): Likewise.
14911 (exp_towardzero_test_data): Likewise.
14912 (exp_downward_test_data): Likewise.
14913 (exp_upward_test_data): Likewise.
14914 (exp10_test_data): Likewise.
14915 (exp2_test_data): Likewise.
14916 (expm1_test_data): Likewise.
14917 (fabs_test_data): Likewise.
14918 (fdim_test_data): Likewise.
14919 (finite_test_data): Likewise.
14920 (floor_test_data): Likewise.
14921 (fma_test_data): Likewise.
14922 (fma_towardzero_test_data): Likewise.
14923 (fma_downward_test_data): Likewise.
14924 (fma_upward_test_data): Likewise.
14925 (fmax_test_data): Likewise.
14926 (fmin_test_data): Likewise.
14927 (fmod_test_data): Likewise.
14928 (fpclassify_test_data): Likewise.
14929 (frexp_test_data): Likewise.
14930 (gamma_test_data): Likewise.
14931 (hypot_test_data): Likewise.
14932 (ilogb_test_data): Likewise.
14933 (isfinite_test_data): Likewise.
14934 (isgreater_test_data): Likewise.
14935 (isgreaterequal_test_data): Likewise.
14936 (isinf_test_data): Likewise.
14937 (isless_test_data): Likewise.
14938 (islessequal_test_data): Likewise.
14939 (islessgreater_test_data): Likewise.
14940 (isnan_test_data): Likewise.
14941 (isnormal_test_data): Likewise.
14942 (issignaling_test_data): Likewise.
14943 (isunordered_test_data): Likewise.
14944 (j0_test_data): Likewise.
14945 (j1_test_data): Likewise.
14946 (jn_test_data): Likewise.
14947 (ldexp_test_data): Likewise.
14948 (lgamma_test_data): Likewise.
14949 (lrint_test_data): Likewise.
14950 (lrint_tonearest_test_data): Likewise.
14951 (lrint_towardzero_test_data): Likewise.
14952 (lrint_downward_test_data): Likewise.
14953 (lrint_upward_test_data): Likewise.
14954 (llrint_test_data): Likewise.
14955 (llrint_tonearest_test_data): Likewise.
14956 (llrint_towardzero_test_data): Likewise.
14957 (llrint_downward_test_data): Likewise.
14958 (llrint_upward_test_data): Likewise.
14959 (log_test_data): Likewise.
14960 (log10_test_data): Likewise.
14961 (log1p_test_data): Likewise.
14962 (log2_test_data): Likewise.
14963 (logb_test_data): Likewise.
14964 (logb_downward_test_data): Likewise.
14965 (lround_test_data): Likewise.
14966 (llround_test_data): Likewise.
14967 (modf_test_data): Likewise.
14968 (nearbyint_test_data): Likewise.
14969 (nextafter_test_data): Likewise.
14970 (nexttoward_test_data): Likewise.
14971 (pow_test_data): Likewise.
14972 (pow_tonearest_test_data): Likewise.
14973 (pow_towardzero_test_data): Likewise.
14974 (pow_downward_test_data): Likewise.
14975 (pow_upward_test_data): Likewise.
14976 (remainder_test_data): Likewise.
14977 (remainder_tonearest_test_data): Likewise.
14978 (remainder_towardzero_test_data): Likewise.
14979 (remainder_downward_test_data): Likewise.
14980 (remainder_upward_test_data): Likewise.
14981 (remquo_test_data): Likewise.
14982 (rint_test_data): Likewise.
14983 (rint_tonearest_test_data): Likewise.
14984 (rint_towardzero_test_data): Likewise.
14985 (rint_downward_test_data): Likewise.
14986 (rint_upward_test_data): Likewise.
14987 (round_test_data): Likewise.
14988 (scalb_test_data): Likewise.
14989 (scalbn_test_data): Likewise.
14990 (scalbln_test_data): Likewise.
14991 (signbit_test_data): Likewise.
14992 (sin_test_data): Likewise.
14993 (sin_tonearest_test_data): Likewise.
14994 (sin_towardzero_test_data): Likewise.
14995 (sin_downward_test_data): Likewise.
14996 (sin_upward_test_data): Likewise.
14997 (sincos_test_data): Likewise.
14998 (sinh_test_data): Likewise.
14999 (sinh_tonearest_test_data): Likewise.
15000 (sinh_towardzero_test_data): Likewise.
15001 (sinh_downward_test_data): Likewise.
15002 (sinh_upward_test_data): Likewise.
15003 (sqrt_test_data): Likewise.
15004 (tan_test_data): Likewise.
15005 (tan_tonearest_test_data): Likewise.
15006 (tan_towardzero_test_data): Likewise.
15007 (tan_downward_test_data): Likewise.
15008 (tan_upward_test_data): Likewise.
15009 (tanh_test_data): Likewise.
15010 (tgamma_test_data): Likewise.
15011 (trunc_test_data): Likewise.
15012 (y0_test_data): Likewise.
15013 (y1_test_data): Likewise.
15014 (yn_test_data): Likewise.
15015 (significand_test_data): Likewise.
15017 * math/gen-libm-test.pl (@functions): Remove variable.
15018 (generate_testfile): Don't handle START and END lines.
15019 * math/libm-test.inc (START): New macro.
15021 (END_COMPLEX): Likewise.
15022 (acos_test): Use END macro without arguments.
15023 (acos_test_tonearest): Likewise.
15024 (acos_test_towardzero): Likewise.
15025 (acos_test_downward): Likewise.
15026 (acos_test_upward): Likewise.
15027 (acosh_test): Likewise.
15028 (asin_test): Likewise.
15029 (asin_test_tonearest): Likewise.
15030 (asin_test_towardzero): Likewise.
15031 (asin_test_downward): Likewise.
15032 (asin_test_upward): Likewise.
15033 (asinh_test): Likewise.
15034 (atan_test): Likewise.
15035 (atanh_test): Likewise.
15036 (atan2_test): Likewise.
15037 (cabs_test): Likewise.
15038 (cacos_test): Use END_COMPLEX macro without arguments.
15039 (cacosh_test): Likewise.
15040 (carg_test): Use END macro without arguments.
15041 (casin_test): Use END_COMPLEX macro without arguments.
15042 (casinh_test): Likewise.
15043 (catan_test): Likewise.
15044 (catanh_test): Likewise.
15045 (cbrt_test): Use END macro without arguments.
15046 (ccos_test): Use END_COMPLEX macro without arguments.
15047 (ccosh_test): Likewise.
15048 (ceil_test): Use END macro without arguments.
15049 (cexp_test): Use END_COMPLEX macro without arguments.
15050 (cimag_test): Use END macro without arguments.
15051 (clog_test): Use END_COMPLEX macro without arguments.
15052 (clog10_test): Likewise.
15053 (conj_test): Likewise.
15054 (copysign_test): Use END macro without arguments.
15055 (cos_test): Likewise.
15056 (cos_test_tonearest): Likewise.
15057 (cos_test_towardzero): Likewise.
15058 (cos_test_downward): Likewise.
15059 (cos_test_upward): Likewise.
15060 (cosh_test): Likewise.
15061 (cosh_test_tonearest): Likewise.
15062 (cosh_test_towardzero): Likewise.
15063 (cosh_test_downward): Likewise.
15064 (cosh_test_upward): Likewise.
15065 (cpow_test): Use END_COMPLEX macro without arguments.
15066 (cproj_test): Likewise.
15067 (creal_test): Use END macro without arguments.
15068 (csin_test): Use END_COMPLEX macro without arguments.
15069 (csinh_test): Likewise.
15070 (csqrt_test): Likewise.
15071 (ctan_test): Likewise.
15072 (ctan_test_tonearest): Likewise.
15073 (ctan_test_towardzero): Likewise.
15074 (ctan_test_downward): Likewise.
15075 (ctan_test_upward): Likewise.
15076 (ctanh_test): Likewise.
15077 (ctanh_test_tonearest): Likewise.
15078 (ctanh_test_towardzero): Likewise.
15079 (ctanh_test_downward): Likewise.
15080 (ctanh_test_upward): Likewise.
15081 (erf_test): Use END macro without arguments.
15082 (erfc_test): Likewise.
15083 (exp_test): Likewise.
15084 (exp_test_tonearest): Likewise.
15085 (exp_test_towardzero): Likewise.
15086 (exp_test_downward): Likewise.
15087 (exp_test_upward): Likewise.
15088 (exp10_test): Likewise.
15089 (exp2_test): Likewise.
15090 (expm1_test): Likewise.
15091 (fabs_test): Likewise.
15092 (fdim_test): Likewise.
15093 (finite_test): Likewise.
15094 (floor_test): Likewise.
15095 (fma_test): Likewise.
15096 (fma_test_towardzero): Likewise.
15097 (fma_test_downward): Likewise.
15098 (fma_test_upward): Likewise.
15099 (fmax_test): Likewise.
15100 (fmin_test): Likewise.
15101 (fmod_test): Likewise.
15102 (fpclassify_test): Likewise.
15103 (frexp_test): Likewise.
15104 (gamma_test): Likewise.
15105 (hypot_test): Likewise.
15106 (ilogb_test): Likewise.
15107 (isfinite_test): Likewise.
15108 (isgreater_test): Likewise.
15109 (isgreaterequal_test): Likewise.
15110 (isinf_test): Likewise.
15111 (isless_test): Likewise.
15112 (islessequal_test): Likewise.
15113 (islessgreater_test): Likewise.
15114 (isnan_test): Likewise.
15115 (isnormal_test): Likewise.
15116 (issignaling_test): Likewise.
15117 (isunordered_test): Likewise.
15118 (j0_test): Likewise.
15119 (j1_test): Likewise.
15120 (jn_test): Likewise.
15121 (ldexp_test): Likewise.
15122 (lgamma_test): Likewise.
15123 (lrint_test): Likewise.
15124 (lrint_test_tonearest): Likewise.
15125 (lrint_test_towardzero): Likewise.
15126 (lrint_test_downward): Likewise.
15127 (lrint_test_upward): Likewise.
15128 (llrint_test): Likewise.
15129 (llrint_test_tonearest): Likewise.
15130 (llrint_test_towardzero): Likewise.
15131 (llrint_test_downward): Likewise.
15132 (llrint_test_upward): Likewise.
15133 (log_test): Likewise.
15134 (log10_test): Likewise.
15135 (log1p_test): Likewise.
15136 (log2_test): Likewise.
15137 (logb_test): Likewise.
15138 (logb_test_downward): Likewise.
15139 (lround_test): Likewise.
15140 (llround_test): Likewise.
15141 (modf_test): Likewise.
15142 (nearbyint_test): Likewise.
15143 (nextafter_test): Likewise.
15144 (nexttoward_test): Likewise.
15145 (pow_test): Likewise.
15146 (pow_test_tonearest): Likewise.
15147 (pow_test_towardzero): Likewise.
15148 (pow_test_downward): Likewise.
15149 (pow_test_upward): Likewise.
15150 (remainder_test): Likewise.
15151 (remainder_test_tonearest): Likewise.
15152 (remainder_test_towardzero): Likewise.
15153 (remainder_test_downward): Likewise.
15154 (remainder_test_upward): Likewise.
15155 (remquo_test): Likewise.
15156 (rint_test): Likewise.
15157 (rint_test_tonearest): Likewise.
15158 (rint_test_towardzero): Likewise.
15159 (rint_test_downward): Likewise.
15160 (rint_test_upward): Likewise.
15161 (round_test): Likewise.
15162 (scalb_test): Likewise.
15163 (scalbn_test): Likewise.
15164 (scalbln_test): Likewise.
15165 (signbit_test): Likewise.
15166 (sin_test): Likewise.
15167 (sin_test_tonearest): Likewise.
15168 (sin_test_towardzero): Likewise.
15169 (sin_test_downward): Likewise.
15170 (sin_test_upward): Likewise.
15171 (sincos_test): Likewise.
15172 (sinh_test): Likewise.
15173 (sinh_test_tonearest): Likewise.
15174 (sinh_test_towardzero): Likewise.
15175 (sinh_test_downward): Likewise.
15176 (sinh_test_upward): Likewise.
15177 (sqrt_test): Likewise.
15178 (tan_test): Likewise.
15179 (tan_test_tonearest): Likewise.
15180 (tan_test_towardzero): Likewise.
15181 (tan_test_downward): Likewise.
15182 (tan_test_upward): Likewise.
15183 (tanh_test): Likewise.
15184 (tgamma_test): Likewise.
15185 (trunc_test): Likewise.
15186 (y0_test): Likewise.
15187 (y1_test): Likewise.
15188 (yn_test): Likewise.
15189 (significand_test): Likewise.
15191 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15194 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15196 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15199 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15200 __ppc_mdoio and __ppc_mdoom.
15201 * manual/platform.texi: Document new functions __ppc_yield,
15202 __ppc_mdoio and __ppc_mdoom.
15204 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15206 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15207 (main): Mention "tls" pseudo-hwcap is legacy.
15208 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15210 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15212 * math/gen-libm-test.pl (parse_args): Output only string of
15213 arguments as text for test name, not full call or descriptions of
15214 tests for extra outputs.
15215 (generate_testfile): Do not pass function name to parse_args.
15216 Generate this_func variable from START.
15217 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15219 (struct test_ff_f_data): Likewise.
15220 (test_ff_f_data_nexttoward): Likewise.
15221 (struct test_fi_f_data): Likewise.
15222 (struct test_fl_f_data): Likewise.
15223 (struct test_if_f_data): Likewise.
15224 (struct test_fff_f_data): Likewise.
15225 (struct test_c_f_data): Likewise.
15226 (struct test_f_f1_data): Likewise. Remove field extra_name.
15227 (struct test_fF_f1_data): Likewise.
15228 (struct test_ffI_f1_data): Likewise.
15229 (struct test_c_c_data): Rename test_name field to arg_str.
15230 (struct test_cc_c_data): Likewise.
15231 (struct test_f_i_data): Likewise.
15232 (struct test_ff_i_data): Likewise.
15233 (struct test_f_l_data): Likewise.
15234 (struct test_f_L_data): Likewise.
15235 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15237 (COMMON_TEST_SETUP): New macro.
15238 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15239 (COMMON_TEST_CLEANUP): Likewise.
15240 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15241 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15243 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15244 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15246 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15247 (RUN_TEST_fff_f): Take argument string. Call new setup and
15249 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15250 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15252 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15253 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15255 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15256 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15258 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15259 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15261 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15262 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15264 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15265 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15267 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15268 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15270 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15271 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15273 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15274 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15276 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15277 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15279 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15280 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15282 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15283 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15285 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15286 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15288 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15289 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15291 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15292 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15294 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15296 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15298 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15299 to _sifields.sigfault.
15300 (si_addr_lsb): Define new macro.
15301 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15303 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15305 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15308 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15310 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15312 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15313 loading the domain.
15315 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15317 * math/gen-libm-test.pl (parse_args): Do not include expected
15318 result in test name.
15319 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15320 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15321 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15322 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15323 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15326 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15328 * benchtests/Makefile: Sort function entries.
15330 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15331 tanh, asinh, acosh, atanh.
15332 * benchtests/acos-inputs: New file.
15333 * benchtests/acosh-inputs: New file.
15334 * benchtests/asin-inputs: New file.
15335 * benchtests/asinh-inputs: New file.
15336 * benchtests/atanh-inputs: New file.
15337 * benchtests/cosh-inputs: New file.
15338 * benchtests/log-inputs: New file.
15339 * benchtests/sinh-inputs: New file.
15340 * benchtests/tanh-inputs: New file.
15342 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15345 * posix/tst-getaddrinfo4.c: New test.
15346 * posix/Makefile (tests): Add it.
15348 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15351 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15352 when no services were used.
15353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15354 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15356 2013-05-21 Andreas Schwab <schwab@suse.de>
15359 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15360 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15362 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15363 redundant variable declarations and reallocation of buffer when
15364 parsing as IPv6 address. Always set NSS status when called from
15365 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15366 buffer too small. Correct computation of needed size.
15367 * nss/Makefile (tests): Add test-digits-dots.
15368 * nss/test-digits-dots.c: New test.
15370 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15372 * benchtests/Makefile: Remove instructions for adding
15374 * benchtests/README: New file to explain how to execute and
15375 enhance the benchmark tests.
15377 2013-05-21 Andreas Schwab <schwab@suse.de>
15380 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15381 * setjmp/tst-sigsetjmp.c: New test.
15383 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15385 * sysdeps/x86_64/memset.S (memset): New implementation.
15386 (__bzero): Likewise.
15387 (__memset_tail): New function.
15389 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15391 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15392 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15393 __memcpy_sse2_unaligned ifunc selection.
15394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15395 Add memcpy-sse2-unaligned.S.
15396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15397 Add: __memcpy_sse2_unaligned.
15399 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15402 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15403 math_force_eval before restoring floating-point envrionment.
15404 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15407 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15409 (__nearbyintl): Use math_force_eval before restoring
15410 floating-point environment.
15411 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15413 * math/gen-libm-test.pl (special_functions): Remove.
15414 (parse_args): Don't handle TEST_extra. Handle functions with no
15416 * math/libm-test.inc (struct test_sincos_data): Replace with
15417 struct test_fFF_11_data.
15418 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15419 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15420 (sincos_test_data): Change element type to struct
15421 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15422 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15423 RUN_TEST_LOOP_sincos.
15424 * math/README.libm-test: Don't mention special handling of
15425 individual functions.
15426 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15427 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15428 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15430 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15433 * math/gen-libm-test.pl (get_variable): Remove function.
15434 (parse_args): Don't show pointer parameters to call in test
15435 names. Use "extra output N" in test names for extra outputs
15436 rather than naming variables.
15438 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15441 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15442 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15443 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15445 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15447 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15450 * math/gen-libm-test.pl (@tests): Remove variable.
15451 ($count): Likewise.
15452 (new_test): Remove function.
15453 (show_exceptions): New function.
15454 (special_functions): Use show_exceptions instead of new_test.
15455 (parse_args): Likewise.
15456 (generate_testfile): Pass only function name in generated call to
15457 print_max_error or print_complex_max_error.
15458 (get_ulps): Do not handle complex tests specially.
15459 (output_test): Rename to ...
15460 (get_all_ulps_for_test): ... this. Return a string rather than
15461 printing to a file. Require ulps to be present.
15462 (output_ulps): Generate arrays rather than #defines.
15463 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15464 (struct ulp_data): New type.
15465 (BUILD_COMPLEX_ULP): Remove macro.
15466 (compare_ulp_data): New function.
15467 (find_ulps): Likewise.
15468 (find_test_ulps): Likewise.
15469 (find_function_ulps): Likewise.
15470 (find_complex_function_ulps): Likewise.
15471 (print_max_error): Determine allowed ulps using
15472 find_function_ulps.
15473 (print_complex_max_error): Determine allowed ulps using
15474 find_complex_function_ulps.
15475 (check_float_internal): Determine max ulps using find_test_ulps.
15476 (check_float): Do not take max_ulp parameter. Update call to
15477 check_float_internal.
15478 (check_complex): Likewise.
15479 (check_int): Do not take max_ulp parameter.
15480 (check_long): Likewise.
15481 (check_bool): Likewise.
15482 (check_longlong): Likewise.
15483 (struct test_f_f_data): Remove max_ulp field.
15484 (struct test_ff_f_data): Likewise.
15485 (struct test_ff_f_data_nexttoward): Likewise.
15486 (struct test_fi_f_data): Likewise.
15487 (struct test_fl_f_data): Likewise.
15488 (struct test_if_f_data): Likewise.
15489 (struct test_fff_f_data): Likewise.
15490 (struct test_c_f_data): Likewise.
15491 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15492 (struct test_fF_f1_data): Likewise.
15493 (struct test_ffI_f1_data): Likewise.
15494 (struct test_c_c_data): Remove max_ulp field.
15495 (struct test_cc_c_data): Likewise.
15496 (struct test_f_i_data): Likewise.
15497 (struct test_ff_i_data): Likewise.
15498 (struct test_f_l_data): Likewise.
15499 (struct test_f_L_data): Likewise.
15500 (struct test_sincos_data): Likewise.
15501 (RUN_TEST_f_f): Do not handle ulps.
15502 (RUN_TEST_LOOP_f_f): Likewise.
15503 (RUN_TEST_2_f): Likewise.
15504 (RUN_TEST_LOOP_2_f): Likewise.
15505 (RUN_TEST_fff_f): Likewise.
15506 (RUN_TEST_LOOP_fff_f): Likewise.
15507 (RUN_TEST_c_f): Likewise.
15508 (RUN_TEST_LOOP_c_f): Likewise.
15509 (RUN_TEST_f_f1): Likewise.
15510 (RUN_TEST_LOOP_f_f1): Likewise.
15511 (RUN_TEST_fF_f1): Likewise.
15512 (RUN_TEST_LOOP_fF_f1): Likewise.
15513 (RUN_TEST_fI_f1): Likewise.
15514 (RUN_TEST_LOOP_fI_f1): Likewise.
15515 (RUN_TEST_ffI_f1): Likewise.
15516 (RUN_TEST_LOOP_ffI_f1): Likewise.
15517 (RUN_TEST_c_c): Likewise.
15518 (RUN_TEST_LOOP_c_c): Likewise.
15519 (RUN_TEST_cc_c): Likewise.
15520 (RUN_TEST_LOOP_cc_c): Likewise.
15521 (RUN_TEST_f_i): Likewise.
15522 (RUN_TEST_LOOP_f_i): Likewise.
15523 (RUN_TEST_f_i_tg): Likewise.
15524 (RUN_TEST_LOOP_f_i_tg): Likewise.
15525 (RUN_TEST_ff_i_tg): Likewise.
15526 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15527 (RUN_TEST_f_b): Likewise.
15528 (RUN_TEST_LOOP_f_b): Likewise.
15529 (RUN_TEST_f_b_tg): Likewise.
15530 (RUN_TEST_LOOP_f_b_tg): Likewise.
15531 (RUN_TEST_f_l): Likewise.
15532 (RUN_TEST_LOOP_f_l): Likewise.
15533 (RUN_TEST_f_L): Likewise.
15534 (RUN_TEST_LOOP_f_L): Likewise.
15535 (RUN_TEST_sincos): Likewise.
15536 (RUN_TEST_LOOP_sincos): Likewise.
15538 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15542 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15543 main case of finite arguments, set rounding mode to FE_TONEAREST
15544 and discard exceptions.
15545 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15547 (remainder_tonearest_test_data): New variable.
15548 (remainder_test_tonearest): New function.
15549 (remainder_towardzero_test_data): New variable.
15550 (remainder_test_towardzero): New function.
15551 (remainder_downward_test_data): New variable.
15552 (remainder_test_downward): New function.
15553 (remainder_upward_test_data): New variable.
15554 (remainder_test_upward): New function.
15555 (main): Call the new test functions.
15557 * math/libm-test.inc (struct test_f_f1_data): Remove field
15559 (struct test_fF_f1_data): Likewise.
15560 (struct test_ffI_f1_data): Likewise.
15561 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15562 based on value of EXTRA_EXPECTED.
15563 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15564 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15565 EXTRA_VAR based on value of EXTRA_EXPECTED.
15566 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15567 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15568 EXTRA_VAR based on value of EXTRA_EXPECTED.
15569 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15570 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15571 EXTRA_VAR based on value of EXTRA_EXPECTED.
15572 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15573 * math/gen-libm-test.pl (parse_args): Don't output initializers
15574 for extra output values.
15576 * math/libm-test.inc (check_int): Expect result to be exactly
15577 equal to expected value and do not handle ulps.
15578 (check_long): Likewise.
15579 (check_longlong): Likewise.
15581 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15583 (cimag_test_data): Likewise.
15584 (conj_test_data): Likewise.
15585 (copysign_test_data): Likewise.
15586 (cproj_test_data): Likewise.
15587 (creal_test_data): Likewise.
15588 (fabs_test_data): Likewise.
15589 (fdim_test_data): Likewise.
15590 (finite_test_data): Likewise.
15591 (floor_test_data): Likewise.
15592 (fmax_test_data): Likewise.
15593 (fmin_test_data): Likewise.
15594 (fmod_test_data): Likewise.
15595 (fpclassify_test_data): Likewise.
15596 (frexp_test_data): Likewise.
15597 (ilogb_test_data): Likewise.
15598 (isfinite_test_data): Likewise.
15599 (isgreater_test_data): Likewise.
15600 (isgreaterequal_test_data): Likewise.
15601 (isinf_test_data): Likewise.
15602 (isless_test_data): Likewise.
15603 (islessequal_test_data): Likewise.
15604 (islessgreater_test_data): Likewise.
15605 (isnan_test_data): Likewise.
15606 (isnormal_test_data): Likewise.
15607 (issignaling_test_data): Likewise.
15608 (isunordered_test_data): Likewise.
15609 (ldexp_test_data): Likewise.
15610 (lrint_test_data): Likewise.
15611 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15612 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15613 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15614 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15615 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15616 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15618 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15619 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15620 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15621 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15623 (lrint_downward_test_data): Test for "inexact" exceptions.
15624 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15625 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15626 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15628 (lrint_upward_test_data): Test for "inexact" exceptions.
15629 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15631 (llrint_test_data): Test for "inexact" exceptions.
15632 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15633 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15634 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15635 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15636 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15637 (llrint_downward_test_data): Test for "inexact" exceptions.
15638 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15639 (llrint_upward_test_data): Test for "inexact" exceptions.
15640 (logb_test_data): Likewise.
15641 (logb_downward_test_data): Likewise.
15642 (nextafter_test_data): Likewise.
15643 (nexttoward_test_data): Likewise.
15644 (remainder_test_data): Likewise.
15645 (remquo_test_data): Likewise.
15646 (scalbn_test_data): Likewise.
15647 (scalbln_test_data): Likewise.
15648 (signbit_test_data): Likewise.
15649 (sqrt_test_data): Likewise.
15650 (significand_test_data): Likewise.
15652 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15655 * benchtests/bench-modf.c (struct args): Mark arg0 as
15657 * scripts/bench.pl: Mark members of struct args as volatile.
15659 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15662 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15663 negative infinity on POWER6 or lower.
15664 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15666 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15669 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15670 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15671 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15672 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15673 (_FP_SETQNAN): New macro.
15674 (_FP_SETQNAN_SEMIRAW): Likewise.
15675 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15676 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15677 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15678 (FP_EXTEND): Use _FP_FRAC_SNANP.
15679 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15680 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15687 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15689 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15690 with DIVIDE_BY_ZERO_EXCEPTION.
15691 (gamma_test_data): Likewise.
15692 (lgamma_test_data): Likewise.
15693 (log_test_data): Likewise.
15694 (log10_test_data): Likewise.
15695 (log2_test_data): Likewise.
15696 (tgamma_test_data): Likewise.
15698 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15699 (acos_test_tonearest): Likewise.
15700 (acos_test_towardzero): Likewise.
15701 (acos_test_downward): Likewise.
15702 (acos_test_upward): Likewise.
15703 (acosh_test): Likewise.
15704 (asin_test): Likewise.
15705 (asin_test_tonearest): Likewise.
15706 (asin_test_towardzero): Likewise.
15707 (asin_test_downward): Likewise.
15708 (asin_test_upward): Likewise.
15709 (asinh_test): Likewise.
15710 (atan_test): Likewise.
15711 (atanh_test): Likewise.
15712 (atan2_test): Likewise.
15713 (cabs_test): Likewise.
15714 (cacos_test): Likewise.
15715 (cacosh_test): Likewise.
15716 (casin_test): Likewise.
15717 (casinh_test): Likewise.
15718 (catan_test): Likewise.
15719 (catanh_test): Likewise.
15720 (cbrt_test): Likewise.
15721 (ccos_test): Likewise.
15722 (ccosh_test): Likewise.
15723 (cexp_test): Likewise.
15724 (clog_test): Likewise.
15725 (clog10_test): Likewise.
15726 (cos_test): Likewise.
15727 (cos_test_tonearest): Likewise.
15728 (cos_test_towardzero): Likewise.
15729 (cos_test_downward): Likewise.
15730 (cos_test_upward): Likewise.
15731 (cosh_test): Likewise.
15732 (cosh_test_tonearest): Likewise.
15733 (cosh_test_towardzero): Likewise.
15734 (cosh_test_downward): Likewise.
15735 (cosh_test_upward): Likewise.
15736 (cpow_test): Likewise.
15737 (csin_test): Likewise.
15738 (csinh_test): Likewise.
15739 (csqrt_test): Likewise.
15740 (ctan_test): Likewise.
15741 (ctan_test_tonearest): Likewise.
15742 (ctan_test_towardzero): Likewise.
15743 (ctan_test_downward): Likewise.
15744 (ctan_test_upward): Likewise.
15745 (ctanh_test): Likewise.
15746 (ctanh_test_tonearest): Likewise.
15747 (ctanh_test_towardzero): Likewise.
15748 (ctanh_test_downward): Likewise.
15749 (ctanh_test_upward): Likewise.
15750 (erf_test): Likewise.
15751 (erfc_test): Likewise.
15752 (exp_test): Likewise.
15753 (exp_test_tonearest): Likewise.
15754 (exp_test_towardzero): Likewise.
15755 (exp_test_downward): Likewise.
15756 (exp_test_upward): Likewise.
15757 (exp10_test): Likewise.
15758 (exp2_test): Likewise.
15759 (expm1_test): Likewise.
15760 (fmod_test): Likewise.
15761 (gamma_test): Likewise.
15762 (hypot_test): Likewise.
15763 (j0_test): Likewise.
15764 (j1_test): Likewise.
15765 (jn_test): Likewise.
15766 (lgamma_test): Likewise.
15767 (log_test): Likewise.
15768 (log10_test): Likewise.
15769 (log1p_test): Likewise.
15770 (log2_test): Likewise.
15771 (logb_test_downward): Likewise.
15772 (pow_test): Likewise.
15773 (pow_test_tonearest): Likewise.
15774 (pow_test_towardzero): Likewise.
15775 (pow_test_downward): Likewise.
15776 (pow_test_upward): Likewise.
15777 (remainder_test): Likewise.
15778 (remquo_test): Likewise.
15779 (sin_test): Likewise.
15780 (sin_test_tonearest): Likewise.
15781 (sin_test_towardzero): Likewise.
15782 (sin_test_downward): Likewise.
15783 (sin_test_upward): Likewise.
15784 (sincos_test): Likewise.
15785 (sinh_test): Likewise.
15786 (sinh_test_tonearest): Likewise.
15787 (sinh_test_towardzero): Likewise.
15788 (sinh_test_downward): Likewise.
15789 (sinh_test_upward): Likewise.
15790 (sqrt_test): Likewise.
15791 (tan_test): Likewise.
15792 (tan_test_tonearest): Likewise.
15793 (tan_test_towardzero): Likewise.
15794 (tan_test_downward): Likewise.
15795 (tan_test_upward): Likewise.
15796 (tanh_test): Likewise.
15797 (tgamma_test): Likewise.
15798 (y0_test): Likewise.
15799 (y1_test): Likewise.
15800 (yn_test): Likewise.
15802 * math/gen-libm-test.pl (adjust_arg): Remove function.
15803 (special_function): Remove argument $in_func. Only handle
15804 generating output for tables of tests, not inside functions.
15805 (parse_args): Likewise.
15806 (generate_testfile): Remove variable $in_func. Update call to
15808 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15809 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15810 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15811 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15812 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15813 (MAX_VALUE_INIT): Rename macro to max_value.
15814 (MIN_VALUE_INIT): Rename macro to min_value.
15815 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15816 (plus_zero): Remove variable.
15817 (minus_zero): Likewise.
15818 (plus_infty): Likewise.
15819 (minus_infty): Likewise.
15820 (qnan_value): Likewise.
15821 (max_value): Likewise.
15822 (min_value): Likewise.
15823 (min_subnorm_value): Likewise.
15825 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15827 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15828 uint64_t or uint32_t usage.
15829 * crypt/sha256-block.c: Likewise.
15830 * crypt/sha256-crypt.c: Likewise.
15831 * crypt/sha256.c: Likewise.
15832 * crypt/sha512-block.c: Likewise.
15833 * crypt/sha512-crypt.c: Likewise.
15834 * crypt/sha512.c: Likewise.
15835 * debug/backtrace-tst.c: Likewise.
15836 * debug/pcprofiledump.c: Likewise.
15837 * elf/cache.c: Likewise.
15838 * elf/dl-cache.c: Likewise.
15839 * elf/dl-misc.c: Likewise.
15840 * elf/dl-profile.c: Likewise.
15841 * elf/dl-support.c: Likewise.
15842 * elf/ldconfig.c: Likewise.
15843 * elf/sprof.c: Likewise.
15844 * iconv/dummy-repertoire.c: Likewise.
15845 * iconv/iconv_charmap.c: Likewise.
15846 * iconv/skeleton.c: Likewise.
15847 * iconvdata/8bit-generic.c: Likewise.
15848 * iconvdata/cp737.h: Likewise.
15849 * iconvdata/cp775.h: Likewise.
15850 * iconvdata/ibm1008.h: Likewise.
15851 * iconvdata/ibm1025.h: Likewise.
15852 * iconvdata/ibm1046.h: Likewise.
15853 * iconvdata/ibm1097.h: Likewise.
15854 * iconvdata/ibm1112.h: Likewise.
15855 * iconvdata/ibm1122.h: Likewise.
15856 * iconvdata/ibm1123.h: Likewise.
15857 * iconvdata/ibm1124.h: Likewise.
15858 * iconvdata/ibm1129.h: Likewise.
15859 * iconvdata/ibm1130.h: Likewise.
15860 * iconvdata/ibm1132.h: Likewise.
15861 * iconvdata/ibm1133.h: Likewise.
15862 * iconvdata/ibm1137.h: Likewise.
15863 * iconvdata/ibm1140.h: Likewise.
15864 * iconvdata/ibm1141.h: Likewise.
15865 * iconvdata/ibm1142.h: Likewise.
15866 * iconvdata/ibm1143.h: Likewise.
15867 * iconvdata/ibm1144.h: Likewise.
15868 * iconvdata/ibm1145.h: Likewise.
15869 * iconvdata/ibm1146.h: Likewise.
15870 * iconvdata/ibm1147.h: Likewise.
15871 * iconvdata/ibm1148.h: Likewise.
15872 * iconvdata/ibm1149.h: Likewise.
15873 * iconvdata/ibm1153.h: Likewise.
15874 * iconvdata/ibm1154.h: Likewise.
15875 * iconvdata/ibm1155.h: Likewise.
15876 * iconvdata/ibm1156.h: Likewise.
15877 * iconvdata/ibm1157.h: Likewise.
15878 * iconvdata/ibm1158.h: Likewise.
15879 * iconvdata/ibm1160.h: Likewise.
15880 * iconvdata/ibm1161.h: Likewise.
15881 * iconvdata/ibm1162.h: Likewise.
15882 * iconvdata/ibm1163.h: Likewise.
15883 * iconvdata/ibm1164.h: Likewise.
15884 * iconvdata/ibm1166.h: Likewise.
15885 * iconvdata/ibm1167.h: Likewise.
15886 * iconvdata/ibm12712.h: Likewise.
15887 * iconvdata/ibm1390.h: Likewise.
15888 * iconvdata/ibm1399.h: Likewise.
15889 * iconvdata/ibm16804.h: Likewise.
15890 * iconvdata/ibm4517.h: Likewise.
15891 * iconvdata/ibm4899.h: Likewise.
15892 * iconvdata/ibm4909.h: Likewise.
15893 * iconvdata/ibm4971.h: Likewise.
15894 * iconvdata/ibm5347.h: Likewise.
15895 * iconvdata/ibm803.h: Likewise.
15896 * iconvdata/ibm856.h: Likewise.
15897 * iconvdata/ibm901.h: Likewise.
15898 * iconvdata/ibm902.h: Likewise.
15899 * iconvdata/ibm9030.h: Likewise.
15900 * iconvdata/ibm9066.h: Likewise.
15901 * iconvdata/ibm921.h: Likewise.
15902 * iconvdata/ibm922.h: Likewise.
15903 * iconvdata/ibm9448.h: Likewise.
15904 * iconvdata/isiri-3342.h: Likewise.
15905 * iconvdata/jis0201.h: Likewise.
15906 * include/link.h: Likewise.
15907 * include/netdb.h: Likewise.
15908 * inet/check_native.c: Likewise.
15909 * inet/check_pf.c: Likewise.
15910 * inet/getipv4sourcefilter.c: Likewise.
15911 * inet/getnameinfo.c: Likewise.
15912 * inet/getsourcefilter.c: Likewise.
15913 * inet/htonl.c: Likewise.
15914 * inet/setipv4sourcefilter.c: Likewise.
15915 * inet/setsourcefilter.c: Likewise.
15916 * inet/test-inet6_opt.c: Likewise.
15917 * inet/tst-network.c: Likewise.
15918 * locale/C-collate.c: Likewise.
15919 * locale/C-ctype.c: Likewise.
15920 * locale/C-time.c: Likewise.
15921 * locale/C-translit.h: Likewise.
15922 * locale/loadarchive.c: Likewise.
15923 * locale/programs/3level.h: Likewise.
15924 * locale/programs/charmap.c: Likewise.
15925 * locale/programs/charmap.h: Likewise.
15926 * locale/programs/ld-address.c: Likewise.
15927 * locale/programs/ld-collate.c: Likewise.
15928 * locale/programs/ld-ctype.c: Likewise.
15929 * locale/programs/ld-identification.c: Likewise.
15930 * locale/programs/ld-measurement.c: Likewise.
15931 * locale/programs/ld-messages.c: Likewise.
15932 * locale/programs/ld-monetary.c: Likewise.
15933 * locale/programs/ld-name.c: Likewise.
15934 * locale/programs/ld-numeric.c: Likewise.
15935 * locale/programs/ld-paper.c: Likewise.
15936 * locale/programs/ld-telephone.c: Likewise.
15937 * locale/programs/ld-time.c: Likewise.
15938 * locale/programs/linereader.c: Likewise.
15939 * locale/programs/locale.c: Likewise.
15940 * locale/programs/locarchive.c: Likewise.
15941 * locale/programs/locfile.h: Likewise.
15942 * locale/programs/repertoire.c: Likewise.
15943 * locale/programs/simple-hash.c: Likewise.
15944 * locale/programs/simple-hash.h: Likewise.
15945 * malloc/memusage.c: Likewise.
15946 * malloc/memusagestat.c: Likewise.
15947 * nis/nis_defaults.c: Likewise.
15948 * nis/nis_hash.c: Likewise.
15949 * nis/nis_print.c: Likewise.
15950 * nis/nis_xdr.c: Likewise.
15951 * nscd/connections.c: Likewise.
15952 * nscd/hstcache.c: Likewise.
15953 * nscd/nscd_gethst_r.c: Likewise.
15954 * nscd/nscd_getserv_r.c: Likewise.
15955 * nscd/nscd_helper.c: Likewise.
15956 * nscd/servicescache.c: Likewise.
15957 * nss/makedb.c: Likewise.
15958 * nss/nss_db/db-XXX.c: Likewise.
15959 * nss/nss_db/db-initgroups.c: Likewise.
15960 * nss/nss_db/db-netgrp.c: Likewise.
15961 * nss/nss_files/files-network.c: Likewise.
15962 * nss/nss_files/files-parse.c: Likewise.
15963 * posix/bug-regex5.c: Likewise.
15964 * posix/fnmatch_loop.c: Likewise.
15965 * posix/regcomp.c: Likewise.
15966 * posix/regexec.c: Likewise.
15967 * posix/tst-rfc3484-2.c: Likewise.
15968 * posix/tst-rfc3484-3.c: Likewise.
15969 * posix/tst-rfc3484.c: Likewise.
15970 * resolv/nss_dns/dns-canon.c: Likewise.
15971 * resolv/nss_dns/dns-network.c: Likewise.
15972 * resolv/res_init.c: Likewise.
15973 * resolv/res_mkquery.c: Likewise.
15974 * resolv/tst-aton.c: Likewise.
15975 * stdlib/cxa_atexit.c: Likewise.
15976 * stdlib/cxa_finalize.c: Likewise.
15977 * stdlib/gen-fpioconst.c: Likewise.
15978 * stdlib/strtol_l.c: Likewise.
15979 * string/tst-endian.c: Likewise.
15980 * sunrpc/auth_des.c: Likewise.
15981 * sunrpc/clnt_udp.c: Likewise.
15982 * sunrpc/rtime.c: Likewise.
15983 * sunrpc/svcauth_des.c: Likewise.
15984 * sunrpc/xdr.c: Likewise.
15985 * sunrpc/xdr_intXX_t.c: Likewise.
15986 * sunrpc/xdr_rec.c: Likewise.
15987 * sysdeps/generic/ldconfig.h: Likewise.
15988 * sysdeps/generic/ldsodefs.h: Likewise.
15989 * sysdeps/generic/memusage.h: Likewise.
15990 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16000 * sysdeps/posix/getaddrinfo.c: Likewise.
16001 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16002 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16003 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16004 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16005 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16006 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16007 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16008 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16009 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16010 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16011 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16012 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16013 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16014 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16015 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16016 * sysdeps/x86_64/dl-tls.h: Likewise.
16017 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16018 * time/alt_digit.c: Likewise.
16019 * time/era.c: Likewise.
16020 * wcsmbs/tst-c16c32-1.c: Likewise.
16022 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16024 * math/libm-test.inc (struct test_sincos_data): New type.
16025 (RUN_TEST_LOOP_sincos): New macro.
16026 (sincos_test_data): New variable.
16027 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16029 2013-05-16 Richard Henderson <rth@redhat.com>
16031 * math/atest-exp2.c (LIMB64): New macro.
16032 (CONSTSZ): New macro.
16033 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16035 (print_mpn_fp): ... to function scope.
16036 (read_mpn_hex): Remove.
16037 (get_log2): Remove.
16038 (exp2_mpn): Use mp_log2.
16039 (main): Use mp_exp1.
16041 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16043 * math/libm-test.inc: Remove comment about not testing "inexact"
16045 (INEXACT_EXCEPTION): New macro.
16046 (NO_INEXACT_EXCEPTION): Likewise.
16047 (INVALID_EXCEPTION_OK): Update value.
16048 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16049 (OVERFLOW_EXCEPTION_OK): Likewise.
16050 (UNDERFLOW_EXCEPTION_OK): Likewise.
16051 (IGNORE_ZERO_INF_SIGN): Likewise.
16052 (ERRNO_UNCHANGED): Likewise.
16053 (ERRNO_EDOM): Likewise.
16054 (ERRNO_ERANGE): Likewise.
16055 (test_exceptions): Handle testing "inexact" exceptions.
16056 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16057 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16058 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16059 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16061 (rint_towardzero_test_data): Likewise.
16062 (rint_downward_test_data): Likewise.
16063 (rint_upward_test_data): Likewise.
16065 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16066 with OVERFLOW_EXCEPTION.
16067 (exp10_test_data): Likewise.
16068 (exp2_test_data): Likewise.
16069 (expm1_test_data): Likewise.
16070 (lgamma_test_data): Likewise.
16071 (pow_test_data): Likewise.
16072 (tgamma_test_data): Likewise.
16073 (yn_test_data): Remove duplicate test of overflow.
16075 * math/libm-test.inc (struct test_cc_c_data): New type.
16076 (RUN_TEST_LOOP_cc_c): New macro.
16077 (cpow_test_data): New variable.
16078 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16080 * math/libm-test.inc (struct test_f_L_data): New type.
16081 (RUN_TEST_LOOP_f_L): New macro.
16082 (llrint_test_data): New variable.
16083 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16084 (llrint_tonearest_test_data): New variable.
16085 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16086 (llrint_towardzero_test_data): New variable.
16087 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16088 (llrint_downward_test_data): New variable.
16089 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16090 (llrint_upward_test_data): New variable.
16091 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16092 (llround_test_data): New variable.
16093 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16095 2013-05-13 Peter Collingbourne <pcc@google.com>
16097 * math/atest-exp2.c (get_log2): Remove const attribute.
16099 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16101 * math/libm-test.inc (struct test_f_l_data): New type.
16102 (RUN_TEST_LOOP_f_l): New macro.
16103 (lrint_test_data): New variable.
16104 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16105 (lrint_tonearest_test_data): New variable.
16106 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16107 (lrint_towardzero_test_data): New variable.
16108 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16109 (lrint_downward_test_data): New variable.
16110 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16111 (lrint_upward_test_data): New variable.
16112 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16113 (lround_test_data): New variable.
16114 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16116 2013-05-15 Peter Collingbourne <pcc@google.com>
16118 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16119 (EXTRACT_WORDS64) Use where appropriate.
16120 (INSERT_WORDS64) Likewise.
16122 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16123 constraints with x constraints.
16124 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16126 * malloc/obstack.c (_obstack_compat): Add initializer.
16128 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16131 si_trapno and add si_addr_lsb to _sifields.sigfault.
16132 (si_trapno): Remove macro.
16133 (si_addr_lsb): Define new macro.
16134 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16136 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16138 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16139 instead of TEST_f_l.
16140 (llrint_test_tonearest): Likewise.
16141 (llrint_test_towardzero): Likewise.
16142 (llrint_test_downward): Likewise.
16143 (llrint_test_upward): Likewise.
16144 (llround_test): Likewise.
16146 * math/libm-test.inc (struct test_f_i_data): Add comment.
16147 (RUN_TEST_LOOP_f_b): New macro.
16148 (RUN_TEST_LOOP_f_b_tg): Likewise.
16149 (finite_test_data): New variable.
16150 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16151 (isfinite_test_data): New variable.
16152 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16153 (isinf_test_data): New variable.
16154 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16155 (isnan_test_data): New variable.
16156 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16157 (isnormal_test_data): New variable.
16158 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16159 (issignaling_test_data): New variable.
16160 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16161 (signbit_test_data): New variable.
16162 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16164 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16165 with INVALID_EXCEPTION.
16166 (acosh_test_data): Likewise.
16167 (asin_test_data): Likewise.
16168 (atanh_test_data): Likewise.
16169 (fmod_test_data): Likewise.
16170 (log_test_data): Likewise.
16171 (log10_test_data): Likewise.
16172 (log2_test_data): Likewise.
16173 (pow_test_data): Likewise.
16174 (sqrt_test_data): Likewise.
16175 (y0_test_data): Likewise.
16176 (y1_test_data): Likewise.
16177 (yn_test_data): Likewise.
16179 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16182 * math/libm-test.inc (struct test_ff_i_data): New type.
16183 (RUN_TEST_LOOP_ff_i_tg): New macro.
16184 (isgreater_test_data): New variable.
16185 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16186 (isgreaterequal_test_data): New variable.
16187 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16188 (isless_test_data): New variable.
16189 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16190 (islessequal_test_data): New variable.
16191 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16192 (islessgreater_test_data): New variable.
16193 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16194 (isunordered_test_data): New variable.
16195 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16197 2013-05-14 David S. Miller <davem@davemloft.net>
16199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16201 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16203 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16205 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16207 (struct test_f_i_data): Change type of max_ulp to int.
16209 * math/libm-test.inc (test_ffI_f1_data): New type.
16210 (RUN_TEST_LOOP_ffI_f1): New macro.
16211 (remquo_test_data): New variable.
16212 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16214 * setjmp/tst-setjmp-fp.c: New file.
16215 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16216 (link-libm): New variable.
16217 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16219 * math/libm-test.inc (struct test_f_i_data): New type.
16220 (RUN_TEST_LOOP_f_i): New macro.
16221 (RUN_TEST_LOOP_f_i_tg): Likewise.
16222 (fpclassify_test_data): New variable.
16223 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16224 (ilogb_test_data): New variable.
16225 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16227 * math/libm-test.inc (scalbln_test): Correct function name in END
16230 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16231 (RUN_TEST_LOOP_fI_f1): New macro.
16232 (frexp_test_data): New variable.
16233 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16235 * math/libm-test.inc (struct test_fF_f1_data): New type.
16236 (RUN_TEST_LOOP_fF_f1): New macro.
16237 (modf_test_data): New variable.
16238 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16240 * math/libm-test.inc (struct test_f_f1_data): New type.
16241 (RUN_TEST_LOOP_f_f1): New macro.
16242 (gamma_test_data): New variable.
16243 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16244 (lgamma_test_data): New variable.
16245 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16247 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16249 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16250 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16251 (main): Comment "tls" pseudo-hwcap.
16253 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16255 * math/libm-test.inc (struct test_fl_f_data): New type.
16256 (RUN_TEST_LOOP_fl_f): New variable.
16257 (scalbln_test_data): New variable.
16258 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16260 * math/libm-test.inc (struct test_fi_f_data): New type.
16261 (RUN_TEST_LOOP_fi_f): New macro.
16262 (ldexp_test_data): New variable.
16263 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16264 (scalbn_test_data): New variable.
16265 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16267 * math/libm-test.inc (struct test_c_f_data): New type.
16268 (RUN_TEST_LOOP_c_f): New macro.
16269 (cabs_test_data): New variable.
16270 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16271 (carg_test_data): New variable.
16272 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16273 (cimag_test_data): New variable.
16274 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16275 (creal_test_data): New variable.
16276 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16278 * math/libm-test.inc (struct test_if_f_data): New type.
16279 (RUN_TEST_LOOP_if_f): New macro.
16280 (jn_test_data): New variable.
16281 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16282 (yn_test_data): New variable.
16283 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16285 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16287 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16289 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16290 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16292 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16294 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16295 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16296 (bench-deps): Add bench-timing.h.
16297 * benchtests-bench-skeleton.c: Include bench-timing.h.
16298 (main): Use TIMING_* macros instead of clock_gettime.
16299 * benchtests/bench-timing.h: New file.
16302 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16303 Renamed from _LIB_VERSION.
16304 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16306 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16308 * math/libm-test.inc (struct test_fff_f_data): New type.
16309 (RUN_TEST_LOOP_fff_f): New macro.
16310 (fma_test_data): New variable.
16311 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16312 (fma_towardzero_test_data): New variable.
16313 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16314 (fma_downward_test_data): New variable.
16315 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16316 (fma_upward_test_data): New variable.
16317 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16319 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16320 (struct test_c_c_data): New type.
16321 (RUN_TEST_LOOP_c_c): New macro.
16322 (cacos_test_data): New variable.
16323 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16324 (cacosh_test_data): New variable.
16325 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16326 (casin_test_data): New variable.
16327 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16328 (casinh_test_data): New variable.
16329 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16330 (catan_test_data): New variable.
16331 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16332 (catanh_test_data): New variable.
16333 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16334 (ccos_test_data): New variable.
16335 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16336 (ccosh_test_data): New variable.
16337 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16338 (cexp_test_data): New variable.
16339 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16340 (clog_test_data): New variable.
16341 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16342 (clog10_test_data): New variable.
16343 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16344 (conj_test_data): New variable.
16345 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16346 (cproj_test_data): New variable.
16347 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16348 (csin_test_data): New variable.
16349 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16350 (csinh_test_data): New variable.
16351 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16352 (csqrt_test_data): New variable.
16353 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16354 (ctan_test_data): New variable.
16355 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16356 (ctan_tonearest_test_data): New variable.
16357 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16358 (ctan_towardzero_test_data): New variable.
16359 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16360 (ctan_downward_test_data): New variable.
16361 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16362 (ctan_upward_test_data): New variable.
16363 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16364 (ctanh_test_data): New variable.
16365 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16366 (ctanh_tonearest_test_data): New variable.
16367 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16368 (ctanh_towardzero_test_data): New variable.
16369 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16370 (ctanh_downward_test_data): New variable.
16371 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16372 (ctanh_upward_test_data): New variable.
16373 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16374 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16377 * math/libm-test.inc (struct test_ff_f_data): New type.
16378 (struct test_ff_f_data_nexttoward): Likewise.
16379 (RUN_TEST_LOOP_2_f): New macro.
16380 (RUN_TEST_LOOP_ff_f): Likewise.
16381 (atan2_test_data): New variable.
16382 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16383 (copysign_test_data): New variable.
16384 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16385 (fdim_test_data): New variable.
16386 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16387 (fmax_test_data): New variable.
16388 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16389 (fmin_test_data): New variable.
16390 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16391 (fmod_test_data): New variable.
16392 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16393 (hypot_test_data): New variable.
16394 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16395 (nextafter_test_data): New variable.
16396 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16397 (nexttoward_test_data): New variable.
16398 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16399 (pow_test_data): New variable.
16400 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16401 (pow_tonearest_test_data): New variable.
16402 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16403 (pow_towardzero_test_data): New variable.
16404 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16405 (pow_downward_test_data): New variable.
16406 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16407 (pow_upward_test_data): New variable.
16408 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16409 (remainder_test_data): New variable.
16410 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16411 (scalb_test_data): New variable.
16412 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16413 * sysdeps/i386/fpu/libm-test-ulps: Update.
16415 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16417 * math/libm-test.inc (fma_test): Use max_value instead of local
16419 (nextafter_test): Likewise.
16421 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16422 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16423 (acos_downward_test_data): New variable.
16424 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16425 (acos_upward_test_data): New variable.
16426 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16427 (acosh_test_data): New variable.
16428 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16429 (asin_test_data): New variable.
16430 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16431 (asin_tonearest_test_data): New variable.
16432 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16433 (asin_towardzero_test_data): New variable.
16434 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16435 (asin_downward_test_data): New variable.
16436 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16437 (asin_upward_test_data): New variable.
16438 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16439 (asinh_test_data): New variable.
16440 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16441 (atan_test_data): New variable.
16442 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16443 (atanh_test_data): New variable.
16444 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16445 (cbrt_test_data): New variable.
16446 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16447 (ceil_test_data): New variable.
16448 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16449 (cos_test_data): New variable.
16450 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16451 (cos_tonearest_test_data): New variable.
16452 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16453 (cos_towardzero_test_data): New variable.
16454 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16455 (cos_downward_test_data): New variable.
16456 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16457 (cos_upward_test_data): New variable.
16458 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16459 (cosh_test_data): New variable.
16460 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16461 (cosh_tonearest_test_data): New variable.
16462 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16463 (cosh_towardzero_test_data): New variable.
16464 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16465 (cosh_downward_test_data): New variable.
16466 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16467 (cosh_upward_test_data): New variable.
16468 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16469 (erf_test_data): New variable.
16470 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16471 (erfc_test_data): New variable.
16472 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16473 (exp_test_data): New variable.
16474 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16475 (exp_tonearest_test_data): New variable.
16476 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16477 (exp_towardzero_test_data): New variable.
16478 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16479 (exp_downward_test_data): New variable.
16480 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16481 (exp_upward_test_data): New variable.
16482 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16483 (exp10_test_data): New variable.
16484 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16485 (exp2_test_data): New variable.
16486 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16487 (expm1_test_data): New variable.
16488 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16489 (fabs_test_data): New variable.
16490 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16491 (floor_test_data): New variable.
16492 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16493 (j0_test_data): New variable.
16494 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16495 (j1_test_data): New variable.
16496 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16497 (log_test_data): New variable.
16498 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16499 (log10_test_data): New variable.
16500 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16501 (log1p_test_data): New variable.
16502 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16503 (log2_test_data): New variable.
16504 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16505 (logb_test_data): New variable.
16506 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16507 (logb_downward_test_data): New variable.
16508 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16509 (nearbyint_test_data): New variable.
16510 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16511 (rint_test_data): New variable.
16512 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16513 (rint_tonearest_test_data): New variable.
16514 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16515 (rint_towardzero_test_data): New variable.
16516 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16517 (rint_downward_test_data): New variable.
16518 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16519 (rint_upward_test_data): New variable.
16520 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16521 (round_test_data): New variable.
16522 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16523 (sin_test_data): New variable.
16524 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16525 (sin_tonearest_test_data): New variable.
16526 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16527 (sin_towardzero_test_data): New variable.
16528 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16529 (sin_downward_test_data): New variable.
16530 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16531 (sin_upward_test_data): New variable.
16532 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16533 (sinh_test_data): New variable.
16534 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16535 (sinh_tonearest_test_data): New variable.
16536 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16537 (sinh_towardzero_test_data): New variable.
16538 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16539 (sinh_downward_test_data): New variable.
16540 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16541 (sinh_upward_test_data): New variable.
16542 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16543 (sqrt_test_data): New variable.
16544 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16545 (tan_test_data): New variable.
16546 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16547 (tan_tonearest_test_data): New variable.
16548 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16549 (tan_towardzero_test_data): New variable.
16550 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16551 (tan_downward_test_data): New variable.
16552 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16553 (tan_upward_test_data): New variable.
16554 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16555 (tanh_test_data): New variable.
16556 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16557 (tgamma_test_data): New variable.
16558 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16559 (trunc_test_data): New variable.
16560 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16561 (y0_test_data): New variable.
16562 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16563 (y1_test_data): New variable.
16564 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16565 (significand_test_data): New variable.
16566 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16568 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16571 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16573 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16575 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16577 2013-05-10 Andreas Jaeger <aj@suse.de>
16580 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16581 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16583 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16585 * math/gen-libm-test.pl (adjust_arg): New function.
16586 (special_functions): Handle generating output in both functions
16588 (parse_args): Likewise.
16589 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16590 $in_func argument to parse_args.
16591 * math/libm-test.inc (struct test_f_f_data): New type.
16592 (IF_ROUND_INIT_): New macro.
16593 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16594 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16595 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16596 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16597 (ROUND_RESTORE_): Likewise.
16598 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16599 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16600 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16601 (ROUND_RESTORE_FE_UPWARD): Likewise.
16602 (RUN_TEST_LOOP_f_f): New macro.
16603 (acos_test_data): New variable.
16604 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16605 (acos_tonearest_test_data): New variable.
16606 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16608 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16610 * benchtests/bench-skeleton.c (startup): Fix coding style.
16612 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16615 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16616 negative infinity argument.
16617 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16618 negative infinity argument.
16619 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16620 negative infinity argument.
16621 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16624 2013-05-10 Florian Weimer <fweimer@redhat.com>
16626 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16627 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16628 * iconv/iconv_prog.c (main): Likewise.
16629 * locale/programs/charmap-dir.c (charmap_readdir)
16630 (fopen_uncompressed): Likewise.
16631 * locale/programs/locfile.c (siblings_uncached)
16632 (write_locale_data): Use lstat64 instead of lstat.
16633 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16636 2013-05-10 Andreas Jaeger <aj@suse.de>
16639 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16641 Include <locale.h>.
16643 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16645 * elf/dl-close.c (_dl_close_worker): Add comments.
16647 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16652 (__ieee754_rem_pio2l): Update comments.
16655 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16657 (__ieee754_rem_pio2l): Update comments.
16659 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16660 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16662 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16665 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16666 (M_PI_34_LOG10El): Likewise.
16667 (M_PI2_LOG10El): Likewise.
16668 (M_PI4_LOG10El): Likewise.
16669 (M_PI_LOG10El): Likewise.
16671 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16675 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16677 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16678 (MINUS_ZERO_INIT): Likewise.
16679 (PLUS_INFTY_INIT): Likewise.
16680 (MINUS_INFTY_INIT): Likewise.
16681 (QNAN_VALUE_INIT): Likewise.
16682 (MAX_VALUE_INIT): Likewise.
16683 (MIN_VALUE_INIT): Likewise.
16684 (MIN_SUBNORM_VALUE_INIT): Likewise.
16685 (plus_zero): Initialize with PLUS_ZERO_INIT.
16686 (minus_zero): Initialize with MINUS_ZERO_INIT.
16687 (plus_infty): Initialize with PLUS_INFTY_INIT.
16688 (minus_infty): Initialize with MINUS_INFTY_INIT.
16689 (qnan_value): Initialize with QNAN_VALUE_INIT.
16690 (max_value): Initialize with MAX_VALUE_INIT.
16691 (min_value): Initialize with MIN_VALUE_INIT.
16692 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16694 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16695 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16696 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16697 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16699 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16700 (RUN_TEST_2_f): Likewise.
16701 (RUN_TEST_ff_f): Likewise.
16702 (RUN_TEST_fi_f): Likewise.
16703 (RUN_TEST_fl_f): Likewise.
16704 (RUN_TEST_fff_f): Likewise.
16705 (RUN_TEST_c_f): Likewise.
16706 (RUN_TEST_f_f1): Likewise.
16707 (RUN_TEST_fF_f1): Likewise.
16708 (RUN_TEST_fI_f1): Likewise.
16709 (RUN_TEST_ffI_f1): Likewise.
16710 (RUN_TEST_c_c): Likewise.
16711 (RUN_TEST_cc_c): Likewise.
16712 (RUN_TEST_f_i): Likewise.
16713 (RUN_TEST_f_i_tg): Likewise.
16714 (RUN_TEST_ff_i_tg): Likewise.
16715 (RUN_TEST_f_b): Likewise.
16716 (RUN_TEST_f_b_tg): Likewise.
16717 (RUN_TEST_f_l): Likewise.
16718 (RUN_TEST_f_L): Likewise.
16719 (RUN_TEST_sincos): Likewise.
16720 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16721 whether to show exceptions. Do not include ");\n" in return
16723 (special_functions): Output call to RUN_TEST_sincos instead of
16724 check_float calls. Update calls to new_test.
16725 (parse_args): Output call to single RUN_TEST_* macro instead of
16726 check_* calls and other assignments. Update calls to new_test.
16732 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16733 input to result for tgamma overflow.
16734 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16735 (gamma_coeff): New variable.
16736 (NCOEFF): New macro.
16737 (gamma_positive): New function.
16738 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16739 underflow here. Use gamma_positive instead of exp (lgamma) for
16741 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16742 (gamma_coeff): New variable.
16743 (NCOEFF): New macro.
16744 (gammaf_positive): New function.
16745 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16746 underflow here. Use gamma_positive instead of exp (lgamma) for
16748 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16749 (gamma_coeff): New variable.
16750 (NCOEFF): New macro.
16751 (gammal_positive): New function.
16752 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16753 underflow here. Use gamma_positive instead of exp (lgamma) for
16755 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16756 (gamma_coeff): New variable.
16757 (NCOEFF): New macro.
16758 (gammal_positive): New function.
16759 (__ieee754_gammal_r): Handle positive infinity, overflow and
16760 underflow here. Handle NaN the same as positive infinity. Remove
16761 check x < 0xffffffff for negative integers. Use gamma_positive
16762 instead of exp (lgamma) for other arguments.
16763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16764 (gamma_coeff): New variable.
16765 (NCOEFF): New macro.
16766 (gammal_positive): New function.
16767 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16768 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16772 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16773 * sysdeps/generic/math_private.h (__gamma_productf): New
16775 (__gamma_product): Likewise.
16776 (__gamma_productl): Likewise.
16777 * math/Makefile (libm-calls): Add gamma_product.
16778 * math/libm-test.inc (tgamma_test): Add more tests.
16779 * sysdeps/i386/fpu/libm-test-ulps: Update.
16780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16782 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16784 * benchtests/bench-skeleton.c (main): Preheat CPU.
16786 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16788 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16790 2013-05-07 Roland McGrath <roland@hack.frob.com>
16792 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16793 and _dl_skip_args_internal.
16795 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16797 * manual/message.texi (Message Translation): Talk about users.
16798 Message to key mapping impacts design.
16800 2013-05-06 Roland McGrath <roland@hack.frob.com>
16802 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16804 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16806 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16807 * sysdeps/wordsize-64/glob64.c: ... here.
16809 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16810 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16813 * debug/getlogin_r_chk.c: Moved to ...
16814 * login/getlogin_r_chk.c: ... here.
16815 * debug/Makefile (routines): Move getlogin_r_chk to ...
16816 * login/Makefile (routines): ... here.
16817 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16818 * login/Versions (libc: GLIBC_2.4): ... here.
16820 * io/poll.c (__poll): Renamed from poll.
16821 Add libc_hidden_def.
16822 (poll): Define as weak alias.
16824 * debug/ptsname_r_chk.c: Moved to ...
16825 * login/ptsname_r_chk.c: ... here.
16826 * debug/Makefile (routines): Move ptsname_r_chk to ...
16827 * login/Makefile (routines): ... here.
16828 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16829 * login/Versions (libc: GLIBC_2.4): ... here.
16831 * posix/getlogin.c: Moved to ...
16832 * login/getlogin.c: ... here.
16833 * posix/getlogin_r.c: Moved to ...
16834 * login/getlogin_r.c: ... here.
16835 * posix/getlogin_r.c: Moved to ...
16836 * login/getlogin_r.c: ... here.
16837 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16838 * login/Makefile (routines): ... here.
16839 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16840 * login/Versions (libc: GLIBC_2.0): ... here.
16842 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16843 (setrlimit): Define as weak alias.
16845 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16846 Call __ names for open, ftruncate, and close.
16847 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16848 (truncate): Define as weak alias.
16850 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16852 * math/gen-libm-test.pl (parse_args): Initialize x before each
16853 test of frexp, modf and remquo.
16855 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16856 test signgam value.
16858 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16862 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16864 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16866 2013-05-06 Roland McGrath <roland@hack.frob.com>
16868 * elf/dl-writev.h: New file.
16869 * elf/dl-misc.c: Include it.
16870 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16871 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16873 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16875 * math/libm-test.inc (noXFails): Remove variable.
16876 (noXPasses): Likewise.
16877 (BUILD_COMPLEX_INT): Remove macro.
16878 (print_screen): Remove xfail argument.
16879 (print_screen_max_error): Likewise.
16880 (update_stats): Likewise.
16881 (print_max_error): Likewise. Update calls to other affected
16883 (print_complex_max_error): Likewise.
16884 (test_single_exception): Update calls to print_screen.
16885 (test_single_errno): Likewise.
16886 (check_float_internal): Remove xfail argument. Update calls to
16887 other affected functions.
16888 (check_float): Likewise.
16889 (check_complex): Likewise.
16890 (check_int): Likewise.
16891 (check_long): Likewise.
16892 (check_bool): Likewise.
16893 (check_longlong): Likewise.
16894 (main): Don't print noXFails and noXPasses.
16895 * math/gen-libm-test.pl (top level): Don't mention expected
16896 failure handling in comment.
16897 (new_test): Don't handle expected failures.
16898 (parse_args): Don't mention expected failure handling in comment.
16899 (generate_testfile): Don't handle expected failures.
16900 (parse_ulps): Likewise.
16901 (print_ulps_file): Likewise.
16902 (get_failure): Remove function.
16903 (output_test): Don't handle expected failures.
16904 * make/README.libm-test: Don't mention expected failure handling.
16906 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16907 (minus_zero): Likewise.
16908 (plus_infty): Likewise.
16909 (minus_infty): Likewise.
16910 (qnan_value): Likewise.
16911 (max_value): Likewise.
16912 (min_value): Likewise.
16913 (min_subnorm_value): Likewise.
16914 (initialize): Do not initialize those variables dynamically.
16916 2013-05-03 Roland McGrath <roland@hack.frob.com>
16918 * io/open.c (__open_2): Moved to ...
16919 * io/open_2.c: ... this new file.
16920 * io/open64.c (__open64_2): Moved to ...
16921 * io/open64_2.c: ... this new file.
16922 * io/openat.c (__openat_2): Moved to ...
16923 * io/openat_2.c: ... this new file.
16924 * io/openat64.c (__openat64_2): Moved to ...
16925 * io/openat64_2.c: ... this new file.
16926 * io/Makefile (routines): Add them.
16927 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16928 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16929 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16930 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16931 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16932 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16933 (__openat64): Add hidden_ver.
16934 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16935 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16937 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16938 Separately conditionalize setting of GLRO(dl_sysinfo) so
16939 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16940 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16942 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16944 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16945 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16947 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16948 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16949 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16950 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16951 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16953 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16955 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16956 test signgam value.
16958 * math/libm-test.inc (hypot_test): Do not use
16959 IGNORE_ZERO_INF_SIGN.
16961 2013-05-03 Andreas Jaeger <aj@suse.de>
16963 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16965 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16966 (PF_MAX): Adjust for VSOCK change.
16968 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16972 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16975 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16976 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16977 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16979 2013-05-02 David S. Miller <davem@davemloft.net>
16981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16983 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16985 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16987 2013-05-01 Roland McGrath <roland@hack.frob.com>
16989 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16991 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16994 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16995 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16996 Use __attribute__ ((__gnu_inline__)).
16997 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16998 Don't use __attribute__ ((__gnu_inline__)).
17000 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17003 * math/s_catan.c (__catan): Handle small real or imaginary part of
17004 input specially to avoid spurious underflow.
17005 * math/s_catanf.c (__catanf): Likewise.
17006 * math/s_catanh.c (__catanh): Likewise.
17007 * math/s_catanhf.c (__catanhf): Likewise.
17008 * math/s_catanhl.c (__catanhl): Likewise.
17009 * math/s_catanl.c (__catanl): Likewise.
17010 * math/libm-test.inc (catan_test): Add more tests.
17011 (catanh_test): Likewise.
17012 * sysdeps/i386/fpu/libm-test-ulps: Update.
17013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17015 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17019 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17022 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17023 accurately for denominator in atan2.
17024 * math/s_catanf.c (__catanf): Likewise.
17025 * math/s_catanh.c (__catanh): Likewise.
17026 * math/s_catanhf.c (__catanhf): Likewise.
17027 * math/s_catanhl.c (__catanhl): Likewise.
17028 * math/s_catanl.c (__catanl): Likewise.
17029 * math/libm-test.inc (catan_test): Add more tests.
17030 (catanh_test): Likewise.
17031 * sysdeps/i386/fpu/libm-test-ulps: Update.
17032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17034 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17036 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17038 * benchtests/Makefile (bench): Remove slow benchmarks.
17039 * benchtests/atan-inputs: Add slow benchmark inputs.
17040 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17041 (BENCH_FUNC): Accept variant offset.
17043 * benchtests/bench-skeleton.c (main): Run benchmark for each
17045 * benchtests/cos-inputs: Add slow benchmark inputs.
17046 * benchtests/exp-inputs: Likewise.
17047 * benchtests/pow-inputs: Likewise.
17048 * benchtests/sin-inputs: Likewise.
17049 * benchtests/slowatan-inputs: Remove.
17050 * benchtests/slowatan.c: Remove.
17051 * benchtests/slowcos-inputs: Remove.
17052 * benchtests/slowcos.c: Remove.
17053 * benchtests/slowexp-inputs: Remove.
17054 * benchtests/slowexp.c: Remove.
17055 * benchtests/slowpow-inputs: Remove.
17056 * benchtests/slowpow.c: Remove.
17057 * benchtests/slowsin-inputs: Remove.
17058 * benchtests/slowsin.c: Remove.
17059 * benchtests/slowtan-inputs: Remove.
17060 * benchtests/slowtan.c: Remove.
17061 * benchtests/tan-inputs: Add slow benchmark inputs.
17062 * scripts/bench.pl: Parse comments and directives.
17064 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17066 ($(objpfx)bench-%.c): Remove *-ITER.
17067 * benchtests/bench-modf.c: Remove definition of ITER.
17068 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17069 (main): Loop for DURATION seconds instead of fixed number of
17071 * scripts/bench.pl: Don't expect iterations in parameters.
17073 2013-04-29 Roland McGrath <roland@hack.frob.com>
17075 * io/fchdir.c (__fchdir): Renamed from fchdir.
17076 (fchdir): Define as weak alias.
17078 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17080 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17081 (ERRNO_EDOM): Likewise.
17082 (ERRNO_ERANGE): Likewise.
17083 (noErrnoTests): New variable.
17084 (init_max_error): Set errno to 0.
17085 (test_single_errno): New function.
17086 (test_errno): Likewise.
17087 (check_float_internal): Call test_errno. Set errno to 0.
17088 (check_complex): Refer to errno tests in comment.
17089 (check_int): Call test_errno. Set errno to 0.
17090 (check_long): Likewise.
17091 (check_bool): Likewise.
17092 (check_longlong): Likewise.
17093 (cos_test): Use ERRNO_* flags for errno tests instead of
17095 (expm1_test): Likewise.
17096 (fmod_test): Likewise.
17097 (ilogb_test): Likewise.
17098 (lgamma_test): Likewise.
17099 (pow_test): Likewise.
17100 (remainder_test): Likewise.
17101 (sin_test): Likewise.
17102 (tan_test): Likewise.
17103 (yn_test): Likewise.
17104 (initialize): Set errno to 0.
17105 (main): Print number of errno tests.
17106 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17108 2013-04-29 Andreas Jaeger <aj@suse.de>
17111 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17115 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17116 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17120 * stdlib/random.c (__initstate): Return NULL if
17124 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17125 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17128 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17132 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17134 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17135 of individual tests.
17136 (casin_test): Likewise.
17137 (casinh_test): Likewise.
17139 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17142 * math/s_catan.c (__catan): Handle arguments with large real or
17143 imaginary part separately without squaring.
17144 * math/s_catanf.c (__catanf): Likewise.
17145 * math/s_catanh.c (__catanh): Likewise.
17146 * math/s_catanhf.c (__catanhf): Likewise.
17147 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17149 (__catanhl): Handle arguments with large real or imaginary part
17150 separately without squaring.
17151 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17153 (__catanl): Handle arguments with large real or imaginary part
17154 separately without squaring.
17155 * math/libm-test.inc (catan_test): Add more tests.
17156 (catanh_test): Likewise.
17157 * sysdeps/i386/fpu/libm-test-ulps: Update.
17158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17160 2013-04-27 Andreas Jaeger <aj@suse.de>
17163 * stdlib/stdlib.h: Update guards for qecvt.
17164 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17167 2013-04-27 Allan McRae <allan@archlinux.org>
17169 * sysdeps/i386/fpu/libm-test-ulps: Update.
17171 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17174 * math/s_catan.c: Include <float.h>.
17175 (__catan): Ensure underflow exception occurs for underflowed
17177 * math/s_catanf.c: Include <float.h>.
17178 (__catanf): Ensure underflow exception occurs for underflowed
17180 * math/s_catanh.c: Include <float.h>.
17181 (__catanh): Ensure underflow exception occurs for underflowed
17183 * math/s_catanhf.c: Include <float.h>.
17184 (__catanhf): Ensure underflow exception occurs for underflowed
17186 * math/s_catanhl.c: Include <float.h>.
17187 (__catanhl): Ensure underflow exception occurs for underflowed
17189 * math/s_catanl.c: Include <float.h>.
17190 (__catanl): Ensure underflow exception occurs for underflowed
17192 * math/libm-test.inc (catan_test): Add more tests.
17193 (catanh_test): Likewise.
17196 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17197 underflowed result.
17198 * math/s_ccoshf.c (__ccoshf): Likewise.
17199 * math/s_ccoshl.c (__ccoshl): Likewise.
17200 * math/s_csin.c (__csin): Likewise.
17201 * math/s_csinf.c (__csinf): Likewise.
17202 * math/s_csinh.c (__csinh): Likewise.
17203 * math/s_csinhf.c (__csinhf): Likewise.
17204 * math/s_csinhl.c (__csinhl): Likewise.
17205 * math/s_csinl.c (__csinl): Likewise.
17206 * math/libm-test.inc (ccos_test): Add more tests.
17207 (ccosh_test): Likewise.
17208 (csin_test): Likewise.
17209 (csinh_test): Likewise.
17211 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17213 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17214 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17215 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17216 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17217 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17218 powerpc/power5+/fpu folders.
17219 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17222 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17226 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17228 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17229 additions to variable.
17230 [$(config-machine) = x86_64] (modules-names): Likewise.
17231 ($(objpfx)tst-audit3): Remove dependency.
17232 ($(objpfx)tst-audit3.out): Likewise.
17233 ($(objpfx)tst-audit4): Likewise.
17234 ($(objpfx)tst-audit4.out): Likewise.
17235 ($(objpfx)tst-audit5): Likewise.
17236 ($(objpfx)tst-audit5.out): Likewise.
17237 ($(objpfx)tst-audit6): Likewise.
17238 ($(objpfx)tst-audit6.out): Likewise.
17239 ($(objpfx)tst-audit7): Likewise.
17240 ($(objpfx)tst-audit7.out): Likewise.
17241 (tst-audit3-ENV): Remove variable.
17242 (tst-audit4-ENV): Likewise.
17243 (tst-audit5-ENV): Likewise.
17244 (tst-audit6-ENV): Likewise.
17245 (tst-audit7-ENV): Likewise.
17246 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17247 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17248 addition to variable.
17249 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17250 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17251 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17252 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17253 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17254 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17255 tst-audit3, tst-audit4 and tst-audit5.
17256 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17257 tst-audit6 and tst-audit7.
17258 [$(subdir) = elf] (modules-names): Add audit modules for those
17260 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17261 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17262 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17263 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17264 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17265 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17266 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17267 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17268 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17269 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17270 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17271 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17272 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17273 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17274 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17275 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17277 [$(subdir) = elf && $(config-cflags-avx) = yes]
17278 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17279 [$(subdir) = elf && $(config-cflags-avx) = yes]
17280 (CFLAGS-tst-auditmod4a.c): Likewise.
17281 [$(subdir) = elf && $(config-cflags-avx) = yes]
17282 (CFLAGS-tst-auditmod4b.c): Likewise.
17283 [$(subdir) = elf && $(config-cflags-avx) = yes]
17284 (CFLAGS-tst-auditmod6b.c): Likewise.
17285 [$(subdir) = elf && $(config-cflags-avx) = yes]
17286 (CFLAGS-tst-auditmod6c.c): Likewise.
17287 [$(subdir) = elf && $(config-cflags-avx) = yes]
17288 (CFLAGS-tst-auditmod7b.c): Likewise.
17289 * elf/tst-audit3.c: Move to ...
17290 * sysdeps/x86_64/tst-audit3.c: ... here.
17291 * elf/tst-audit4.c: Move to ...
17292 * sysdeps/x86_64/tst-audit4.c: ... here.
17293 * elf/tst-audit5.c: Move to ...
17294 * sysdeps/x86_64/tst-audit5.c: ... here.
17295 * elf/tst-audit6.c: Move to ...
17296 * sysdeps/x86_64/tst-audit6.c: ... here.
17297 * elf/tst-audit7.c: Move to ...
17298 * sysdeps/x86_64/tst-audit7.c: ... here.
17299 * elf/tst-auditmod3a.c: Move to ...
17300 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17301 * elf/tst-auditmod3b.c: Move to ...
17302 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17303 * elf/tst-auditmod4a.c: Move to ...
17304 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17305 * elf/tst-auditmod4b.c: Move to ...
17306 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17307 * elf/tst-auditmod5a.c: Move to ...
17308 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17309 * elf/tst-auditmod5b.c: Move to ...
17310 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17311 * elf/tst-auditmod6a.c: Move to ...
17312 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17313 * elf/tst-auditmod6b.c: Move to ...
17314 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17315 * elf/tst-auditmod6c.c: Move to ...
17316 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17317 * elf/tst-auditmod7a.c: Move to ...
17318 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17319 * elf/tst-auditmod7b.c: Move to ...
17320 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17322 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17325 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17326 define unconditionally.
17327 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17328 define unconditionally.
17329 (INT8_C, INT16_C, etc.): Likewise.
17331 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17333 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17334 __ehdr_start with hidden visibility.
17336 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17338 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17340 * math/libm-test.inc (cos_test): Use accurate hex constants.
17341 (sincost_test): Likewise.
17343 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17345 * math/libm-test.inc (catan_test): Add more tests.
17346 (catanh_test): Likewise.
17348 * math/s_catanf.c (__catanf): Use suffixed floating-point
17350 * math/s_catanhf.c (__catanhf): Likewise.
17351 * math/s_catanhl.c (__catanhl): Likewise.
17352 * math/s_catanl.c (__catanl): Likewise.
17355 * math/s_catan.c (__catan): Calculate imaginary part of result
17356 with log1p not log unless computing log of number close to 0.
17357 * math/s_catanf.c (__catanf): Likewise.
17358 * math/s_catanl.c (__catanl): Likewise.
17359 * math/s_catanh.c (__catanh): Calculate real part of result with
17360 log1p not log unless computing log of number close to 0.
17361 * math/s_catanhf.c (__catanhf): Likewise.
17362 * math/s_catanhl.c (__catanhl): Likewise.
17363 * math/libm-test.inc (catan_test): Add more tests.
17364 (catanh_test): Likewise.
17365 * sysdeps/i386/fpu/libm-test-ulps: Update.
17366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17368 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17370 * benchtests/Makefile: Mention files in which fast and slow
17371 paths of math functions are implemented.
17373 2013-04-23 Roland McGrath <roland@hack.frob.com>
17375 * sysdeps/posix/timespec_get.c: New file.
17377 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17379 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17381 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17383 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17384 powerpc/power5/fpu folders.
17385 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17386 * benchtests/Makefile: Add modf testcase.
17387 * benchtests/bench-modf.c: New file: Benchmark test for mo
17389 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17392 * time/Makefile (tests): Add tst-strptime-whitespace.
17393 * time/strptime_l.c (get_number): Use ISSPACE.
17394 (__strptime_internal): Likewise.
17395 * time/tst-strptime-whitespace.c: New test case.
17397 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17399 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17401 (_nss_files_init): Set it here.
17403 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17405 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17406 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17409 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17411 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17413 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17418 2013-04-21 David S. Miller <davem@davemloft.net>
17420 * po/ru.po: Update Russion translation from translation project.
17422 2013-04-17 Adam Conrad <adconrad@0c3.net>
17424 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17427 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17429 * configure.in: Remove i386 configure warning. Remove i386 case.
17430 * configure: Regenerate.
17431 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17432 Add example to error message.
17433 * sysdeps/i386/configure: Regenerate.
17435 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17437 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17439 * benchtests/cos-inputs: New file.
17440 * benchtests/slowcos-inputs: New file.
17441 * benchtests/slowcos.c: New file.
17442 * benchtests/slowtan-inputs: New file.
17443 * benchtests/slowtan.c: New file.
17444 * benchtests/tan-inputs: New file.
17446 2013-04-16 Roland McGrath <roland@hack.frob.com>
17448 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17451 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17453 * benchtests/Makefile: Include cppflags-iterator.mk to add
17454 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17456 * Makefile.in (bench-clean): New target.
17457 * benchtests/Makefile (bench-clean): Likewise.
17459 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17461 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17463 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17465 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17467 2013-04-15 Andreas Schwab <schwab@suse.de>
17469 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17471 * nscd/pwdcache.c (cache_addpw): Likewise.
17472 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17475 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17477 * benchtests/Makefile (bench): Write all output to
17478 bench-out.tmp together.
17480 2013-04-15 Andreas Schwab <schwab@suse.de>
17482 * nscd/nscd.c (main): Don't fork again after closing files.
17484 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17486 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17488 * benchtests/Rules (bench-deps): Collect dependencies into a
17489 single variable. Add Makefile to dependencies.
17490 ($(objpfx)bench-%.c): Depend on bench-deps.
17492 2013-04-12 Roland McGrath <roland@hack.frob.com>
17493 Xavier Roche <roche+kml2@exalead.com>
17496 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17497 just that it's a file descriptor.
17498 * manual/llio.texi (Synchronizing AIO Operations): Update description
17499 for EBADF error from aio_fsync.
17501 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 * Rules (bench): Move target definition...
17504 * benchtests/Makefile: ... here.
17506 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17508 * math/libm-test.inc (cos_test): Fix PI/2 test.
17509 (sincos_test): Likewise.
17510 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17511 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17513 2013-04-11 Andreas Schwab <schwab@suse.de>
17516 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17517 accept exponent character only when digits were seen.
17518 * stdio-common/Makefile (tests): Add bug26.
17519 * stdio-common/bug26.c: New file.
17522 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17525 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17527 * Makeconfig (rtld-prefix): Define built linker prefix.
17528 * Rules (run-bench): Use it.
17529 * math/Makefile (run-regen-ulps): Likewise.
17531 * Rules (bench): Remove eval.
17533 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17534 Roland McGrath <roland@hack.frob.com>
17535 Ondrej Bilka <neleai@seznam.cz>
17538 * time/getdate.c: Include ctype.h and alloca.h.
17539 (__getdate_r): Trim leading and trailing spaces of input.
17540 * time/tst-getdate.c (tests): Add tests with leading and
17543 2013-04-08 Roland McGrath <roland@hack.frob.com>
17546 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17547 when computing value.
17549 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17551 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17552 Use testrun.sh to run libm tests.
17555 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17557 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17560 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17562 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17564 * Makefile.in (regen-ulps): New target.
17565 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17566 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17567 [ifneq (no,$(PERL)] (regen-ulps): New target.
17568 [ifeq (no,$(PERL)] (regen-ulps): New target.
17569 * math/libm-test.inc (ulps_file_name): Define.
17570 (output_dir): New variable.
17571 (options): Add "output-dir" option.
17572 (parse_opt): Handle 'o' case.
17573 (main): If output_dir is non-NULL use it as a prefix
17575 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17577 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17579 [BZ #10060, #10062]
17580 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17581 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17582 fail configure if __sync_val_compare_and_swap is not inlined.
17583 * sysdeps/i386/configure: Regenerate.
17584 * configure.in: Build for i686 when configured for i386.
17585 * configure: Regenerate.
17586 * README: Remove i386 reference.
17588 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17590 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17591 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17593 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17595 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17596 (lmsnanval): New variables.
17597 (F): Add conversion tests.
17598 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17599 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17601 * stdio-common/tstdiomisc.c (F): Properly collect individual
17604 [BZ #14686, #15336]
17605 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17606 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17607 Instead, use input NaN values or generate a qNaN by arithmetic
17608 operation. Also fix bugs to comply with the standard.
17609 * math/libm-test.inc (remainder_test): Add more tests.
17611 [BZ #15335, #15342]
17612 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17614 input NaN values or generate a qNaN by arithmetic operation.
17616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17619 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17622 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17625 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17626 underflowed result.
17627 * math/s_cexpf.c (__cexpf): Likewise.
17628 * math/s_cexpl.c (__cexpl): Likewise.
17629 * math/libm-test.inc (cexp_test): Add more tests.
17631 2013-04-03 Andreas Schwab <schwab@suse.de>
17634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17635 order arrays from heap if bigger than alloca cutoff.
17637 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17639 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17640 (SNAN_TESTS_double): Refer to GCC PR56831.
17641 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17644 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17646 * Rules (bench): Move bench.out after the run is complete.
17648 * Rules (bench): Echo currently running benchmark.
17650 * benchtests/Makefile (bench): Add atan and slowatan.
17651 * benchtests/atan-inputs: New file.
17652 * benchtests/slowatan-inputs: New file.
17653 * benchtests/slowatan.c: New file.
17655 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17656 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17660 * sysdeps/unix/sysv/linux/kernel-features.h
17661 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17662 __ASSUME_XFS_RESTRICTED_CHOWN.
17663 * sysdeps/unix/sysv/linux/pathconf.c
17664 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17665 Save and restore errno.
17667 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17670 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17671 arguments using __kernel_casinh.
17672 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17673 arguments using __kernel_casinhf.
17674 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17675 arguments using __kernel_casinhl.
17676 * math/libm-test.inc (cacosh_test): Add more tests.
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17682 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17685 * bench/Makefile (bench): Add sin and slowsin.
17686 * benchtests/sin-inputs: New file.
17687 * benchtests/slowsin-inputs: New file.
17688 * benchtests/slowsin.c: New file.
17690 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17691 (bench): Add slowexp and slowpow.
17692 (exp-ITER): Increase iterations.
17693 (pow-ITER): Likewise.
17694 * benchtests/exp-inputs: Change input.
17695 * benchtests/pow-inputs: Likewise.
17696 * benchtests/slowexp-inputs: New file.
17697 * benchtests/slowexp.c: New file.
17698 * benchtests/slowpow-inputs: New file.
17699 * benchtests/slowpow.c: New file.
17701 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17703 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17705 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17706 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17707 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17708 * benchtests/Makefile: Add rint benchtest.
17709 * benchtests/rint-inputs: Input for rint benchtest.
17711 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17713 * Versions.def (libm): Add GLIBC_2.18.
17714 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17715 hidden libm prototypes.
17716 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17717 * math/Makefile (libm-calls): Add s_issignaling.
17718 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17719 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17720 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17722 * math/math.h [__USE_GNU] (issignaling): New macro.
17723 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17724 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17726 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17729 * manual/arith.texi (issignaling): New section.
17730 * manual/libm-err-tab.pl (@all_functions): Update comment.
17731 * math/gen-libm-test.pl (parse_args): Apply special handling for
17733 * math/libm-test.inc (print_float, issignaling_test): New
17735 (check_float_internal): Add issignaling checks.
17736 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17737 default definition.
17738 * sysdeps/powerpc/math-tests.h: New file.
17739 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17741 * math/test-snan.c (TEST_FUNC): Likewise.
17743 2013-03-30 David S. Miller <davem@davemloft.net>
17745 * po/de.po: Update from translation team.
17747 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17750 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17751 imaginary part less than 1.0 and real part less than 0.5
17753 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17754 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17755 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17756 (cacos_test): Add more tests.
17757 (casin_test): Likewise.
17758 (casinh_test): Likewise.
17759 * sysdeps/i386/fpu/libm-test-ulps: Update.
17760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17762 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17764 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17765 ONE with its value.
17767 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17768 (__pow_mp): Replace ONE and MONE with their values.
17769 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17770 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17771 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17772 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17773 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17774 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17776 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17778 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17779 (__pow_mp): Replace ZERO and MZERO with their values.
17780 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17781 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17782 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17784 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17785 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17788 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17790 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17792 2013-03-28 Roland McGrath <roland@hack.frob.com>
17794 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17795 Declare with __attribute__ ((weak)).
17796 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17797 Call __call_tls_dtors only if it's not NULL.
17799 2013-03-28 Roland McGrath <roland@hack.frob.com>
17801 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17802 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17803 magic __ehdr_start linker symbol if it's defined.
17804 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17805 them up here if it was already done.
17807 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17808 (_dl_aux_init): Use const in cast when setting it.
17809 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17810 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17811 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17813 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17815 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17816 * csu/libc-tls.c: Nor here.
17817 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17819 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17820 (__libc_message): Never call vsyslog.
17822 2013-03-28 Alan Modra <amodra@gmail.com>
17824 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17826 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17829 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17832 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17836 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17839 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17840 Don't add gid passed as argument.
17842 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17844 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17847 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17848 imaginary part between 1.0 and 1.5 and real part less than 0.5
17850 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17851 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17852 * math/libm-test.inc (cacos_test): Add more tests.
17853 (casin_test): Likewise.
17854 (casinh_test): Likewise.
17855 * sysdeps/i386/fpu/libm-test-ulps: Update.
17856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17858 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17860 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17863 (denorm): Likewise.
17864 (__dbl_mp): Likewise.
17865 (add_magnitudes): Likewise.
17866 (sub_magnitudes): Likewise.
17874 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17876 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17877 (__dubcos): Likewise.
17878 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17879 (__ieee754_acos): Likewise.
17880 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17881 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17882 (__exp1): Likewise.
17883 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17886 (my_log2): Likewise.
17887 (checkint): Likewise.
17888 * sysdeps/ieee754/dbl-64/e_remainder.c
17889 (__ieee754_remainder): Likewise.
17890 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17891 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17892 (bsloww): Likewise.
17893 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17895 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17896 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17897 MANTISSA_STORE_T to store computations on mantissa. Use
17898 macros for rounding and division.
17899 (denorm): Likewise.
17900 (__dbl_mp): Likewise.
17901 (add_magnitudes): Likewise.
17902 (sub_magnitudes): Likewise.
17905 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17906 powers of two in terms of TWOPOW macro.
17907 (mp_no): Make type of mantissa as MANTISSA_T.
17908 [!RADIXI]: Define RADIXI.
17909 [!TWO52]: Define TWO52.
17910 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17912 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17914 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17915 llroundl symbol when building for PPC32.
17917 2013-03-24 Mark H Weaver <mhw@netris.org>
17919 * manual/arith.texi (Normalization Functions): Fix prototypes for
17920 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17922 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17926 high value to check if expl overflow.
17927 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17928 to check for underflow and overflow.
17929 * math/libm-test.inc: Add exp test.
17931 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17934 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17937 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17939 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17942 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17944 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17945 wrap blocks consisting of several statements.
17947 * sysdeps/generic/math-tests.h: New file.
17948 * sysdeps/i386/fpu/math-tests.h: Likewise.
17949 * math/test-snan.c: Include it.
17950 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17952 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17955 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17956 (__ieee754_j0l): Do not improve calculations using cos of twice
17957 input for inputs above LDBL_MAX / 2.0L.
17958 (__ieee754_y0l): Likewise.
17959 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17960 (__ieee754_j1l): Do not improve calculations using cos of twice
17961 input for inputs above LDBL_MAX / 2.0L.
17962 (__ieee754_y1l): Likewise.
17963 * math/libm-test.inc (j0_test): Add another test.
17964 (j1_test): Likewise.
17965 (y0_test): Likewise.
17966 (y1_test): Likewise.
17967 * sysdeps/i386/fpu/libm-test-ulps: Update.
17969 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17971 * Rules ($(objpfx)bench-%.c): Include code from a C source
17974 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17977 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17978 imaginary part 1.0 and real part less than 0.5 specially.
17979 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17980 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17981 * math/libm-test.inc (cacos_test): Add more tests.
17982 (casin_test): Likewise.
17983 (casinh_test): Likewise.
17984 * sysdeps/i386/fpu/libm-test-ulps: Update.
17985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17987 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17989 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17990 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17992 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17994 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17995 * config.make.in (config-cflags-sse4): Remove variable.
17996 (config-cflags-avx): Likewise.
17997 (config-cflags-sse2avx): Likewise.
17998 (config-cflags-novzeroupper): Likewise.
17999 (config-asflags-i686): Likewise.
18000 (have-mfma4): Likewise.
18001 (have-as-vis3): Likewise.
18003 * configure.in (MIG): Do not AC_SUBST.
18004 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18005 (libc_cv_cc_sse4): Do not AC_SUBST.
18006 (libc_cv_cc_avx): Likewise.
18007 (libc_cv_cc_sse2avx): Likewise.
18008 (libc_cv_cc_novzeroupper): Likewise.
18009 (libc_cv_cc_fma4): Likewise.
18010 (libc_cv_as_i686): Likewise.
18011 (libc_cv_sparc_as_vis3): Likewise.
18012 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18014 (config-asflags-i686): Likewise.
18015 (config-cflags-avx): Likewise.
18016 (config-cflags-sse2avx): Likewise.
18017 (have-mfma4): Likewise.
18018 (config-cflags-novzeroupper): Likewise.
18019 * sysdeps/mach/configure.in (MIG): Likewise.
18020 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18021 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18023 (config-cflags-avx): Likewise.
18024 (config-cflags-sse2avx): Likewise.
18025 (have-mfma4): Likewise.
18026 (config-cflags-novzeroupper): Likewise.
18027 * configure: Regenerated.
18028 * sysdeps/i386/configure: Likewise.
18029 * sysdeps/mach/configure: Likewise.
18030 * sysdeps/sparc/configure: Likewise.
18031 * sysdeps/x86_64/configure: Likewise.
18033 2013-03-20 Roland McGrath <roland@hack.frob.com>
18036 * locale/programs/localedef.c (options): Put N_ translation marker
18037 on argument names, not just descriptions.
18039 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18041 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18043 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18046 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18048 2013-03-19 Roland McGrath <roland@hack.frob.com>
18050 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18051 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18052 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18053 [!BEFORE_ABORT] (before_abort): New function.
18054 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18055 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18056 (writev_for_fatal): New function.
18057 (WRITEV_FOR_FATAL): New macro; call that.
18058 (backtrace_and_maps): New function.
18059 (BEFORE_ABORT): New macro; call that.
18060 (struct str_list): Type removed.
18061 (__libc_message, __libc_fatal): Functions removed.
18062 Include <sysdeps/posix/libc_fatal.c> instead.
18064 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18066 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18068 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18071 2013-03-19 Andreas Schwab <schwab@suse.de>
18073 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18074 * sysdeps/gnu/configure: Regenerate.
18076 * configure.in: Substitute libc_cv_rtlddir.
18077 * configure: Regenerate.
18078 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18079 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18080 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18081 * elf/Makefile (install-others, CFLAGS-interp.c)
18082 (ldso_install, common-ldd-rewrite): Likewise.
18083 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18084 $(inst_slibdir)/$(rtld-installed-name).
18085 * scripts/rellns-sh: Add -p option.
18086 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18089 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18091 * manual/nptl.texi: Renamed to ...
18092 * manual/threads.texi: ... this.
18093 * manual/Makefile (chapters): Update.
18095 2013-03-18 Roland McGrath <roland@hack.frob.com>
18098 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18099 on argument names, not just descriptions.
18100 * malloc/memusagestat.c (options): Likewise.
18101 * nss/getent.c (options): Likewise.
18103 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18106 * iconv/iconv_prog.c (options): Put N_ translation marker
18107 on argument names, not just descriptions.
18108 * iconv/iconvconfig.c (options): Likewise.
18110 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18112 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18113 implementation which is faster on all x86_64 architectures.
18114 Tested on AMD, Intel Nehalem, SNB, IVB.
18115 * sysdeps/x86_64/strnlen.S: Likewise.
18117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18118 Remove all multiarch strlen and strnlen versions.
18119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18120 Remove strlen and strnlen related parts.
18122 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18123 Inline strlen part.
18124 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18126 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18127 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18128 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18129 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18130 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18131 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18133 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18135 * manual/memory.texi (Malloc Tunable Parameters):
18136 Sort parameters alphabetically. Add comments for missing entries.
18138 2013-03-17 David S. Miller <davem@davemloft.net>
18140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18142 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18145 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18146 for arguments at most half maximum finite value.
18147 * math/libm-test.inc (j0_test): Add more tests.
18148 (j1_test): Likewise.
18149 (y0_test): Likewise.
18150 (y1_test): Likewise.
18151 * sysdeps/i386/fpu/libm-test-ulps: Update.
18152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18155 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18156 1 / x and functions P and Q for arguments above 0x1p256L.
18157 (__ieee754_y0l): Likewise.
18158 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18159 (__ieee754_y1l): Likewise.
18160 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18161 (j1_test): Likewise.
18162 (y0_test): Likewise.
18163 (y1_test): Likewise.
18165 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18167 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18170 2013-03-15 Roland McGrath <roland@hack.frob.com>
18172 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18173 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18174 zero since it's initialized to EXEC_PAGESIZE.
18176 * sysdeps/unix/sysv/linux/ldsodefs.h
18177 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18178 * sysdeps/generic/ldsodefs.h: ... here.
18180 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18182 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18184 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18186 * math/test-snan.c: Renamed from
18187 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18188 * math/Makefile (tests): Add test-snan.
18189 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18192 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18193 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18195 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18196 __builtin_nan family of functions.
18197 * math/libm-test.inc (initialize): Initialize qnan_value with
18198 __builtin_nan family of functions.
18199 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18201 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18203 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18204 storage class. Initialize qNaN_var and sNaN_var with
18205 __builtin_nan and __builtin_nans families of functions,
18208 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18209 (sqrt_test): Remove duplicate test with qNaN input.
18210 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18211 (round_test, signbit_test, significand_test): Note missing +/-Inf
18212 as well as qNaN tests.
18214 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18215 qNaN_var. Fix a few strings, too.
18216 * math/libm-test.inc (nan_value): Rename to qnan_value.
18217 * math/gen-libm-test.pl (%beautify): Adjust to that.
18218 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18219 * math/test-misc.c (main): Likewise.
18220 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18221 to __qnan_bytes, and __qnan_union, respectively.
18222 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18224 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18225 and lqnanval, respectively.
18226 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18227 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18228 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18229 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18231 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18232 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18235 * math/test-misc.c (main): Fix copy'n'pastos.
18236 * misc/tst-efgcvt.c (special): Likewise.
18238 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18239 Remove declarations.
18241 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18243 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18244 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18245 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18246 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18248 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18250 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18251 macro to return vdso values correctly in IFUNC implementations.
18252 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18253 Optimization by using IFUNC.
18255 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18256 Richard Henderson <rth@redhat.com>
18257 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18259 * Makefile.in (bench): New target.
18260 * NEWS: Mention the benchmark framework.
18261 * Rules (bench): Likewise.
18262 (binaries-bench): Generate binaries for functions to
18264 * benchtests/Makefile: New makefile for benchmark tests.
18265 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18267 * benchtests/exp-inputs: New input file for EXP function.
18268 * benchtests/pow-inputs: New input file for POW function.
18269 * scripts/bench.pl: New script to generate source files for
18270 benchmark programs.
18272 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18274 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18275 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18276 computations on mantissa. Use macros for rounding and
18278 (denorm): Likewise.
18279 (__dbl_mp): Likewise.
18280 (add_magnitudes): Likewise.
18281 (sub_magnitudes): Likewise.
18284 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18285 powers of two in terms of TWOPOW macro.
18286 (mp_no): Make type of mantissa as MANTISSA_T.
18287 [!RADIXI]: Define RADIXI.
18288 [!TWO52]: Define TWO52.
18289 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18291 * manual/nptl.texi (cindex): Modify threads to pthreads.
18293 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18295 * sysdeps/x86_64/preconfigure: Regenerated.
18297 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18300 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18302 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18303 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18305 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18306 * math/libm-test.inc (j0_test): Do not allow one spurious
18307 underflow exception.
18308 (y1_test): Likewise.
18310 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18312 * manual/Makefile (chapters): Add nptl.
18313 * manual/debug.texi (Debugging Support): Add link to Threads
18315 * manual/nptl.texi: New file.
18317 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18319 2013-03-14 Petr Baudis <pasky@ucw.cz>
18321 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18322 for non-NULL pointer before the memory validity test. Pointed
18323 out by Holger Brunck <holger.brunck@keymile.com>.
18325 2013-03-13 Andreas Schwab <schwab@suse.de>
18327 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18330 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18332 * timezone/zic.c: Update from tzcode 2013b.
18334 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18336 * manual/install.texi (Configuring and compiling):
18337 Mention i686 and i586.
18338 * INSTALL: Regenerate.
18340 2013-03-12 Roland McGrath <roland@hack.frob.com>
18342 * sysdeps/init_array/elf-init.c: New file.
18344 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18345 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18347 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18348 __gmon_start__ as global, but as static with a .preinit_array pointer.
18349 * sysdeps/init_array/gmon-start.c: New file. Use that.
18350 * sysdeps/init_array/crti.S: New file, empty except for comments.
18351 * sysdeps/init_array/crtn.S: Likewise.
18353 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18355 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18358 Remove Prefer_SSE_for_memop.
18359 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18360 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18361 HAS_PREFER_SSE_FOR_MEMOP.
18362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18365 Remove bzero, memset ifunc support.
18366 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18367 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18368 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18369 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18371 2013-03-11 Andreas Schwab <schwab@suse.de>
18374 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18377 (GLIBC_2.16): Remove pthread_atfork.
18379 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18381 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18382 (ptestcases.h): Likewise.
18384 2013-03-08 Roland McGrath <roland@hack.frob.com>
18386 * Makeconfig ($(common-objpfx)config.status): Depend on
18387 sysdeps/*/preconfigure{,.in} too.
18389 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18391 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18392 (__free_hook): Use void * instead of __malloc_ptr_t.
18393 (__malloc_hook): Likewise.
18394 (__realloc_hook): Likewise.
18395 (__memalign_hook): Likewise.
18396 (__after_morecore_hook): Likewise.
18397 * malloc/arena.c (save_malloc_hook): Likewise.
18398 (save_free_hook): Likewise.
18399 * malloc/hooks.c (malloc_hook_ini): Likewise.
18400 (realloc_hook_ini): Likewise.
18401 (memalign_hook_ini): Likewise.
18402 * malloc/malloc.c (malloc_hook_ini): Likewise.
18403 (realloc_hook_ini): Likewise.
18404 (memalign_hook_ini): Likewise.
18405 (__free_hook): Likewise.
18406 (__malloc_hook): Likewise.
18407 (__realloc_hook): Likewise.
18408 (__memalign_hook): Likewise.
18409 (__libc_malloc): Likewise.
18410 (__libc_free): Likewise.
18411 (__libc_realloc): Likewise.
18412 (__libc_memalign): Likewise.
18413 (__libc_valloc): Likewise.
18414 (__libc_pvalloc): Likewise.
18415 (__libc_calloc): Likewise.
18416 (__posix_memalign): Likewise.
18417 * malloc/morecore.c (__sbrk): Likewise.
18418 (__default_morecore): Likewise.
18420 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18422 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18423 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18424 __malloc_ptrdiff_t.
18426 * malloc/malloc.h (__malloc_size_t): Remove macro.
18427 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18429 (old_memalign_hook): Likewise.
18430 (old_realloc_hook): Likewise.
18431 (struct hdr): Likewise.
18433 (mallochook): Likewise.
18434 (memalignhook): Likewise.
18435 (reallochook): Likewise.
18436 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18437 (tr_old_realloc_hook): Likewise.
18438 (tr_old_memalign_hook): Likewise.
18439 (tr_mallochook): Likewise.
18440 (tr_reallochook): Likewise.
18441 (tr_memalignhook): Likewise.
18443 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18445 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18446 default_ldbl_pack and using as default implementation.
18447 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18449 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18450 redundant definition.
18451 (ldbl_insert_mantissa): Likewise.
18452 (ldbl_canonicalize): Likewise.
18453 (ldbl_nearbyint): Likewise.
18454 (ldbl_pack): Rename to ldbl_pack_ppc.
18455 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18456 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18457 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18459 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18462 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18463 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18464 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18466 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18467 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18468 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18470 2013-03-07 Andreas Jaeger <aj@suse.de>
18472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18475 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18477 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18478 Include mpa.h and declare __MPEXP.
18479 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18481 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18482 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18483 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18484 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18485 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18487 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18488 (__slowpow): Use long double EXPL and LOGL functions to
18490 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18491 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18492 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18493 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18494 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18495 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18498 intermediate variable to calculate exponent.
18500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18504 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18505 [!NO__SQR]: Define __sqr.
18506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18507 and NO__SQR. Remove all code except __mul and __sqr. Include
18508 sysdeps/ieee754/dbl-64/mpa.c.
18509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18512 * posix/Makefile (tests): Add tst-pathconf.
18513 * posix/tst-pathconf.c: New test case.
18514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18516 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18518 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18520 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18522 2013-03-06 Andreas Jaeger <aj@suse.de>
18524 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18525 definition via __MAP_ANONYMOUS.
18527 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18528 it's not part of Linux headers.
18530 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18531 (MAP_HUGE_MASK): Define.
18533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18535 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18538 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18539 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18541 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18544 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18546 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18547 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18548 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18549 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18550 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18551 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18556 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18557 Handle f2fs and efivarfs.
18559 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18562 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18563 (EFIVARFS_MAGIC): Add.
18564 (F2FS_LINK_MAX): Add.
18566 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18568 * stdio-common/vfprintf.c: Replace __builtin_expect with
18571 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18574 * sysdeps/generic/bp-sym.h: Remove file.
18575 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18577 <bp-sym.h> and <bp-asm.h>.
18578 (__longjmp): Don't use BP_SYM.
18579 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18581 (memcpy): Don't use BP_SYM.
18582 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18583 <bp-sym.h> and <bp-asm.h>.
18584 (memcpy): Don't use BP_SYM.
18585 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18587 (memcpy): Don't use BP_SYM.
18588 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18590 (memset): Don't use BP_SYM.
18591 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18592 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18593 (__bzero): Don't use BP_SYM.
18594 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18595 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18596 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18597 <bp-sym.h> and <bp-asm.h>.
18598 (memcmp): Don't use BP_SYM. Remove comment about bounded
18600 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18601 <bp-sym.h> and <bp-asm.h>.
18602 (memcpy): Don't use BP_SYM.
18603 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18604 <bp-sym.h> and <bp-asm.h>.
18605 (memset): Don't use BP_SYM.
18606 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18607 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18608 (__bzero): Don't use BP_SYM.
18609 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18610 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18611 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18612 <bp-sym.h> and <bp-asm.h>.
18613 (strncmp): Don't use BP_SYM. Remove comment about bounded
18615 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18616 <bp-sym.h> and <bp-asm.h>.
18617 (memcpy): Don't use BP_SYM.
18618 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18619 <bp-sym.h> and <bp-asm.h>.
18620 (memset): Don't use BP_SYM.
18621 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18622 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18623 (__bzero): Don't use BP_SYM.
18624 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18625 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18627 <bp-sym.h> and <bp-asm.h>.
18628 (__memchr): Don't use BP_SYM.
18629 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18630 <bp-sym.h> and <bp-asm.h>.
18631 (memcmp): Don't use BP_SYM. Remove comment about bounded
18633 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18634 <bp-sym.h> and <bp-asm.h>.
18635 (memcpy): Don't use BP_SYM.
18636 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18637 <bp-sym.h> and <bp-asm.h>.
18638 (__mempcpy): Don't use BP_SYM.
18639 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18640 <bp-sym.h> and <bp-asm.h>.
18641 (__memrchr): Don't use BP_SYM.
18642 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18643 <bp-sym.h> and <bp-asm.h>.
18644 (memset): Don't use BP_SYM.
18645 (__bzero): Likewise.
18646 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18647 <bp-sym.h> and <bp-asm.h>.
18648 (__rawmemchr): Don't use BP_SYM.
18649 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18650 <bp-sym.h> and <bp-asm.h>.
18651 (__STRCMP): Don't use BP_SYM.
18652 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18653 <bp-sym.h> and <bp-asm.h>.
18654 (strchr): Don't use BP_SYM.
18655 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18656 <bp-sym.h> and <bp-asm.h>.
18657 (__strchrnul): Don't use BP_SYM.
18658 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18659 <bp-sym.h> and <bp-asm.h>.
18660 (strlen): Don't use BP_SYM.
18661 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18662 <bp-sym.h> and <bp-asm.h>.
18663 (strncmp): Don't use BP_SYM. Remove comment about bounded
18665 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18666 <bp-sym.h> and <bp-asm.h>.
18667 (__strnlen): Don't use BP_SYM.
18668 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18669 <bp-sym.h> and <bp-asm.h>.
18670 (__GI__setjmp): Don't use BP_SYM.
18671 (_setjmp): Likewise.
18672 (__sigsetjmp): Likewise.
18673 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18674 (L(start_addresses)): Don't use BP_SYM.
18675 (_start): Likewise.
18676 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18678 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18679 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18680 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18681 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18682 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18684 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18685 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18686 about bounded pointers.
18687 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18688 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18689 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18691 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18692 about bounded pointers. Remove GKM FIXME comments.
18693 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18694 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18696 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18697 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18698 Remove GKM FIXME comments.
18699 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18700 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18701 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18703 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18704 about bounded pointers. Remove GKM FIXME comment.
18705 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18707 (strncmp): Don't use BP_SYM. Remove comment about bounded
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18710 <bp-sym.h> and <bp-asm.h>.
18711 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18713 <bp-sym.h> and <bp-asm.h>.
18714 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18717 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18719 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18722 2013-03-05 David S. Miller <davem@davemloft.net>
18724 * po/es.po: Update from translation team.
18726 2013-03-05 Andreas Jaeger <aj@suse.de>
18728 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18729 <bits/mman-linux.h>.
18730 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18732 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18733 <bits/mman-linux.h> to end of file.
18734 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18736 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18737 <bits/mman-linux.h> to end of file.
18738 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18741 <bits/mman-linux.h> to end of file.
18743 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18744 (MCL_CURRENT, MCL_FUTURE): Define here.
18746 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18749 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18751 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18753 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18755 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18756 fourth parameter needed for rt_sigprocmask syscall.
18757 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18758 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18759 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18760 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18761 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18762 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18764 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18767 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18768 comment about bounded pointers.
18769 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18770 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18772 2013-03-04 Andreas Jaeger <aj@suse.de>
18774 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18775 common definitions.
18777 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18778 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18779 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18780 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18782 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18784 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18787 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18788 __ieee754_sqrl instead of __sqrl.
18790 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18792 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18793 * sysdeps/powerpc/fpu_control.h: ... here.
18794 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18795 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18796 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18797 * sysdeps/powerpc/bits/mathinline.h: ... here.
18799 2013-03-01 Roland McGrath <roland@hack.frob.com>
18801 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18802 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18803 to just [NEED_DL_SYSINFO_DSO].
18804 * elf/dl-support.c: Likewise.
18805 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18806 * elf/rtld.c (dl_main): Likewise.
18807 * elf/setup-vdso.h (setup_vdso): Likewise.
18808 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18809 * sysdeps/unix/sysv/linux/dl-sysdep.c
18810 (_dl_discover_osversion): Likewise.
18812 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18814 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18815 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18817 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18819 * NEWS: Mention libm performance improvements and non-x86 PI
18822 * csu/libc-start.c (__pthread_initialize_minimal): Change
18823 function arguments.
18824 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18826 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18829 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18830 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18831 <bp-sym.h> and <bp-asm.h>.
18832 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18833 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18835 (memcpy): Don't use BP_SYM.
18836 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18838 (__mpn_add_n): Don't use BP_SYM.
18839 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18840 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18842 (__mpn_addmul_1): Don't use BP_SYM.
18843 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18844 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18846 (_setjmp): Don't use BP_SYM.
18847 (__novmx_setjmp): Likewise.
18848 (__GI__setjmp): Likewise.
18849 (__vmx_setjmp): Likewise.
18850 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18852 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18853 (__bzero): Don't use BP_SYM.
18854 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18855 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18856 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18857 <bp-sym.h> and <bp-asm.h>.
18858 (memcpy): Don't use BP_SYM.
18859 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18860 <bp-sym.h> and <bp-asm.h>.
18861 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18862 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18863 <bp-sym.h> and <bp-asm.h>.
18864 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18865 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18867 (__mpn_lshift): Don't use BP_SYM.
18868 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18869 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18871 (memset): Don't use BP_SYM.
18872 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18873 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18874 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18876 (__mpn_mul_1): Don't use BP_SYM.
18877 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18879 <bp-sym.h> and <bp-asm.h>.
18880 (memcmp): Don't use BP_SYM.
18881 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18882 <bp-sym.h> and <bp-asm.h>.
18883 (memcpy): Don't use BP_SYM.
18884 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18885 <bp-sym.h> and <bp-asm.h>.
18886 (memset): Don't use BP_SYM.
18887 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18888 <bp-sym.h> and <bp-asm.h>.
18889 (strncmp): Don't use BP_SYM.
18890 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18891 <bp-sym.h> and <bp-asm.h>.
18892 (memcpy): Don't use BP_SYM.
18893 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18894 <bp-sym.h> and <bp-asm.h>.
18895 (memset): Don't use BP_SYM.
18896 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18897 <bp-sym.h> and <bp-asm.h>.
18898 (__memchr): Don't use BP_SYM.
18899 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18900 <bp-sym.h> and <bp-asm.h>.
18901 (memcmp): Don't use BP_SYM.
18902 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18903 <bp-sym.h> and <bp-asm.h>.
18904 (memcpy): Don't use BP_SYM.
18905 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18906 <bp-sym.h> and <bp-asm.h>.
18907 (__mempcpy): Don't use BP_SYM.
18908 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18909 <bp-sym.h> and <bp-asm.h>.
18910 (__memrchr): Don't use BP_SYM.
18911 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18912 <bp-sym.h> and <bp-asm.h>.
18913 (memset): Don't use BP_SYM.
18914 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18915 <bp-sym.h> and <bp-asm.h>.
18916 (__rawmemchr): Don't use BP_SYM.
18917 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18918 <bp-sym.h> and <bp-asm.h>.
18919 (__STRCMP): Don't use BP_SYM.
18920 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18921 <bp-sym.h> and <bp-asm.h>.
18922 (strchr): Don't use BP_SYM.
18923 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18924 <bp-sym.h> and <bp-asm.h>.
18925 (__strchrnul): Don't use BP_SYM.
18926 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18927 <bp-sym.h> and <bp-asm.h>.
18928 (strlen): Don't use BP_SYM.
18929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18930 <bp-sym.h> and <bp-asm.h>.
18931 (strncmp): Don't use BP_SYM.
18932 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18933 <bp-sym.h> and <bp-asm.h>.
18934 (__strnlen): Don't use BP_SYM.
18935 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18937 (__mpn_rshift): Don't use BP_SYM.
18938 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18939 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18940 <bp-sym.h> and <bp-asm.h>.
18941 (__sigsetjmp): Don't use BP_SYM.
18942 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18943 (L(start_addresses)): Don't use BP_SYM.
18944 (_start): Likewise.
18945 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18947 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18948 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18949 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18950 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18952 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18953 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18954 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18955 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18957 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18959 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18960 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18962 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18964 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18965 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18966 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18968 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18970 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18972 (strncmp): Don't use BP_SYM,
18973 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18975 (__mpn_sub_n): Don't use BP_SYM.
18976 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18977 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18979 (__mpn_submul_1): Don't use BP_SYM.
18980 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18982 <bp-sym.h> and <bp-asm.h>.
18983 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18985 <bp-sym.h> and <bp-asm.h>.
18986 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18989 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18992 Use ZK to minimize writes to Z.
18993 (sub_magnitudes): Simplify code a bit.
18994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18995 Use ZK to minimize writes to Z.
18996 (sub_magnitudes): Simplify code a bit.
18998 2013-02-27 Roland McGrath <roland@hack.frob.com>
19000 * csu/gmon-start.c: Add special exception to license text.
19002 2013-02-27 Richard Henderson <rth@redhat.com>
19004 * scripts/config.guess: Update from config.git.
19005 * scripts/config.sub: Likewise.
19007 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19009 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19011 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19013 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19015 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19017 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19019 2013-02-26 Roland McGrath <roland@hack.frob.com>
19021 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19022 [$(build-shared = yes].
19024 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19026 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19027 (__mul): Reduce iterations for calculating mantissa.
19029 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19031 (__mpranred): Likewise.
19034 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19035 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19037 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19039 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19040 Define __attribute__.
19042 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19044 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19046 * posix/regex_internal.h (__attribute): Remove.
19047 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19048 (re_string_context_at): Likewise.
19049 (bitset_not): Use __attribute__ and mark function as possibly
19051 (bitset_merge): Likewise.
19052 (bitset_mask): Likewise.
19053 (re_string_char_size_at): Likewise.
19054 (re_string_wchar_at): Likewise.
19055 (re_string_elem_size_at): Likewise.
19057 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19059 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19063 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19067 (denorm): Likewise.
19068 (__dbl_mp): Likewise.
19069 (add_magnitudes): Likewise.
19070 (sub_magnitudes): Likewise.
19074 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19077 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19080 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19084 up changes with default code.
19085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19088 2013-02-24 Allan McRae <allan@archlinux.org>
19090 * manual/socket.texi (The Internet Namespace): Order menu items
19091 to match that in the file.
19093 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19094 node listing of the info page menu.
19096 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19099 * sysdeps/i386/bp-asm.h: Remove file.
19100 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19101 (PARMS): Do not use macros from bp-asm.h.
19105 (__mpn_add_n): Do not use BP_SYM
19106 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19108 (PARMS): Do not use macros from bp-asm.h.
19111 (__mpn_addmul_1): Do not use BP_SYM
19112 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19114 (PARMS): Do not use macros from bp-asm.h.
19115 (SIGMSK): Likewise.
19116 (_setjmp): Likewise. Do not use BP_SYM.
19117 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19119 (PARMS): Do not use macros from bp-asm.h.
19120 (SIGMSK): Likewise.
19121 (setjmp): Likewise. Do not use BP_SYM.
19122 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19124 (PARMS): Do not use macros from bp-asm.h.
19125 (__frexp): Do not use BP_SYM.
19127 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19129 (PARMS): Do not use macros from bp-asm.h.
19130 (__frexpf): Do not use BP_SYM.
19131 (frexpf): Likewise.
19132 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19134 (PARMS): Do not use macros from bp-asm.h.
19135 (__frexpl): Do not use BP_SYM.
19136 (frexpl): Likewise.
19137 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19139 (PARMS): Do not use macros from bp-asm.h.
19140 (__remquo): Do not use BP_SYM.
19141 (remquo): Likewise.
19142 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19144 (PARMS): Do not use macros from bp-asm.h.
19145 (__remquof): Do not use BP_SYM.
19146 (remquof): Likewise.
19147 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19149 (PARMS): Do not use macros from bp-asm.h.
19150 (__remquol): Do not use BP_SYM.
19151 (remquol): Likewise.
19152 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19154 (PARMS): Do not use macros from bp-asm.h.
19157 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19158 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19160 (PARMS): Do not use macros from bp-asm.h.
19161 (strlen): Do not use BP_SYM.
19162 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19164 (PARMS): Do not use macros from bp-asm.h.
19168 (__mpn_add_n): Do not use BP_SYM.
19169 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19171 (PARMS): Do not use macros from bp-asm.h.
19174 (__mpn_addmul_1): Do not use BP_SYM.
19175 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19178 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19180 (PARMS): Do not use macros from bp-asm.h.
19183 (__mpn_lshift): Do not use BP_SYM.
19184 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19186 (PARMS): Do not use macros from bp-asm.h.
19190 (memcpy): Likewise. Do not use BP_SYM.
19191 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19192 libc_hidden_def and weak_alias.
19193 (mempcpy): Do not use BP_SYM in weak_alias.
19194 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19196 (PARMS): Do not use macros from bp-asm.h.
19199 [!BZERO_P] (CHR): Likewise.
19200 (memset): Likewise. Do not use BP_SYM.
19201 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19203 (PARMS): Do not use macros from bp-asm.h.
19206 (__mpn_mul_1): Do not use BP_SYM.
19207 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19209 (PARMS): Do not use macros from bp-asm.h.
19212 (__mpn_rshift): Do not use BP_SYM.
19213 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19215 (PARMS): Do not use macros from bp-asm.h.
19218 (strchr): Likewise. Do not use BP_SYM.
19219 (index): Do not use BP_SYM in weak_alias.
19220 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19222 (PARMS): Do not use macros from bp-asm.h.
19225 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19226 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19228 (PARMS): Do not use macros from bp-asm.h.
19229 (strlen): Do not use BP_SYM.
19230 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19232 (PARMS): Do not use macros from bp-asm.h.
19236 (__mpn_sub_n): Do not use BP_SYM.
19237 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19239 (PARMS): Do not use macros from bp-asm.h.
19242 (__mpn_submul_1): Do not use BP_SYM.
19243 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19245 (PARMS): Do not use macros from bp-asm.h.
19249 (__mpn_add_n): Do not use BP_SYM.
19250 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19253 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19255 (PARMS): Do not use macros from bp-asm.h.
19258 (memcmp): Do not use BP_SYM.
19259 (bcmp): Do not use BP_SYM in weak_alias.
19260 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19262 (PARMS): Do not use macros from bp-asm.h.
19266 (memcpy): Likewise. Do not use BP_SYM.
19267 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19269 (PARMS): Do not use macros from bp-asm.h.
19273 (memmove): Likewise. Do not use BP_SYM.
19274 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19276 (PARMS): Do not use macros from bp-asm.h.
19280 (__mempcpy): Likewise. Do not use BP_SYM.
19281 (mempcpy): Do not use BP_SYM in weak_alias.
19282 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19284 (PARMS): Do not use macros from bp-asm.h.
19287 [!BZERO_P] (CHR): Likewise.
19288 (memset): Likewise. Do not use BP_SYM.
19289 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19291 (PARMS): Do not use macros from bp-asm.h.
19293 (strcmp): Do not use BP_SYM.
19294 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19296 (PARMS): Do not use macros from bp-asm.h.
19299 [USE_AS_STRTOK_R] (SAVE): Likewise.
19300 (FUNCTION): Likewise. Do not use BP_SYM.
19301 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19303 (strtok_r): Likewise.
19304 (__GI___strtok_r): Likewise.
19305 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19306 (PARMS): Do not use macros from bp-asm.h.
19309 (__mpn_lshift): Do not use BP_SYM.
19310 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19311 (PARMS): Do not use macros from bp-asm.h.
19314 (__memchr): Do not use BP_SYM.
19315 (memchr): Do not use BP_SYM in weak_alias.
19316 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19317 (PARMS): Do not use macros from bp-asm.h.
19320 (memcmp): Do not use BP_SYM.
19321 (bcmp): Do not use BP_SYM in weak_alias.
19322 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19323 (PARMS): Do not use macros from bp-asm.h.
19326 (__mpn_mul_1): Do not use BP_SYM.
19327 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19329 (PARMS): Do not use macros from bp-asm.h.
19332 (__rawmemchr): Do not use BP_SYM.
19333 (rawmemchr): Do not use BP_SYM in weak_alias.
19334 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19335 (PARMS): Do not use macros from bp-asm.h.
19338 (__mpn_rshift): Do not use BP_SYM.
19339 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19340 (PARMS): Do not use macros from bp-asm.h.
19341 (SIGMSK): Likewise.
19342 (__sigsetjmp): Likewise. Do not use BP_SYM.
19343 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19344 (_start): Do not use BP_SYM.
19345 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19346 (PARMS): Do not use macros from bp-asm.h.
19349 (__stpcpy): Likewise. Do not use BP_SYM.
19350 (stpcpy): Do not use BP_SYM in weak_alias.
19351 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19353 (PARMS): Do not use macros from bp-asm.h.
19357 (__stpncpy): Likewise. Do not use BP_SYM.
19358 (stpncpy): Do not use BP_SYM in weak_alias.
19359 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19360 (PARMS): Do not use macros from bp-asm.h.
19363 (strchr): Likewise. Do not use BP_SYM.
19364 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19366 (PARMS): Do not use macros from bp-asm.h.
19369 (__strchrnul): Likewise. Do not use BP_SYM.
19370 (strchrnul): Do not use BP_SYM in weak_alias.
19371 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19373 (PARMS): Do not use macros from bp-asm.h.
19375 (strcspn): Do not use BP_SYM.
19376 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19378 (PARMS): Do not use macros from bp-asm.h.
19381 (strpbrk): Likewise. Do not use BP_SYM.
19382 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19384 (PARMS): Do not use macros from bp-asm.h.
19387 (strrchr): Likewise. Do not use BP_SYM.
19388 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19389 (PARMS): Do not use macros from bp-asm.h.
19391 (strspn): Do not use BP_SYM.
19392 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19393 (PARMS): Do not use macros from bp-asm.h.
19397 (FUNCTION): Likewise. Do not use BP_SYM.
19398 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19400 (strtok_r): Likewise.
19401 (__GI___strtok_r): Likewise.
19402 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19403 (PARMS): Do not use macros from bp-asm.h.
19407 (__mpn_sub_n): Do not use BP_SYM.
19408 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19410 (PARMS): Do not use macros from bp-asm.h.
19413 (__mpn_submul_1): Do not use BP_SYM.
19414 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19416 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19418 (PARMS): Do not use macros from bp-asm.h.
19423 (__clone): Do not use BP_SYM.
19424 (clone): Do not use BP_SYM in weak_alias.
19425 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19427 (PARMS): Do not use macros from bp-asm.h.
19429 (__mmap64): Do not use BP_SYM.
19430 (mmap64): Do not use BP_SYM in weak_alias.
19431 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19432 <bp-sym.h> and <bp-asm.h>.
19433 (PARMS): Do not use macros from bp-asm.h.
19434 (__posix_fadvise64_l64): Do not use BP_SYM.
19435 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19436 (PARMS): Do not use macros from bp-asm.h.
19438 (semtimedop): Do not use BP_SYM.
19439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19442 2013-02-21 Allan McRae <allan@archlinux.org>
19444 * manual/message.texi (Charset conversion in gettext):
19445 Move @end statement to beginning of line.
19447 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19455 (denorm): Likewise.
19456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19459 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19461 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19462 tail-call to the resolved function if pltexit isn't needed.
19464 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19467 or Y being zero as being unlikely.
19468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19471 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19473 * manual/nss.texi (System Databases and Name Service Switch):
19474 Remove frobnicate @pxref.
19476 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19478 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19479 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19481 2013-02-20 Petr Machata <pmachata@redhat.com>
19483 * elf/elf.h (R_ARM_TARGET1): New macro.
19484 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19485 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19486 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19487 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19488 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19489 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19490 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19491 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19492 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19493 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19494 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19495 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19496 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19497 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19498 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19499 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19500 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19501 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19502 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19503 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19504 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19505 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19506 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19507 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19508 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19509 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19510 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19511 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19512 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19513 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19514 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19515 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19516 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19517 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19518 (R_ARM_THM_GOT_BREL12): Likewise.
19519 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19520 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19521 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19522 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19523 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19524 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19525 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19526 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19527 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19529 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19531 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19532 __attribute_used__ to __attribute__ ((unused)).
19534 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19536 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19539 comment formatting.
19540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19542 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19545 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19547 (ENTER): Remove both macro definitions.
19549 (CHECK_BOUNDS_LOW): Likewise.
19550 (CHECK_BOUNDS_HIGH): Likewise.
19551 (CHECK_BOUNDS_BOTH): Likewise.
19552 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19553 (RETURN_BOUNDED_POINTER): Likewise.
19554 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19555 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19556 (POP_ERRNO_LOCATION_RETURN): Likewise.
19557 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19558 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19559 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19561 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19562 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19563 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19564 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19565 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19566 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19567 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19568 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19569 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19570 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19571 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19572 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19573 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19574 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19576 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19577 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19579 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19580 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19581 * sysdeps/i386/i586/memset.S (memset): Likewise.
19582 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19583 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19584 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19586 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19587 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19588 Change uses of L(2) to L(out).
19589 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19590 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19591 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19592 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19593 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19595 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19596 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19598 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19599 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19600 (RETURN): Do not use macro LEAVE.
19601 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19602 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19603 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19604 * sysdeps/i386/i686/memset.S (memset): Likewise.
19605 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19606 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19607 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19608 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19610 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19611 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19612 L(1_2) and L(1_3) into L(1).
19613 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19614 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19615 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19616 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19617 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19618 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19619 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19620 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19621 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19623 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19624 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19625 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19626 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19627 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19628 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19629 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19630 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19631 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19632 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19633 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19634 * sysdeps/i386/strspn.S (strspn): Likewise.
19635 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19637 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19638 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19639 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19640 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19641 L(1_3) into L(1_1).
19642 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19643 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19644 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19646 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19648 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19650 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19653 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19655 * math/atest-exp.c (exp_mpn): Remove ROUND.
19656 * math/atest-exp2.c (exp_mpn): Likewise.
19657 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19659 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19660 * stdlib/tst-tls-atexit-lib.c: Likewise.
19661 * stdlib/tst-tls-atexit.c: Likewise.
19663 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19665 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19666 and __attribute_alloc_size__.
19668 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19670 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19671 __attribute_alloc_size__.
19672 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19673 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19675 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19677 * include/programs/xmalloc.h: New file.
19678 * catgets/gencat.c: Include it.
19679 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19680 * elf/pldd.c: Likewise.
19681 * iconv/iconv_charmap.c: Likewise.
19682 * iconv/iconvconfig.c: Likewise.
19683 * iconv/strtab.c: Likewise.
19684 * locale/programs/locale.c: Likewise.
19685 * locale/programs/localedef.h: Likewise.
19686 * locale/programs/simple-hash.c: Likewise.
19687 * nscd/nscd.h: Likewise.
19688 * nss/makedb.c: Likewise.
19689 * sysdeps/generic/ldconfig.h: Likewise.
19691 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19693 * Versions.def: Add GLIBC_2.18.
19694 * include/link.h (struct link_map): New member l_tls_dtor_count.
19695 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19696 (__call_tls_dtors): Likewise.
19697 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19698 __cxa_thread_atexit_impl.
19699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19715 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19716 (tests): Add test case tst-tls-atexit.
19717 (modules-names): Add shared library for tst-tls-atexit.
19718 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19719 (GLIBC_PRIVATE): Add __call_tls_dtors.
19720 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19722 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19723 * stdlib/tst-tls-atexit.c: New test case.
19724 * stdlib/tst-tls-atexit-lib.c: New test case.
19726 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19728 * elf/Versions (ld): Add _dl_find_dso_for_object.
19729 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19730 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19731 (dl_open_worker): Use _dl_find_dso_for_object.
19732 * elf/dl-sym.c (do_sym): Likewise.
19733 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19735 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19737 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19738 Syntactic changes only.
19739 (_dl_runtime_profile): Do a tail-call to the resolved function.
19741 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19744 * sysdeps/x86_64/bp-asm.h: Remove file.
19745 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19746 <bp-sym.h> and <bp-asm.h>.
19747 (__clone): Do not use BP_SYM.
19748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19749 <bp-sym.h> and <bp-asm.h>.
19750 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19751 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19753 (_setjmp): Do not use BP_SYM.
19754 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19756 (setjmp): Do not use BP_SYM.
19757 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19759 (mempcpy): Do not use BP_SYM in weak_alias.
19760 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19762 (strchr): Do not use BP_SYM.
19763 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19765 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19766 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19767 (_start): Do not use BP_SYM.
19768 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19770 (strcat): Do not use BP_SYM.
19771 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19773 (STRCMP): Do not use BP_SYM.
19774 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19776 (STRCPY): Do not use BP_SYM.
19777 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19779 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19781 (FUNCTION): Do not use BP_SYM.
19782 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19784 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19786 2013-02-17 Andreas Jaeger <aj@suse.de>
19788 * time/Versions: Sort entries.
19789 * string/Versions: Likewise.
19790 * resolv/Versions: Likewise.
19791 * posix/Versions: Likewise.
19792 * iconv/Versions: Likewise.
19793 * elf/Versions: Likewise.
19794 * wcsmbs/Versions: Likewise.
19796 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19798 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19799 loop termination condition.
19801 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19802 variable to calculate EZ.
19805 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19806 the lower precision input.
19808 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19811 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19812 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19813 (run-via-rtld-prefix): Do not handle %-bp tests.
19814 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19815 (all-object-suffixes): Remove .ob.
19816 (bppfx): Remove variable.
19817 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19818 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19819 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19820 [$(build-bounded) = yes] (libtype.ob): Likewise.
19821 * Makerules (elide-routines.ob): Remove variable.
19822 (do-tests-clean): Do not handle *-bp.out.
19823 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19824 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19825 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19826 (tests): Do not include $(tests-bp.out).
19827 (xtests): Do not include $(xtests-bp.out).
19828 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19829 [$(build-bounded) = yes] ($(addprefix
19830 $(objpfx),$(binaries-bounded))): Remove rule.
19831 ($(objpfx)%-bp.out): Remove rule.
19832 * config.make.in (build-bounded): Remove variable.
19833 * crypt/Makefile [$(build-bounded) = yes]
19834 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19835 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19836 append to variable.
19837 [$(build-bounded) = yes] (install-lib): Likewise.
19838 [$(build-bounded) = yes] (generated): Likewise.
19839 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19841 * intl/Makefile [$(build-bounded) = yes]
19842 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19843 * math/Makefile [$(build-bounded) = yes]
19844 ($(tests:%=$(objpfx)%-bp): Likewise.
19845 * misc/Makefile [$(build-bounded) = yes]
19846 ($(objpfx)tst-tsearch-bp): Likewise.
19847 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19848 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19850 * string/Makefile (o-objects.ob): Remove variable.
19851 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19852 (CFLAGS-.ob): Remove variable.
19853 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19854 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19855 both definitions of variable.
19856 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19857 (ASFLAGS-.ob): Remove variable.
19859 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19862 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19863 Remove __BOUNDED_POINTERS__ from condition.
19864 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19865 * string/bits/string2.h [!__NO_STRING_INLINES &&
19866 !__BOUNDED_POINTERS__]: Likewise.
19867 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19869 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19870 Remove conditional code.
19871 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19872 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19873 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19877 * csu/libc-start.c: Do not include <bp-sym.h>.
19878 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19879 * elf/dl-open.c: Do not include <bp-sym.h>.
19880 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19881 * math/fegetenv.c: Do not include <bp-sym.h>.
19882 (fegetenv): Do not use BP_SYM in versioned symbols.
19883 * nptl/sysdeps/pthread/bits/libc-lockP.h
19884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19887 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19889 (__pthread_mutex_destroy): Likewise.
19890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19891 (__pthread_mutex_lock): Likewise.
19892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19893 (__pthread_mutex_trylock): Likewise.
19894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19895 (__pthread_mutex_unlock): Likewise.
19896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19897 (__pthread_mutexattr_init): Likewise.
19898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19899 (__pthread_mutexattr_destroy): Likewise.
19900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19901 (__pthread_mutexattr_settype): Likewise.
19902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19903 (__pthread_rwlock_init): Likewise.
19904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19905 (__pthread_rwlock_destroy): Likewise.
19906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19907 (__pthread_rwlock_rdlock): Likewise.
19908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19909 (__pthread_rwlock_tryrdlock): Likewise.
19910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19911 (__pthread_rwlock_wrlock): Likewise.
19912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19913 (__pthread_rwlock_trywrlock): Likewise.
19914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19915 (__pthread_rwlock_unlock): Likewise.
19916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19917 (__pthread_key_create): Likewise.
19918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19919 (__pthread_setspecific): Likewise.
19920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19921 (__pthread_getspecific): Likewise.
19922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19925 (_pthread_cleanup_push_defer): Likewise.
19926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19927 (_pthread_cleanup_pop_restore): Likewise.
19928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19929 (pthread_setcancelstate): Likewise.
19930 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19932 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19933 (memchr): Do not use BP_SYM in weak_alias.
19934 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19935 (fegetenv): Do not use BP_SYM in versioned symbols.
19936 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19937 (fesetenv): Do not use BP_SYM in versioned symbols.
19938 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19939 (feupdateenv): Do not use BP_SYM in versioned symbols.
19940 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19941 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19942 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19943 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19944 (open64): Do not use BP_SYM in weak_alias.
19945 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19946 (fegetenv): Do not use BP_SYM in versioned symbols.
19947 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19948 (fesetenv): Do not use BP_SYM in versioned symbols.
19949 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19950 (feupdateenv): Do not use BP_SYM in versioned symbols.
19951 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19952 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19953 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19954 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19955 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19956 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19957 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19959 (__libc_start_main): Do not use BP_SYM.
19961 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19964 redundant return line.
19966 (denorm): Likewise.
19967 (dbl_mp): Likewise.
19968 (sub_magnitudes): Likewise.
19974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19976 (denorm): Likewise.
19977 (dbl_mp): Likewise.
19978 (sub_magnitudes): Likewise.
19985 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19987 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19988 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19991 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19992 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19994 of __mul for squares.
19995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19999 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20000 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20002 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20005 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20007 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20008 prototype or function definition. Rename ubp_* variables and
20009 parameters. Remove argv definitions conditional on
20010 [__BOUNDED_POINTERS__].
20011 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20012 * elf/dl-runtime.c (_dl_fixup): Likewise.
20013 * include/set-hooks.h (RUN_HOOK): Likewise.
20014 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20016 * string/strcpy.c (strcpy): Do not use __unbounded.
20017 * sysdeps/generic/frame.h (struct layout): Likewise.
20018 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20019 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20020 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20021 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20022 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20023 (__backtrace): Likewise.
20024 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20026 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20027 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20028 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20030 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20031 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20032 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20033 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20034 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20035 Do not use __unbounded.
20036 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20037 Rename __unboundedrlimits parameter to rlimits in prototype.
20038 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20039 Do not use __unbounded.
20040 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20041 not use __ptrvalue.
20042 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20043 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20044 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20045 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20046 __ptrvalue or __unbounded.
20047 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20048 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20050 (__new_msgctl): Do not use __ptrvalue.
20051 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20053 (__libc_msgrcv): Do not use __ptrvalue.
20054 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20055 startup_info): Do not use __unbounded.
20056 (__libc_start_main): Likewise. Rename ubp_* variables and
20057 parameters. Remove argv definitions conditional on
20058 [__BOUNDED_POINTERS__].
20059 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20061 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20063 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20065 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20067 (__new_shmctl): Do not use __ptrvalue.
20068 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20069 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20071 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20073 (__libc_sigaction): Likewise.
20074 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20075 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20077 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20079 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20081 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20083 * string/mempcpy.c: Implement by calling memcpy.
20085 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20092 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20093 values in the mantissa.
20095 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20096 minimize writes to Z.
20097 (sub_magnitudes): Simplify code a bit.
20099 2013-02-12 Roland McGrath <roland@hack.frob.com>
20101 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20102 from the message. The linker prefixes all warnings with that already.
20104 2013-02-12 Andreas Schwab <schwab@suse.de>
20107 * posix/regexec.c (extend_buffers): Add parameter min_len.
20108 (check_matching): Pass minimum needed length.
20109 (clean_state_log_if_needed): Likewise.
20110 (get_subexp): Likewise.
20111 * posix/Makefile (tests): Add bug-regex34.
20112 (bug-regex34-ENV): Define.
20113 * posix/bug-regex34.c: New file.
20116 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20117 elements compare against the byte sequence of it, not its name.
20118 * posix/Makefile (tests): Add bug-regex35.
20119 (bug-regex35-ENV): Define.
20120 * posix/bug-regex35.c: New file.
20122 2013-02-11 Tom de Vries <tom@codesourcery.com>
20124 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20126 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20127 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20128 (CHECK_EOL): Add undef.
20130 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20132 * bits/stdlib-bsearch.h: New file.
20133 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20134 * stdlib/stdlib.h: Likewise.
20136 2013-02-11 Roland McGrath <roland@hack.frob.com>
20138 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20139 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20141 * manual/search.texi (Array Search Function): Add missing const in
20143 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20144 declaration to use rlim_t.
20145 (Basic Scheduling Functions): Remove erroneous const from
20146 sched_getparam prototype. Remove erroneous * from
20147 sched_get_priority_max and sched_get_priority_min prototypes.
20148 (Resource Usage): Fix summary @comment on vtimes to refer to
20149 sys/vtimes.h rather than vtimes.h.
20150 Add missing *s in vtimes prototype.
20151 (Limits on Resources): Fix ulimit prototype to return long int.
20152 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20153 prototypes to use long int rather than double.
20154 (BSD Random): Fix initstate and setstate to use char *, not void *.
20155 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20156 prototype to make second argument 'struct aiocb64 *const[]'.
20157 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20158 (Status of AIO Operations): Remove erroneous const in aio_return and
20159 aio_return64 prototypes.
20160 (Synchronizing I/O): Fix sync prototype to return void.
20161 * manual/startup.texi (Suboptions): Remove an erroneous const in
20162 getsubopt prototype.
20163 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20164 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20165 use size_t rather than int.
20166 (Scanning All Users): Likewise for getpwent_r.
20167 (Setting Groups): Add missing const to setgroups prototype.
20168 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20169 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20170 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20171 'const void *' rather than 'const char *'.
20172 (Host Address Functions): Likewise for inet_ntop.
20173 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20174 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20175 ssize_t for return value.
20176 (Sending Data): Likewise for send, sendto, sendmsg.
20177 (Socket Option Functions): Add a missing const in setsockopt prototype.
20178 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20179 use wchar_t for the argument.
20180 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20181 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20183 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20184 double/float/long double for second argument.
20185 Fix return types of significand, significandf, significandl.
20186 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20187 argument in fchmod prototype.
20188 (File Owner): Use uid_t and gid_t in fchown prototype.
20189 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20190 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20191 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20192 use 'const struct dirent **' as argument types to CMP function pointer
20194 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20195 (File Times): Fix summary magic @comment for struct utimbuf and utime
20196 to refer to utime.h, not time.h.
20197 * manual/string.texi (Argz Functions): Add missing const in
20198 argz_extract and argz_next prototypes.
20199 (Finding Tokens in a String): Likewise for basename.
20200 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20201 (Copying and Concatenation): Fix typo in wmemmove prototype.
20202 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20203 (Signal Stack): Remove erroneous const in sigstack prototype.
20204 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20206 (Simple Calendar Time): Likewise for stime.
20207 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20209 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20210 say sys/sysctl.h instead.
20211 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20212 and vsyslog prototypes.
20214 2013-02-11 Tom de Vries <tom@codesourcery.com>
20216 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20219 2013-02-11 Roland McGrath <roland@hack.frob.com>
20221 * misc/sys/mman.h: Fix typo in mremap comment.
20223 2013-02-08 Roland McGrath <roland@hack.frob.com>
20225 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20226 the '\0' terminator.
20228 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20231 * debug/segfault.c: Don't include <bp-checks.h>.
20232 * sysdeps/generic/bp-checks.h: Remove file.
20233 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20234 (__GETDENTS): Don't use CHECK_N.
20235 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20236 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20237 (__getgroups): Don't use CHECK_N.
20238 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20239 (setgroups): Don't use CHECK_N.
20240 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20241 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20242 (__libc_msgrcv): Don't use CHECK_N.
20243 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20244 (__libc_msgsnd): Don't use CHECK_N.
20245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20247 (__libc_pread): Don't use CHECK_N.
20248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20249 include <bp-checks.h>.
20250 (__libc_pread64): Don't use CHECK_N.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20252 include <bp-checks.h>.
20253 (__libc_pwrite): Don't use CHECK_N.
20254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20255 include <bp-checks.h>.
20256 (__libc_pwrite64): Don't use CHECK_N.
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20259 (__libc_pread): Don't use CHECK_N.
20260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20261 include <bp-checks.h>.
20262 (__libc_pread64): Don't use CHECK_N.
20263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20264 include <bp-checks.h>.
20265 (__libc_pwrite): Don't use CHECK_N.
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20267 include <bp-checks.h>.
20268 (__libc_pwrite64): Don't use CHECK_N.
20269 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20270 (do_pread): Don't use CHECK_N.
20271 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20272 (do_pread64): Don't use CHECK_N.
20273 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20274 (do_pwrite): Don't use CHECK_N.
20275 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20276 (do_pwrite64): Don't use CHECK_N.
20277 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20278 (__libc_readv): Don't use CHECK_N.
20279 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20280 (semop): Don't use CHECK_N.
20281 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20283 (semtimedop): Don't use CHECK_N.
20284 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20285 (__libc_pread): Don't use CHECK_N.
20286 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20288 (__libc_pread64): Don't use CHECK_N.
20289 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20291 (__libc_pwrite): Don't use CHECK_N.
20292 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20294 (__libc_pwrite64): Don't use CHECK_N.
20295 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20297 (__libc_msgrcv): Don't use CHECK_N.
20298 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20299 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20300 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20301 (__libc_writev): Don't use CHECK_N.
20303 2013-02-08 Roland McGrath <roland@hack.frob.com>
20305 * string/strcpy.c: Removed unused variable.
20307 * Makeconfig (+sysdep-includes): Define with := rather than =.
20308 Use an existing include/ subdir of each sysdeps dir before it.
20310 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20312 * nscd/connection.c (register_traced_file): Comment function.
20313 [HAVE_INOTIFY] (union __inev): Define.
20314 [HAVE_INOTIFY] (inotify_check_files): New function.
20315 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20316 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20318 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20320 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20322 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20323 loaded if not already and that a failure is permanent.
20325 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20328 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20329 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20331 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20334 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20335 (CHECK_1_NULL_OK): Likewise.
20336 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20337 (__fxstat): Do not use CHECK_1.
20338 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20340 (___fxstat64): Do not use CHECK_1.
20341 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20343 (__fxstatat): Do not use CHECK_1.
20344 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20346 (__fxstatat64): Do not use CHECK_1.
20347 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20349 (__fxstat): Do not use CHECK_1.
20350 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20352 (__fxstatat): Do not use CHECK_1.
20353 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20355 (__getresgid): Do not use CHECK_1.
20356 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20358 (__getresuid): Do not use CHECK_1.
20359 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20361 (__lxstat): Do not use CHECK_1.
20362 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20364 (__old_msgctl): Do not use CHECK_1.
20365 (__new_msgctl): Likewise.
20366 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20368 (__new_setrlimit): Do not use CHECK_1.
20369 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20371 (__old_shmctl): Do not use CHECK_1.
20372 (__new_shmctl): Likewise.
20373 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20375 (__xstat): Do not use CHECK_1.
20376 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20377 (__lxstat): Do not use CHECK_1.
20378 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20380 (___lxstat64): Do not use CHECK_1.
20381 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20382 (__old_msgctl): Do not use CHECK_1.
20383 (__new_msgctl): Likewise.
20384 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20386 (__gettimeofday): Do not use CHECK_1.
20387 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20388 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20389 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20391 (__gettimeofday): Do not use CHECK_1.
20392 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20393 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20394 (__new_shmctl): Do not use CHECK_1.
20395 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20397 (do_sigtimedwait): Do not use CHECK_1.
20398 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20400 (do_sigwaitinfo): Do not use CHECK_1.
20401 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20403 (msgctl): Do not use CHECK_1.
20404 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20406 (shmctl): Do not use CHECK_1.
20407 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20408 (ustat): Do not use CHECK_1.
20409 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20411 (__fxstat): Do not use CHECK_1.
20412 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20414 (__fxstatat): Do not use CHECK_1.
20415 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20417 (__lxstat): Do not use CHECK_1.
20418 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20420 (__xstat): Do not use CHECK_1.
20421 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20422 (__xstat): Do not use CHECK_1.
20423 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20424 (___xstat64): Do not use CHECK_1.
20427 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20429 (CHECK_BOUNDS_HIGH): Likewise.
20430 * string/strcpy.c: Do not include <bp-checks.h>.
20431 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20433 2013-02-07 Roland McGrath <roland@hack.frob.com>
20435 * nscd/nscd-client.h (__nscd_drop_map_ref):
20436 Add __attribute__ ((unused)).
20437 * nis/nss-nisplus.h (niserr2nss): Likewise.
20439 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20440 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20442 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20443 Remove inline keyword.
20444 * include/rounding-mode.h (round_away): Likewise.
20445 * libio/wfileops.c (adjust_wide_data): Likewise.
20446 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20447 (__m128i_strloadu_tolower): Likewise.
20448 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20449 (__m128i_strloadu_tolower): Likewise.
20450 * time/mktime.c (ydhms_diff): Likewise.
20451 * locale/elem-hash.h (elem_hash): Likewise.
20452 * locale/setlocale.c (setdata): Likewise.
20453 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20454 (re_string_wchar_at): Likewise.
20455 (bitset_not, bitset_merge, bitset_mask): Likewise.
20456 [!(__GNUC__ > 3)] (inline): Remove macro.
20457 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20458 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20459 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20460 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20461 * string/memcmp.c (memcmp_bytes): Likewise.
20462 * locale/programs/locarchive.c (compute_hashval): Likewise.
20463 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20464 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20465 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20466 * nss/getent.c (print_rpc, print_protocols): Likewise.
20467 (print_passwd, print_group, print_aliases): Likewise.
20468 * nis/nss-nisplus.h (niserr2nss): Likewise.
20469 * nscd/connections.c (restart_p): Likewise.
20470 Change return type to bool.
20472 2013-02-05 Roland McGrath <roland@hack.frob.com>
20474 * Makeconfig (all-Depend-files): Add existing
20475 $(sorted-subdirs:=/Depend) files.
20476 (all-subdirs): Remove nss.
20477 * sysdeps/unix/inet/Subdirs: Add it here instead.
20478 * hesiod/Depend: New file.
20480 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20481 instead of calling alloca.
20483 * io/lseek.c (__lseek): Rename to __libc_lseek.
20484 Define __lseek as an alias.
20486 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20488 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20490 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20491 else clause and remove check for non-standard endianness.
20493 2013-02-04 David S. Miller <davem@davemloft.net>
20495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20497 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20500 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20501 (__ubp_memchr): Remove prototype.
20502 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20503 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20504 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20505 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20506 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20508 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20509 (__ubp_memchr): Likewise.
20510 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20511 (__ubp_memchr): Likewise.
20512 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20513 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20514 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20515 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20517 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20518 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20519 (__getcwd): Do not use CHECK_STRING.
20520 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20522 (__real_chown): Do not use CHECK_STRING.
20523 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20525 (fchownat): Do not use CHECK_STRING.
20526 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20528 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20530 (__lchown): Do not use CHECK_STRING.
20531 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20532 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20533 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20534 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20536 include <bp-checks.h>.
20537 (truncate64): Do not use CHECK_STRING.
20538 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20540 (__real_chown): Do not use CHECK_STRING.
20541 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20543 (__lchown): Do not use CHECK_STRING.
20544 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20546 (__chown): Do not use CHECK_STRING.
20547 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20549 (truncate64): Do not use CHECK_STRING.
20550 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20552 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20553 (__xmknod): Do not use CHECK_STRING.
20554 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20556 (__xmknodat): Do not use CHECK_STRING.
20557 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20558 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20560 2013-02-04 Andreas Schwab <schwab@suse.de>
20563 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20564 * include/netdb.h: Likewise for h_errno.
20565 * elf/tst-stackguard1.c: Include <tls.h>.
20567 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20569 * elf/link.h (struct link_map): Extend the l_addr comment.
20570 * include/link.h (struct link_map): Likewise.
20572 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20575 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20576 (BOUNDED_1): Remove macro.
20577 * debug/backtrace.c: Don't include <bp-checks.h>.
20578 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20579 (__backtrace): Likewise.
20580 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20582 (__backtrace): Don't use BOUNDED_1.
20583 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20585 (__backtrace): Don't use BOUNDED_1.
20586 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20587 (__backtrace): Don't use BOUNDED_1.
20588 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20589 (shmat): Don't use BOUNDED_N.
20591 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20594 * sysdeps/generic/bp-start.h: Remove file.
20595 * csu/libc-start.c: Don't include <bp-start.h>.
20596 (LIBC_START_MAIN): Set up __environ directly instead of using
20597 INIT_ARGV_and_ENVIRON.
20598 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20602 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20604 (CHECK_FCNTL): Likewise.
20605 (CHECK_N_PAGES): Likewise.
20608 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20610 (CHECK_SIGSET_NULL_OK): Likewise.
20611 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20613 (sigpending): Don't use CHECK_SIGSET.
20614 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20616 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20617 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20619 (do_sigsuspend): Don't use CHECK_SIGSET.
20620 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20622 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20623 (do_sigwait): Don't use CHECK_SIGSET.
20624 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20626 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20627 include <bp-checks.h>.
20628 (sigpending): Don't use CHECK_SIGSET.
20629 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20630 include <bp-checks.h>.
20631 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20632 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20634 (sigpending): Don't use CHECK_SIGSET.
20635 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20637 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20640 * sysdeps/generic/bp-semctl.h: Remove file.
20641 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20642 <bp-checks.h> and <bp-semctl.h>.
20643 (__old_semctl): Don't use CHECK_SEMCTL.
20644 (__new_semctl): Likewise.
20645 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20647 (__old_semctl): Don't use CHECK_SEMCTL.
20648 (__new_semctl): Likewise.
20649 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20650 <bp-checks.h> and <bp-semctl.h>.
20651 (__old_semctl): Don't use CHECK_SEMCTL.
20652 (__new_semctl): Likewise.
20653 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20654 <bp-checks.h> and <bp-semctl.h>.
20655 (semctl): Don't use CHECK_SEMCTL.
20658 * Makerules (elide-bp-thunks): Remove variable.
20659 (elide-routines.oS): Don't use $(elide-bp-thunks).
20660 (elide-routines.os): Likewise.
20661 (elide-routines.o): Likewise.
20662 (elide-routines.op): Likewise.
20663 (elide-routines.og): Likewise.
20664 (objects): Don't use $(bp-thunks).
20665 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20667 (common-generated): Do not add s-proto-bp.d.
20668 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20671 Do not generate makefile rules for bounded-pointer thunks.
20672 * sysdeps/generic/bp-thunks.h: Remove file.
20673 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20674 * sysdeps/unix/s-proto-bp.S: Likewise.
20677 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20678 parts of result separately when argument is not close to line from
20679 -i to i and one part of argument is small.
20680 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20681 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20682 * math/libm-test.inc (cacos_test): Add more tests.
20683 (casin_test): Likewise.
20684 (casinh_test): Likewise.
20685 * sysdeps/i386/fpu/libm-test-ulps: Update.
20686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20688 2013-01-31 David S. Miller <davem@davemloft.net>
20690 * po/de.po: Update from translation team.
20692 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20694 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20696 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20698 * configure.in (_AC_PROG_CC_C89): New definition.
20699 * configure: Regenerate.
20701 * configure.in (AC_PROG_CPP): New definition.
20702 * configure: Regenerate.
20704 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20706 * debug/tst-backtrace.h: New file.
20707 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20708 (ret): Remove variable.
20710 (FAIL): Remove macro.
20711 (NO_INLINE): Likewise.
20712 (fn1): Use match function instead of strstr.
20713 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20714 (ret): Remove variable.
20716 (FAIL): Remove macro.
20717 (NO_INLINE): Likewise.
20718 (fn): Use match function instead of strstr.
20719 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20720 (ret): Remove variable.
20722 (FAIL): Remove macro.
20723 (NO_INLINE): Likewise.
20724 (handle_signal): Use match function instead of strstr.
20725 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20726 (ret): Remove variable.
20728 (FAIL): Remove macro.
20729 (NO_INLINE): Likewise.
20730 (handle_signal): Use match function instead of strstr.
20732 2013-01-23 Roland McGrath <roland@hack.frob.com>
20734 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20736 2013-01-23 David S. Miller <davem@davemloft.net>
20738 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20739 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20740 argument of CAS if possible.
20741 * sysdeps/sparc/sparc64/bits/atomic.h
20742 (__arch_compare_and_exchange_val_32_acq): Likewise.
20743 (__arch_compare_and_exchange_val_64_acq): Likewise.
20745 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20747 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20748 * sysdeps/posix/ulimit.c: ... this.
20749 Include <limits.h>.
20750 * sysdeps/unix/bsd/ulimit.c: Remove file.
20752 2013-01-23 Adam Conrad <adconrad@0c3.net>
20754 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20755 (LDFLAGS-tst-array5): Likewise.
20757 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20760 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20761 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20762 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20763 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20765 2013-01-21 David S. Miller <davem@davemloft.net>
20767 * sysdeps/sparc/backtrace.c: New file.
20768 * sysdeps/sparc/sparc32/backtrace.h: New file.
20769 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20770 * sysdeps/sparc/sparc64/backtrace.h: New file.
20771 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20772 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20775 2013-01-21 Andreas Schwab <schwab@suse.de>
20778 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20781 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20787 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20788 Mark Mitchell <mark@codesourcery.com>
20789 Tom de Vries <tom@codesourcery.com>
20790 Paul Pluzhnikov <ppluzhnikov@google.com>
20792 * debug/tst-backtrace2.c: New file.
20793 * debug/tst-backtrace3.c: Likewise.
20794 * debug/tst-backtrace4.c: Likewise.
20795 * debug/tst-backtrace5.c: Likewise.
20796 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20797 (CFLAGS-tst-backtrace3.c): Likewise.
20798 (CFLAGS-tst-backtrace4.c): Likewise.
20799 (CFLAGS-tst-backtrace5.c): Likewise.
20800 (LDFLAGS-tst-backtrace2): Likewise.
20801 (LDFLAGS-tst-backtrace3): Likewise.
20802 (LDFLAGS-tst-backtrace4): Likewise.
20803 (LDFLAGS-tst-backtrace5): Likewise.
20804 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20805 tst-backtrace4 and tst-backtrace5.
20807 2013-01-18 Anton Blanchard <anton@samba.org>
20808 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20810 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20811 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20812 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20813 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20815 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20816 "+r" and remove output regs list as redundant. Add explicit inline
20817 asm to specify register of return val to work around compiler codegen
20818 bug. Remove (int) cast on return value. Add return type parameter to
20819 use in macro so that this macro does not truncate return value for
20821 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20822 pass to INTERNAL_VSYSCALL_NCS.
20823 (INLINE_VSYSCALL): Add 'long int' as return type to
20824 INTERNAL_VSYSCALL_NCS macro invocation.
20825 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20826 INTERNAL_VSYSCALL_NCS macro invocation.
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20829 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20832 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20833 Fix application of SIMD FP exception mask.
20835 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20836 mp_no from a power of two.
20837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20838 __mpexp_twomm1. Use __pow_mp.
20840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20843 2013-01-17 David S. Miller <davem@davemloft.net>
20845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20847 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20850 * include/complex.h: Condition contents on [!_COMPLEX_H].
20851 (__kernel_casinhf): New prototype.
20852 (__kernel_casinh): Likewise.
20853 (__kernel_casinhl): Likewise.
20854 * math/Makefile (libm_calls): Add k_casinh.
20855 * math/k_casinh.c: New file.
20856 * math/k_casinhf.c: Likewise.
20857 * math/k_casinhl.c: Likewise.
20858 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20859 finite nonzero arguments.
20860 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20861 finite nonzero arguments.
20862 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20863 finite nonzero arguments.
20864 * math/s_casinh.c: Do not include <float.h>.
20865 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20866 * math/s_casinhf.c: Do not include <float.h>.
20867 (__casinhf): Move code for finite nonzero arguments to
20869 * math/s_casinhl.c: Do not include <float.h>.
20870 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20872 (__casinhl): Move code for finite nonzero arguments to
20874 * math/libm-test.inc (cacos_test): Add more tests.
20875 * sysdeps/i386/fpu/libm-test-ulps: Update.
20876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20878 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20880 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20881 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20882 [!HAVE_MREMAP]: Remove [defined linux] case.
20883 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20885 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20887 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20889 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20891 * elf/elf.h (R_386_SIZE32): New relocation.
20892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20894 (elf_machine_rela): Likewise.
20895 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20896 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20898 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20900 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20901 (FP_FAST_FMA): Do not define.
20902 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20903 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20904 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20905 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20906 !_SOFT_FLOAT]: Likewise.
20907 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20908 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20910 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20911 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20912 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20913 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20914 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20915 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20918 2013-01-16 Andreas Schwab <schwab@suse.de>
20921 * include/stdlib.h (__mktemp): Add declaration.
20922 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20923 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20925 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20927 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20929 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20930 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20931 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20933 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20934 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20936 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20938 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20939 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20940 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20942 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20943 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20945 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20947 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20949 2013-01-15 David S. Miller <davem@davemloft.net>
20951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20952 trunc{,f} to libm-sysdep_routes.
20953 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20963 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20964 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20965 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20966 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20967 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20968 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20971 nearbyint{,f} to libm-sysdep_routes.
20972 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20983 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20986 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20989 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20990 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20992 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20993 libc_feholdexcept and libc_fesetenv.
20995 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20997 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20999 2013-01-14 David S. Miller <davem@davemloft.net>
21001 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21002 (SPARC_ASM_VIS2_IFUNC): Likewise.
21003 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21005 use of 'siam' instruction.
21006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21039 routines to libm-sysdep_routines.
21040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21043 fdim/fdimf to libm-sysdep_routines.
21044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21052 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21053 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21054 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21055 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21057 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21060 to optimize copies.
21062 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21067 local variable MPTWO.
21068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21071 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21073 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21076 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21078 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21080 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21082 * manual/pattern.texi (glob_t): Document gl_flags.
21083 (glob64_t): Likewise.
21085 2013-01-11 David S. Miller <davem@davemloft.net>
21087 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21088 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21089 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21090 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21091 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21092 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21093 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21094 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21095 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21096 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21097 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21098 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21099 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21102 sparc V9 rather than using V8 code.
21103 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21104 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21106 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21108 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21111 2013-01-11 Roland McGrath <roland@hack.frob.com>
21113 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21114 not in the main loop.
21115 * configure: Regenerated.
21117 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21119 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21120 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21122 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21123 [!__GLIBC_HAVE_LONG_LONG] case.
21124 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21125 condition to just #else.
21126 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21127 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21128 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21129 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21131 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21132 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21133 #elif condition to just #else.
21134 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21135 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21136 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21137 #elif condition to just #else.
21139 2013-01-11 Steve Ellcey <sellcey@mips.com>
21141 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21142 (EF_MIPS_ARCH_64): Fix value.
21143 (EF_MIPS_ARCH_32R2): New.
21144 (EF_MIPS_ARCH_64R2): New.
21146 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21148 * Makeconfig (+link-pie-before-libc): New.
21149 (+link-pie-after-libc): Likewise.
21150 (+link-pie-tests): Likewise.
21151 (+link-pie): Rewritten.
21152 (link-before-libc): Remove $(config-LDFLAGS).
21153 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21154 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21155 (config-LDFLAGS): Renamed to ...
21156 (rtld-LDFLAGS): This.
21157 (rtld-tests-LDFLAGS): New macro.
21158 (link-libc-rpath-link): Likewise.
21159 (link-libc-tests-rpath-link): Likewise.
21160 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21161 (link-libc): Prepand $(link-libc-rpath-link).
21162 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21163 (test-program-prefix): New macro.
21164 (test-via-rtld-prefix): Likewise.
21165 (test-program-cmd): Likewise.
21166 (host-test-program-cmd): Likewise.
21167 * Makefile ($(common-objpfx)testrun.sh): Replace
21168 $(run-program-prefix) with $(test-program-prefix).
21169 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21171 ($(common-objpfx)shlib.lds): Likewise.
21172 (build-module-helper): Likewise.
21173 ($(common-objpfx)format.lds): Likewise.
21174 * Rules (binaries-pie-tests): New.
21175 (binaries-pie-notests): Likewise.
21176 (binaries-pie): Rewritten.
21177 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21178 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21179 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21180 (make-test-out): Replace $(host-built-program-cmd) with
21181 $(host-test-program-cmd).
21182 * config.make.in (build-hardcoded-path-in-tests): New variable.
21183 * configure.in (--enable-hardcoded-path-in-tests): New configure
21185 (hardcoded_path_in_tests): New AC_SUBST.
21186 * configure: Regenerated.
21187 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21188 $(built-program-cmd) with $(test-program-cmd).
21189 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21190 (test_program_cmd): This.
21191 * elf/Makefile ($(objpfx)order.out): Run test with
21192 $(test-program-prefix).
21193 ($(objpfx)order2.out): Likewise.
21194 ($(objpfx)tst-initorder.out): Likewise.
21195 ($(objpfx)tst-initorder2.out): Likewise.
21196 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21197 $(test-program-cmd).
21198 ($(objpfx)tst-array1-static.out): Likewise.
21199 ($(objpfx)tst-array2.out): Likewise.
21200 ($(objpfx)tst-array3.out): Likewise.
21201 ($(objpfx)tst-array4.out): Likewise.
21202 ($(objpfx)tst-array5.out): Likewise.
21203 ($(objpfx)tst-array5-static.out): Likewise.
21204 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21205 $(test-program-cmd).
21206 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21207 $(run-program-prefix) with $(test-program-prefix).
21208 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21209 (test_program_prefix): This.
21210 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21211 $(run-program-prefix) with $(test-program-prefix).
21212 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21213 (test_program_prefix): This.
21214 * iconvdata/tst-tables.sh: Likewise.
21215 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21216 $(run-program-prefix) with $(test-program-prefix).
21217 ($(objpfx)tst-translit.out): Likewise.
21218 ($(objpfx)tst-gettext2.out): Likewise.
21219 ($(objpfx)tst-gettext4.out): Likewise.
21220 ($(objpfx)tst-gettext6.out): Likewise.
21221 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21222 (test_program_prefix): This.
21223 * intl/tst-gettext2.sh: Likewise.
21224 * intl/tst-gettext4.sh Likewise.
21225 * intl/tst-gettext6.sh: Likewise.
21226 * intl/tst-translit.sh: Likewise.
21227 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21228 with $(test-program-cmd).
21229 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21230 $(run-program-prefix) with $(test-program-prefix).
21231 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21232 (test_program_prefix): This.
21233 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21234 $(run-program-prefix) with $(test-program-prefix).
21235 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21236 (test_program_prefix): This.
21237 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21238 * posix/Makefile ($(objpfx)globtest.out): Replace
21239 $(run-via-rtld-prefix) and $(test-wrapper) with
21240 $(test-program-prefix) and $(test-via-rtld-prefix).
21241 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21242 $(test-program-prefix).
21243 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21244 $(host-test-program-cmd).
21245 (tst-spawn-ARGS): Likewise.
21246 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21247 $(test-program-prefix).
21248 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21249 (test_via_rtld_prefix): This.
21250 (test_wrapper): Renamed to ...
21251 (test_program_prefix): This.
21252 (run_program_prefix): Replaced by test_program_prefix.
21253 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21254 (test_program_prefix): This.
21255 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21256 with $(host-test-program-cmd).
21257 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21258 $(run-program-prefix) with $(test-program-prefix).
21259 ($(objpfx)tst-printf.out): Likewise.
21260 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21261 $(test-program-cmd).
21262 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21263 (test_program_prefix): This.
21264 * stdio-common/tst-unbputc.sh: Likewise.
21265 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21266 $(run-program-prefix) with $(test-program-prefix).
21267 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21268 (test_program_prefix): This.
21269 * string/Makefile ($(objpfx)tst-svc.out): Replace
21270 $(built-program-cmd) with $(test-program-cmd).
21272 2013-01-11 Andreas Jaeger <aj@suse.de>
21275 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21276 value. Sync with Linux 3.7.
21278 2013-01-10 David S. Miller <davem@davemloft.net>
21280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21281 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21282 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21284 2013-01-10 Roland McGrath <roland@hack.frob.com>
21286 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21288 * configure: Regenerated.
21290 2013-01-10 David S. Miller <davem@davemloft.net>
21292 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21293 sparc V9 rather than using V8 code.
21294 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21295 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21297 2013-01-10 Roland McGrath <roland@hack.frob.com>
21299 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21300 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21301 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21302 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21303 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21304 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21305 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21306 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21307 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21308 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21309 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21310 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21311 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21312 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21313 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21314 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21315 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21316 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21317 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21318 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21319 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21320 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21321 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21322 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21323 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21324 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21325 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21327 2013-01-10 David S. Miller <davem@davemloft.net>
21329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21331 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21333 * posix/Makefile (tests-static): New variable.
21334 (tests): Add $(tests-static).
21335 (tst-exec-static-ARGS): New variable.
21336 (tst-spawn-static-ARGS): Likewise.
21337 * posix/tst-exec-static.c: New file.
21338 * posix/tst-spawn-static.c: Likewise.
21339 * posix/tst-exec.c: Support run directly.
21340 * posix/tst-spawn.c: Likewise.
21342 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21344 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21346 * math/bits/mathcalls.h (llrint): Likewise.
21347 (llround): Likewise.
21348 * stdlib/stdlib.h (struct drand48_data): Likewise.
21349 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21350 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21351 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21353 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21355 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21356 (elf_greg_t): Likewise.
21357 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21358 (__jmp_buf): Likewise.
21359 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21361 (llrint): Likewise, for all definitions.
21362 (llrintl): Likewise.
21364 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21365 Remove [__GNUC__] condition.
21366 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21367 condition to just [__USE_ISOC99].
21368 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21370 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21373 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21374 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21376 (_POSIX_V6_ILP32_OFF32): Likewise.
21377 (_XBS5_ILP32_OFF32): Likewise.
21378 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21379 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21381 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21383 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21386 doubles __mpexp_twomm1. Adjust usage.
21387 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21390 2013-01-10 Andreas Schwab <schwab@suse.de>
21393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21394 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21396 2013-01-09 David S. Miller <davem@davemloft.net>
21399 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21400 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21401 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21402 (TCP_FASTOPEN): Define.
21403 (tcp_repair_opt): New structure.
21404 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21406 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21407 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21408 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21409 (tcp_cookie_transactions): New structure.
21411 2013-01-09 Anton Blanchard <anton@samba.org>
21413 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21414 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21415 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21416 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21418 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21420 * include/features.h (__USE_ANSI): Remove.
21422 2013-01-09 Roland McGrath <roland@hack.frob.com>
21424 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21426 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21428 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21430 * sysdeps/s390/fpu/libm-test-ulps: Update.
21432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21434 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21438 (denorm): Likewise.
21439 (__mp_dbl): Likewise.
21440 (__dbl_mp): Likewise.
21441 (add_magnitudes): Likewise.
21442 (sub_magnitudes): Likewise.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21452 (denorm): Likewise.
21453 (__mp_dbl): Likewise.
21454 (__dbl_mp): Likewise.
21455 (add_magnitudes): Likewise.
21456 (sub_magnitudes): Likewise.
21462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21466 (denorm): Likewise.
21467 (__mp_dbl): Likewise.
21468 (__dbl_mp): Likewise.
21469 (add_magnitudes): Likewise.
21470 (sub_magnitudes): Likewise.
21477 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21479 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21480 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21481 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21482 2 && __USE_EXTERN_INLINES]: Likewise.
21484 2013-01-08 Andreas Jaeger <aj@suse.de>
21487 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21489 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21490 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21492 2013-01-07 Anton Blanchard <anton@samba.org>
21494 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21495 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21496 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21497 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21498 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21499 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21500 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21501 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21503 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21504 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21505 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21506 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21507 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21508 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21509 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21510 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21511 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21512 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21513 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21514 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21515 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21517 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21518 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21519 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21520 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21521 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21523 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21524 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21526 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21527 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21528 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21529 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21530 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21531 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21532 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21533 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21534 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21535 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21536 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21538 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21540 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21541 (__MALLOC_PMT): Likewise.
21542 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21543 [__GNUC__], only on [_LIBC].
21544 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21545 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21546 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21547 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21548 forward declaration.
21549 (realloc_hook_ini): Likewise.
21550 (memalign_hook_ini): Likewise.
21551 (__libc_memalign): Do not use __MALLOC_PMT in variable
21553 (__libc_valloc): Likewise.
21554 (__libc_pvalloc): Likewise.
21555 (__libc_calloc): Likewise.
21556 (__posix_memalign): Likewise.
21559 * math/s_casinh.c: Include <float.h>.
21560 (__casinh): Do not do computation with squaring and square root
21561 for large arguments.
21562 * math/s_casinhf.c: Include <float.h>.
21563 (__casinhf): Do not do computation with squaring and square root
21564 for large arguments.
21565 * math/s_casinhl.c: Include <float.h>.
21566 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21567 (__casinhl): Do not do computation with squaring and square root
21568 for large arguments.
21569 * math/libm-test.inc (casin_test): Add more tests.
21570 (casinh_test): Likewise.
21571 * sysdeps/i386/fpu/libm-test-ulps: Update.
21572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21574 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21576 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21577 (__x86_64_raw_data_cache_size): Likewise.
21578 (__x86_64_data_cache_size_half): Likewise.
21579 (__x86_64_raw_data_cache_size_half): Likewise.
21580 (__x86_64_shared_cache_size): Likewise.
21581 (__x86_64_raw_shared_cache_size): Likewise.
21582 (__x86_64_shared_cache_size_half): Likewise.
21583 (__x86_64_raw_shared_cache_size_half): Likewise.
21584 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21586 (__x86_data_cache_size): This.
21587 (__x86_64_raw_data_cache_size): Renamed to ...
21588 (__x86_raw_data_cache_size): This.
21589 (__x86_64_data_cache_size_half): Renamed to ...
21590 (__x86_data_cache_size_half): This.
21591 (__x86_64_raw_data_cache_size_half): Renamed to ...
21592 (__x86_raw_data_cache_size_half): This.
21593 (__x86_64_shared_cache_size): Renamed to ...
21594 (__x86_shared_cache_size): This.
21595 (__x86_64_raw_shared_cache_size): Renamed to ...
21596 (__x86_raw_shared_cache_size): This.
21597 (__x86_64_shared_cache_size_half): Renamed to ...
21598 (__x86_shared_cache_size_half): This.
21599 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21600 (__x86_raw_shared_cache_size_half): This.
21601 * sysdeps/x86_64/memcpy.S: Updated.
21602 * sysdeps/x86_64/memset.S: Likewise.
21603 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21604 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21605 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21607 2013-01-04 David S. Miller <davem@davemloft.net>
21609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21611 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21613 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21614 1 to avoid redefinition warning.
21615 (__USE_GNU): Don't define.
21616 (init_signaling_nan): Protoize.
21618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21620 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21622 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21624 (__cpymn): Likewise.
21625 (norm): Remove commented code.
21626 (denorm): Likewise.
21627 (__mp_dbl): Likewise.
21629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21630 (__cpymn): Likewise.
21631 (norm): Remove commented code.
21632 (denorm): Likewise.
21633 (__mp_dbl): Likewise.
21636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21637 mp_no value for 1.0 and 2.0.
21638 (norm): Use RADIXI instead of radixi.d.
21639 (denorm): Likewise.
21640 (__mul): Use 0.0 instead of zero.d.
21641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21642 mp_no value for 1.0 and 2.0.
21643 (norm): Use RADIXI instead of radixi.d.
21644 (denorm): Likewise.
21645 (__mul): Use 0.0 instead of zero.d.
21647 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21650 * math/s_casinh.c (__casinh): Reduce finite argument to first
21651 quadrant then set signs of results at the end.
21652 * math/s_casinhf.c (__casinhf): Likewise.
21653 * math/s_casinhl.c (__casinhl): Likewise.
21654 * math/libm-test.inc (casin_test): Add more tests.
21655 (casinh_test): Likewise.
21656 * sysdeps/i386/fpu/libm-test-ulps: Update.
21657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21659 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21661 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21663 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21665 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21667 (denorm): Likewise.
21668 (__mp_dbl): Likewise.
21671 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21672 and adjust the header comment.
21674 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21675 variable name from declaration.
21677 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21680 Initialize COMMON_CPUID_INDEX_7 element.
21681 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21682 (CPUID_RTM): Likewise.
21683 (HAS_RTM): Likewise.
21684 (COMMON_CPUID_INDEX_7): New enum.
21686 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21689 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21690 size is zero, record memory as freed.
21692 2013-01-03 Andreas Jaeger <aj@suse.de>
21694 * po/ia.po: Add new Interlingua translation.
21696 2012-01-03 Allan McRae <allan@archlinux.org>
21698 * locale/programs/localedef.c: Fix description of '--posix' flag.
21700 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21702 * NEWS: Update dates in second copyright notice.
21703 * README: Update copyright dates in example.
21704 * manual/libc.texinfo: Update copyright dates.
21705 * scripts/test-installation.pl: Update copyright date in --version
21708 * hurd/ctty-input.c: Fix copyright notice formatting.
21709 * hurd/ctty-output.c: Likewise.
21710 * hurd/dtable.c: Likewise.
21711 * hurd/hurd-raise.c: Likewise.
21712 * hurd/hurdprio.c: Likewise.
21713 * hurd/msgportdemux.c: Likewise.
21714 * misc/sys/file.h: Likewise.
21715 * misc/sys/ioctl.h: Likewise.
21716 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21717 * sysdeps/mach/hurd/chdir.c: Likewise.
21718 * sysdeps/mach/hurd/fchdir.c: Likewise.
21719 * sysdeps/mach/hurd/rename.c: Likewise.
21720 * sysdeps/mach/hurd/rmdir.c: Likewise.
21721 * sysdeps/mach/hurd/seekdir.c: Likewise.
21722 * sysdeps/mach/hurd/setsid.c: Likewise.
21723 * sysdeps/posix/wait3.c: Likewise.
21725 * All files with FSF copyright notices: Update copyright dates
21726 using scripts/update-copyrights.
21727 * intl/plural.c: Regenerated.
21728 * locale/programs/charmap-kw.h: Likewise.
21729 * locale/programs/locfile-kw.h: Likewise.
21731 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21733 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21736 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21737 calculation loop and add branch prediction.
21739 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21740 check access beyond bounds of m1np.
21742 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21744 (__inv): Remove local variable MPTWO to use the global
21746 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21747 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21749 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21750 MP3HALFS static const.
21752 2013-01-01 David S. Miller <davem@davemloft.net>
21754 * po/ca.po: Update from translation team.
21756 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21758 * scripts/update-copyrights: New file.
21759 * Makeconfig: Reformat copyright notice.
21760 * ctype/ctype.h: Likewise.
21761 * debug/swprintf_chk.c: Likewise.
21762 * elf/dl-cache.c: Likewise.
21763 * elf/dl-debug.c: Likewise.
21764 * elf/dl-object.c: Likewise.
21765 * grp/initgroups.c: Likewise.
21766 * hurd/Makefile: Likewise.
21767 * hurd/hurd/signal.h: Likewise.
21768 * hurd/hurdfault.c: Likewise.
21769 * hurd/hurdioctl.c: Likewise.
21770 * hurd/hurdlookup.c: Likewise.
21771 * hurd/intr-msg.c: Likewise.
21772 * iconv/gconv_open.c: Likewise.
21773 * libio/swprintf.c: Likewise.
21774 * locale/lc-ctype.c: Likewise.
21775 * locale/nl_langinfo.c: Likewise.
21776 * mach/Machrules: Likewise.
21777 * mach/Makefile: Likewise.
21778 * malloc/obstack.h: Likewise.
21779 * manual/Makefile: Likewise.
21780 * manual/tsort.awk: Likewise.
21781 * misc/bits/stab.def: Likewise.
21782 * nis/nis_print_group_entry.c: Likewise.
21783 * nis/nis_table.c: Likewise.
21784 * nis/nss_compat/compat-pwd.c: Likewise.
21785 * nis/nss_compat/compat-spwd.c: Likewise.
21786 * po/Makefile: Likewise.
21787 * posix/fnmatch.c: Likewise.
21788 * posix/regex.h: Likewise.
21789 * resolv/Makefile: Likewise.
21790 * resolv/nss_dns/dns-network.c: Likewise.
21791 * resolv/res_hconf.c: Likewise.
21792 * scripts/gen-sorted.awk: Likewise.
21793 * soft-fp/soft-fp.h: Likewise.
21794 * stdio-common/printf.h: Likewise.
21795 * stdlib/monetary.h: Likewise.
21796 * stdlib/random.c: Likewise.
21797 * stdlib/random_r.c: Likewise.
21798 * sysdeps/generic/Makefile: Likewise.
21799 * sysdeps/gnu/Makefile: Likewise.
21800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21823 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21824 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21828 * sysdeps/mach/hurd/errnos.awk: Likewise.
21829 * sysdeps/mach/hurd/fork.c: Likewise.
21830 * sysdeps/mach/hurd/getcwd.c: Likewise.
21831 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21832 * sysdeps/mach/hurd/mmap.c: Likewise.
21833 * sysdeps/mach/hurd/utimes.c: Likewise.
21834 * sysdeps/mach/hurd/xmknod.c: Likewise.
21835 * sysdeps/posix/profil.c: Likewise.
21836 * sysdeps/posix/readdir_r.c: Likewise.
21837 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21838 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21839 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21840 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21842 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21843 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21844 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21846 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21847 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21848 * sysdeps/pthread/lio_listio.c: Likewise.
21849 * sysdeps/sparc/dl-procinfo.h: Likewise.
21850 * sysdeps/unix/i386/sysdep.S: Likewise.
21851 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21852 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21853 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21854 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21856 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21857 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21858 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21859 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21860 * sysdeps/wordsize-32/divdi3.c: Likewise.
21861 * time/sys/time.h: Likewise.
21862 * wcsmbs/Makefile: Likewise.
21864 2013-01-01 David S. Miller <davem@davemloft.net>
21866 * po/fr.po: Update from translation team.
21868 * catgets/gencat.c: Update copyright year.
21869 * csu/version.c: Likewise.
21870 * debug/catchsegv.sh: Likewise.
21871 * debug/pcprofiledump.c: Likewise.
21872 * debug/xtrace.sh: Likewise.
21873 * elf/ldconfig.c: Likewise.
21874 * elf/ldd.bash.in: Likewise.
21875 * elf/pldd.c: Likewise.
21876 * elf/sotruss.ksh: Likewise.
21877 * elf/sprof.c: Likewise.
21878 * iconv/iconv_prog.c: Likewise.
21879 * iconv/iconvconfig.c: Likewise.
21880 * locale/programs/locale.c: Likewise.
21881 * locale/programs/localedef.c: Likewise.
21882 * login/programs/pt_chown.c: Likewise.
21883 * malloc/memusage.sh: Likewise.
21884 * malloc/memusagestat.c: Likewise.
21885 * malloc/mtrace.pl: Likewise.
21886 * nscd/nscd.c: Likewise.
21887 * nss/getent.c: Likewise.
21888 * nss/makedb.c: Likewise.
21889 * posix/getconf.c: Likewise.
21891 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21893 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21896 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21898 * math/bits/mathcalls.h (modf): Use __nonnull.
21900 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21902 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21903 (split): Use macro CN instead of the bare value.
21904 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21906 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21907 instead of the bare value.
21908 (power1): Likewise.
21910 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21912 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21914 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21916 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21918 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21919 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21920 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21921 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21923 2012-12-28 Andreas Jaeger <aj@suse.de>
21925 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21926 values are from Linux 3.7.
21928 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21929 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21931 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21933 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21936 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21938 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21939 variables with preprocessor constants.
21940 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21941 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21942 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21944 2012-12-27 Bruno Haible <bruno@clisp.org>
21947 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21950 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21953 and use variable directly.
21954 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21956 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21958 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21963 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21964 include directive. Remove local variable MPONE.
21965 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21969 2012-12-25 David S. Miller <davem@davemloft.net>
21971 * version.h (RELEASE): Set to "development".
21972 (VERSION): Set to "2.17.90".
21973 * NEWS: Add 2.18 section.
21975 2012-12-21 David S. Miller <davem@davemloft.net>
21977 * po/hr.po: Update from translation team.
21979 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21981 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21983 2012-12-19 Steve Ellcey <sellcey@mips.com>
21985 * NEWS: Mention new memcpy for MIPS.
21987 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21989 * manual/contrib.texi (Contributors): Spelling correction.
21991 2012-12-15 David S. Miller <davem@davemloft.net>
21993 * po/ru.po: Update from translation team.
21995 2012-12-13 David S. Miller <davem@davemloft.net>
21997 * NEWS: Mention IFUNC testsuite enhancements.
21999 * po/pl.po: Update from translation team.
22000 * po/bg.po: Likewise.
22002 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22003 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22005 2012-12-11 David S. Miller <davem@davemloft.net>
22007 * po/sv.po: Update from translation team.
22009 * po/vi.po: Update from translation team.
22011 * po/cs.po: Update from translation team.
22013 * po/de.po: Update from translation team.
22014 * po/eo.po: Likewise.
22015 * po/nl.po: Likewise.
22017 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22020 * manual/argp.texi (Argp Helper Functions): Move node to follow
22021 Argp Parsing State.
22024 * manual/conf.texi (Limits on File System Capacity): Mention if
22025 terminating null is included in the max size.
22027 2012-12-10 Andreas Jaeger <aj@suse.de>
22029 * po/cs.po: Update from translation team.
22031 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22033 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22034 void pointer and cast to uintptr_t.
22035 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22037 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22038 * sysdeps/s390/s390-64/memset.S: Likewise.
22040 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22043 * menual/message.texi (Message Translation): Fix typos.
22044 (Helper programs for gettext): Likewise.
22046 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22049 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22052 2012-12-07 David S. Miller <davem@davemloft.net>
22054 * po/libc.pot: Update.
22056 2012-12-07 Richard Henderson <rth@redhat.com>
22059 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22060 normal/normal case to before the switch.
22061 (_FP_DIV): Likewise.
22063 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22064 Mike Frysinger <vapier@gentoo.org>
22066 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22067 check for __NR_fadvise64_64.
22069 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22071 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22072 0, not just to plain "0" as a statement.
22073 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22076 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22078 * NEWS: Use sourceware.org in Bugzilla URL.
22080 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22083 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22085 * stdio-common/tst-put-error.c (do_test): Add newline to the
22086 padded test to ensure flush.
22088 2012-12-05 Jeff Law <law@redhat.com>
22090 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22092 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22094 * README: Don't refer to ports add-on as distributed separately.
22095 Mention AArch64 in list of systems supported in the ports add-on.
22097 * LICENSES: Add more non-FSF copyright and license notices.
22099 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22102 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22104 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22105 10000 as width of padded output.
22107 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22109 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22112 variable LX with __attribute__ ((unused)).
22113 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22115 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22116 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22118 with __attribute__ ((unused)).
22120 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22122 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22124 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22126 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22127 (CFLAGS-nldbl-acos.c): New variable.
22128 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22129 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22130 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22131 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22132 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22133 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22134 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22135 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22136 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22137 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22138 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22139 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22140 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22141 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22142 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22143 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22144 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22145 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22146 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22147 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22148 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22149 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22150 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22151 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22152 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22153 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22154 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22155 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22156 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22157 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22158 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22159 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22160 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22161 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22162 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22163 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22164 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22165 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22166 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22167 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22168 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22169 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22170 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22171 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22172 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22173 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22174 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22175 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22176 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22177 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22178 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22179 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22180 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22181 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22182 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22183 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22184 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22185 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22186 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22187 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22188 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22189 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22190 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22191 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22192 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22193 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22194 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22195 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22196 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22197 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22198 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22199 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22200 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22201 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22202 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22203 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22204 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22205 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22206 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22207 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22208 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22209 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22210 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22211 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22212 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22213 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22214 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22215 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22216 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22217 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22218 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22219 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22220 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22221 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22222 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22223 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22224 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22227 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22231 whole low double instead of just low 47 bits when splitting values
22234 2012-12-03 Allan McRae <allan@archlinux.org>
22236 * manual/stdio.texi (Predefined Printf Handlers): Remove
22237 @hsep and @vsep usage.
22239 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22241 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22242 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22244 2012-12-03 Jeff Law <law@redhat.com>
22246 * time/sys/time.h (settimeofday): Do not mark TV argument
22249 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22251 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22252 when currently writing and seek to current position when not.
22253 * libio/Makefile (tests): Remove bug-fclose1.
22254 * libio/bug-fclose1.c: Delete.
22256 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22258 * manual/arith.texi (feenableexcept): Fix typo.
22259 (fedisableexcept): Likewise.
22261 2012-11-30 Roland McGrath <roland@hack.frob.com>
22263 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22264 second, differently-typed declaration, rather than a cast.
22266 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22268 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22269 * include/rpc/svc.h: ... here.
22271 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22274 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22275 depending n and resplen2 to catch cases where answer
22278 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22280 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22281 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22283 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22287 2012-11-29 Roland McGrath <roland@hack.frob.com>
22289 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22291 2012-11-28 Jeff Law <law@redhat.com>
22294 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22295 dataset_temporary. Track alloca usage into alloca_used.
22296 If dataset is large allocate and release it via malloc/free.
22298 2012-06-04 Florian Weimer <fweimer@redhat.com>
22301 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22303 2012-11-28 David S. Miller <davem@davemloft.net>
22305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22307 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22310 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22311 of pi/2 rounded to nearest to 64 bits.
22312 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22313 nearest to 64 bits.
22314 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22317 2012-11-28 Jeff Law <law@redhat.com>
22318 Martin Osvald <mosvald@redhat.com>
22321 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22322 * sunrpc/svc.c: Include time.h.
22323 (__svc_accept_failed): New function.
22324 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22325 any reason other than EINTR, call __svc_accept_failed.
22326 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22327 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22329 2012-11-28 Andreas Schwab <schwab@suse.de>
22331 * scripts/abilist.awk: Also handle indirect functions in .opd
22334 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22337 * sysdeps/x86/fpu/powl_helper.c: New file.
22338 * sysdeps/x86/fpu/Makefile: Likewise.
22339 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22341 (__ieee754_powl): Use __powl_helper for finite arguments except
22342 integer exponents below 8.
22343 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22345 (__ieee754_powl): Use __powl_helper for finite arguments except
22346 integer exponents below 8.
22347 * math/libm-test.inc (pow_test): Add more tests and enable some
22348 previously disabled tests.
22349 * sysdeps/i386/fpu/libm-test-ulps: Update.
22350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22352 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22353 Carlos O'Donell <carlos_odonell@mentor.com>
22355 * nss/makedb.c (is_prime): Assert that input is odd and greater
22356 than 4. Note that fact in a comment too.
22357 (next_prime): Add 4 to input.
22359 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22362 * libio/Makefile (tests): Add test case tst-fwrite-error.
22363 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22364 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22365 * libio/tst-fwrite-error.c: New test case.
22367 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22369 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22370 before casting to void *.
22371 * include/libc-internal.h (__pointer_type): New macro.
22372 (__integer_if_pointer_type_sub): Likewise.
22373 (__integer_if_pointer_type): Likewise.
22374 (cast_to_integer): Likewise.
22375 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22376 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22377 before casting to atomic64_t.
22378 (atomic_exchange_acq): Likewise.
22379 (__arch_exchange_and_add_body): Likewise.
22380 (__arch_add_body): Likewise.
22381 (atomic_add_negative): Likewise.
22382 (atomic_add_zero): Likewise.
22384 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22386 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22387 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22388 (add_fdes): Likewise.
22389 (linear_search_fdes): Likewise.
22390 (binary_search_unencoded_fdes): Likewise.
22392 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22394 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22396 2012-11-24 Adam Conrad <adconrad@0c3.net>
22398 * configure.in: Autodetect C++ header directories.
22399 * configure: Regenerated.
22401 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22403 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22405 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22409 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22411 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22412 LDBL_MANT_DIG == 106]: Disable some tests.
22413 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22415 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22419 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22420 input for small inputs. Return +/- pi/2 for large inputs.
22421 * math/libm-test.inc (atan_test): Add more tests.
22423 * sysdeps/generic/unwind-dw2-fde-glibc.c
22424 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22425 __attribute__ ((unused)).
22428 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22429 x * y if x and y are nonzero and z is zero.
22432 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22433 nonzero exponents with absolute value below 0x1p-117 to +/-
22437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22438 up arguments below 2**-450, not just those below 2**-500.
22439 * math/libm-test.inc (hypot_test): Add another test.
22442 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22443 Return a+b for ratio over 2**120, not 2**60.
22444 * math/libm-test.inc (hypot_test): Add another test.
22446 * math/libm-test.inc (clog_test): Use
22447 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22448 (clog10_test): Likewise.
22451 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22453 2012-11-22 Andreas Schwab <schwab@suse.de>
22455 * sysdeps/i386/fpu/libm-test-ulps: Update.
22457 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22459 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22460 printf output with newline.
22462 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22465 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22466 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22467 -z nodlopen, -z initfirst and -z execstack support.
22468 * configure: Regenerated.
22470 * elf/elf.h (DF_1_NODIRECT): New macro.
22471 (DF_1_IGNMULDEF): Likewise.
22472 (DF_1_NOKSYMS): Likewise.
22473 (DF_1_NOHDR): Likewise.
22474 (DF_1_EDITED): Likewise.
22475 (DF_1_NORELOC): Likewise.
22476 (DF_1_SYMINTPOSE): Likewise.
22477 (DF_1_GLOBAUDIT): Likewise.
22478 (DF_1_SINGLETON): Likewise.
22479 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22480 DT_1_SUPPORTED_MASK bits.
22481 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22483 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22485 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22487 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22489 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22492 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22493 (sendmmsg): Move declarations...
22494 * socket/sys/socket.h: ... here.
22495 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22496 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22498 * socket/recvmmsg.c: ... this new file.
22499 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22500 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22501 definition of __sendmmsg hidden.
22502 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22503 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22504 Move ENOSYS stub into and include it from...
22505 * socket/sendmmsg.c: ... this new file.
22506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22507 (sysdep_routines): Move recvmmsg and sendmmsg...
22508 * socket/Makefile (routines): ... here.
22509 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22510 (GLIBC_PRIVATE): Add __sendmmsg.
22511 * include/sys/socket.h (__sendmmsg): Add declarations.
22512 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22515 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22517 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22518 variable I1 with __attribute__ ((unused)).
22519 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22521 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22523 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22524 DUMMY variables with __attribute__ ((unused)).
22526 * bits/byteswap.h: Include <bits/types.h>.
22527 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22529 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22531 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22532 string_t. Do not manually set errno.
22533 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22534 length with __strnlen. Make sure to both set errno and return it on
22537 2012-11-19 David S. Miller <davem@davemloft.net>
22539 With help from Joseph Myers.
22540 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22541 very large arguments properly.
22542 * math/libm-test.inc (atan_test): New tests.
22543 (atan2_test): New tests.
22544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22547 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22550 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22553 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22554 [POSIX] (EADDRNOTAVAIL): Likewise.
22555 [POSIX] (EAFNOSUPPORT): Likewise.
22556 [POSIX] (EALREADY): Likewise.
22557 [POSIX] (ECONNABORTED): Likewise.
22558 [POSIX] (ECONNREFUSED): Likewise.
22559 [POSIX] (ECONNRESET): Likewise.
22560 [POSIX] (EDESTADDRREQ): Likewise.
22561 [POSIX] (EDQUOT): Likewise.
22562 [POSIX] (EHOSTUNREACH): Likewise.
22563 [POSIX] (EIDRM): Likewise.
22564 [POSIX] (EISCONN): Likewise.
22565 [POSIX] (ELOOP): Likewise.
22566 [POSIX] (EMULTIHOP): Likewise.
22567 [POSIX] (ENETDOWN): Likewise.
22568 [POSIX] (ENETUNREACH): Likewise.
22569 [POSIX] (ENOBUFS): Likewise.
22570 [POSIX] (ENODATA): Likewise.
22571 [POSIX] (ENOLINK): Likewise.
22572 [POSIX] (ENOMSG): Likewise.
22573 [POSIX] (ENOPROTOOPT): Likewise.
22574 [POSIX] (ENOSR): Likewise.
22575 [POSIX] (ENOSTR): Likewise.
22576 [POSIX] (ENOTCONN): Likewise.
22577 [POSIX] (ENOTSOCK): Likewise.
22578 [POSIX] (EOPNOTSUPP): Likewise.
22579 [POSIX] (EOVERFLOW): Likewise.
22580 [POSIX] (EPROTO): Likewise.
22581 [POSIX] (EPROTONOSUPPORT): Likewise.
22582 [POSIX] (EPROTOTYPE): Likewise.
22583 [POSIX] (ESTALE): Likewise.
22584 [POSIX] (ETIME): Likewise.
22585 [POSIX] (ETXTBSY): Likewise.
22586 [POSIX] (EWOULDBLOCK): Likewise.
22587 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22588 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22589 [POSIX] (SEEK_CUR): Likewise.
22590 [POSIX] (SEEK_END): Likewise.
22591 [POSIX || UNIX98] (mode_t): Do not require.
22592 [POSIX] (off_t): Likewise.
22593 [POSIX] (pid_t): Likewise.
22594 [POSIX] (sys/stat.h): Do not allow header.
22595 [POSIX] (unistd.h): Likewise.
22596 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22597 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22598 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22599 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22601 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22602 sigevent): Specify elements.
22603 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22605 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22606 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22608 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22609 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22610 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22611 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22612 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22613 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22614 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22615 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22616 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22617 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22618 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22619 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22620 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22621 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22623 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22625 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22627 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22629 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22630 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22631 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22632 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22633 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22634 Specify lower bound on value.
22635 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22636 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22637 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22638 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22639 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22640 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22641 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22642 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22644 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22646 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22647 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22648 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22649 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22650 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22651 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22652 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22653 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22654 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22655 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22656 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22657 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22658 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22659 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22660 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22661 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22663 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22665 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22666 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22667 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22668 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22669 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22670 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22672 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22673 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22674 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22675 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22676 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22677 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22678 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22680 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22681 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22682 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22683 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22684 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22685 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22686 specify as optional.
22687 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22688 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22689 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22690 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22691 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22692 [XPG3] (NL_LANGMAX): Likewise.
22693 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22694 [POSIX || XPG3] (NL_NMAX): Likewise.
22695 [POSIX || XPG3] (NL_SETMAX): Likewise.
22696 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22697 [XPG3] (NZERO): Likewise.
22698 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22699 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22700 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22701 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22702 (REG_ERANGE): Expect.
22703 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22705 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22706 Use (void) in prototype.
22707 [POSIX] (*_t): Allow.
22708 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22709 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22710 (WRDE_BADVAL): Expect.
22712 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22714 [XPG3 || XPG4] (O_RSYNC): Likewise.
22715 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22717 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22718 [XPG3 || XPG4] (sigqueue): Likewise.
22719 [XPG3 || XPG4] (sigtimedwait): Likewise.
22720 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22721 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22722 [XPG3 || XPG4] (vsnprintf): Likewise.
22723 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22725 [XPG3 || XPG4] (blksize_t): Likewise.
22726 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22728 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22729 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22730 [XPG3 || XPG4] (struct itimerspec): Likewise.
22731 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22732 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22733 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22734 [XPG3 || XPG4] (clockid_t): Likewise.
22735 [XPG3 || XPG4] (timer_t): Likewise.
22736 [XPG3 || XPG4] (clock_getres): Likewise.
22737 [XPG3 || XPG4] (clock_gettime): Likewise.
22738 [XPG3 || XPG4] (clock_settime): Likewise.
22739 [XPG3 || XPG4] (nanosleep): Likewise.
22740 [XPG3 || XPG4] (timer_create): Likewise.
22741 [XPG3 || XPG4] (timer_delete): Likewise.
22742 [XPG3 || XPG4] (timer_gettime): Likewise.
22743 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22744 [XPG3 || XPG4] (timer_settime): Likewise.
22745 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22746 [XPG3 || XPG4] (getlogin_r): Likewise.
22747 [XPG3 || XPG4] (pread): Likewise.
22748 [XPG3 || XPG4] (pthread_atfork): Likewise.
22749 [XPG3 || XPG4] (pwrite): Likewise.
22752 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22755 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22757 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22758 finalizing MALLSTREAM.
22760 * sysdeps/mach/hurd/syncfs.c: New file.
22762 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22765 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22766 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22767 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22768 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22769 (_nss_dns_gethostbyname4_r): Likewise.
22770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22771 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22773 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22776 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22778 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22780 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22781 * elf/cache.c (print_entry): Print ",AArch64" for
22784 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22785 * elf/cache.c (print_entry): Print ",hard-float" for
22788 2012-11-18 David S. Miller <davem@davemloft.net>
22790 With help from Joseph Myers.
22791 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22793 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22795 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22796 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22798 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22799 * math/libm-test.inc (y0_test): New tests.
22800 (y1_test): New tests.
22801 * sysdeps/i386/fpu/libm-test-ulps: Update.
22802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22805 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22807 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22809 * configure: Regenerated.
22811 2012-11-17 David S. Miller <davem@davemloft.net>
22814 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22815 nonzero exponents with absolute value below 0x1p-128 to +/-
22818 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22820 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22822 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22824 * posix/getconf-speclist.c: New file.
22825 * posix/posix-envs.def: Likewise.
22826 * posix/confstr.c (START_ENV_GROUP): New macro.
22827 (END_ENV_GROUP): Likewise.
22828 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22829 (KNOWN_PRESENT_ENV_STRING): Likewise.
22830 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22831 (UNKNOWN_ENVIRONMENT): Likewise.
22832 (confstr): Include posix-envs.def instead of handling
22833 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22834 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22835 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22836 (END_ENV_GROUP): Likewise.
22837 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22838 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22839 (UNKNOWN_ENVIRONMENT): Likewise.
22840 (__sysconf): Include posix-envs.def instead of handling associated
22841 cases directly here.
22842 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22843 preprocessing getconf-speclist.c rather than running getconf or
22844 generating empty file.
22846 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22848 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22850 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22853 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22855 2012-11-16 David S. Miller <davem@davemloft.net>
22857 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22858 smaller than LDBL_EPSILON/2.0L, just return xm1.
22860 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22862 * elf/tst-array1.c (init): Set constructor priority to 1000.
22863 (fini): Set destructor priority to 1000.
22864 * elf/tst-array2dep.c: Likewise.
22866 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22869 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22870 (_IO_new_file_xsputn): Also return EOF if none of the input
22871 data was written when overflow failed.
22872 * libio/iopadn.c (_IO_padn): Likewise.
22873 * libio/iowpadn.c (_IO_wpadn): Likewise.
22874 * stdio-common/tst-put-error.c: Add copyright notice.
22875 (do_test): Add case for printing padded string.
22876 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22877 _IO_padn returned error.
22878 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22879 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22882 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22884 * libio/libioP.h: Add comment note that the references to C++
22885 bits are now obsolete.
22887 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22889 * math/libm-test.inc (check_complex): Use asprintf.
22891 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22893 * debug/pcprofiledump.c (print_version): Update copyright year.
22894 * malloc/memusagestat.c (print_version): Likewise.
22896 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22899 * elf/Makefile (tests): Add tst-audit8.
22900 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22901 ($(objpfx)tst-audit8.out): New target.
22902 (tst-audit8-ENV): New variable.
22903 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22904 audit if l_reloc_result is NULL.
22905 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22906 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22907 * elf/tst-audit8.c: New file.
22909 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22911 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22912 * misc/Makefile (CFLAGS-select.c): Define.
22913 * posix/Makefile (CFLAGS-pause.c): Define.
22915 2012-11-13 David S. Miller <davem@davemloft.net>
22917 * crypt/Makefile: Move test targets after toplevel Rules
22918 inclusion. Grab any necessary sysdep routines when linking.
22919 * crypt/md5.c (md5_process_block): Remove define, we will always
22920 name it __md5_process_block.
22921 (md5_finish_ctx): Update md5_process_block call.
22922 (md5_stream): Likewise.
22923 (md5_process_bytes): Likewise.
22924 (md5_process_block): Rename to __md5_process_block and move to ...
22925 * crypt/md5-block.c: ... here.
22926 * crypt/sha256.c (sha256_process_block): Move to ...
22927 * crypt/sha256-block.c: ... here.
22928 * crypt/sha512.c (sha512_process_block): Move to ...
22929 * crypt/sha512-block.c: ... here.
22930 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22932 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22933 * sysdeps/sparc/sparc64/multiarch/Makefile
22934 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22936 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22937 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22939 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22940 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22941 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22942 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22943 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22944 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22945 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22946 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22947 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22949 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22950 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22952 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22954 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22956 * timezone/tzselect.ksh: Update from tzcode git revision
22957 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22958 * timezone/zdump.c: Likewise.
22959 * timezone/zic.c: Likewise.
22960 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22961 in TZVERSION setting, not $(PKGVERSION).
22962 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22963 REPORT_BUGS_TO settings.
22966 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22969 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22971 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22972 detection to immediately after _FP_ROUND().
22973 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22976 2012-11-11 David S. Miller <davem@davemloft.net>
22978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22980 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22981 __close rather than their public counterparts.
22983 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22985 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22987 [UNIX98] (sem_timedwait): Do not expect.
22988 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22989 [XPG4 || UNIX98] (sockatmark): Do not expect.
22990 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22991 (clock_getcpuclockid): Do not expect.
22992 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22993 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22995 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22996 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22997 [UNIX98] (vwscanf): Likewise.
22998 [UNIX98] (vswscanf): Likewise.
23000 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23002 * timezone/version.h: Remove file.
23003 * timezone/README: Do not refer to version.h.
23004 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23005 $(objpfx)version.h.
23006 ($(objpfx)zdump.o): Likewise.
23007 ($(objpfx)version.h): New target.
23009 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23011 * timezone/README: Don't mention modification to tzselect.ksh.
23012 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23013 work on unmodified tzselect.ksh. Substitute version numbers in
23016 * Makefile (format-me): Remove.
23017 (INSTALL): Adjust indentation. Use commands directly instead of
23018 using $(format-me).
23020 * aclocal.m4 (ACX_PKGVERSION): New macro.
23021 (ACX_BUGURL): Likewise.
23022 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23023 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23024 (REPORT_BUGS_TO): Likewise.
23025 * configure: Regenerated.
23026 * config.h.in (PKGVERSION): New macro.
23027 (REPORT_BUGS_TO): Likewise.
23028 * config.make.in (PKGVERSION): New variable.
23029 (PKGVERSION_TEXI): Likewise.
23030 (REPORT_BUGS_TO): Likewise.
23031 (REPORT_BUGS_TEXI): Likewise.
23032 * Makefile (format-me): Use -I$(common-objpfx)manual.
23033 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23034 ($(common-objpfx)manual/%): New target.
23035 (manual/%): Remove target.
23036 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23037 (print_version): Use PKGVERSION.
23038 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23039 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23040 and REPORT_BUGS_TO.
23041 ($(objpfx)xtrace): Likewise.
23042 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23043 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23044 (print_version): Use PKGVERSION.
23045 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23046 (do_version): Use PKGVERSION.
23047 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23049 (common-ldd-rewrite): Likewise.
23050 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23051 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23052 (print_version): Use PKGVERSION.
23053 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23054 * elf/pldd.c (argp_program_bug_address): Remove variable.
23055 (more_help): New function.
23056 (argp): Use more_help.
23057 (print_version): Use PKGVERSION.
23058 * elf/sln.c (main): Use PKGVERSION.
23059 (usage): Use REPORT_BUGS_TO.
23060 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23061 (top level): Use PKGVERSION.
23062 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23063 (print_version): Use PKGVERSION.
23064 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23065 (print_version): Use PKGVERSION.
23066 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23067 (print_version): Use PKGVERSION.
23068 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23069 (print_version): Use PKGVERSION.
23070 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23071 (print_version): Use PKGVERSION.
23072 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23073 (print_version): Use PKGVERSION.
23074 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23076 ($(objpfx)memusage): Likewise.
23077 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23078 (do_version): Use PKGVERSION.
23079 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23080 (print_version): Use PKGVERSION.
23081 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23082 ($PKGVERSION): New variable.
23083 ($REPORT_BUGS_TO): Likewise.
23084 (usage): Use $REPORT_BUGS_TO.
23085 (top level): Use $PKGVERSION.
23086 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23087 ($(objpfx)pkgvers.texi): New rule.
23088 ($(objpfx)stamp-pkgvers): Likewise.
23089 * manual/install.texi: Include pkgvers.texi.
23090 (--with-pkgversion): Document new configure option.
23091 (--with-bugurl): Likewise.
23092 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23093 than necessarily for this particular distribution. Use
23094 REPORT_BUGS_TO for where to report bugs.
23095 * INSTALL: Regenerated.
23096 * manual/libc.texinfo: Include pkgvers.texi.
23097 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23098 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23099 (print_version): Use PKGVERSION.
23100 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23101 (print_version): Use PKGVERSION.
23102 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23103 (print_version): Use PKGVERSION.
23104 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23105 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23107 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23108 (print_version): Use PKGVERSION.
23109 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23110 (print_version): Use PKGVERSION.
23111 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23114 * timezone/checktab.awk: Update from tzcode 2012i.
23115 * timezone/ialloc.c: Likewise.
23116 * timezone/private.h: Likewise.
23117 * timezone/scheck.c: Likewise.
23118 * timezone/tzfile.h: Likewise.
23119 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23120 (TZVERSION): Hardcode tzcode version number.
23121 * timezone/zdump.c: Update from tzcode 2012i.
23122 * timezone/zic.c: Likewise.
23123 * timezone/version.h: New file.
23124 * timezone/README: Describe version.h. Update upstream location.
23127 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23128 (mktemp): Enable declaration.
23129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23146 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23147 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23148 for copies of such integer values.
23149 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23150 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23152 2012-11-09 Andreas Jaeger <aj@suse.de>
23154 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23155 definitions and declarations that are provided by
23156 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23158 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23160 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23161 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23162 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23165 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23167 * elf/elf.h: Update comment before AArch64 relocations.
23169 2012-11-07 David S. Miller <davem@davemloft.net>
23171 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23172 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23173 (__start_context): Declare.
23174 (__makecontext_ret): Delete.
23175 (__makecontext): Hook up __start_context instead of
23177 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23178 (sysdep_routines): Add __start_context when in stdlib.
23180 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23182 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23183 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23184 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23186 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23187 (READELF): New variable. Use it instead of hardcoded "readelf".
23189 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23191 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23192 * sysdeps/x86/Makefile: Here.
23193 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23194 * sysdeps/x86/tst-xmmymm.sh: This.
23196 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23198 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23200 [UNIX98] (pthread_barrier_t): Do not expect.
23201 [UNIX98] (pthread_barrierattr_t): Likewise.
23202 [UNIX98] (pthread_spinlock_t): Likewise.
23203 [UNIX98] (pthread_barrier_destroy): Likewise.
23204 [UNIX98] (pthread_barrier_init): Likewise.
23205 [UNIX98] (pthread_barrier_wait): Likewise.
23206 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23207 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23208 [UNIX98] (pthread_barrierattr_init): Likewise.
23209 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23210 [UNIX98] (pthread_getcpuclockid): Likewise.
23211 [UNIX98] (pthread_mutex_timedlock): Likewise.
23212 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23213 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23214 [UNIX98] (pthread_sigmask): Likewise.
23215 [UNIX98] (pthread_spin_destroy): Likewise.
23216 [UNIX98] (pthread_spin_init): Likewise.
23217 [UNIX98] (pthread_spin_lock): Likewise.
23218 [UNIX98] (pthread_spin_trylock): Likewise.
23219 [UNIX98] (pthread_spin_unlock): Likewise.
23220 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23222 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23224 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23225 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23226 [XPG3 || XPG4] (pthread_key_t): Likewise.
23227 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23228 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23229 [XPG3 || XPG4] (pthread_once_t): Likewise.
23230 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23231 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23233 [XPG3 || XPG4] (pthread_t): Likewise.
23235 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23237 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23239 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23240 Change function return type to int.
23242 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23243 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23244 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23245 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23246 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23247 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23248 [!POSIX] (posix_madvise): Likewise.
23249 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23251 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23252 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23253 (mode_t): Likewise.
23254 (posix_mem_offset): Likewise.
23255 (posix_typed_mem_get_info): Likewise.
23256 (posix_typed_mem_open): Likewise.
23258 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23259 Change condition to [XOPEN2K8].
23261 * conform/conformtest.pl: Preprocess allow-header data with -x c
23262 instead of from stdin.
23263 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23264 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23265 [C99-based standards] (cerfc): Likewise.
23266 [C99-based standards] (cexp2): Likewise.
23267 [C99-based standards] (cexpm1): Likewise.
23268 [C99-based standards] (clog10): Likewise.
23269 [C99-based standards] (clog1p): Likewise.
23270 [C99-based standards] (clog2): Likewise.
23271 [C99-based standards] (clgamma): Likewise.
23272 [C99-based standards] (ctgamma): Likewise.
23273 [C99-based standards] (cerff): Likewise.
23274 [C99-based standards] (cerfcf): Likewise.
23275 [C99-based standards] (cexp2f): Likewise.
23276 [C99-based standards] (cexpm1f): Likewise.
23277 [C99-based standards] (clog10f): Likewise.
23278 [C99-based standards] (clog1pf): Likewise.
23279 [C99-based standards] (clog2f): Likewise.
23280 [C99-based standards] (clgammaf): Likewise.
23281 [C99-based standards] (ctgammaf): Likewise.
23282 [C99-based standards] (cerfl): Likewise.
23283 [C99-based standards] (cerfcl): Likewise.
23284 [C99-based standards] (cexp2l): Likewise.
23285 [C99-based standards] (cexpm1l): Likewise.
23286 [C99-based standards] (clog10l): Likewise.
23287 [C99-based standards] (clog1pl): Likewise.
23288 [C99-based standards] (clog2l): Likewise.
23289 [C99-based standards] (clgammal): Likewise.
23290 [C99-based standards] (ctgammal): Likewise.
23291 * conform/data/inttypes.h-data [C99-based standards]: Include
23292 stdint.h-data. Remove all expectations for stdint.h contents.
23293 [C99-based standards] (PRI*): Do not allow.
23294 [C99-based standards] (SCN*): Likewise.
23295 [C99-based standards] (*_t): Likewise.
23296 [C99-based-standards] (PRId8): Expect macro.
23297 [C99-based-standards] (PRIi8): Likewise.
23298 [C99-based-standards] (PRIo8): Likewise.
23299 [C99-based-standards] (PRIu8): Likewise.
23300 [C99-based-standards] (PRIx8): Likewise.
23301 [C99-based-standards] (PRIX8): Likewise.
23302 [C99-based-standards] (SCNd8): Likewise.
23303 [C99-based-standards] (SCNi8): Likewise.
23304 [C99-based-standards] (SCNo8): Likewise.
23305 [C99-based-standards] (SCNu8): Likewise.
23306 [C99-based-standards] (SCNx8): Likewise.
23307 [C99-based-standards] (PRIdLEAST8): Likewise.
23308 [C99-based-standards] (PRIiLEAST8): Likewise.
23309 [C99-based-standards] (PRIoLEAST8): Likewise.
23310 [C99-based-standards] (PRIuLEAST8): Likewise.
23311 [C99-based-standards] (PRIxLEAST8): Likewise.
23312 [C99-based-standards] (PRIXLEAST8): Likewise.
23313 [C99-based-standards] (SCNdLEAST8): Likewise.
23314 [C99-based-standards] (SCNiLEAST8): Likewise.
23315 [C99-based-standards] (SCNoLEAST8): Likewise.
23316 [C99-based-standards] (SCNuLEAST8): Likewise.
23317 [C99-based-standards] (SCNxLEAST8): Likewise.
23318 [C99-based-standards] (PRIdFAST8): Likewise.
23319 [C99-based-standards] (PRIiFAST8): Likewise.
23320 [C99-based-standards] (PRIoFAST8): Likewise.
23321 [C99-based-standards] (PRIuFAST8): Likewise.
23322 [C99-based-standards] (PRIxFAST8): Likewise.
23323 [C99-based-standards] (PRIXFAST8): Likewise.
23324 [C99-based-standards] (SCNdFAST8): Likewise.
23325 [C99-based-standards] (SCNiFAST8): Likewise.
23326 [C99-based-standards] (SCNoFAST8): Likewise.
23327 [C99-based-standards] (SCNuFAST8): Likewise.
23328 [C99-based-standards] (SCNxFAST8): Likewise.
23329 [C99-based-standards] (PRId16): Likewise.
23330 [C99-based-standards] (PRIi16): Likewise.
23331 [C99-based-standards] (PRIo16): Likewise.
23332 [C99-based-standards] (PRIu16): Likewise.
23333 [C99-based-standards] (PRIx16): Likewise.
23334 [C99-based-standards] (PRIX16): Likewise.
23335 [C99-based-standards] (SCNd16): Likewise.
23336 [C99-based-standards] (SCNi16): Likewise.
23337 [C99-based-standards] (SCNo16): Likewise.
23338 [C99-based-standards] (SCNu16): Likewise.
23339 [C99-based-standards] (SCNx16): Likewise.
23340 [C99-based-standards] (PRIdLEAST16): Likewise.
23341 [C99-based-standards] (PRIiLEAST16): Likewise.
23342 [C99-based-standards] (PRIoLEAST16): Likewise.
23343 [C99-based-standards] (PRIuLEAST16): Likewise.
23344 [C99-based-standards] (PRIxLEAST16): Likewise.
23345 [C99-based-standards] (PRIXLEAST16): Likewise.
23346 [C99-based-standards] (SCNdLEAST16): Likewise.
23347 [C99-based-standards] (SCNiLEAST16): Likewise.
23348 [C99-based-standards] (SCNoLEAST16): Likewise.
23349 [C99-based-standards] (SCNuLEAST16): Likewise.
23350 [C99-based-standards] (SCNxLEAST16): Likewise.
23351 [C99-based-standards] (PRIdFAST16): Likewise.
23352 [C99-based-standards] (PRIiFAST16): Likewise.
23353 [C99-based-standards] (PRIoFAST16): Likewise.
23354 [C99-based-standards] (PRIuFAST16): Likewise.
23355 [C99-based-standards] (PRIxFAST16): Likewise.
23356 [C99-based-standards] (PRIXFAST16): Likewise.
23357 [C99-based-standards] (SCNdFAST16): Likewise.
23358 [C99-based-standards] (SCNiFAST16): Likewise.
23359 [C99-based-standards] (SCNoFAST16): Likewise.
23360 [C99-based-standards] (SCNuFAST16): Likewise.
23361 [C99-based-standards] (SCNxFAST16): Likewise.
23362 [C99-based-standards] (PRId32): Likewise.
23363 [C99-based-standards] (PRIi32): Likewise.
23364 [C99-based-standards] (PRIo32): Likewise.
23365 [C99-based-standards] (PRIu32): Likewise.
23366 [C99-based-standards] (PRIx32): Likewise.
23367 [C99-based-standards] (PRIX32): Likewise.
23368 [C99-based-standards] (SCNd32): Likewise.
23369 [C99-based-standards] (SCNi32): Likewise.
23370 [C99-based-standards] (SCNo32): Likewise.
23371 [C99-based-standards] (SCNu32): Likewise.
23372 [C99-based-standards] (SCNx32): Likewise.
23373 [C99-based-standards] (PRIdLEAST32): Likewise.
23374 [C99-based-standards] (PRIiLEAST32): Likewise.
23375 [C99-based-standards] (PRIoLEAST32): Likewise.
23376 [C99-based-standards] (PRIuLEAST32): Likewise.
23377 [C99-based-standards] (PRIxLEAST32): Likewise.
23378 [C99-based-standards] (PRIXLEAST32): Likewise.
23379 [C99-based-standards] (SCNdLEAST32): Likewise.
23380 [C99-based-standards] (SCNiLEAST32): Likewise.
23381 [C99-based-standards] (SCNoLEAST32): Likewise.
23382 [C99-based-standards] (SCNuLEAST32): Likewise.
23383 [C99-based-standards] (SCNxLEAST32): Likewise.
23384 [C99-based-standards] (PRIdFAST32): Likewise.
23385 [C99-based-standards] (PRIiFAST32): Likewise.
23386 [C99-based-standards] (PRIoFAST32): Likewise.
23387 [C99-based-standards] (PRIuFAST32): Likewise.
23388 [C99-based-standards] (PRIxFAST32): Likewise.
23389 [C99-based-standards] (PRIXFAST32): Likewise.
23390 [C99-based-standards] (SCNdFAST32): Likewise.
23391 [C99-based-standards] (SCNiFAST32): Likewise.
23392 [C99-based-standards] (SCNoFAST32): Likewise.
23393 [C99-based-standards] (SCNuFAST32): Likewise.
23394 [C99-based-standards] (SCNxFAST32): Likewise.
23395 [C99-based-standards] (PRId64): Likewise.
23396 [C99-based-standards] (PRIi64): Likewise.
23397 [C99-based-standards] (PRIo64): Likewise.
23398 [C99-based-standards] (PRIu64): Likewise.
23399 [C99-based-standards] (PRIx64): Likewise.
23400 [C99-based-standards] (PRIX64): Likewise.
23401 [C99-based-standards] (SCNd64): Likewise.
23402 [C99-based-standards] (SCNi64): Likewise.
23403 [C99-based-standards] (SCNo64): Likewise.
23404 [C99-based-standards] (SCNu64): Likewise.
23405 [C99-based-standards] (SCNx64): Likewise.
23406 [C99-based-standards] (PRIdLEAST64): Likewise.
23407 [C99-based-standards] (PRIiLEAST64): Likewise.
23408 [C99-based-standards] (PRIoLEAST64): Likewise.
23409 [C99-based-standards] (PRIuLEAST64): Likewise.
23410 [C99-based-standards] (PRIxLEAST64): Likewise.
23411 [C99-based-standards] (PRIXLEAST64): Likewise.
23412 [C99-based-standards] (SCNdLEAST64): Likewise.
23413 [C99-based-standards] (SCNiLEAST64): Likewise.
23414 [C99-based-standards] (SCNoLEAST64): Likewise.
23415 [C99-based-standards] (SCNuLEAST64): Likewise.
23416 [C99-based-standards] (SCNxLEAST64): Likewise.
23417 [C99-based-standards] (PRIdFAST64): Likewise.
23418 [C99-based-standards] (PRIiFAST64): Likewise.
23419 [C99-based-standards] (PRIoFAST64): Likewise.
23420 [C99-based-standards] (PRIuFAST64): Likewise.
23421 [C99-based-standards] (PRIxFAST64): Likewise.
23422 [C99-based-standards] (PRIXFAST64): Likewise.
23423 [C99-based-standards] (SCNdFAST64): Likewise.
23424 [C99-based-standards] (SCNiFAST64): Likewise.
23425 [C99-based-standards] (SCNoFAST64): Likewise.
23426 [C99-based-standards] (SCNuFAST64): Likewise.
23427 [C99-based-standards] (SCNxFAST64): Likewise.
23428 [C99-based-standards] (PRIdMAX): Likewise.
23429 [C99-based-standards] (PRIiMAX): Likewise.
23430 [C99-based-standards] (PRIoMAX): Likewise.
23431 [C99-based-standards] (PRIuMAX): Likewise.
23432 [C99-based-standards] (PRIxMAX): Likewise.
23433 [C99-based-standards] (PRIXMAX): Likewise.
23434 [C99-based-standards] (SCNdMAX): Likewise.
23435 [C99-based-standards] (SCNiMAX): Likewise.
23436 [C99-based-standards] (SCNoMAX): Likewise.
23437 [C99-based-standards] (SCNuMAX): Likewise.
23438 [C99-based-standards] (SCNxMAX): Likewise.
23439 [C99-based-standards] (PRIdPTR): Likewise.
23440 [C99-based-standards] (PRIiPTR): Likewise.
23441 [C99-based-standards] (PRIoPTR): Likewise.
23442 [C99-based-standards] (PRIuPTR): Likewise.
23443 [C99-based-standards] (PRIxPTR): Likewise.
23444 [C99-based-standards] (PRIXPTR): Likewise.
23445 [C99-based-standards] (SCNdPTR): Likewise.
23446 [C99-based-standards] (SCNiPTR): Likewise.
23447 [C99-based-standards] (SCNoPTR): Likewise.
23448 [C99-based-standards] (SCNuPTR): Likewise.
23449 [C99-based-standards] (SCNxPTR): Likewise.
23450 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23452 * conform/data/stdint.h-data: Update comments to clarify
23454 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23456 [C99-based standards] (INT8_MAX): Likewise.
23457 [C99-based standards] (INT16_MIN): Likewise.
23458 [C99-based standards] (INT16_MAX): Likewise.
23459 [C99-based standards] (INT32_MIN): Likewise.
23460 [C99-based standards] (INT32_MAX): Likewise.
23461 [C99-based standards] (INT64_MIN): Likewise.
23462 [C99-based standards] (INT64_MAX): Likewise.
23463 [C99-based standards] (UINT8_MAX): Likewise.
23464 [C99-based standards] (UINT16_MAX): Likewise.
23465 [C99-based standards] (UINT32_MAX): Likewise.
23466 [C99-based standards] (UINT64_MAX): Likewise.
23467 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23468 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23469 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23470 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23471 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23472 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23473 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23474 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23475 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23476 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23477 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23478 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23479 [C99-based standards] (INT_FAST8_MIN): Likewise.
23480 [C99-based standards] (INT_FAST8_MAX): Likewise.
23481 [C99-based standards] (INT_FAST16_MIN): Likewise.
23482 [C99-based standards] (INT_FAST16_MAX): Likewise.
23483 [C99-based standards] (INT_FAST32_MIN): Likewise.
23484 [C99-based standards] (INT_FAST32_MAX): Likewise.
23485 [C99-based standards] (INT_FAST64_MIN): Likewise.
23486 [C99-based standards] (INT_FAST64_MAX): Likewise.
23487 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23488 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23489 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23490 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23491 [C99-based standards] (INTPTR_MIN): Likewise.
23492 [C99-based standards] (INTPTR_MAX): Likewise.
23493 [C99-based standards] (UINTPTR_MAX): Likewise.
23494 [C99-based standards] (INTMAX_MIN): Likewise.
23495 [C99-based standards] (INTMAX_MAX): Likewise.
23496 [C99-based standards] (UINTMAX_MAX): Likewise.
23497 [C99-based standards] (PTRDIFF_MIN): Likewise.
23498 [C99-based standards] (PTRDIFF_MAX): Likewise.
23499 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23500 [C99-based standards] (SIZE_MAX): Likewise.
23501 [C99-based standards] (WCHAR_MAX): Likewise.
23502 [C99-based standards] (WINT_MAX): Likewise.
23503 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23504 constraint on value.
23505 [C99-based standards] (WCHAR_MIN): Likewise.
23506 [C99-based standards] (WINT_MIN): Likewise.
23507 [C99-based standards] (*_t): Allow.
23508 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23509 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23510 Include math.h-data and complex.h-data. Remove all expectations
23511 of math.h and complex.h contents.
23512 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23514 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23515 (struct tm): Expect tag.
23516 [C99-based-standards] (wcstof): Expect function.
23517 [C99-based-standards] (wcstold): Likewise.
23518 [C99-based-standards] (wcstoll): Likewise.
23519 [C99-based-standards] (wcstoull): Likewise.
23520 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23521 macro-int-constant. Specify type.
23522 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23523 constraint on value.
23524 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23526 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23528 [ISO C standards]: Do not allow headers.
23529 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23530 wcs[abcdefghijklmnopqrstuvwxyz]*.
23531 [ISO C standards] (*_t): Do not allow.
23532 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23534 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23535 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23537 [ISO C standards]: Do not allow headers.
23538 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23539 is[abcdefghijklmnopqrstuvwxyz]*.
23540 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23541 to[abcdefghijklmnopqrstuvwxyz]*.
23542 [ISO C standards] (*_t): Do not allow.
23543 * conform/data/stdalign.h-data: New file.
23544 * conform/data/stdbool.h-data: Likewise.
23545 * conform/data/stdnoreturn.h-data: Likewise.
23547 2012-11-07 Roland McGrath <roland@hack.frob.com>
23550 * manual/filesys.texi (Directory Entries): Typo fix.
23551 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23553 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23555 * elf/elf.h (EM_AARCH64): New macro.
23556 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23557 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23558 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23559 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23560 (R_AARCH64_TLSDESC): Likewise.
23561 (NT_ARM_TLS): Likewise.
23562 (NT_ARM_HW_BREAK): Likewise.
23563 (NT_ARM_HW_WATCH): Likewise.
23565 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23568 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23569 (__ieee754_powl): Saturate nonzero exponents with absolute value
23570 below 0x1p-79 to +/- 0x1p-79.
23571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23572 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23573 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23574 nonzero exponents with absolute value below 0x1p-32 to +/-
23576 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23577 (__ieee754_powl): Saturate nonzero exponents with absolute value
23578 below 0x1p-79 to +/- 0x1p-79.
23579 * math/libm-test.inc (pow_test): Add more tests.
23581 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23583 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23584 _dl_s390_cap_flags with kernel. Increase string length.
23585 (_dl_s390_platforms): Add z196 and zEC12.
23587 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23589 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23590 Change XOPEN21K to XOPEN2K.
23592 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23594 * string/memmove.c: Use memcpy when possible.
23596 2012-11-06 Andreas Jaeger <aj@suse.de>
23598 * po/eo.po: Update from translation team.
23600 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23604 exponent and small x and y exponents, scale x or y up. Increase
23605 by 2 the exponent used in scaling up.
23606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23608 * math/libm-test.inc (fma_test): Add more tests.
23609 (fma_test_towardzero): Likewise.
23610 (fma_test_downward): Likewise.
23611 (fma_test_upward): Likewise.
23613 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23616 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23620 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23621 namespace for names of struct fields.
23622 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23624 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23625 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23627 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23630 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23632 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23634 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23638 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23641 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23645 definitely overflow as x * y not x * y + z.
23646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23648 * math/libm-test.inc (fma_test): Add more tests.
23649 (fma_test_towardzero): Likewise.
23650 (fma_test_downward): Likewise.
23651 (fma_test_upward): Likewise.
23653 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23657 * include/stub-tag.h: Remove file.
23658 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23660 * manual/maint.texi (Porting): Don't reference it.
23661 * Makerules ($(objpfx)stubs): Likewise.
23662 * dirent/closedir.c: Don't include <stub-tag.h>.
23663 * dirent/dirfd.c: Likewise.
23664 * dirent/fdopendir.c: Likewise.
23665 * dirent/getdents.c: Likewise.
23666 * dirent/getdents64.c: Likewise.
23667 * dirent/opendir.c: Likewise.
23668 * dirent/readdir.c: Likewise.
23669 * dirent/readdir64.c: Likewise.
23670 * dirent/readdir64_r.c: Likewise.
23671 * dirent/readdir_r.c: Likewise.
23672 * dirent/rewinddir.c: Likewise.
23673 * dirent/seekdir.c: Likewise.
23674 * dirent/telldir.c: Likewise.
23675 * gmon/profil.c: Likewise.
23676 * grp/setgroups.c: Likewise.
23677 * inet/if_index.c: Likewise.
23678 * io/access.c: Likewise.
23679 * io/chdir.c: Likewise.
23680 * io/chmod.c: Likewise.
23681 * io/chown.c: Likewise.
23682 * io/close.c: Likewise.
23683 * io/dup.c: Likewise.
23684 * io/dup2.c: Likewise.
23685 * io/dup3.c: Likewise.
23686 * io/euidaccess.c: Likewise.
23687 * io/faccessat.c: Likewise.
23688 * io/fchdir.c: Likewise.
23689 * io/fchmod.c: Likewise.
23690 * io/fchmodat.c: Likewise.
23691 * io/fchown.c: Likewise.
23692 * io/fchownat.c: Likewise.
23693 * io/fcntl.c: Likewise.
23694 * io/flock.c: Likewise.
23695 * io/fstatfs.c: Likewise.
23696 * io/fstatfs64.c: Likewise.
23697 * io/fstatvfs.c: Likewise.
23698 * io/fstatvfs64.c: Likewise.
23699 * io/futimens.c: Likewise.
23700 * io/fxstat.c: Likewise.
23701 * io/fxstat64.c: Likewise.
23702 * io/fxstatat.c: Likewise.
23703 * io/fxstatat64.c: Likewise.
23704 * io/getcwd.c: Likewise.
23705 * io/isatty.c: Likewise.
23706 * io/lchmod.c: Likewise.
23707 * io/lchown.c: Likewise.
23708 * io/link.c: Likewise.
23709 * io/linkat.c: Likewise.
23710 * io/lseek.c: Likewise.
23711 * io/lseek64.c: Likewise.
23712 * io/lxstat64.c: Likewise.
23713 * io/mkdir.c: Likewise.
23714 * io/mkdirat.c: Likewise.
23715 * io/mkfifo.c: Likewise.
23716 * io/mkfifoat.c: Likewise.
23717 * io/open.c: Likewise.
23718 * io/open64.c: Likewise.
23719 * io/openat.c: Likewise.
23720 * io/openat64.c: Likewise.
23721 * io/pipe.c: Likewise.
23722 * io/pipe2.c: Likewise.
23723 * io/poll.c: Likewise.
23724 * io/posix_fadvise.c: Likewise.
23725 * io/posix_fadvise64.c: Likewise.
23726 * io/posix_fallocate.c: Likewise.
23727 * io/posix_fallocate64.c: Likewise.
23728 * io/read.c: Likewise.
23729 * io/readlink.c: Likewise.
23730 * io/readlinkat.c: Likewise.
23731 * io/rmdir.c: Likewise.
23732 * io/sendfile.c: Likewise.
23733 * io/sendfile64.c: Likewise.
23734 * io/statfs.c: Likewise.
23735 * io/statfs64.c: Likewise.
23736 * io/statvfs.c: Likewise.
23737 * io/statvfs64.c: Likewise.
23738 * io/symlink.c: Likewise.
23739 * io/symlinkat.c: Likewise.
23740 * io/ttyname.c: Likewise.
23741 * io/ttyname_r.c: Likewise.
23742 * io/umask.c: Likewise.
23743 * io/unlink.c: Likewise.
23744 * io/unlinkat.c: Likewise.
23745 * io/utime.c: Likewise.
23746 * io/utimensat.c: Likewise.
23747 * io/write.c: Likewise.
23748 * io/xmknod.c: Likewise.
23749 * io/xmknodat.c: Likewise.
23750 * io/xstat.c: Likewise.
23751 * io/xstat64.c: Likewise.
23752 * login/getpt.c: Likewise.
23753 * login/grantpt.c: Likewise.
23754 * login/unlockpt.c: Likewise.
23755 * math/e_acoshl.c: Likewise.
23756 * math/e_acosl.c: Likewise.
23757 * math/e_asinl.c: Likewise.
23758 * math/e_atan2l.c: Likewise.
23759 * math/e_atanhl.c: Likewise.
23760 * math/e_coshl.c: Likewise.
23761 * math/e_expl.c: Likewise.
23762 * math/e_fmodl.c: Likewise.
23763 * math/e_gammal_r.c: Likewise.
23764 * math/e_hypotl.c: Likewise.
23765 * math/e_j0l.c: Likewise.
23766 * math/e_j1l.c: Likewise.
23767 * math/e_jnl.c: Likewise.
23768 * math/e_lgammal_r.c: Likewise.
23769 * math/e_log10l.c: Likewise.
23770 * math/e_log2l.c: Likewise.
23771 * math/e_logl.c: Likewise.
23772 * math/e_powl.c: Likewise.
23773 * math/e_rem_pio2l.c: Likewise.
23774 * math/e_sinhl.c: Likewise.
23775 * math/e_sqrtl.c: Likewise.
23776 * math/fclrexcpt.c: Likewise.
23777 * math/fedisblxcpt.c: Likewise.
23778 * math/feenablxcpt.c: Likewise.
23779 * math/fegetenv.c: Likewise.
23780 * math/fegetexcept.c: Likewise.
23781 * math/fegetround.c: Likewise.
23782 * math/feholdexcpt.c: Likewise.
23783 * math/fesetenv.c: Likewise.
23784 * math/fesetround.c: Likewise.
23785 * math/feupdateenv.c: Likewise.
23786 * math/fgetexcptflg.c: Likewise.
23787 * math/fraiseexcpt.c: Likewise.
23788 * math/fsetexcptflg.c: Likewise.
23789 * math/ftestexcept.c: Likewise.
23790 * math/k_cosl.c: Likewise.
23791 * math/k_rem_pio2l.c: Likewise.
23792 * math/k_sinl.c: Likewise.
23793 * math/k_tanl.c: Likewise.
23794 * math/s_asinhl.c: Likewise.
23795 * math/s_atanl.c: Likewise.
23796 * math/s_cbrtl.c: Likewise.
23797 * math/s_erfl.c: Likewise.
23798 * math/s_expm1l.c: Likewise.
23799 * math/s_log1pl.c: Likewise.
23800 * math/s_tanhl.c: Likewise.
23801 * misc/acct.c: Likewise.
23802 * misc/brk.c: Likewise.
23803 * misc/chflags.c: Likewise.
23804 * misc/chroot.c: Likewise.
23805 * misc/fchflags.c: Likewise.
23806 * misc/fgetxattr.c: Likewise.
23807 * misc/flistxattr.c: Likewise.
23808 * misc/fremovexattr.c: Likewise.
23809 * misc/fsetxattr.c: Likewise.
23810 * misc/fsync.c: Likewise.
23811 * misc/ftruncate.c: Likewise.
23812 * misc/futimes.c: Likewise.
23813 * misc/futimesat.c: Likewise.
23814 * misc/getdomain.c: Likewise.
23815 * misc/getdtsz.c: Likewise.
23816 * misc/gethostid.c: Likewise.
23817 * misc/gethostname.c: Likewise.
23818 * misc/getloadavg.c: Likewise.
23819 * misc/getpagesize.c: Likewise.
23820 * misc/getsysstats.c: Likewise.
23821 * misc/getxattr.c: Likewise.
23822 * misc/gtty.c: Likewise.
23823 * misc/ioctl.c: Likewise.
23824 * misc/lgetxattr.c: Likewise.
23825 * misc/listxattr.c: Likewise.
23826 * misc/llistxattr.c: Likewise.
23827 * misc/lremovexattr.c: Likewise.
23828 * misc/lsetxattr.c: Likewise.
23829 * misc/lutimes.c: Likewise.
23830 * misc/madvise.c: Likewise.
23831 * misc/mincore.c: Likewise.
23832 * misc/mlock.c: Likewise.
23833 * misc/mlockall.c: Likewise.
23834 * misc/mmap.c: Likewise.
23835 * misc/mprotect.c: Likewise.
23836 * misc/msync.c: Likewise.
23837 * misc/munlock.c: Likewise.
23838 * misc/munlockall.c: Likewise.
23839 * misc/munmap.c: Likewise.
23840 * misc/preadv.c: Likewise.
23841 * misc/preadv64.c: Likewise.
23842 * misc/ptrace.c: Likewise.
23843 * misc/pwritev.c: Likewise.
23844 * misc/pwritev64.c: Likewise.
23845 * misc/readv.c: Likewise.
23846 * misc/reboot.c: Likewise.
23847 * misc/remap_file_pages.c: Likewise.
23848 * misc/removexattr.c: Likewise.
23849 * misc/revoke.c: Likewise.
23850 * misc/select.c: Likewise.
23851 * misc/setdomain.c: Likewise.
23852 * misc/setegid.c: Likewise.
23853 * misc/seteuid.c: Likewise.
23854 * misc/sethostid.c: Likewise.
23855 * misc/sethostname.c: Likewise.
23856 * misc/setregid.c: Likewise.
23857 * misc/setreuid.c: Likewise.
23858 * misc/setxattr.c: Likewise.
23859 * misc/sstk.c: Likewise.
23860 * misc/stty.c: Likewise.
23861 * misc/swapoff.c: Likewise.
23862 * misc/swapon.c: Likewise.
23863 * misc/sync.c: Likewise.
23864 * misc/syncfs.c: Likewise.
23865 * misc/syscall.c: Likewise.
23866 * misc/truncate.c: Likewise.
23867 * misc/ualarm.c: Likewise.
23868 * misc/usleep.c: Likewise.
23869 * misc/ustat.c: Likewise.
23870 * misc/utimes.c: Likewise.
23871 * misc/vhangup.c: Likewise.
23872 * misc/writev.c: Likewise.
23873 * posix/_exit.c: Likewise.
23874 * posix/alarm.c: Likewise.
23875 * posix/execve.c: Likewise.
23876 * posix/fexecve.c: Likewise.
23877 * posix/fork.c: Likewise.
23878 * posix/fpathconf.c: Likewise.
23879 * posix/getaddrinfo.c: Likewise.
23880 * posix/getegid.c: Likewise.
23881 * posix/geteuid.c: Likewise.
23882 * posix/getgid.c: Likewise.
23883 * posix/getgroups.c: Likewise.
23884 * posix/getlogin.c: Likewise.
23885 * posix/getlogin_r.c: Likewise.
23886 * posix/getpgid.c: Likewise.
23887 * posix/getpid.c: Likewise.
23888 * posix/getppid.c: Likewise.
23889 * posix/getresgid.c: Likewise.
23890 * posix/getresuid.c: Likewise.
23891 * posix/getsid.c: Likewise.
23892 * posix/getuid.c: Likewise.
23893 * posix/glob64.c: Likewise.
23894 * posix/nanosleep.c: Likewise.
23895 * posix/pathconf.c: Likewise.
23896 * posix/pause.c: Likewise.
23897 * posix/posix_madvise.c: Likewise.
23898 * posix/pread.c: Likewise.
23899 * posix/pread64.c: Likewise.
23900 * posix/pwrite.c: Likewise.
23901 * posix/pwrite64.c: Likewise.
23902 * posix/sched_getaffinity.c: Likewise.
23903 * posix/sched_getp.c: Likewise.
23904 * posix/sched_gets.c: Likewise.
23905 * posix/sched_primax.c: Likewise.
23906 * posix/sched_primin.c: Likewise.
23907 * posix/sched_rr_gi.c: Likewise.
23908 * posix/sched_setaffinity.c: Likewise.
23909 * posix/sched_setp.c: Likewise.
23910 * posix/sched_sets.c: Likewise.
23911 * posix/sched_yield.c: Likewise.
23912 * posix/setgid.c: Likewise.
23913 * posix/setlogin.c: Likewise.
23914 * posix/setpgid.c: Likewise.
23915 * posix/setresgid.c: Likewise.
23916 * posix/setresuid.c: Likewise.
23917 * posix/setsid.c: Likewise.
23918 * posix/setuid.c: Likewise.
23919 * posix/sleep.c: Likewise.
23920 * posix/spawni.c: Likewise.
23921 * posix/sysconf.c: Likewise.
23922 * posix/times.c: Likewise.
23923 * posix/wait.c: Likewise.
23924 * posix/wait3.c: Likewise.
23925 * posix/wait4.c: Likewise.
23926 * posix/waitpid.c: Likewise.
23927 * resolv/gai_sigqueue.c: Likewise.
23928 * resource/getpriority.c: Likewise.
23929 * resource/getrlimit.c: Likewise.
23930 * resource/getrusage.c: Likewise.
23931 * resource/nice.c: Likewise.
23932 * resource/setpriority.c: Likewise.
23933 * resource/setrlimit.c: Likewise.
23934 * resource/ulimit.c: Likewise.
23935 * rt/aio_cancel.c: Likewise.
23936 * rt/aio_fsync.c: Likewise.
23937 * rt/aio_read.c: Likewise.
23938 * rt/aio_sigqueue.c: Likewise.
23939 * rt/aio_suspend.c: Likewise.
23940 * rt/aio_write.c: Likewise.
23941 * rt/clock_getres.c: Likewise.
23942 * rt/clock_gettime.c: Likewise.
23943 * rt/clock_nanosleep.c: Likewise.
23944 * rt/clock_settime.c: Likewise.
23945 * rt/lio_listio.c: Likewise.
23946 * rt/mq_close.c: Likewise.
23947 * rt/mq_getattr.c: Likewise.
23948 * rt/mq_notify.c: Likewise.
23949 * rt/mq_open.c: Likewise.
23950 * rt/mq_receive.c: Likewise.
23951 * rt/mq_send.c: Likewise.
23952 * rt/mq_setattr.c: Likewise.
23953 * rt/mq_timedreceive.c: Likewise.
23954 * rt/mq_timedsend.c: Likewise.
23955 * rt/mq_unlink.c: Likewise.
23956 * rt/shm_open.c: Likewise.
23957 * rt/shm_unlink.c: Likewise.
23958 * rt/timer_create.c: Likewise.
23959 * rt/timer_delete.c: Likewise.
23960 * rt/timer_getoverr.c: Likewise.
23961 * rt/timer_gettime.c: Likewise.
23962 * rt/timer_settime.c: Likewise.
23963 * setjmp/__longjmp.c: Likewise.
23964 * setjmp/setjmp.c: Likewise.
23965 * signal/kill.c: Likewise.
23966 * signal/killpg.c: Likewise.
23967 * signal/raise.c: Likewise.
23968 * signal/sigaction.c: Likewise.
23969 * signal/sigaltstack.c: Likewise.
23970 * signal/sigblock.c: Likewise.
23971 * signal/sigignore.c: Likewise.
23972 * signal/sigintr.c: Likewise.
23973 * signal/signal.c: Likewise.
23974 * signal/sigpause.c: Likewise.
23975 * signal/sigpending.c: Likewise.
23976 * signal/sigqueue.c: Likewise.
23977 * signal/sigreturn.c: Likewise.
23978 * signal/sigset.c: Likewise.
23979 * signal/sigsetmask.c: Likewise.
23980 * signal/sigstack.c: Likewise.
23981 * signal/sigsuspend.c: Likewise.
23982 * signal/sigtimedwait.c: Likewise.
23983 * signal/sigvec.c: Likewise.
23984 * signal/sigwait.c: Likewise.
23985 * signal/sigwaitinfo.c: Likewise.
23986 * signal/sysv_signal.c: Likewise.
23987 * socket/accept.c: Likewise.
23988 * socket/accept4.c: Likewise.
23989 * socket/bind.c: Likewise.
23990 * socket/connect.c: Likewise.
23991 * socket/getpeername.c: Likewise.
23992 * socket/getsockname.c: Likewise.
23993 * socket/getsockopt.c: Likewise.
23994 * socket/isfdtype.c: Likewise.
23995 * socket/listen.c: Likewise.
23996 * socket/recv.c: Likewise.
23997 * socket/recvfrom.c: Likewise.
23998 * socket/recvmsg.c: Likewise.
23999 * socket/send.c: Likewise.
24000 * socket/sendmsg.c: Likewise.
24001 * socket/sendto.c: Likewise.
24002 * socket/setsockopt.c: Likewise.
24003 * socket/shutdown.c: Likewise.
24004 * socket/sockatmark.c: Likewise.
24005 * socket/socket.c: Likewise.
24006 * socket/socketpair.c: Likewise.
24007 * stdio-common/ctermid.c: Likewise.
24008 * stdio-common/cuserid.c: Likewise.
24009 * stdio-common/remove.c: Likewise.
24010 * stdio-common/rename.c: Likewise.
24011 * stdio-common/renameat.c: Likewise.
24012 * stdio-common/tempname.c: Likewise.
24013 * stdlib/getcontext.c: Likewise.
24014 * stdlib/makecontext.c: Likewise.
24015 * stdlib/setcontext.c: Likewise.
24016 * stdlib/swapcontext.c: Likewise.
24017 * stdlib/system.c: Likewise.
24018 * streams/fattach.c: Likewise.
24019 * streams/fdetach.c: Likewise.
24020 * streams/getmsg.c: Likewise.
24021 * streams/getpmsg.c: Likewise.
24022 * streams/putmsg.c: Likewise.
24023 * streams/putpmsg.c: Likewise.
24024 * sysdeps/unix/bsd/getpt.c: Likewise.
24025 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24026 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24027 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24030 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24031 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24032 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24033 * sysvipc/msgctl.c: Likewise.
24034 * sysvipc/msgget.c: Likewise.
24035 * sysvipc/msgrcv.c: Likewise.
24036 * sysvipc/msgsnd.c: Likewise.
24037 * sysvipc/semctl.c: Likewise.
24038 * sysvipc/semget.c: Likewise.
24039 * sysvipc/semop.c: Likewise.
24040 * sysvipc/semtimedop.c: Likewise.
24041 * sysvipc/shmat.c: Likewise.
24042 * sysvipc/shmctl.c: Likewise.
24043 * sysvipc/shmdt.c: Likewise.
24044 * sysvipc/shmget.c: Likewise.
24045 * termios/tcdrain.c: Likewise.
24046 * termios/tcflow.c: Likewise.
24047 * termios/tcflush.c: Likewise.
24048 * termios/tcgetattr.c: Likewise.
24049 * termios/tcgetpgrp.c: Likewise.
24050 * termios/tcsendbrk.c: Likewise.
24051 * termios/tcsetattr.c: Likewise.
24052 * termios/tcsetpgrp.c: Likewise.
24053 * time/adjtime.c: Likewise.
24054 * time/clock.c: Likewise.
24055 * time/getitimer.c: Likewise.
24056 * time/gettimeofday.c: Likewise.
24057 * time/setitimer.c: Likewise.
24058 * time/settimeofday.c: Likewise.
24059 * time/stime.c: Likewise.
24060 * time/time.c: Likewise.
24062 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24064 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24067 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24069 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24071 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24075 FE_TONEAREST before applying Dekker multiplication and Knuth
24076 addition. Clear inexact exceptions and check for exact zero
24077 results afterwards.
24078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24079 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24081 * math/libm-test.inc (fma_test): Add more tests.
24082 (fma_test_towardzero): Likewise.
24083 (fma_test_downward): Likewise.
24084 (fma_test_upward): Likewise.
24085 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24087 (libc_fesetround): New macro.
24088 (libc_fesetroundf): Likewise.
24089 (libc_fesetroundl): Likewise.
24090 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24092 (libc_fesetround_387): Likewise.
24093 (libc_fesetroundf): New macro.
24094 (libc_fesetround): Likewise.
24095 (libc_fesetroundl): Likewise.
24096 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24098 (libc_fesetroundf): New macro.
24099 (libc_fesetround): Likewise.
24100 (libc_fesetroundl): Likewise.
24101 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24102 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24103 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24105 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24106 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24108 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24109 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24111 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24115 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24116 integer constant usable in #if and use that to give value to enum
24118 (FE_DIVBYZERO): Likewise.
24119 (FE_UNDERFLOW): Likewise.
24120 (FE_OVERFLOW): Likewise.
24121 (FE_INVALID): Likewise.
24122 (FE_INVALID_SNAN): Likewise.
24123 (FE_INVALID_ISI): Likewise.
24124 (FE_INVALID_IDI): Likewise.
24125 (FE_INVALID_ZDZ): Likewise.
24126 (FE_INVALID_IMZ): Likewise.
24127 (FE_INVALID_COMPARE): Likewise.
24128 (FE_INVALID_SOFTWARE): Likewise.
24129 (FE_INVALID_SQRT): Likewise.
24130 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24131 (FE_TONEAREST): Likewise.
24132 (FE_TOWARDZERO): Likewise.
24133 (FE_UPWARD): Likewise.
24134 (FE_DOWNWARD): Likewise.
24135 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24136 (FE_DIVBYZERO): Likewise.
24137 (FE_OVERFLOW): Likewise.
24138 (FE_UNDERFLOW): Likewise.
24139 (FE_INEXACT): Likewise.
24140 (FE_TONEAREST): Likewise.
24141 (FE_DOWNWARD): Likewise.
24142 (FE_UPWARD): Likewise.
24143 (FE_TOWARDZERO): Likewise.
24144 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24145 (FE_UNDERFLOW): Likewise.
24146 (FE_OVERFLOW): Likewise.
24147 (FE_DIVBYZERO): Likewise.
24148 (FE_INVALID): Likewise.
24149 (FE_TONEAREST): Likewise.
24150 (FE_TOWARDZERO): Likewise.
24151 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24152 (FE_OVERFLOW): Likewise.
24153 (FE_UNDERFLOW): Likewise.
24154 (FE_DIVBYZERO): Likewise.
24155 (FE_INEXACT): Likewise.
24156 (FE_TONEAREST): Likewise.
24157 (FE_TOWARDZERO): Likewise.
24158 (FE_UPWARD): Likewise.
24159 (FE_DOWNWARD): Likewise.
24160 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24161 (FE_DIVBYZERO): Likewise.
24162 (FE_OVERFLOW): Likewise.
24163 (FE_UNDERFLOW): Likewise.
24164 (FE_INEXACT): Likewise.
24165 (FE_TONEAREST): Likewise.
24166 (FE_DOWNWARD): Likewise.
24167 (FE_UPWARD): Likewise.
24168 (FE_TOWARDZERO): Likewise.
24170 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24172 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24174 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24176 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24177 commands. Quote $PWD.
24178 (blacklist_exports): Don't use remove_newlines. Replace "declare
24180 (remove_newlines): Remove.
24182 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24184 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24185 * stdlib/stdlib.h (atof): Moved to ...
24186 * include/bits/stdlib-float.h: Here. New file.
24187 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24188 * stdlib/bits/stdlib-float.h: New file.
24189 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24194 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24196 * conform/conformtest.pl (@headers): Add fenv.h.
24197 * conform/data/fenv.h-data: New file.
24198 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24199 include of <math/fenv.h>.
24201 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24202 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24203 && !UNIX98]. Enables tests for XOPEN2K8.
24204 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24205 POSIX2008]: Likewise.
24207 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24208 (struct rusage): Do not expect type or its members.
24211 * math/math.h (FP_NAN): Define macro to integer constant usable in
24212 #if and use that to give value to enum constant.
24213 (FP_INFINITE): Likewise.
24214 (FP_ZERO): Likewise.
24215 (FP_SUBNORMAL): Likewise.
24216 (FP_NORMAL): Likewise.
24218 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24220 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24221 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24224 2012-11-02 Roland McGrath <roland@hack.frob.com>
24226 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24227 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24228 autoconf-time if not.
24229 * configure.in: Remove AC_PREREQ.
24231 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24233 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24234 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24235 of the internal implementation.
24237 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24239 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24240 except include of <misc/sys/syslog.h>.
24242 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24245 function returns with a NULL context exit with zero.
24247 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24249 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24251 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24253 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24254 (run_program_cmd): This.
24255 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24256 (tst_langinfo): New variable. Use it.
24258 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24260 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24261 floating point opcodes.
24263 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24265 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24268 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24270 * sysdeps/mach/hurd/powerpc: Remove directory.
24271 * sysdeps/mach/powerpc: Likewise.
24273 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24275 * scripts/check-local-headers.sh: Ignore c++ headers.
24277 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24279 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24280 __libc_cleanup_region_start argument.
24282 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24287 x * y using scaling, not as x * y + z.
24288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24289 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24290 * math/libm-test.inc (fma_test): Add more tests.
24291 (fma_test_towardzero): Likewise.
24292 (fma_test_downward): Likewise.
24293 (fma_test_upward): Likewise.
24295 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24297 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24299 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24301 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24304 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24306 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24308 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24315 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24318 Fix the order of the list for glibc 2.17.
24319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24322 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24326 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24329 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24330 for low part of x being zero before using __atanl (y).
24331 * math/libm-test.inc (atan2_test): Add another test.
24333 * manual/install.texi (Configuring and compiling): Document
24334 general use of test-wrapper and test-wrapper-env.
24335 * INSTALL: Regenerated.
24337 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24338 (__fma): Do not extract and scale down low bits on after-rounding
24339 systems when result rounded to normal precision would have normal
24341 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24342 (__fmal): Do not extract and scale down low bits on after-rounding
24343 systems when result rounded to normal precision would have normal
24345 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24346 (__fmal): Do not extract and scale down low bits on after-rounding
24347 systems when result rounded to normal precision would have normal
24349 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24351 (fma_test): Add more tests.
24352 (fma_test_towardzero): Likewise.
24353 (fma_test_downward): Likewise.
24354 (fma_test_upward): Likewise.
24356 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24358 * sysdeps/i386/tininess.h: Renamed to ...
24359 * sysdeps/x86/tininess.h: This.
24360 * sysdeps/x86_64/tininess.h: Removed.
24362 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24364 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24365 input. Use $(build-program-cmd).
24366 ($(objpfx)tst-array1-static.out): Likewise.
24367 ($(objpfx)tst-array2.out): Likewise.
24368 ($(objpfx)tst-array3.out): Likewise.
24369 ($(objpfx)tst-array4.out): Likewise.
24370 ($(objpfx)tst-array5.out): Likewise.
24371 ($(objpfx)tst-array5-static.out): Likewise.
24373 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24375 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24378 * nss/nsswitch.h (nss_interface_function): Provide new
24379 macro for use with NSS functions.
24380 * grp/initgroups.c: Use new macro.
24381 * nss/getXXbyYY.c: Likewise.
24382 * nss/getXXbyYY_r.c: Likewise.
24383 * nss/getXXent.c: Likewise.
24384 * nss/getXXent_r.c: Likewise.
24385 * sysdeps/posix/getaddrinfo.c: Likewise.
24387 2012-10-30 Andreas Jaeger <aj@suse.de>
24389 * po/ru.po: Update Russion translation from translation project.
24391 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24396 result and shift together with sticky bit instead of replicating
24397 round-to-nearest rounding.
24398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24400 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24401 missing underflow exceptions.
24402 (fma_test_towardzero): Add more tests.
24403 (fma_test_downward): Likewise.
24404 (fma_test_upward): Likewise.
24407 * sysdeps/generic/tininess.h: New file.
24408 * sysdeps/i386/tininess.h: Likewise.
24409 * sysdeps/sh/tininess.h: Likewise.
24410 * sysdeps/x86_64/tininess.h: Likewise.
24411 * stdlib/tst-strtod-underflow.c: Likewise.
24412 * stdlib/tst-tininess.c: Likewise.
24413 * stdlib/strtod_l.c: Include <tininess.h>.
24414 (round_and_return): Do not set errno for exact underflow cases.
24415 Force an underflow exception when setting errno for underflow.
24416 Determine underflow based on rounding to normal precision if
24417 TININESS_AFTER_ROUNDING.
24418 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24419 ERANGE for exact underflow cases.
24420 * stdlib/Makefile (tests): Add tst-tininess and
24421 tst-strtod-underflow.
24422 ($(objpfx)tst-tininess): Use $(link-libm).
24423 ($(objpfx)tst-strtod-underflow): Likewise.
24425 2012-10-30 Andreas Jaeger <aj@suse.de>
24428 * elf/Makefile (tests): Remove conditional for have-initfini-array
24429 since this is now always required and the variable does not exist
24431 (tests-static): Likewise.
24432 (modules-names): Likewise.
24434 * po/eo.po: Add Esperanto translation from translation project.
24436 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24437 merged with constructor/destructor.
24438 (init_array): Likewise.
24439 * elf/tst-array2dep.c (fini_array): Likewise.
24440 (init_array): Likewise.
24442 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24444 * manual/message.texi: Delete @cartouche tags.
24446 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24448 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24450 * sysdeps/mach/hurd/fsync.c: Likewise.
24452 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24453 [_POSIX_REALTIME_SIGNALS]: Change condition to
24454 [_POSIX_REALTIME_SIGNALS > 0].
24456 2012-10-27 Andreas Jaeger <aj@suse.de>
24458 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24459 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24461 [__WORDSIZE != 64]: Likewise.
24463 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24465 * iconvdata/tst-table.sh: Remove ${SHELL}.
24466 * iconvdata/tst-tables.sh: Likewise.
24468 2012-10-25 David S. Miller <davem@davemloft.net>
24470 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24471 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24477 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24478 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24481 2012-10-25 Roland McGrath <roland@hack.frob.com>
24483 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24484 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24487 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24488 Jim Blandy <jimb@codesourcery.com>
24490 * scripts/cross-test-ssh.sh: New file.
24491 * manual/install.texi (Configuring and compiling): Document use of
24493 * INSTALL: Regenerated.
24495 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24497 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24500 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24502 * Makeconfig (run-program-prefix): Fix comment.
24504 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24505 Jim Blandy <jimb@codesourcery.com>
24507 * Makeconfig (test-wrapper): New variable,
24508 (test-wrapper-env): Likewise.
24509 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24510 (run-built-tests): Define to yes.
24511 (run-program-prefix): Use $(test-wrapper).
24512 (built-program-cmd): Likewise.
24513 * Rules (make-test-out): Use $(test-wrapper-env) and
24514 $(host-built-program-cmd).
24515 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24516 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24518 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24519 $(test-wrapper-env) to tst-rtld-load-self.sh.
24520 ($(objpfx)order2.out): Use $(test-wrapper).
24521 ($(objpfx)tst-initorder.out): Likewise.
24522 ($(objpfx)tst-initorder2.out): Likewise.
24523 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24524 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24525 (test_wrapper_env): New variable. Use it to run ld.so.
24526 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24527 Use it to run ld.so.
24528 (test_wrapper_env): Likewise.
24529 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24530 $(test-wrapper) to run-iconv-test.sh.
24531 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24532 (ICONV): Use $test_wrapper.
24533 * posix/Makefile ($(objpfx)globtest.out): Pass
24534 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24535 globtest.sh, not $(run-program-prefix).
24536 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24537 (test_wrapper): Likewise.
24538 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24539 set together with run_via_rtld_prefix.
24540 (run_program_prefix): Define in terms of test_wrapper and
24541 run_via_rtld_prefix.
24543 2012-10-24 Roland McGrath <roland@hack.frob.com>
24545 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24546 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24550 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24551 Declare __clock_getres, __clock_gettime, __clock_settime,
24552 __clock_nanosleep, and __clock_getcpuclockid.
24553 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24554 Remove librt_hidden_def (clock_gettime).
24555 * sysdeps/unix/clock_gettime.c: Likewise.
24556 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24557 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24558 * rt/clock_getres.c: Define __clock_getres as an alias.
24559 * sysdeps/posix/clock_getres.c: Likewise.
24560 * rt/clock_settime.c: Define __clock_settime as an alias.
24561 * sysdeps/unix/clock_settime.c: Likewise.
24562 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24563 * sysdeps/unix/clock_nanosleep.c: Likewise.
24564 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24565 * rt/clock-compat.c: New file.
24566 * rt/Makefile (librt-routines): Add clock-compat and move
24567 $(clock-routines) to ...
24568 (routines): ... here, new variable.
24569 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24570 Don't add get_clockfreq here.
24571 * rt/Versions (libc: GLIBC_2.17): New version set.
24572 Add clock_* symbols here.
24573 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24574 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24575 (GLIBC_2.17): Add clock_* symbols.
24576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24578 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24587 * NEWS: Mention the move.
24589 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24590 Use __open, __read, __close rather than their public counterparts.
24591 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24592 (__get_clockfreq_via_cpuinfo): Likewise.
24593 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24594 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24596 * config.h.in (HAVE_IFUNC): New #undef.
24597 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24599 * configure: Regenerated.
24601 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24603 * configure.in: Move READELF check to start of file.
24604 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24605 libc_cv_asm_gnu_indirect_function in the process.
24606 * configure: Regenerated.
24608 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24610 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24611 send the output to /dev/null.
24612 (libc_cv_cc_with_libunwind): Likewise.
24613 (libc_cv_as_noexecstack): Likewise.
24614 * configure: Regenerate.
24616 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24618 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24620 * posix/globtest.sh (TMPDIR): Do not set.
24621 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24622 (testout): Likewise.
24624 2012-10-24 Andreas Jaeger <aj@suse.de>
24626 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24627 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24628 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24629 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24630 posix_fadvise64, posix_fallocate64.
24632 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24633 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24634 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24636 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24638 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24641 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24642 <bits/fcntl-linux.h>.
24643 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24646 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24647 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24648 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24649 [__WORDSIZE != 64]: Likewise.
24651 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24653 * Makeconfig (run-built-tests): New variable.
24654 * Rules [$(cross-compiling) = yes]: Change condition to
24655 [$(run-built-tests) = no].
24656 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24657 to [$(run-built-tests) = yes].
24658 * elf/Makefile [$(cross-compiling) = no]: Likewise
24659 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24660 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24661 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24662 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24663 * io/Makefile [$(cross-compiling) = no]: Likewise.
24664 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24665 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24666 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24667 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24668 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24669 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24670 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24671 * string/Makefile [$(cross-compiling) = no]: Likewise.
24673 * posix/Makefile ($(objpfx)globtest.out): Pass
24674 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24675 $(rtld-installed-name).
24676 * posix/globtest.sh (elf_objpfx): Remove variable.
24677 (rtld_installed_name): Likewise.
24678 (library_path): Likewise.
24679 (run_program_prefix): New variable. Use for running globtest
24682 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24683 Joseph Myers <joseph@codesourcery.com>
24685 * Makeconfig (host-built-program-cmd): New variable.
24686 * elf/Makefile (tst-stackguard1-ARGS): Use
24687 $(host-built-program-cmd).
24688 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24689 (tst-spawn-ARGS): Likewise.
24690 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24692 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24693 Jim Blandy <jimb@codesourcery.com>
24695 * Makeconfig (run-via-rtld-prefix): New variable.
24696 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24697 (built-program-cmd): Likewise.
24699 2012-10-22 Andreas Jaeger <aj@suse.de>
24701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24702 __O_RSYNC if it exists, otherwise to O_SYNC.
24704 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24705 Joseph Myers <joseph@codesourcery.com>
24707 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24709 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24711 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24714 2012-10-22 Andreas Jaeger <aj@suse.de>
24716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24721 bits/fcntl-linux.h.
24723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24724 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24731 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24732 Joseph Myers <joseph@codesourcery.com>
24734 * config.make.in (NM): New variable.
24736 2012-10-21 Andreas Jaeger <aj@suse.de>
24738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24739 definitions and declarations that are provided by
24740 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24742 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24745 * elf/Makefile (tests-static): Add tst-leaks1-static.
24746 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24747 ($(objpfx)tst-leaks1-static): New rule.
24748 ($(objpfx)tst-leaks1-static-mem): Likewise.
24749 (tst-leaks1-static-ENV): New macro.
24750 * elf/dl-open.c (dl_open_worker): Check the main application
24751 only if SHARED is defined.
24752 * elf/tst-leaks1-static.c: New file.
24754 2012-10-20 Andreas Jaeger <aj@suse.de>
24756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24757 generic values for Linux.
24758 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24759 and declarations that are provided by <bits/fcntl-linux.h> and
24760 include <bits/fcntl-linux.h>.
24761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24764 2012-10-20 Roland McGrath <roland@hack.frob.com>
24766 * io/fcntl.h: Move include of <bits/types.h> to the top and
24767 include it unconditionally.
24769 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24771 * wcsmbs/Makefile (tests-ifunc): New variable.
24772 (tests): Add $(tests-ifunc).
24773 * wcsmbs/test-wcschr-ifunc.c: New file.
24774 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24775 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24776 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24777 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24778 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24780 * string/Makefile (tests-ifunc): New variable.
24781 (tests): Add $(tests-ifunc).
24782 * string/test-memccpy.c (TEST_NAME): New macro.
24783 * string/test-memchr.c (TEST_NAME): Likewise.
24784 * string/test-memcmp.c (TEST_NAME): Likewise.
24785 * string/test-memcpy.c (TEST_NAME): Likewise.
24786 * string/test-memmem.c (TEST_NAME): Likewise.
24787 * string/test-memmove.c (TEST_NAME): Likewise.
24788 * string/test-memset.c (TEST_NAME): Likewise.
24789 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24790 * string/test-stpcpy.c (TEST_NAME): Likewise.
24791 * string/test-stpncpy.c (TEST_NAME): Likewise.
24792 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24793 * string/test-strcasestr.c (TEST_NAME): Likewise.
24794 * string/test-strcat.c (TEST_NAME): Likewise.
24795 * string/test-strchr.c (TEST_NAME): Likewise.
24796 * string/test-strcmp.c(TEST_NAME): Likewise.
24797 * string/test-strcpy.c (TEST_NAME): Likewise.
24798 * string/test-strcspn.c (TEST_NAME): Likewise.
24799 * string/test-strlen.c (TEST_NAME): Likewise.
24800 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24801 * string/test-strncmp.c (TEST_NAME): Likewise.
24802 * string/test-strncpy.c (TEST_NAME): Likewise.
24803 * string/test-strnlen.c (TEST_NAME): Likewise.
24804 * string/test-strpbrk.c (TEST_NAME): Likewise.
24805 * string/test-strrchr.c (TEST_NAME): Likewise.
24806 * string/test-strspn.c (TEST_NAME): Likewise.
24807 * string/test-strstr.c (TEST_NAME): Likewise.
24808 * string/test-bcopy-ifunc.c: New file.
24809 * string/test-bzero-ifunc.c: Likewise.
24810 * string/test-memccpy-ifunc.c: Likewise.
24811 * string/test-memchr-ifunc.c: Likewise.
24812 * string/test-memcmp-ifunc.c: Likewise.
24813 * string/test-memcpy-ifunc.c: Likewise.
24814 * string/test-memmem-ifunc.c: Likewise.
24815 * string/test-memmove-ifunc.c: Likewise.
24816 * string/test-mempcpy-ifunc.c: Likewise.
24817 * string/test-memset-ifunc.c: Likewise.
24818 * string/test-rawmemchr-ifunc.c: Likewise.
24819 * string/test-stpcpy-ifunc.c: Likewise.
24820 * string/test-stpncpy-ifunc.c: Likewise.
24821 * string/test-strcasecmp-ifunc.c: Likewise.
24822 * string/test-strcasestr-ifunc.c: Likewise.
24823 * string/test-strcat-ifunc.c: Likewise.
24824 * string/test-strchr-ifunc.c: Likewise.
24825 * string/test-strchrnul-ifunc.c: Likewise.
24826 * string/test-strcmp-ifunc.c: Likewise.
24827 * string/test-strcpy-ifunc.c: Likewise.
24828 * string/test-strcspn-ifunc.c: Likewise.
24829 * string/test-strlen-ifunc.c: Likewise.
24830 * string/test-strncasecmp-ifunc.c: Likewise.
24831 * string/test-strncat-ifunc.c: Likewise.
24832 * string/test-strncmp-ifunc.c: Likewise.
24833 * string/test-strncpy-ifunc.c: Likewise.
24834 * string/test-strnlen-ifunc.c: Likewise.
24835 * string/test-strpbrk-ifunc.c: Likewise.
24836 * string/test-strrchr-ifunc.c: Likewise.
24837 * string/test-strspn-ifunc.c: Likewise.
24838 * string/test-strstr-ifunc.c: Likewise.
24840 * debug/Makefile (tests-ifunc): New variable.
24841 (tests): Add $(tests-ifunc).
24842 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24843 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24844 * debug/test-stpcpy_chk-ifunc.c: New file.
24845 * debug/test-strcpy_chk-ifunc.c: Likewise.
24847 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24850 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24851 header is not read in.
24853 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24855 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24856 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24857 directly. Pass built executable to script as
24858 $(built-program-cmd).
24859 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24860 $testprogram without using LD_LIBRARY_PATH and $ldso.
24862 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24863 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24864 $(rtld-installed-name).
24865 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24866 (rtld_installed_name): Likewise.
24867 (library_path): Likewise.
24868 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24869 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24870 $(run-program-prefix) to tst-tables.sh.
24871 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24872 it to run tst-table-from and tst-table-to.
24873 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24874 Pass it to tst-table.sh.
24875 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24876 $(run-program-prefix) to tst-gettext.sh.
24877 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24879 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24881 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24882 to run tst-gettext.
24883 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24884 to run tst-gettext2.
24885 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24886 to run tst-translit.
24887 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24888 $(run-program-prefix) to tst-mtrace.sh.
24889 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24891 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24892 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24893 $(rtld-installed-name).
24894 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24895 (rtld_installed_name): Likewise.
24896 (run_program_prefix): New variable. Use it to run wordexp-test.
24898 * Makeconfig (ARCH): Remove all definitions.
24899 (machine): Likewise.
24900 [ARCH]: Remove conditional code.
24901 [!objdir]: Give error.
24902 [!objdir] (objpfx): Remove.
24903 [!objdir] (common-objpfx): Likewise.
24904 [!objdir] (common-objdir): Likewise.
24905 * configure.in (config_makefile): Remove. Hardcode Makefile in
24906 AC_CONFIG_FILES call.
24907 * configure: Regenerated.
24910 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24912 (testout): Likewise.
24914 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24915 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24916 $(rtld-installed-name).
24917 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24918 (rtld_installed_name): Likwise.
24919 (runit): Remove function.
24920 (run_getconf): New variable, Use it for running getconf binary.
24922 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24925 * string/test-memmem.c (check_result): New function.
24926 (do_one_test): Use it.
24927 (check1): New function.
24928 (test_main): Use it.
24930 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24932 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24934 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24936 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24937 (_G_LSEEK64): Likewise.
24938 (_G_MMAP64): Likewise.
24939 (_G_FSTAT64): Likewise.
24940 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24941 (_G_LSEEK64): Likewise.
24942 (_G_MMAP64): Likewise.
24943 (_G_FSTAT64): Likewise.
24944 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24945 unconditional. Call __mmap64 directly.
24946 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24947 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24948 __lseek64 directly.
24949 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24950 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24952 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24953 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24954 __lseek64 directly.
24955 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24956 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24957 __lseek64 directly.
24958 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24959 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24960 __lseek64 directly.
24961 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24962 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24963 __fxstat64 directly.
24964 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24965 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24967 (freopen64) [!_G_OPEN64]: Remove conditional code.
24968 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24970 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24971 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24973 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24974 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24976 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24977 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24979 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24980 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24982 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24983 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24985 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24986 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24988 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24990 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24993 * manual/memory.texi (Malloc Tunable Parameters): Add note
24994 about free list pointers overwriting some perturb bytes.
24995 Wording suggested by Roland McGrath.
24997 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24999 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25000 (lgamma_test): Likewise.
25001 (tgamma_test): Likewise.
25003 2012-10-16 Florian Weimer <fweimer@redhat.com>
25006 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25007 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25009 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25011 * NEWS: Mention BZ #14716.
25012 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25013 when removing AVAILABLE1_USES_J macro.
25015 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25017 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25018 (__bswap_64): __uint64_t for unsigned 64-bit int.
25020 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25022 * include/string.h (memmem): Declare libc hidden alias.
25023 * string/memmem.c (memmem): Define libc hidden alias.
25024 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25025 __read, __close instead of open, read, close.
25027 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25030 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25032 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25033 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25034 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25036 (__rawmemchr_sse2): Likewise.
25037 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25038 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25039 (__strchr_sse2): Likewise.
25040 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25041 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25042 (__strcasecmp_sse2): Likewise.
25043 (__strncasecmp_sse2): Likewise.
25044 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25045 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25046 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25047 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25048 (__strrchr_sse2): Likewise.
25049 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25051 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25052 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25053 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25054 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25055 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25056 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25057 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25058 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25059 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25060 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25061 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25062 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25063 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25064 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25065 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25066 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25067 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25068 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25069 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25070 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25071 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25072 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25073 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25074 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25075 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25076 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25077 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25078 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25079 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25080 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25082 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25084 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25085 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25086 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25087 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25089 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25091 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25092 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25093 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25094 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25096 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25097 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25098 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25100 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25105 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25106 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25107 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25108 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25109 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25110 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25111 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25112 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25113 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25114 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25115 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25116 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25117 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25118 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25119 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25120 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25121 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25122 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25123 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25124 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25125 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25126 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25127 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25128 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25129 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25130 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25131 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25132 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25133 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25134 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25135 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25136 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25138 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25139 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25140 * include/ifunc-impl-list.h: New file.
25141 * misc/ifunc-impl-list.c: Likewise.
25142 * misc/Makefile (routines): Add ifunc-impl-list.
25143 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25144 * string/test-string.h: Include <ifunc-impl-list.h>.
25145 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25146 TEST_NAME]: New variables.
25147 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25149 (test_init): Call __libc_ifunc_impl_list to initialize
25150 func_list if TEST_IFUNC and TEST_NAME are defined.
25152 * string/Makefile (strop-tests): Add bcopy and bzero.
25153 * string/test-bcopy.c: New file.
25154 * string/test-bzero.c: Likewise.
25155 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25157 * string/test-memset.c: Support bzero test if TEST_BZERO is
25159 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25161 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25163 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25166 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25168 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25169 * configure: Regenerated.
25171 * Makeconfig (+link-static-before-libc): Don't include
25172 $(link-static-libc).
25174 * libio/libio.h (_IO_pos_t): Remove.
25176 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25178 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25181 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25183 * crypt/crypt-entry.c: Include fips-private.h.
25184 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25185 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25186 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25187 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25189 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25191 * crypt/crypt-private.h: Include stdbool.h.
25192 (_ufc_setup_salt_r): Return bool.
25193 * crypt/crypt-entry.c: Include errno.h.
25194 (__crypt_r): Return NULL with EINVAL for bad salt.
25195 * crypt/crypt_util.c (bad_for_salt): New.
25196 (_ufc_setup_salt_r): Check that salt is long enough and within
25197 the specified alphabet.
25198 * crypt/badsalttest.c: New file.
25199 * crypt/Makefile (tests): Add it.
25200 ($(objpfx)badsalttest): New.
25202 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25204 * NEWS: Add entry for BZ #14602.
25206 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25208 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25210 * math/libm-test.inc: Update comment listing what functions and
25212 (isgreater_test): New function.
25213 (isgreaterequal_test): Likewise.
25214 (isless_test): Likewise.
25215 (islessequal_test): Likewise.
25216 (islessgreater_test): Likewise.
25217 (isunordered_test): Likewise.
25218 (main): Call the new functions.
25220 2012-10-09 Roland McGrath <roland@hack.frob.com>
25222 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25223 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25224 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25225 * sysdeps/i386/configure: Regenerated.
25226 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25227 * sysdeps/mach/configure: Regenerated.
25228 * sysdeps/mach/hurd/configure: Regenerated.
25229 * sysdeps/powerpc/configure: Regenerated.
25230 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25231 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25232 * sysdeps/s390/s390-32/configure: Regenerated.
25233 * sysdeps/s390/s390-64/configure: Regenerated.
25234 * sysdeps/sh/configure: Regenerated.
25235 * sysdeps/sparc/configure: Regenerated.
25236 * sysdeps/unix/sysv/linux/configure: Regenerated.
25237 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25238 * sysdeps/x86_64/configure: Regenerated.
25240 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25241 defined. Don't check if MAP is NULL.
25243 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25245 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25246 (_G_stat64): Likewise.
25247 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25248 (_G_stat64): Likewise.
25249 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25250 instead of struct _G_stat64.
25251 * libio/fileops.c (mmap_remap_check): Likewise.
25252 (decide_maybe_mmap): Likewise.
25253 (_IO_new_file_seekoff): Likewise.
25254 (_IO_file_stat): Likewise.
25255 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25257 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25258 instead of struct _G_stat64.
25259 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25261 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25264 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25266 (CHECK_EOL): New macro.
25267 (two_way_short_needle): Check beginning of haystack for EOL. Use
25269 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25270 Replace with CHECK_EOL.
25271 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25272 Replace with CHECK_EOL.
25274 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25276 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25278 * math/libm-test.inc: Update comment listing what functions and
25280 (finite_test): New function.
25281 (isinf_test): Likewise.
25282 (isnan_test): Likewise.
25283 (fpclassify_test): Test subnormal input.
25284 (isfinite_test): Likewise.
25285 (isnormal_test): Likewise.
25286 (main): Call the new functions.
25288 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25291 * Makerules (%.dynsym): Force C locale when running
25292 $(OBJDUMP) --dynamic-syms.
25294 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25296 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25299 2012-10-06 David S. Miller <davem@davemloft.net>
25301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25302 upper 32-bits of the length value in %o2 since we use branch-on-register
25303 tests which consider the entire 64-bit register.
25305 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25307 * string/test-strstr.c (check2): Add a test for page boundary.
25309 2012-10-05 David S. Miller <davem@davemloft.net>
25311 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25312 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25314 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25316 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25317 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25318 and bzero when HWCAP_SPARC_CRYPTO is present.
25320 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25323 * string/test-strstr.c (check2): New function.
25324 (test_main): Call check2.
25326 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25328 * string/bug-strcasestr1.c (do_test): Moved to ...
25329 * string/test-strcasestr.c (check1): Here. New function.
25330 (do_one_test): Break out result checking code into ...
25331 (check_result): This. New function.
25332 (do_one_test): Call check_result.
25333 (test_main): Call check1.
25334 * string/bug-strchr1.c (do_test): Moved to ...
25335 * string/test-strchr.c (check1): Here. New function.
25336 (do_one_test): Break out result checking code into ...
25337 (check_result): This. New function.
25338 (do_one_test): Call check_result.
25339 (test_main): Call check1.
25340 * string/bug-strstr1.c (main): Moved to ...
25341 * string/test-strstr.c (check1): Here. New function.
25342 (do_one_test): Break out result checking code into ...
25343 (check_result): This. New function.
25344 (do_one_test): Call check_result.
25345 (test_main): Call check1.
25346 * string/bug-strcasestr1.c: Removed.
25347 * string/bug-strchr1.c: Likewise.
25348 * string/bug-strstr1.c: Likewise.
25350 * elf/Makefile (dl-routines): Add hwcaps.
25351 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25352 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25353 (_dl_important_hwcaps): Moved to ...
25354 * elf/dl-hwcaps.c: Here. New file.
25355 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25358 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25359 if IS_IN_rtld isn't defined.
25361 * elf/dl-support.c (_dl_sysinfo_map): New.
25362 Include "get-dynamic-info.h" and "setup-vdso.h".
25363 (_dl_non_dynamic_init): Call setup_vdso.
25364 * elf/dynamic-link.h: Don't include <assert.h>.
25365 (elf_get_dynamic_info): Moved to ...
25366 * elf/get-dynamic-info.h: Here. New file.
25367 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25368 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25369 * elf/setup-vdso.h: Here. New file.
25370 * elf/rtld.c: Include "setup-vdso.h".
25371 (dl_main): Call setup_vdso.
25373 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25375 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25376 creal in comment listing functions tested. List finite, isinf,
25377 isnan, isless, islessequal, isgreater, isgreaterequal,
25378 islessgreater, isunordered, lgamma_r and pow10 as functions and
25379 macros not tested. Mention which functions not tested are aliases
25380 for other functions. Fix typo. Note that signs of NaNs are not
25383 * scripts/config.guess: Update from config.git.
25384 * scripts/config.sub: Likewise.
25386 2012-10-04 Roland McGrath <roland@hack.frob.com>
25388 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25389 * misc/madvise.c (madvise): Renamed to __madvise.
25390 Make madvise a weak alias.
25391 * include/sys/mman.h: Declare __madvise.
25392 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25393 * sysdeps/unix/syscalls.list
25394 (madvise): Make __madvise the strong name, and madvise a weak alias.
25395 * sysdeps/unix/sysv/linux/syscalls.list
25396 (madvise, mmap): Remove redundant entries.
25397 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25398 * malloc/malloc.c (mtrim): Likewise.
25399 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25401 2012-10-03 Roland McGrath <roland@hack.frob.com>
25403 * sysdeps/mach/hurd/dl-cache.c: File removed.
25404 * config.h.in (USE_LDCONFIG): New #undef.
25405 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25406 * configure: Regenerated.
25407 * elf/Makefile (dl-routines): Add dl-cache only under
25408 [$(use-ldconfig) = yes].
25409 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25410 cache on [USE_LDCONFIG].
25411 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25413 * elf/rtld.c (dl_main): Likewise.
25415 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25417 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25418 _SC_LEVEL4_CACHE_LINESIZE.
25420 2012-10-03 Roland McGrath <roland@hack.frob.com>
25422 * sysdeps/unix/bsd/confstr.h: File removed.
25424 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25426 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25429 2012-10-02 Roland McGrath <roland@hack.frob.com>
25431 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25432 Make 'mapoff' field ElfW(Off) rather than off_t.
25434 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25436 * nscd/Makefile: Remove nscd-cflags and all its users.
25437 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25438 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25441 * malloc.c (malloc_printerr): Clarify error message.
25443 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25447 Set bit_FMA_Usable if FMA is supported.
25448 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25450 (bit_FMA4_Usable): Updated.
25451 (index_FMA_Usable): New macro.
25452 (CPUID_FMA): Likewise
25453 (HAS_FMA): Defined with bit_FMA_Usable.
25455 2012-10-01 Roland McGrath <roland@hack.frob.com>
25457 * bits/types.h (__swblk_t): Type removed.
25458 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25459 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25461 (__SWBLK_T_TYPE): Likewise.
25462 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25463 (__SWBLK_T_TYPE): Likewise.
25464 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25465 (__SWBLK_T_TYPE): Likewise.
25466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25467 (__SWBLK_T_TYPE): Likewise.
25469 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25470 Honza Horak <hhorak@redhat.com>
25472 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25473 (xdr_mapname): Use YPMAXMAP as maxsize.
25474 (xdr_peername): Use YPMAXPEER as maxsize.
25475 (xdr_keydat): Use YPAXRECORD as maxsize.
25476 (xdr_valdat): Use YPMAXRECORD as maxsize.
25478 2012-10-01 Roland McGrath <roland@hack.frob.com>
25480 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25482 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25483 * csu/init-first.c: ... here.
25484 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25485 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25486 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25487 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25488 * sysdeps/i386/init-first.c: File removed.
25489 * sysdeps/sh/init-first.c: File removed.
25491 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25495 if x * y might underflow to zero and z is zero.
25496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25498 * math/libm-test.inc (min_subnorm_value): New variable.
25499 (fma_test): Add more tests.
25500 (fma_test_towardzero): Likewise.
25501 (fma_test_downward): Likewise
25502 (fma_test_upward): Likewise.
25503 (initialize): Set min_subnorm_value.
25505 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25510 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25511 mode for addition resulting in exact zero.
25512 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25515 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25517 * math/libm-test.inc (fma_test): Add more tests.
25518 (fma_test_towardzero): New function.
25519 (fma_test_downward): Likewise.
25520 (fma_test_upward): Likewise.
25521 (main): Call the new functions.
25523 2012-09-28 David S. Miller <davem@davemloft.net>
25525 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25527 2012-09-28 Roland McGrath <roland@hack.frob.com>
25529 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25530 instead of SIGALRM.
25532 * sysdeps/gnu/_G_config.h: Moved to ...
25533 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25534 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25535 * sysdeps/generic/_G_config.h: ... here.
25537 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25539 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25541 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25542 Conditionalize target on [libnss_test1.so-version].
25544 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25546 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25547 (elfobjdir): Move out of conditionals.
25549 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25550 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25551 (__nss_lookup_function): Conditionalize label remove_from_tree on
25552 [!DO_STATIC_NSS || SHARED], matching its only use.
25554 2012-09-28 David S. Miller <davem@davemloft.net>
25556 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25559 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25561 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25563 when HWCAP_SPARC_CRYPTO is present.
25565 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25567 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25569 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25572 * stdio-common/vfprintf.c (process_string_arg): Revert
25575 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25577 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25579 * stdio-common/tst-sprintf.c: Include <locale.h>
25580 (main): Test sprintf's handling of incomplete multibyte
25583 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25585 * elf/dl-runtime.c (VERSYMIDX): Removed.
25586 * elf/dl-version.c (VERSYMIDX): Likewise.
25587 * elf/do-rel.h (VERSYMIDX): Likewise.
25588 (VALIDX): Likewise.
25589 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25590 * elf/rtld.c (VALIDX): Likewise.
25591 (ADDRIDX): Likewise.
25592 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25593 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25594 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25595 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25596 (VALIDX): Likewise.
25597 (ADDRIDX): Likewise.
25599 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25601 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25603 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25606 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25608 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25609 addresses are in the same scope as 192.0.2/24.
25610 * posix/gai.conf: Document new scope table defaults.
25612 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25615 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25616 for ftell. Compute offsets from write pointers instead.
25617 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25619 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25622 * libio/Makefile (tests): New test case tst-fseek.
25623 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25624 combination works in wide mode.
25625 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25626 state when the external buffer state changes.
25628 2012-09-27 David S. Miller <davem@davemloft.net>
25631 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25632 pass reloc->r_addend in as the 'high' argument to
25633 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25637 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25639 * rt/tst-aio2.c: Include <pthread.h>.
25640 * rt/tst-aio3.c: Likewise.
25642 2012-09-27 Steve Ellcey <sellcey@mips.com>
25644 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25646 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25648 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25649 contents on [SHARED].
25651 2012-09-26 Marek Polacek <polacek@redhat.com>
25655 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25656 for C++ and GCC <4.3 as well as for non GCC compilers.
25658 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25662 2012-09-25 Roland McGrath <roland@hack.frob.com>
25664 * Makefile.in (all, install): Declare with .PHONY.
25665 Reported by Michael Hope <michael.hope@linaro.org>.
25667 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25669 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25670 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25672 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25674 (sydep_routines): Add the new and the internal functions.
25675 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25676 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25678 (GLIBC_2.17): Add the new function.
25679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25680 (GLIBC_2.17): Likewise.
25681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25682 (GLIBC_2.17): Likewise.
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25684 (GLIBC_2.17): Likewise.
25685 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25687 2012-09-25 Alan Modra <amodra@gmail.com>
25689 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25690 Add release barrier before setting once_control to say
25691 initialisation is done. Add hints on lwarx. Use macro in
25693 (clear_once_control): Add release barrier.
25695 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25698 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25700 * math/s_clog10.c (__clog10): Likewise.
25701 * math/s_clog10f.c (__clog10f): Likewise.
25702 * math/s_clog10l.c (__clog10l): Likewise.
25703 * math/s_clogf.c (__clogf): Likewise.
25704 * math/s_clogl.c (__clogl): Likewise.
25705 * math/Makefile (libm-calls): Add x2y2m1.
25706 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25707 (__x2y2m1): Likewise.
25708 (__x2y2m1l): Likewise.
25709 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25710 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25715 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25716 * sysdeps/i386/fpu/libm-test-ulps: Update.
25717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25720 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25721 int as type of variable DEPTH.
25722 (glob): Use size_t instead of int as type of variables NEWCOUNT
25725 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25727 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25728 Add s_sincosf-sse2.
25729 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25730 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25731 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25732 macros for using routine as __sincosf_ia32.
25733 Use macro for function declaration and weak_alias.
25734 * sysdeps/i386/fpu/libm-test-ulps: Update.
25736 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25739 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25740 subnormal argument.
25741 * math/s_cexpf.c (__cexpf): Likewise.
25742 * math/s_csinf.c (__csinf): Likewise.
25743 * math/s_csinhf.c (__csinhf): Likewise.
25744 * math/s_ctanf.c (__ctanf): Likewise.
25745 * math/s_ctanhf.c (__ctanhf): Likewise.
25746 * math/s_ccosh.c (__ccoshf): Likewise.
25747 * math/s_cexp.c (__cexpl): Likewise.
25748 * math/s_csin.c (__csin): Likewise.
25749 * math/s_csinh.c (__csinh): Likewise.
25750 * math/s_ctan.c (__ctan): Likewise.
25751 * math/s_ctanh.c (ctanh): Likewise.
25752 * math/s_ccoshl.c (__ccoshl): Likewise.
25753 * math/s_cexpl.c (__cexpl): Likewise.
25754 * math/s_csinl.c (__csinl): Likewise.
25755 * math/s_csinhl.c (__csinhl): Likewise.
25756 * math/s_ctanl.c (__ctanl): Likewise.
25757 * math/s_ctanhl.c (__ctanhl): Likewise.
25759 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25761 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25762 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25763 (_IO_off_t): Define to __off_t, not _G_off_t.
25764 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25765 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25766 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25767 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25768 type of __dummy and __dummy2 fields.
25769 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25770 (_G_ssize_t): Likewise.
25771 (_G_off_t): Likewise.
25772 (_G_pid_t): Likewise.
25773 (_G_uid_t): Likewise.
25774 (_G_wchar_t): Likewise.
25775 (_G_wint_t): Likewise.
25776 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25777 (_G_ssize_t): Likewise.
25778 (_G_off_t): Likewise.
25779 (_G_pid_t): Likewise.
25780 (_G_uid_t): Likewise.
25781 (_G_wchar_t): Likewise.
25782 (_G_wint_t): Likewise.
25783 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25784 (_G_ssize_t): Likewise.
25785 (_G_off_t): Likewise.
25786 (_G_pid_t): Likewise.
25787 (_G_uid_t): Likewise.
25788 (_G_wchar_t): Likewise.
25789 (_G_wint_t): Likewise.
25791 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25793 * malloc/arena.c: Include malloc-sysdep.h.
25794 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25795 is sufficient to shrink the heap or an unmap is needed.
25796 * sysdeps/generic/malloc-sysdep.h: New file. Define
25797 new function check_may_shrink_heap.
25798 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25799 new function check_may_shrink_heap.
25801 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25803 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25806 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25808 * catgets/test-gencat.sh: Add "set -e".
25809 * elf/tst-pathopt.sh: Likewise.
25810 * grp/tst_fgetgrent.sh: Likewise.
25811 * iconvdata/run-iconv-test.sh: Likewise.
25812 * intl/tst-gettext.sh: Likewise.
25813 * intl/tst-gettext2.sh: Likewise.
25814 * intl/tst-gettext4.sh: Likewise.
25815 * intl/tst-gettext6.sh: Likewise.
25816 * intl/tst-translit.sh: Likewise.
25817 * io/ftwtest-sh: Likewise.
25818 * libio/test-freopen.sh: Likewise.
25819 * malloc/tst-mtrace.sh: Likewise.
25820 * posix/globtest.sh: Likewise.
25821 * posix/tst-getconf.sh: Likewise.
25822 * posix/wordexp-tst.sh: Likewise.
25823 * stdio-common/tst-printf.sh: Likewise.
25824 * stdio-common/tst-unbputc.sh: Likewise.
25825 * stdlib/tst-fmtmsg.sh: Likewise.
25826 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25827 * catgets/Makefile: Do not specify -e option when running
25828 testsuite shell scripts.
25829 * elf/Makefile: Likewise.
25830 * grp/Makefile: Likewise.
25831 * iconvdata/Makefile: Likewise.
25832 * intl/Makefile: Likewise.
25833 * io/Makefile: Likewise.
25834 * libio/Makefile: Likewise.
25835 * malloc/Makefile: Likewise.
25836 * posix/Makefile: Likewise.
25837 * stdio-common/Makefile: Likewise.
25838 * stdlib/Makefile: Likewise.
25839 * sysdeps/x86_64/Makefile: Likewise.
25841 * io/ftwtest-sh: Add copyright header.
25842 * posix/globtest.sh: Likewise.
25843 * posix/tst-getconf.sh: Likewise.
25844 * posix/wordexp-tst.sh: Likewise.
25845 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25847 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25850 * Makeconfig (+link): Defined as $(+link-static) if
25851 $(build-shared) isn't yes.
25852 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25854 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25856 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25859 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25860 new chunk size with MALLOC_ALIGN_MASK.
25862 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25865 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25867 (__printf_fphex): Determine rounding using get_rounding_mode and
25869 * stdio-common/tst-printf-round.c (struct hex_test): New
25871 (hex_tests): New variable.
25872 (test_hex_in_one_mode): New function.
25873 (do_test): Also run tests for hex float output.
25875 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25877 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25878 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25879 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25880 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25881 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25882 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25883 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25884 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25886 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25888 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25889 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25890 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25891 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25893 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25896 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25898 * elf/tst-rtld-load-self.sh: New test.
25899 * elf/Makefile: Run it.
25901 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25903 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25904 (tst-writev-ENV): Remove.
25905 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25907 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25909 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25911 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25913 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25915 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25917 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25918 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25919 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25922 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25925 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25926 * config.make.in (have-cpp-asm-debuginfo): Removed.
25927 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25928 * configure: Regenerated.
25930 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25933 * stdio-common/printf_fp.c: Include <stdbool.h> and
25935 (___printf_fp): Determine rounding using get_rounding_mode and
25937 * stdio-common/tst-printf-round.c: New file.
25938 * stdio-common/Makefile (tests): Add tst-printf-round.
25939 (link-libm): New variable.
25940 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25942 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25945 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25946 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25948 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25951 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25953 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25954 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25955 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25956 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25958 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25961 * include/rounding-mode.h: New file.
25962 * sysdeps/generic/get-rounding-mode.h: Likewise.
25963 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25964 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25965 (MAX_VALUE): New macro.
25966 (MIN_VALUE): Likewise.
25967 (overflow_value): New function.
25968 (underflow_value): Likewise.
25969 (round_and_return): Use overflow_value and underflow_value to
25970 determine return values in overflow and underflow cases. Use
25971 round_away to determine rounding depending on rounding mode.
25972 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25973 determine return values in overflow and underflow cases.
25974 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25975 (struct test_results): New structure.
25976 (struct test): Use struct test_results to store expected results
25977 for all rounding modes.
25978 (TEST): Include expected results for all rounding modes.
25979 (test_in_one_mode): New function.
25980 (do_test): Use test_in_one_mode to compute and check results.
25981 Check results for all rounding modes.
25982 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25985 2012-12-09 Allan McRae <allan@archlinux.org>
25987 * sysdeps/i386/fpu/libm-test-ulps: Update
25989 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25991 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25992 (_G_int32_t): Likewise.
25993 (_G_uint16_t): Likewise.
25994 (_G_uint32_t): Likewise.
25995 (_G_HAVE_BOOL): Likewise.
25996 (_G_HAVE_ATEXIT): Likewise.
25997 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25998 (_G_HAVE_IO_FILE_OPEN): Likewise.
25999 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26000 (_G_int32_t): Likewise.
26001 (_G_uint16_t): Likewise.
26002 (_G_uint32_t): Likewise.
26003 (_G_HAVE_BOOL): Likewise.
26004 (_G_HAVE_ATEXIT): Likewise.
26005 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26006 (_G_HAVE_IO_FILE_OPEN): Likewise.
26007 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26008 (_G_int32_t): Likewise.
26009 (_G_uint16_t): Likewise.
26010 (_G_uint32_t): Likewise.
26011 (_G_HAVE_BOOL): Likewise.
26012 (_G_HAVE_ATEXIT): Likewise.
26013 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26014 (_G_HAVE_IO_FILE_OPEN): Likewise.
26016 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26018 * csu/libc-tls.c: Update copyright years.
26020 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26022 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26023 [!_G_USING_THUNKS]: Remove conditional code.
26024 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26025 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26027 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26028 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26029 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26030 (_G_VTABLE_LABEL_PREFIX): Likewise.
26031 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26032 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26033 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26034 (_G_VTABLE_LABEL_PREFIX): Likewise.
26035 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26036 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26037 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26038 (_G_VTABLE_LABEL_PREFIX): Likewise.
26039 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26041 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26043 * libio/Makefile: Include ../Makeconfig before tests.
26044 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26045 only if $(build-shared) is yes.
26047 * iconv/gconv_db.c: Update copyright years.
26049 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26051 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26052 unwind info if defined PIC. Fix special cases description.
26053 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26055 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26057 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26059 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26061 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26063 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26066 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26067 (LDLIBS-tst-chk4): This.
26068 (LDFLAGS-tst-chk5): Renamed to ...
26069 (LDLIBS-tst-chk5): This.
26070 (LDFLAGS-tst-chk6): Renamed to ...
26071 (LDLIBS-tst-chk6): This.
26072 (LDFLAGS-tst-lfschk4): Renamed to ...
26073 (LDLIBS-tst-lfschk4): This.
26074 (LDFLAGS-tst-lfschk5): Renamed to ...
26075 (LDLIBS-tst-lfschk5): This.
26076 (LDFLAGS-tst-lfschk6): Renamed to ...
26077 (LDLIBS-tst-lfschk6): This.
26079 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26080 on $(common-objpfx)soversions.mk.
26082 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26085 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26088 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26090 * malloc/arena.c (arena_get_retry): New function that gets
26091 another arena for the caller to try its request on.
26092 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26093 current arena cannot fulfill the request.
26094 (__libc_memalign): Likewise.
26095 (__libc_memalign): Likewise.
26096 (__libc_pvalloc): Likewise.
26097 (__libc_calloc): Likewise.
26099 2012-09-05 John Tobey <john.tobey@gmail.com>
26102 * manual/arith.texi (Operations on Complex): Fix description
26103 of carg branch cut.
26105 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26108 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26112 * manual/memory.texi (Memory): Make order of menu items match
26115 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26117 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26118 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26119 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26121 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26123 * csu/libc-tls.c (static_dtv): Renamed to ...
26124 (_dl_static_dtv): This. Make it global.
26125 (_dl_initial_dtv): Removed.
26126 (__libc_setup_tls): Updated.
26127 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26128 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26131 2012-09-06 Petr Machata <pmachata@redhat.com>
26133 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26134 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26135 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26136 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26138 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26141 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26142 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26145 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26148 * Makeconfig (link-static-before-libc): Replace $(+prector)
26150 (link-static-after-libc): Replace $(+postctor) with
26152 (link-bounded): Replace $(+prector)/$(+postctor) with
26153 $(+prectorT)/$(+postctorT).
26154 (+prectorT): New macro.
26155 (+postctorT): Likewise.
26157 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26159 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26160 (round_str): Handle values above the maximum for IBM long double
26162 * stdlib/tst-strtod-round.c (tests): Regenerated.
26164 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26166 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26168 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26169 zarch_nohighgprs around the zarch optimized routines.
26170 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26171 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26175 2012-09-05 David S. Miller <davem@davemloft.net>
26177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26179 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26180 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26181 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26182 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26185 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26187 * malloc/arena.c: Fold copyright years.
26188 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26190 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26192 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26194 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26196 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26198 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26200 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26201 change internal state upon failure.
26203 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26205 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26206 * malloc/memusage.c (mmap): Likewise.
26207 (mmap64, mremap): Likewise. Adjust name in comment.
26209 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26211 * libio/fileops.c: Fix typos in comments.
26212 * libio/oldfileops.c: Likewise.
26213 * libio/wfileops.c: Likewise.
26215 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26218 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26219 (tst-malloc-usable-ENV): Set environment for test case.
26220 * malloc/hooks.c (malloc_check_get_size): New function to get
26222 * malloc/malloc.c (musable): Use malloc_check_get_size.
26223 * malloc/tst-malloc-usable.c: New test case.
26225 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26227 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26229 2012-09-05 Allan McRae <allan@archlinux.org>
26232 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26233 determine header location.
26234 * configure: Regenerated.
26236 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26238 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26240 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26241 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26243 (test): Regenerate.
26245 2012-09-04 David S. Miller <davem@davemloft.net>
26247 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26248 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26249 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26251 2012-09-04 Florian Weimer <fweimer@redhat.com>
26253 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26256 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26258 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26261 * libio/iogetdelim.c: Include <limits.h>.
26262 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26263 + len + 1 would overflow.
26265 2012-09-03 Andreas Jaeger <aj@suse.de>
26267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26268 * sysdeps/i386/fpu/libm-test-ulps: Update.
26270 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26272 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26273 Add s_sinf-sse2, s_conf-sse2.
26275 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26276 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26277 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26278 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26280 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26281 for using routine as __sinf_ia32.
26282 Use macro for function declaration and weak_alias.
26283 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26284 for using routine as __cosf_ia32.
26285 Use macro for function declaration and weak_alias.
26287 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26288 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26290 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26291 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26294 * math/libm-test.inc (cos_test): Add more test cases.
26295 (sin_test): Likewise.
26296 (sincos_test): Likewise.
26298 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26300 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26301 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26303 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26305 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26308 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26309 first element of the GOT.
26310 (elf_machine_load_address): Return the difference between
26311 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26313 2012-09-01 Allan McRae <allan@archlinux.org>
26316 * configure.in (AWK): Require gawk version 3.0 or later.
26317 * configure: Regenerated.
26319 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26321 * sysdeps/unix/sysv/linux/kernel-features.h
26322 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26323 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26324 [__NR_clock_getres]: Make code unconditional.
26325 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26326 (clock_getcpuclockid): Remove code left unreachable by removal of
26328 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26329 code unconditional.
26330 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26331 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26332 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26333 Make code unconditional.
26334 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26335 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26336 * sysdeps/unix/sysv/linux/clock_settime.c
26337 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26339 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26340 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26342 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26345 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26346 scripts/test-installation.pl.
26348 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26349 and $ld_so_version if it is set.
26351 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26354 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26355 failure if reading from procfs failed.
26356 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26358 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26360 * sysdeps/unix/sysv/linux/kernel-features.h
26361 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26362 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26363 Remove conditional code.
26364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26365 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26366 Remove conditional code.
26367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26368 * sysdeps/unix/sysv/linux/i386/fxstat.c
26369 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26371 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26372 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26374 * sysdeps/unix/sysv/linux/i386/lxstat.c
26375 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26377 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26378 Remove conditional code.
26379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26380 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26381 Remove conditional code.
26382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26383 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26384 <kernel-features.h>.
26385 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26387 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26388 Remove conditional code.
26389 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26390 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26391 Remove conditional.
26393 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26396 * NEWS: Add fixed bug number.
26398 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26401 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26402 underflowing exponent in case of negative sign.
26403 * stdlib/tst-strtod-round-data: Add more tests.
26404 * stdlib/tst-strtod-round.c (tests): Regenerated.
26407 * stdlib/strtod_l.c (NDIG): Remove.
26408 (HEXNDIG): Likewise.
26409 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26410 smallest representable value.
26411 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26412 lie within an exact representation of 1/2 ulp of the result.
26413 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26415 (TENS_P9_IDX): Define unconditionally.
26416 (TENS_P9_SIZE): Likewise.
26417 (TENS_P10_IDX): Likewise.
26418 (TENS_P10_SIZE): Likewise.
26419 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26420 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26421 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26422 entries for 10^2^13 and 10^2^14.
26423 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26424 (TENS_P13_IDX): Define.
26425 (TENS_P13_SIZE): Likewise.
26426 (TENS_P14_IDX): Likewise.
26427 (TENS_P14_SIZE): Likewise.
26428 (_fpioconst_pow10): Change array size to
26429 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26431 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26432 1024]: Add entries for 10^2^13 and 10^2^14.
26433 [LAST_POW10 > _LAST_POW10]: Remove #error.
26434 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26435 (_fpioconst_pow10): Change array size to
26436 FPIOCONST_POW10_ARRAY_SIZE.
26437 * stdlib/gen-fpioconst.c: New file.
26438 * stdlib/gen-tst-strtod-round.c: Likewise.
26439 * stdlib/tst-strtod-round-data: Likewise.
26440 * stdlib/tst-strtod-round.c: Likewise.
26441 * stdlib/Makefile (tests): Add tst-strtod-round.
26444 * stdlib/strtod_l.c: Include <stdint.h>.
26445 (NDEBUG): Do not define.
26446 (round_and_return): Change EXPONENT parameter to type intmax_t.
26447 Rearrange calculations to avoid internal overflow possibilities.
26448 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26449 Rearrange calculations to avoid internal overflow possibilities.
26450 Assert that number fits inside MPNSIZE limbs.
26451 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26452 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26453 calculations and add assertions to avoid internal overflow
26454 possibilities. Add casts to avoid signed/unsigned operations.
26455 * stdlib/tst-strtod-overflow.c: New file.
26456 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26458 2012-08-25 Marek Polacek <polacek@redhat.com>
26460 * time/time.h: Fix some typos in comments.
26462 2012-08-23 Roland McGrath <roland@hack.frob.com>
26464 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26465 * posix/tst-rfc3484-2.c: Likewise.
26466 * posix/tst-rfc3484-3.c: Likewise.
26468 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26470 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26471 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26473 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26475 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26476 #include of fxstatat64.c.
26478 2012-08-22 Roland McGrath <roland@hack.frob.com>
26480 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26481 * shadow/getspent_r.c: Likewise.
26482 * shadow/getspnam.c: Likewise.
26483 * shadow/getspnam_r.c: Likewise.
26484 * gshadow/getsgent.c: Likewise.
26485 * gshadow/getsgent_r.c: Likewise.
26486 * gshadow/getsgnam.c: Likewise.
26487 * gshadow/getsgnam_r.c: Likewise.
26488 * inet/getnetbyad.c: Likewise.
26489 * inet/getnetbyad_r.c: Likewise.
26490 * inet/getnetbynm.c: Likewise.
26491 * inet/getnetbynm_r.c: Likewise.
26492 * inet/getnetent.c: Likewise.
26493 * inet/getnetent_r.c: Likewise.
26494 * inet/getproto.c: Likewise.
26495 * inet/getproto_r.c: Likewise.
26496 * inet/getprtent.c: Likewise.
26497 * inet/getprtent_r.c: Likewise.
26498 * inet/getprtname.c: Likewise.
26499 * inet/getprtname_r.c: Likewise.
26500 * inet/getrpcbyname.c: Likewise.
26501 * inet/getrpcbyname_r.c: Likewise.
26502 * inet/getrpcbynumber.c: Likewise.
26503 * inet/getrpcbynumber_r.c: Likewise.
26504 * inet/getrpcent.c: Likewise.
26505 * inet/getrpcent_r.c: Likewise.
26506 * inet/getaliasent.c: Likewise.
26507 * inet/getaliasent_r.c: Likewise.
26508 * inet/getaliasname.c: Likewise.
26509 * inet/getaliasname_r.c: Likewise.
26510 * nscd/getgrgid_r.c: Likewise.
26511 * nscd/getgrnam_r.c: Likewise.
26512 * nscd/gethstbyad_r.c: Likewise.
26513 * nscd/gethstbynm3_r.c: Likewise.
26514 * nscd/getpwnam_r.c: Likewise.
26515 * nscd/getpwuid_r.c: Likewise.
26516 * nscd/getsrvbynm_r.c: Likewise.
26517 * nscd/getsrvbypt_r.c: Likewise.
26518 * nscd/gai.c: Likewise.
26520 * configure.in (build_nscd): New substituted variable, set
26521 by --disable-build-nscd and defaults to $use_nscd.
26522 * configure: Regenerated.
26523 * config.make.in (build-nscd): New substituted variable.
26524 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26525 Change conditional to require [$(build-nscd) = yes] as well.
26526 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26529 * configure.in (use_nscd): New substituted variable, set by
26530 --disable-nscd. If enabled, define USE_NSCD.
26531 * configure: Regenerated.
26532 * config.h.in: Add USE_NSCD.
26533 * config.make.in (use-nscd): New substituted variable.
26534 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26535 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26536 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26537 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26538 (CFLAGS-getgrnam_r.c): Likewise.
26539 (CFLAGS-initgroups.c): Likewise.
26540 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26541 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26543 * inet/getnetgrent_r.c
26544 (nscd_setnetgrent): New function, broken out of ...
26545 (setnetgrent): ... here. Call it.
26546 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26547 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26548 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26549 * nscd/Makefile (routines, aux): Move definitions after include of
26550 Makeconfig. Conditionalize on [$(use-nscd) != no].
26551 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26552 Conditionalize on [USE_NSCD].
26553 (is_nscd, nscd_init_cb): Likewise.
26554 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26555 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26556 * nss/nss_db/db-init.c: Likewise.
26557 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26559 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26560 (make_request): Use it.
26561 (cache_valid_p): New function.
26562 (__check_pf): Use it.
26563 * NEWS: Add item for --disable-nscd.
26565 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26567 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26568 to support sed >= 4.2.1-20-ga9bf076.
26569 * configure: Regenerated.
26571 2012-08-22 Roland McGrath <roland@hack.frob.com>
26573 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26574 Conditionalize whole body on [IREL].
26576 2012-08-22 Jeff Law <law@redhat.com>
26579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26580 if the family is PF_UNSPEC.
26582 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26584 * Makerules (lib-version): Rename from V.
26585 (install-lib-nosubdir): Change V to lib-version.
26587 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26590 * powerpc32/power6/wcschr.c: New file.
26591 * powerpc32/power6/wcscpy.c: New file.
26592 * powerpc32/power6/wcsrchr.c: New file.
26593 * powerpc64/power6/wcschr.c: New file.
26594 * powerpc64/power6/wcscpy.c: New file.
26595 * powerpc64/power6/wcsrchr.c: New file.
26597 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26599 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26600 (two_way_short_needle): Use it.
26601 * string/strstr.c (AVAILABLE1_USES_J): Define.
26602 * string/strcasestr.c: Likewise.
26604 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26606 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26609 * NEWS: Add an entry.
26610 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26611 define their defaults.
26612 (two_way_short_needle): Detect end-of-string on-the-fly.
26613 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26614 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26615 * string/bug-strcasestr1.c: New test.
26616 * string/Makefile: Run it.
26618 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26621 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26622 the first character.
26624 2012-08-21 Roland McGrath <roland@hack.frob.com>
26626 * csu/elf-init.c (__libc_csu_irel): Function removed.
26627 * csu/libc-start.c (apply_irel): New function.
26628 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26630 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26632 * sysdeps/unix/sysv/linux/kernel-features.h
26633 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26634 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26635 <kernel-features.h>.
26636 [__NR_fadvise64_64]: Make code unconditional.
26637 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26638 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26639 !__NR_fadvise64_64)]: Likewise.
26640 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26641 !__NR_fadvise64_64))]: Likewise.
26642 [__NR_fadvise64]: Make code unconditional.
26643 [!__NR_fadvise64]: Remove conditional code.
26644 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26645 <kernel-features.h>.
26646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26651 not include <kernel-features.h>.
26652 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26654 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26656 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26657 include <kernel-features.h>.
26658 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26660 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26663 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26665 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26666 slight instruction rearrangements per scrollpipe analysis.
26667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26669 2012-08-20 Roland McGrath <roland@hack.frob.com>
26671 * manual/syslog.texi (syslog; vsyslog, closelog):
26672 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26673 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26675 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26676 DSOCAPS to match condition on defining it.
26678 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26680 * sysdeps/unix/sysv/linux/kernel-features.h
26681 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26683 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26684 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26686 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26687 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26689 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26690 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26692 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26693 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26695 * sysdeps/unix/sysv/linux/kernel-features.h
26696 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26697 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26699 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26700 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26701 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26702 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26703 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26704 Make code unconditional.
26705 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26706 (__mmap64) [!__NR_mmap2]: Likewise.
26707 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26708 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26709 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26710 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26711 [__NR_mmap2]: Make code unconditional.
26712 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26713 (__mmap64) [!__NR_mmap2]: Likewise.
26715 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26717 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26719 2012-08-18 Andreas Jaeger <aj@suse.de>
26721 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26723 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26725 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26726 * include/unistd.h (__have_sock_cloexec): Likewise.
26727 (__have_pipe2): Likewise.
26728 (__have_dup3): Likewise.
26730 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26733 * include/unistd.h (__have_pipe2): Change define into an extern int.
26734 (__have_dup3): Likewise.
26735 * socket/have_sock_cloexec.c: Include fcntl.h.
26736 (__have_pipe2): New variable.
26737 (__have_dup3): Likewise.
26739 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26741 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26743 2012-08-17 Marek Polacek <polacek@redhat.com>
26745 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26746 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26748 2012-08-17 Roland McGrath <roland@hack.frob.com>
26750 * configure.in: Add AC_SUBST for sysheaders.
26751 * configure: Regenerated.
26752 * config.make.in (sysheaders): New substituted variable.
26754 * sysdeps/unix/mkfifo.c: Moved ...
26755 * sysdeps/posix/mkfifo.c: ... here.
26756 * sysdeps/unix/mkfifoat.c: Moved ...
26757 * sysdeps/posix/mkfifoat.c: ... here.
26759 * sysdeps/unix/utime.c: Moved ...
26760 * sysdeps/posix/utime.c: ... here.
26762 * sysdeps/unix/time.c: Moved ...
26763 * sysdeps/posix/time.c: ... here.
26764 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26765 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26767 * sysdeps/unix/nice.c: Moved ...
26768 * sysdeps/posix/nice.c: ... here.
26770 * sysdeps/unix/alarm.c: Moved ...
26771 * sysdeps/posix/alarm.c: ... here.
26773 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26775 2012-08-17 Jeff Law <law@redhat.com>
26777 * intl/Makefile (codeset_mo): New variable.
26778 ($(codeset_mo)): New target.
26779 (tst-codeset.out): Depend on that. Remove explicit rule.
26780 (tst-gettext3.out, tst-gettext5.out): Likewise.
26781 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26782 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26783 * intl/tst-codeset.sh: Remove.
26784 * intl/tst-gettext3.sh: Likewise.
26785 * intl/tst-gettext5.sh: Likewise.
26787 2012-08-17 Roland McGrath <roland@hack.frob.com>
26789 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26790 * sysdeps/unix/syscalls.list: ... here.
26792 * sysdeps/posix/getaddrinfo.c
26793 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26794 (gaiconf_init, gaiconf_reload): Use them.
26795 [!_STATBUF_ST_NSEC]
26796 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26797 Define using time_t rather than struct timespec.
26799 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26800 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26802 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26804 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26805 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26808 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26809 __libc_cleanup_push argument.
26811 * bits/param.h: New file.
26812 * misc/sys/param.h: New file.
26813 * include/sys/param.h: New file.
26814 * misc/Makefile (headers): Add bits/param.h.
26815 * sysdeps/generic/sys/param.h: File removed.
26816 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26817 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26818 * sysdeps/mach/hurd/bits/param.h: New file.
26819 * sysdeps/mach/hurd/sys/param.h: File removed.
26821 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26824 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26826 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26827 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26830 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26831 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26832 rather than -D_IO_MTSAFE_IO conditionally.
26833 * stdio-common/Makefile (CPPFLAGS): Likewise.
26834 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26835 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26836 Use $(libio-mtsafe).
26837 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26838 of -D_IO_MTSAFE_IO.
26839 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26840 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26841 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26842 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26843 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26844 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26845 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26846 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26847 (CFLAGS-fread_u_chk.c): Likewise.
26848 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26849 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26850 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26851 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26852 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26853 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26854 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26855 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26856 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26858 * libio/Makefile: Test [$(libc-reentrant) = yes]
26859 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26862 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26863 * sysdeps/pthread/configure: File removed.
26864 * sysdeps/pthread/Makeconfig: New file.
26865 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26866 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26868 2012-08-16 Gary Benson <gbenson@redhat.com>
26870 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26871 unmapping the first object in a namespace.
26873 2012-08-16 Roland McGrath <roland@hack.frob.com>
26875 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26876 (__internal_setnetgrent): ... this. Add internal_function to
26877 definition. Add libc_hidden_def.
26878 (setnetgrent): Update caller.
26879 (internal_endnetgrent): Renamed to ...
26880 (__internal_endnetgrent): ... this. Add internal_function to
26881 definition. Add libc_hidden_def.
26882 (endnetgrent): Update caller.
26883 (internal_getnetgrent_r): Renamed to ...
26884 (__internal_getnetgrent_r): ... this. Add internal_function to
26885 definition. Add libc_hidden_def.
26886 (__getnetgrent_r): Update caller.
26887 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26889 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26891 * stdlib/longlong.h: Update from GCC.
26893 2012-08-16 Roland McGrath <roland@hack.frob.com>
26895 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26896 on _QL, which is set by umul_ppmm but never used.
26897 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26898 variables, which are set by GMP macros but never used.
26899 * stdio-common/_itowa.c (_itowa): Likewise.
26900 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26901 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26903 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26905 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26906 struct La_sh_regs is not constant.
26907 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26908 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26909 and struct La_sparc64_regs are not constant.
26911 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26913 * sysdeps/unix/sysv/linux/kernel-features.h
26914 (__ASSUME_POSIX_TIMERS): Remove.
26915 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26917 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26918 Make code unconditional.
26919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26920 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26921 Make code unconditional.
26922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26923 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26924 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26926 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26927 Make code unconditional.
26928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26929 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26930 (__libc_missing_posix_timers): Remove.
26932 2012-08-15 Roland McGrath <roland@hack.frob.com>
26934 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26935 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26937 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26939 * elf/dl-sym.c: Include <stdlib.h>.
26941 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26942 constants, which avoids warnings in 32-bit builds.
26944 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26945 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26947 * misc/lseek.c: File moved to ...
26948 * io/lseek.c: ... here.
26950 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26952 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26953 shifting LEN more than 31 bits at once.
26955 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26958 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26959 segmentation fault for a case of two empty input strings.
26960 * string/test-strncasecmp.c (check1): Renamed to...
26961 (bz12205): ...this.
26962 (bz14195): Add new testcase for two empty input strings and N > 0.
26963 (test_main): Call new testcase, adapt for renamed function.
26965 2012-08-15 Andreas Jaeger <aj@suse.de>
26968 * crypt/md5test2.c: New test, based on test supplied by Serge
26969 Belyshev <belyshev@depni.sinp.msu.ru>.
26970 * crypt/Makefile (xtests): Add md5test-giant..
26971 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26973 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26976 * crypt/md5.c (md5_process_block): Don't assume the buffer
26977 length is less than 2**32.
26978 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26979 length is less than 2**64.
26981 2012-08-15 Roland McGrath <roland@hack.frob.com>
26983 * string/str-two-way.h: Include <sys/param.h>.
26984 (MAX): Macro removed.
26986 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26987 Move #define and #undef of memmove to just before and after
26988 including <string.h>.
26990 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26991 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26992 and after including <string.h>. Move declarations of
26993 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26994 to before #include "string/memmove.c".
26996 * include/dirent.h: Declare __getdirentries.
26998 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26999 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27001 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27003 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27004 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27005 * sysdeps/i386/configure: Regenerated.
27006 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27007 STABS_CURRENT_FILE, and STABS_FUN.
27008 (END): Remove call to STABS_FUN_END.
27009 (STABS_CURRENT_FILE1): Delete.
27010 (STABS_CURRENT_FILE): Likewise.
27011 (STABS_FUN): Likewise.
27012 (STABS_FUN_END): Likewise.
27013 (STABS_FUN2): Likewise.
27014 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27015 * sysdeps/x86_64/configure: Regenerated.
27017 2012-08-14 Roland McGrath <roland@hack.frob.com>
27019 * elf/dl-open.c: Include <atomic.h>.
27020 * elf/dl-lookup.c: Likewise.
27022 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27024 * sysdeps/unix/sysv/linux/kernel-features.h
27025 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27026 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27028 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27030 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27031 condition on __ASSUME_CLONE_THREAD_FLAGS.
27033 2012-08-14 Andreas Jaeger <aj@suse.de>
27035 * sysdeps/i386/fpu/libm-test-ulps: Update.
27037 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27039 * include/atomic.h (atomic_exchange_and_add): Split into ...
27040 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27043 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27047 2012-08-13 Jeff Law <law@redhat.com>
27049 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27050 null byte in the output string.
27052 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27054 * sysdeps/unix/sysv/linux/kernel-features.h
27055 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27056 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27057 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27058 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27059 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27060 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27061 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27063 2012-08-09 Jeff Law <law@redhat.com>
27066 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27067 When avoid_arena is set, don't retry in the that arena. Pick the
27068 next one, whatever it might be.
27069 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27070 (arena_lock): Pass in new parameter to arena_get2.
27071 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27073 (__libc_malloc): Unify retrying after main arena failure with
27074 __libc_memalign version.
27075 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27077 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27080 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27081 to __redirect_strstr.
27082 (__strstr_sse42): Use typeof __redirect_strstr.
27083 (__strstr_ia32): Likewise.
27084 (__libc_strstr): New prototype.
27085 (strstr): Renamed to ...
27086 (__libc_strstr): This.
27087 (strstr): New strong alias of __libc_strstr.
27088 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27089 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27092 (__libc_time): New prototype.
27093 (time_ifunc): Replace time with __libc_time.
27094 (time): New strong alias and hidden definition of __libc_time.
27095 (__GI_time): Remove strong alias.
27096 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27097 Include <stddef.h>.
27098 (memmove): Redefined to __redirect_memmove.
27099 (__memmove_sse2): Use typeof __redirect_memmove.
27100 (__memmove_ssse3): Likewise.
27101 (__memmove_ssse3_back): Likewise.
27102 (__libc_memmove): New prototype.
27103 (memmove): Renamed to ...
27104 (__libc_memmove): This.
27105 (memmove): New strong alias of __libc_memmove.
27107 2012-08-08 Mark Salter <msalter@redhat.com>
27110 (R_MN10300_TLS_GD): Define.
27111 (R_MN10300_TLS_LD): Likewise.
27112 (R_MN10300_TLS_LDO): Likewise.
27113 (R_MN10300_TLS_GOTIE): Likewise.
27114 (R_MN10300_TLS_IE): Likewise.
27115 (R_MN10300_TLS_LE): Likewise.
27116 (R_MN10300_TLS_DTPMOD): Likewise.
27117 (R_MN10300_TLS_DTPOFF): Likewise.
27118 (R_MN10300_TLS_TPOFF): Likewise.
27119 (R_MN10300_SYM_DIFF): Likewise.
27120 (R_MN10300_ALIGN): Likewise.
27121 (R_MN10300_NUM): Update.
27123 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27128 2012-08-08 Roland McGrath <roland@hack.frob.com>
27130 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27132 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27133 sysdeps/unix -> sysdeps/posix move.
27134 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27136 2012-08-07 Allan McRae <allan@archlinux.org>
27139 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27140 (SUNOS_CPP): Likewise.
27141 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27143 (open_input): Call CPP using execvp.
27145 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27147 * sysdeps/unix/sysv/linux/kernel-features.h
27148 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27149 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27150 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27151 (__ASSUME_WAITID_SYSCALL): Likewise.
27152 * sysdeps/unix/sysv/linux/dl-execstack.c
27153 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27154 code unconditional.
27155 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27157 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27158 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27159 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27161 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27163 [__ASSUME_WAITID_SYSCALL]: Likewise.
27164 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27166 2012-08-07 Roland McGrath <roland@hack.frob.com>
27168 * sysdeps/unix/closedir.c: Renamed to ...
27169 * sysdeps/posix/closedir.c: ... here.
27170 * sysdeps/unix/dirfd.c: Renamed to ...
27171 * sysdeps/posix/dirfd.c: ... here.
27172 * sysdeps/unix/dirstream.h: Renamed to ...
27173 * sysdeps/posix/dirstream.h: ... here.
27174 * sysdeps/unix/fdopendir.c: Renamed to ...
27175 * sysdeps/posix/fdopendir.c: ... here.
27176 * sysdeps/unix/opendir.c: Renamed to ...
27177 * sysdeps/posix/opendir.c: ... here.
27178 * sysdeps/unix/readdir.c: Renamed to ...
27179 * sysdeps/posix/readdir.c: ... here.
27180 * sysdeps/unix/readdir_r.c: Renamed to ...
27181 * sysdeps/posix/readdir_r.c: ... here.
27182 * sysdeps/unix/rewinddir.c: Renamed to ...
27183 * sysdeps/posix/rewinddir.c: ... here.
27184 * sysdeps/unix/seekdir.c: Renamed to ...
27185 * sysdeps/posix/seekdir.c: ... here.
27186 * sysdeps/unix/telldir.c: Renamed to ...
27187 * sysdeps/posix/telldir.c: ... here.
27188 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27189 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27190 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27191 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27193 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27194 * bits/fcntl.h: ... here.
27196 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27198 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27199 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27200 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27201 (struct flock): Move l_start, l_len to the beginning.
27202 Use __pid_t for l_pid.
27203 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27204 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27205 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27206 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27207 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27208 [__USE_LARGEFILE64] (struct flock64): New type.
27209 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27211 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27212 * bits/dirent.h: ... here.
27214 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27215 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27217 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27220 Change from 2.6.0 to 2.6.16.
27221 * sysdeps/unix/sysv/linux/configure: Regenerated.
27222 * sysdeps/unix/sysv/linux/kernel-features.h
27223 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27224 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27226 (__ASSUME_UTIMES): Likewise.
27227 (__ASSUME_CLONE_STOPPED): Remove.
27228 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27229 architectures, not kernel version.
27230 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27231 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27232 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27233 (__ASSUME_WAITID_SYSCALL): Likewise.
27234 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27235 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27236 * README: State 2.6.16 as minimum Linux kernel version. Do not
27237 refer to older versions.
27239 2012-08-06 Roland McGrath <roland@hack.frob.com>
27241 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27242 Define alphasort64 as an alias.
27243 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27244 Define versionsort64 as an alias.
27245 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27246 Define scandir64 as an alias.
27247 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27248 Define scandirat64 as an alias.
27249 * dirent/alphasort64.c (alphasort64):
27250 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27251 * dirent/versionsort64.c: Likewise.
27252 * dirent/scandir64.c: Likewise.
27253 * dirent/scandirat64.c: Likewise.
27254 * sysdeps/wordsize-64/alphasort.c: File removed.
27255 * sysdeps/wordsize-64/alphasort64.c: File removed.
27256 * sysdeps/wordsize-64/scandir.c: File removed.
27257 * sysdeps/wordsize-64/scandir64.c: File removed.
27258 * sysdeps/wordsize-64/scandirat.c: File removed.
27259 * sysdeps/wordsize-64/scandirat64.c: File removed.
27260 * sysdeps/wordsize-64/versionsort.c: File removed.
27261 * sysdeps/wordsize-64/versionsort64.c: File removed.
27262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27263 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27264 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27265 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27266 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27267 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27268 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27269 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27271 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27273 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27275 [defined __arch64__ || defined __sparcv9]
27276 (__INO_T_MATCHES_INO64_T): New macro.
27277 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27278 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27279 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27280 * sysdeps/unix/sysv/linux/bits/dirent.h
27281 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27282 (_DIRENT_MATCHES_DIRENT64): New macro.
27284 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27285 Define lockf64 as an alias.
27286 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27287 Define fseeko64 as an alias.
27288 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27289 Define ftello64 as an alias.
27290 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27291 Define _IO_fgetpos64 and fgetpos64 as aliases.
27292 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27293 Define _IO_fsetpos64 and fsetpos64 as aliases.
27294 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27295 Conditionalize body on this.
27296 * libio/fseeko64.c: Likewise.
27297 * libio/ftello64.c: Likewise.
27298 * libio/iofgetpos64.c: Likewise.
27299 * libio/iofsetpos64.c: Likewise.
27300 * sysdeps/wordsize-64/lockf.c: File removed.
27301 * sysdeps/wordsize-64/lockf64.c: File removed.
27302 * sysdeps/wordsize-64/fseeko.c: File removed.
27303 * sysdeps/wordsize-64/fseeko64.c: File removed.
27304 * sysdeps/wordsize-64/ftello.c: File removed.
27305 * sysdeps/wordsize-64/ftello64.c: File removed.
27306 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27307 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27308 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27309 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27310 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27311 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27312 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27313 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27314 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27315 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27316 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27317 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27319 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27321 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27322 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27323 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27325 [defined __arch64__ || defined __sparcv9]
27326 (__OFF_T_MATCHES_OFF64_T): New macro.
27327 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27328 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27329 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27330 (__OFF_T_MATCHES_OFF64_T): New macro.
27332 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27334 * stdlib/secure-getenv.c (__secure_getenv): Replace
27335 GLIBC_2_16 with GLIBC_2_17.
27337 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27339 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27340 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27342 2012-08-03 David S. Miller <davem@davemloft.net>
27344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27346 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27348 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27350 (__ASSUME_CORRECT_SI_PID): Likewise.
27351 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27352 (__ASSUME_TMPFS_NAME): Likewise.
27353 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27354 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27355 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27356 (HAVE_AUX_SECURE): Make definition unconditional.
27357 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27358 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27360 2012-08-03 Roland McGrath <roland@hack.frob.com>
27362 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27363 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27364 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27365 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27366 __eloop_threshold instead of SYMLOOP_MAX.
27368 * sysdeps/generic/eloop-threshold.h: New file.
27369 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27371 * elf/chroot_canon.c (chroot_canon): Likewise.
27373 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27376 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27377 Change to 2.6.0 everywhere.
27378 * sysdeps/unix/sysv/linux/configure: Regenerated.
27379 * sysdeps/unix/sysv/linux/kernel-features.h
27380 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27381 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27383 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27384 (__ASSUME_FUTEX_REQUEUE): Remove.
27385 (__ASSUME_STATFS64): Define unconditionally.
27386 (__ASSUME_AT_SECURE): Likewise.
27387 (__ASSUME_CORRECT_SI_PID): Likewise.
27388 (__ASSUME_TGKILL): Define without depending on kernel version for
27390 (__ASSUME_UTIMES): Likewise.
27391 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27393 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27394 (__ASSUME_TMPFS_NAME): Likewise.
27395 * README: Update reference to Linux kernel versions.
27397 2012-08-02 Marek Polacek <polacek@redhat.com>
27400 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27401 libc_cv_asm_type_prefix with %.
27402 * configure: Regenerated.
27403 * include/libc-symbols.h: Remove comment about
27404 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27405 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27406 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27407 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27408 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27409 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27410 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27411 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27412 * elf/tst-unique2mod1.c: Likewise.
27413 * elf/tst-unique1mod2.c: Likewise.
27414 * elf/tst-unique1mod1.c: Likewise.
27415 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27416 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27417 Replace ASM_TYPE_DIRECTIVE with .type.
27418 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27419 * sysdeps/i386/sysdep.h: Likewise.
27420 * sysdeps/x86_64/sysdep.h: Likewise.
27421 * sysdeps/sh/sysdep.h: Likewise.
27422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27423 Do not define ASM_TYPE_DIRECTIVE.
27424 * sysdeps/powerpc/sysdep.h: Likewise.
27425 * sysdeps/powerpc/powerpc32/sysdep.h:
27426 Replace ASM_TYPE_DIRECTIVE with .type.
27427 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27428 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27429 * sysdeps/i386/fpu/e_powf.S: Likewise.
27430 * sysdeps/i386/fpu/e_expl.S: Likewise.
27431 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27432 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27433 * sysdeps/i386/fpu/e_pow.S: Likewise.
27434 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27436 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27437 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27438 * sysdeps/i386/fpu/e_log2.S: Likewise.
27439 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27441 * sysdeps/i386/fpu/e_powl.S: Likewise.
27442 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27443 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27444 * sysdeps/i386/fpu/e_logl.S: Likewise.
27445 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27446 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27447 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27450 * sysdeps/i386/fpu/e_log.S: Likewise.
27451 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27452 * sysdeps/i386/fpu/e_logf.S: Likewise.
27453 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27454 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27455 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27456 * sysdeps/i386/fpu/e_log10.S: Likewise.
27457 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27458 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27459 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27460 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27462 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27463 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27464 * sysdeps/i386/i686/strtok.S: Likewise.
27465 * sysdeps/i386/i386-mcount.S: Likewise.
27466 * sysdeps/i386/strtok.S: Likewise.
27467 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27471 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27472 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27473 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27474 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27475 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27476 * sysdeps/x86_64/_mcount.S: Likewise.
27477 * sysdeps/x86_64/strtok.S: Likewise.
27478 * sysdeps/sh/_mcount.S: Likewise.
27480 2012-08-01 Roland McGrath <roland@hack.frob.com>
27482 * libio/iofopen.c: Include <fcntl.h>.
27483 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27484 (_IO_fopen64, fopen64): Define as aliases.
27485 * libio/iofopen64.c: Include <fcntl.h>.
27486 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27487 Conditionalize body on this.
27488 * sysdeps/wordsize-64/iofopen.c: File removed.
27489 * sysdeps/wordsize-64/iofopen64.c: File removed.
27491 2012-08-01 Marek Polacek <polacek@redhat.com>
27493 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27494 Use dlfcn directly instead of a variable.
27495 (binfmt-subdir): Do not define.
27498 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27500 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27501 Remove all definitions.
27502 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27503 <kernel-features.h>.
27504 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27505 (miss_F_GETOWN_EX): Remove all definitions.
27506 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27508 [!__ASSUME_FCNTL64]: Remove conditional code.
27509 [__ASSUME_FCNTL64]: Make code unconditional.
27510 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27511 <kernel-features.h>.
27512 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27513 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27514 (lockf64) [__NR_fcntl64]: Make code unconditional.
27515 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27517 * sysdeps/unix/sysv/linux/kernel-features.h
27518 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27519 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27520 Make code unconditional.
27521 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27522 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27524 [__NR_vfork]: Make code unconditional.
27525 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27526 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27528 [__NR_vfork]: Make code unconditional.
27529 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27530 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27532 2012-08-01 Roland McGrath <roland@hack.frob.com>
27534 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27535 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27537 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27538 Define mkstemp64 as an alias.
27539 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27540 Define mkstemps64 as an alias.
27541 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27542 Define mkostemp64 as an alias.
27543 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27544 Define mkostemps64 as an alias.
27545 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27546 Conditionalize body on this.
27547 * misc/mkostemp64.c: Likewise.
27548 * misc/mkostemps64.c: Likewise.
27549 * misc/mkstemps64.c: Likewise.
27550 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27551 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27552 * sysdeps/wordsize-64/mkostemp.c: File removed.
27553 * sysdeps/wordsize-64/mkstemp.c: File removed.
27554 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27555 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27556 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27557 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27560 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27561 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27562 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27563 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27565 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27566 compat_symbol macros from <shlib-compat.h> rather than the underlying
27567 default_symbol_version and symbol_version macros, so that DEFAULT
27568 lines in shlib-versions are respected.
27569 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27571 2012-08-01 Florian Weimer <fweimer@redhat.com>
27573 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27574 Declare with warn_unused_result.
27575 (setgid, setregid, setegid, setresgid): Likewise.
27576 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27578 * WUR-REPORT: Remove set*id functions.
27580 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27582 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27584 2012-07-31 Roland McGrath <roland@hack.frob.com>
27587 * include/sys/socket.h (__libc_accept, __libc_accept4):
27588 Add attribute_hidden.
27589 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27591 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27593 * inet/getnetgrent_r.c (setup): Likewise.
27595 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27597 2012-07-31 David S. Miller <davem@davemloft.net>
27599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27601 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27604 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27605 value between 1.0 and 2.0 and smaller part has absolute value less
27607 * math/s_clog10.c (__clog10): Likewise.
27608 * math/s_clog10f.c (__clog10f): Likewise.
27609 * math/s_clog10l.c (__clog10l): Likewise.
27610 * math/s_clogf.c (__clogf): Likewise.
27611 * math/s_clogl.c (__clogl): Likewise.
27612 * math/libm-test.inc (clog_test): Add more tests.
27613 (clog10_test): Likewise.
27614 * sysdeps/i386/fpu/libm-test-ulps: Update.
27615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27617 2012-07-31 Florian Weimer <fweimer@redhat.com>
27619 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27620 Exit with zero in case no suitable GID is found, and write a
27621 message to standard error.
27623 2012-07-30 Roland McGrath <roland@hack.frob.com>
27625 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27627 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27628 (MAXPATHLEN): Removed.
27629 (NOGROUP, NODEV): New macros.
27630 (setbit, clrbit, isset, isclr): New macros.
27631 (howmany, roundup, powerof2): New macros.
27632 (DEV_BSIZE): New macro.
27634 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27635 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27637 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27638 definition on [!__NO_LONG_DOUBLE_MATH].
27640 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27641 PTR_MANGLE and PTR_DEMANGLE.
27643 * socket/accept4.c (accept4): Rename to __libc_accept4.
27644 Define accept4 as a weak alias.
27646 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27647 on [_DIRENT_HAVE_D_TYPE].
27648 * io/ftw.c (ftw_dir): Likewise.
27650 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27652 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27654 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27655 Use the BSD numbers rather than the arbitrary ones we had.
27656 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27657 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27658 (SIGXCPU, SIGXFSZ): New macros.
27661 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27662 initializer on [_LIBC_REENTRANT].
27664 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27665 definitions inside [_POSIX_MAPPED_FILES].
27667 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27669 * dirent/opendir.c: Include <fcntl.h>.
27671 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27672 (__libc_getspecific): Likewise.
27673 (__libc_key_create): Likewise.
27675 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27676 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27677 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27678 (tmpfile64): Define as alias.
27679 * sysdeps/wordsize-64/tmpfile.c: File removed.
27680 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27681 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27682 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27684 * stdio-common/vfscanf.c: Include <stdbool.h>.
27685 * nss/makedb.c: Likewise.
27686 * stdio-common/_i18n_number.h: Likewise.
27687 * argp/argp-help.c: Likewise.
27688 * posix/wordexp.c: Likewise.
27689 * sysdeps/posix/spawni.c: Likewise.
27690 * nss/nss_files/files-initgroups.c: Likewise.
27691 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27692 * nss/nss_files/files-initgroups.c: Likewise.
27693 * nss/nss_db/db-netgrp.c: Likewise.
27694 * nss/nss_db/db-initgroups.c: Likewise.
27695 * io/fchmodat.c: Include <sys/stat.h>.
27697 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27698 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27700 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27703 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27704 Add multiple inclusion protection.
27706 2012-07-27 David S. Miller <davem@davemloft.net>
27708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27710 2012-07-27 Gary Benson <gbenson@redhat.com>
27713 * elf/rtld.c: Include <stap-probe.h>.
27714 (dl_main): Added static probes "init_start" and "init_complete".
27715 * elf/dl-load.c: Include <stap-probe.h>.
27716 (lose): Take new parameter "nsid".
27717 Added static probe "map_failed".
27718 (_dl_map_object_from_fd): Pass namespace id to lose.
27719 Added static probe "map_start".
27720 (open_verify): Pass namespace id to lose.
27721 * elf/dl-open.c: Include <stap-probe.h>.
27722 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27723 and "reloc_complete".
27724 * elf/dl-close.c: Include <stap-probe.h>.
27725 (_dl_close_worker): Added static probes "unmap_start" and
27727 * elf/rtld-debugger-interface.txt: New file documenting the above.
27729 2012-07-26 Roland McGrath <roland@hack.frob.com>
27731 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27732 rather than a string variable.
27733 * sunrpc/rpc_main.c (h_output): Likewise.
27734 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27736 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27738 * inet/check_native.c: New file.
27740 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27743 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27744 if larger part has absolute value 1.0.
27745 * math/s_clog10.c (__clog10): Likewise.
27746 * math/s_clog10f.c (__clog10f): Likewise.
27747 * math/s_clog10l.c (__clog10l): Likewise.
27748 * math/s_clogf.c (__clogf): Likewise.
27749 * math/s_clogl.c (__clogl): Likewise.
27750 * math/libm-test.inc (clog_test): Add more tests.
27751 (clog10_test): Likewise.
27752 * sysdeps/i386/fpu/libm-test-ulps: Update.
27753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27755 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27756 (pltexit): Likewise.
27757 (La_regs): Likewise.
27758 (La_retval): Likewise.
27759 (int_retval): Likewise.
27760 Update #error for removed macros to refer only to definitions in
27762 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27764 (pltexit): Likewise.
27765 (La_regs): Likewise.
27766 (La_retval): Likewise.
27767 (int_retval): Likewise.
27768 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27770 (pltexit): Likewise.
27771 (La_regs): Likewise.
27772 (La_retval): Likewise.
27773 (int_retval): Likewise.
27774 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27776 (pltexit): Likewise.
27777 (La_regs): Likewise.
27778 (La_retval): Likewise.
27779 (int_retval): Likewise.
27780 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27782 (pltexit): Likewise.
27783 (La_regs): Likewise.
27784 (La_retval): Likewise.
27785 (int_retval): Likewise.
27786 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27788 (pltexit): Likewise.
27789 (La_regs): Likewise.
27790 (La_retval): Likewise.
27791 (int_retval): Likewise.
27792 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27794 (pltexit): Likewise.
27795 (La_regs): Likewise.
27796 (La_retval): Likewise.
27797 (int_retval): Likewise.
27798 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27799 macro definitions in tst-audit.h.
27800 * sysdeps/i386/tst-audit.h: New file.
27801 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27802 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27803 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27804 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27805 * sysdeps/sh/tst-audit.h: Likewise.
27806 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27807 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27808 * sysdeps/x86_64/tst-audit.h: Likewise.
27810 2012-07-26 Andreas Jaeger <aj@suse.de>
27812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27815 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27816 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27817 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27819 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27820 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27821 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27823 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27826 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27828 (si_call_addr, si_syscall, si_arch): Define new macro.
27829 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27831 (si_call_addr, si_syscall, si_arch): Define new marcro.
27832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27834 (si_call_addr, si_syscall, si_arch): Define new macro.
27835 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27837 (si_call_addr, si_syscall, si_arch): Define new macro.
27839 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27842 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27843 Change to 2.4.21 where previously 2.4.1.
27844 * sysdeps/unix/sysv/linux/configure: Regenerated.
27845 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27846 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27847 Linux kernel version.
27848 (__ASSUME_STD_AUXV): Remove.
27849 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27851 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27852 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27853 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27854 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27855 (__ASSUME_NETLINK_SUPPORT): Likewise.
27856 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27857 (__no_netlink_support): Remove conditional definition.
27858 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27860 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27861 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27862 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27863 (if_nameindex_ioctl): Remove.
27864 (if_nameindex_netlink): Do not handle __no_netlink_support.
27865 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27867 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27868 Remove conditional code.
27869 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27871 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27873 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27874 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27875 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27877 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27878 [!__ASSUME_STD_AUXV]: Remove conditional code.
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27880 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27881 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27883 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27884 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27886 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27888 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27889 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27891 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27893 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27896 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27899 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27900 code unconditional.
27901 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27903 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27905 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27908 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27910 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27913 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27914 code unconditional.
27915 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27917 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27919 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27922 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27923 code unconditional.
27924 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27926 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27928 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27931 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27933 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27934 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27935 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27936 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27937 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27938 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27939 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27940 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27941 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27942 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27943 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27944 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27945 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27946 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27947 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27948 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27949 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27950 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27951 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27953 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27954 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27955 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27957 2012-07-25 Florian Weimer <fweimer@redhat.com>
27959 * Versions.def: Add GLIBC_2.17.
27960 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27961 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27962 Introduce __libc_secure_getenv.
27963 * stdlib/Versions (2.17): Add secure_getenv
27964 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27965 * stdlib/secure-getenv.c: Rename __secure_getenv to
27966 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27967 symbol __secure_getenv for GLIBC_2.0.
27968 * stdlib/tst-secure-getenv.c: New.
27969 * stdlib/Makefile (tests): Add testcase.
27970 * manual/startup.texi (Environment Access): Document
27972 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27973 __libc_secure_getenv.
27974 * inet/ruserpass.c (ruserpass): Likewise.
27975 * malloc/mtrace.c (mtrace): Likewise.
27976 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27977 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27978 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27979 * sysdeps/posix/tempname.c: Likewise. Evaluate
27980 HAVE_SECURE_GETENV.
27981 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27982 __secure_getenv to __libc_secure_getenv.
27983 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27996 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27998 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27999 (struct La_i86_retval): Likewise.
28000 (struct La_x86_64_regs): Likewise.
28001 (struct La_x86_64_retval): Likewise.
28002 (struct La_x32_regs): Likewise.
28003 (struct La_x32_retval): Likewise.
28004 (struct La_ppc32_regs): Likewise.
28005 (struct La_ppc32_retval): Likewise.
28006 (struct La_ppc64_regs): Likewise.
28007 (struct La_ppc64_retval): Likewise.
28008 (struct La_sh_regs): Likewise.
28009 (struct La_sh_retval): Likewise.
28010 (struct La_s390_32_regs): Likewise.
28011 (struct La_s390_32_retval): Likewise.
28012 (struct La_s390_64_regs): Likewise.
28013 (struct La_s390_64_retval): Likewise.
28014 (struct La_sparc32_regs): Likewise.
28015 (struct La_sparc32_retval): Likewise.
28016 (struct La_sparc64_regs): Likewise.
28017 (struct La_sparc64_retval): Likewise.
28018 (struct audit_ifaces): Remove architecture-specific pltenter and
28020 * sysdeps/i386/ldsodefs.h: New file.
28021 * sysdeps/powerpc/ldsodefs.h: Likewise.
28022 * sysdeps/s390/ldsodefs.h: Likewise.
28023 * sysdeps/sh/ldsodefs.h: Likewise.
28024 * sysdeps/sparc/ldsodefs.h: Likewise.
28025 * sysdeps/x86_64/ldsodefs.h: Likewise.
28027 2012-07-25 Marek Polacek <polacek@redhat.com>
28030 * math/libm-test.inc (yn_test): Add another test.
28031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28032 to ERANGE when the result is +-Inf.
28033 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28034 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28035 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28036 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28038 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28040 * conform/data/time.h-data (NULL): Use macro-constant. Require
28042 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28044 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28046 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28048 * configure.in <sysdeps resolving>: Correct printing
28050 * configure: Regenerate.
28052 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28054 * math/w_ilogb.c: Include <limits.h>.
28055 * math/w_ilogbl.c: Likewise.
28057 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28059 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28060 va_copy. Document allowing for unavailable va_copy only as
28061 pre-C99 compatibility.
28062 * manual/string.texi (Copying and Concatenation): Use va_copy
28063 instead of __va_copy in concat example.
28065 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28067 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28068 (__sendto): Use create_address_port. Initialize APORT and deallocate
28071 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28072 with O_NOLINK passed to __file_name_lookup.
28074 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28075 with O_NOLINK passed to __file_name_lookup.
28077 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28078 negative N or less than NGIDS.
28080 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28081 type to string_t. Set ERANGE as errno and return it if NAME is not big
28082 enough. Use memcpy instead of strncpy.
28084 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28086 * elf/Makefile (check-data): Remove.
28087 (localplt.data): New vpath directive.
28088 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28089 instead of $(check-data).
28090 * scripts/data/localplt-generic.data: Move to ...
28091 * sysdeps/generic/localplt.data: ... here.
28092 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28093 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28094 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28097 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28100 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28103 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28106 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28109 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28113 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28115 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28116 PPC32 and PPC64 files.
28117 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28118 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28120 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28122 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28123 __makecontext_ret to ...
28124 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28125 ... here and call exit if uc_link is NULL. New file.
28126 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28127 __makecontext_ret.S.
28128 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28129 __makecontext_ret to ...
28130 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28131 ... here and call exit if uc_link is NULL. New file.
28132 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28133 __makecontext_ret.S.
28135 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28137 * elf/elf.h (R_390_IRELATIVE): New definition.
28138 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28139 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28140 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28141 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28142 (elf_machine_lazy_rel): Likewise.
28143 * sysdeps/s390/dl-irel.h: New file.
28144 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28145 * sysdeps/s390/s390-64/memset.S: New asm code.
28146 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28147 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28148 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28149 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28150 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28151 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28152 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28153 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28154 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28155 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28156 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28157 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28158 * sysdeps/s390/s390-32/memset.S: New asm code.
28159 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28161 2012-07-17 Marek Polacek <polacek@redhat.com>
28164 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28165 * sysdeps/s390/s390-64/configure.in: Likewise.
28166 * sysdeps/sparc/configure.in: Likewise.
28167 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28168 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28169 * sysdeps/i386/configure.in: Likewise.
28170 * sysdeps/x86_64/configure.in: Likewise.
28171 * sysdeps/sh/configure.in: Likewise.
28172 * sysdeps/s390/s390-32/configure: Regenerated.
28173 * sysdeps/s390/s390-64/configure: Likewise.
28174 * sysdeps/x86_64/configure: Likewise.
28175 * sysdeps/sh/configure: Likewise.
28176 * sysdeps/powerpc/powerpc64/configure: Likewise.
28177 * sysdeps/powerpc/powerpc32/configure: Likewise.
28178 * sysdeps/sparc/configure: Likwise.
28179 * sysdeps/i386/configure: Likewise.
28181 * elf/dl-open.c: Comment fixes.
28183 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28185 * Makefile [CXX] (check-data): Remove.
28186 [CXX] (c++-types.data): New vpath directive.
28187 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28188 vpath. Do not allow for C++ type data being missing.
28189 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28190 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28191 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28192 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28193 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28194 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28195 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28198 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28201 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28204 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28207 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28210 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28213 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28216 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28219 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28220 definitions to architecture-specific files.
28221 (TLS_IE): Likewise.
28222 (TLS_LD): Likewise.
28223 (TLS_GD): Likewise.
28224 * sysdeps/i386/tls-macros.h: New file.
28225 * sysdeps/powerpc/tls-macros.h: Likewise.
28226 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28227 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28228 * sysdeps/sh/tls-macros.h: Likewise.
28229 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28230 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28231 * sysdeps/x86_64/tls-macros.h: Likewise.
28233 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28235 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28236 zero value for regular exit case.
28238 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28239 (__start_context): Preserve zero value for regular exit case.
28241 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28242 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28244 * manual/setjmp.texi (setcontext): Clarify normal process
28245 termination when uc_link is the null pointer.
28246 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28249 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28251 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28252 preprocessor. Test for each exception mask separately.
28254 2012-07-16 Andreas Jaeger <aj@suse.de>
28256 * po/ru.po: Update from translation team.
28258 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28260 * conform/data/string.h-data (NULL): Use macro-constant. Require
28262 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28263 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28264 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28265 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28268 2012-07-13 Andreas Jaeger <aj@suse.de>
28270 * po/fr.po: Update from translation team.
28272 2012-07-12 Marek Polacek <polacek@redhat.com>
28275 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28276 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28279 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28282 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28283 Change to 2.4.1 where previously 2.4.0.
28284 * sysdeps/unix/sysv/linux/configure: Regenerated.
28285 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28286 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28288 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28289 (__ASSUME_AT_CLKTCK): Remove.
28290 (__ASSUME_AT_PAGESIZE): Likewise.
28291 (__ASSUME_AT_XID): Likewise.
28292 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28293 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28294 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28296 (HAVE_AUX_PAGESIZE): Likewise.
28297 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28298 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28299 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28301 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28305 the temporary buffer used to invoke __gethostbyname2_r,
28306 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28307 host_data / struct gaih_addrtuple.
28308 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28309 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28310 header file nss/nsswitch.h.
28311 * nss/nsswitch.h (global scope): Add definition of implementation
28312 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28313 resolv/nss_dns/dns-host.c).
28315 2012-07-11 Andreas Jaeger <aj@suse.de>
28317 * po/fr.po: Update from translation team.
28319 * po/sv.po: Update from translation team
28320 * po/fr.po: Another update from translation team.
28322 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28324 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28325 for subnormals or multiply small sinh result by itself.
28326 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28329 2012-07-11 David S. Miller <davem@davemloft.net>
28331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28333 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28336 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28337 (INTERNAL_MARK): Shift it here.
28339 2012-07-10 Marek Polacek <polacek@redhat.com>
28342 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28343 libc_cv_asm_global_directive with .globl.
28344 * configure: Regenerated.
28345 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28347 * sysdeps/i386/configure: Regenerated.
28348 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28350 * sysdeps/x86_64/configure: Regenerated.
28351 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28352 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28353 * elf/tst-unique2mod2.c: Likewise.
28354 * elf/tst-unique2mod1.c: Likewise.
28355 * elf/tst-unique1mod2.c: Likewise.
28356 * elf/tst-unique1mod1.c: Likewise.
28357 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28358 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28360 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28361 * sysdeps/mach/sysdep.h: Likewise.
28362 * sysdeps/i386/sysdep.h: Likewise.
28363 * sysdeps/i386/i386-mcount.S: Likewise.
28364 * sysdeps/x86_64/_mcount.S: Likewise.
28365 * sysdeps/x86_64/sysdep.h: Likewise.
28366 * sysdeps/sh/_mcount.S: Likewise.
28367 * sysdeps/sh/sysdep.h: Likewise.
28368 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28369 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28370 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28371 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28372 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28373 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28374 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28375 * locale/localeinfo.h: Likewise.
28376 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28377 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28379 2012-07-09 Roland McGrath <roland@hack.frob.com>
28382 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28384 * manual/message.texi (The Uniforum approach): Likewise.
28385 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28386 (glibc iconv Implementation): Likewise.
28388 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28391 * math/s_clog.c (__clog): Avoid scaling a value down where that
28392 could result in underflow.
28393 * math/s_clog10.c (__clog10): Likewise.
28394 * math/s_clog10f.c (__clog10f): Likewise.
28395 * math/s_clog10l.c (__clog10l): Likewise.
28396 * math/s_clogf.c (__clogf): Likewise.
28397 * math/s_clogl.c (__clogl): Likewise.
28398 * math/libm-test.inc (clog_test): Add more tests.
28399 (clog10_test): Likewise.
28400 * sysdeps/i386/fpu/libm-test-ulps: Update.
28401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28403 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28406 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28407 by 7 not 8 to examine high bit of fractional part.
28410 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28411 for call to __mcount_internal.
28412 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28413 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28414 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28416 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28419 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28420 approximation for values within 0x1p-13f of an odd multiple of
28422 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28423 exception. Add more tests.
28424 * sysdeps/i386/fpu/libm-test-ulps: Update.
28427 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28428 inputs and return -1 for them. Do not check for +Inf in case not
28429 reachable for +Inf.
28430 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28431 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28432 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28433 and return -1 for them. Do not check for +Inf in case not
28434 reachable for +Inf.
28435 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28437 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28438 and return -1 for them. Do not check for +Inf in case not
28439 reachable for +Inf.
28440 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28441 spurious underflow.
28442 * sysdeps/i386/fpu/libm-test-ulps: Update.
28443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28445 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28447 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28449 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28453 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28454 could result in spurious underflow. Scale down values above
28455 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28456 * math/s_csqrtf.c (__csqrtf): Likewise.
28457 * math/s_csqrtl.c (__csqrtl): Likewise.
28458 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28459 spurious underflow.
28460 * sysdeps/i386/fpu/libm-test-ulps: Update.
28461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28463 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28465 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28467 * catgets/xopen-msg.awk: New file.
28468 * catgets/xopen-msg.sed: Removed.
28470 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28472 * intl/po2test.awk: New file.
28473 * intl/po2test.sed: Removed.
28475 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28478 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28479 or multiply small sinh result by itself.
28480 * math/s_ctanf.c (__ctanf): Likewise.
28481 * math/s_ctanh.c (__ctanh): Likewise.
28482 * math/s_ctanhf.c (__ctanhf): Likewise.
28483 * math/s_ctanhl.c (__ctanhl): Likewise.
28484 * math/s_ctanl.c (__ctanl): Likewise.
28485 * math/libm-test.inc (ctan_test_tonearest): New function.
28486 (ctan_test_towardzero): Likewise.
28487 (ctan_test_downward): Likewise.
28488 (ctan_test_upward): Likewise.
28489 (ctanh_test_tonearest): Likewise.
28490 (ctanh_test_towardzero): Likewise.
28491 (ctanh_test_downward): Likewise.
28492 (ctanh_test_upward): Likewise.
28493 (main): Call these new functions.
28494 * sysdeps/i386/fpu/libm-test-ulps: Update.
28495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28497 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28499 * .gitignore: Delete /ports entry.
28501 2012-07-03 Andreas Jaeger <aj@suse.de>
28503 * po/bg.po: Update from translation team.
28504 * po/cs.po: Likewise.
28505 * po/de.po: Likewise.
28506 * po/hr.po: Likewise.
28507 * po/nl.pl: Likewise.
28508 * po/pl.po: Likewise.
28509 * po/vi.po: Likewise.
28511 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28513 * Makeconfig [!+link] (+link-before-libc): New variable.
28514 [!+link] (+link-after-libc): Likewise.
28515 [!+link] (+link-tests): Likewise.
28516 [!+link] (+link): Define in terms of $(+link-before-libc) and
28517 $(+link-after-libc).
28518 [!+link-static] (+link-static-before-libc): New variable.
28519 [!+link-static] (+link-static-after-libc): Likewise.
28520 [!+link-static] (+link-static-tests): Likewise.
28521 [!+link-static] (+link-static): Define in terms of
28522 $(+link-static-before-libc) and $(+link-static-after-libc).
28523 [build-shared] (link-libc-before-gnulib): New variable.
28524 [build-shared] (link-libc-tests): Likewise.
28525 [build-shared] (link-libc): Define in terms of
28526 $(link-libc-before-gnulib).
28527 [!build-shared] (link-libc-tests): New variable.
28528 (link-libc-static-tests): New variable.
28529 [!gnulib] (gnulib-arch): New variable.
28530 [!gnulib] (gnulib-tests): Likewise.
28531 [!gnulib] (static-gnulib-arch): Likewise.
28532 [!gnulib] (static-gnulib-tests): Likewise.
28533 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28534 Define with "=" instead of ":=".
28535 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28536 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28537 * Rules (binaries-all-notests): New variable.
28538 (binaries-all-tests): Likewise.
28539 (binaries-static-notests): Likewise.
28540 (binaries-static-tests): Likewise.
28541 (binaries-all): Define using $(binaries-all-notests) and
28542 $(binaries-all-tests).
28543 (binaries-static): Define using $(binaries-static-notests) and
28544 $(binaries-static-tests).
28545 (binaries-shared-tests): New variable.
28546 (binaries-shared-notests): Likewise.
28547 (binaries-shared): Remove variable.
28548 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28549 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28550 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28551 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28552 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28553 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28554 * elf/Makefile (sln-modules): New variable.
28555 (extra-objs): Add $(sln-modules:=.o).
28556 (ldconfig-modules): Add static-stubs.
28557 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28558 * elf/static-stubs.c: New file.
28561 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28562 by 7 not 8 to examine high bit of fractional part. Use volatile
28563 variables when splitting into final array of floats if
28564 __FLT_EVAL_METHOD__ != 0.
28565 * math/libm-test.inc (cos_test): Add another test.
28566 (sin_test): Likewise.
28567 * sysdeps/i386/fpu/libm-test-ulps: Update.
28570 * math/libm-test.inc (cosh_test): Add more tests.
28572 * version.h (RELEASE): Set to "development".
28573 (VERSION): Set to "2.16.90".
28575 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28577 * NEWS: Update copyright. Remove last-updated date.
28578 Mention math library bug fixes and timezone data changes.
28579 * README: Mention GNU/Hurd, x32, and HPPA support status.
28581 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28583 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28585 2012-06-27 Andreas Jaeger <aj@suse.de>
28587 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28589 2012-06-25 Andreas Jaeger <aj@suse.de>
28591 * sysdeps/s390/fpu/libm-test-ulps: Update.
28593 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28594 Thomas Schwinge <thomas@codesourcery.com>
28596 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28597 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28601 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28603 * sysdeps/mach/start.c: Remove file.
28604 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28605 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28606 * sysdeps/sh/init-first.c: Likewise.
28608 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28609 registers for frame unwinding purposes, add CFI directives.
28610 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28611 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28612 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28615 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28616 __fortify_fail returning.
28617 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28619 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28620 sysdeps/sh/____longjmp_chk.S.
28621 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28622 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28623 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28624 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28626 * sysdeps/sh/abort-instr.h: New file.
28627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28628 process in case exit returns.
28630 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28631 initialize the GOT register before use.
28633 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28634 calculation of ARGC > 4.
28636 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28637 meaningful names to some local labels.
28639 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28640 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28642 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28643 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28644 (__arch_compare_and_exchange_val_16_acq): Likewise.
28645 (__arch_compare_and_exchange_val_32_acq): Likewise.
28646 (atomic_exchange_and_add): Fix gUSA sequence.
28647 (atomic_add): Likewise.
28648 (atomic_add_negative): Likewise.
28649 (atomic_add_zero): Likewise.
28650 (atomic_bit_test_set): Likewise.
28652 2012-06-22 Andreas Schwab <schwab@redhat.com>
28655 * include/link.h (struct link_map): Add l_free_initfini.
28656 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28658 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28659 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28660 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28663 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28665 * configure.in: Use AC_LANG_SOURCE.
28666 * configure: Regenerate.
28668 2012-06-22 Roland McGrath <roland@hack.frob.com>
28670 * configure.in (libc_cv_localstatedir): New substituted variable.
28671 * configure: Regenerated.
28672 * config.make.in (localstatedir): New variable, substituted from
28673 libc_cv_localstatedir.
28674 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28675 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28676 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28677 * sysdeps/gnu/configure: Regenerated.
28679 2012-06-21 Jeff Law <law@redhat.com>
28682 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28683 free. Simplify list management for _LIBC case.
28685 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28688 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28689 Clear sign bit of 64-bit integer value before comparing against
28692 * sysdeps/mach/configure: Regenerated.
28694 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28697 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28699 2012-06-21 Jeff Law <law@redhat.com>
28702 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28703 uint16_t for elements in the "seen" array to avoid char overflows.
28704 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28705 * elf/dl-open.c (dl_open_worker): Likewise.
28707 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28709 * scripts/list-sources.sh: Scan PORTS for translations.
28710 * po/libc.pot: Regenerated.
28712 2012-06-21 Andreas Jaeger <aj@suse.de>
28715 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28717 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28718 * bits/byteswap-16.h (__bswap_16): Likewise.
28719 * bits/byteswap.h (__bswap_constant_16): Likewise.
28721 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28724 * sysdeps/i386/fpu_control.h: Removed.
28725 * sysdeps/x86_64/fpu_control.h: Moved to ...
28726 * sysdeps/x86/fpu_control.h: Here.
28728 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28729 (_FPU_SETCW): Likewise.
28731 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28734 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28735 * sysdeps/x86/fpu/bits/mathinline.h: This.
28736 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28740 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28741 functions if __x86_64__ is defined.
28743 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28745 * string/endian.h: Add !__ASSEMBLER__ condition for including
28746 conversion interfaces.
28748 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28751 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28752 of ABS(x) in calculating zero to negative powers other than odd
28754 * math/libm-test.inc (pow_test): Add more tests.
28756 2012-06-15 Andreas Jaeger <aj@suse.de>
28758 * manual/contrib.texi (Contributors): Update entry of Liubov
28759 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28762 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28764 * string/string.h: Add __wur to GNU version of strerror_r.
28766 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28769 * string/Makefile (tests): Add tst-strtok_r.
28770 * string/tst-strtok_r.c: New file.
28771 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28772 RAX_LP/RDX_LP on SAVE_PTR.
28774 2012-06-14 Roland McGrath <roland@hack.frob.com>
28776 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28778 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28780 * libm_test.inc (csqrt_test): Allow more spurious underflow
28782 (j0_test): Likewise.
28783 (j1_test): Likewise.
28784 (y0_test): Likewise.
28785 (y1_test): Likewise.
28787 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28789 * po/Makefile (libc.pot): Use UTF-8 charset.
28791 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28794 Suppress sign-conversion warning from FD_SET.
28795 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28796 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28797 not unsigned long int.
28798 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28800 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28804 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28805 __extern_always_inline instead of __extern_inline.
28806 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28807 (__signbit): Likewise.
28808 (__signbitl): Support C++ namespace.
28809 (lrintf): New inline function.
28811 (llrintf): Likewise.
28812 (llrint): Likewise.
28822 (floorf): Likewise.
28823 (nearbyint): Likewise.
28824 (nearbyintf): Likewise.
28826 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28828 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28829 non-default versions.
28831 2012-06-11 Roland McGrath <roland@hack.frob.com>
28834 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28836 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28838 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28839 (FE_UPWARD, FE_DOWNWARD): Don't define.
28840 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28841 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28843 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28845 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28846 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28848 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28850 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28852 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28853 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28855 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28858 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28859 * sysdeps/i386/fpu/Implies: New file.
28860 * sysdeps/x86_64/fpu/Implies: Likewise.
28861 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28862 * sysdeps/x86/fpu/bits/fenv.h: This.
28864 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28867 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28870 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28871 character 0xffff that matches the last element of the
28874 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28876 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28879 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28882 values higher than 25.6283.
28884 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28886 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28887 subnormal exponent extraction and add some __builtin_expect.
28888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28889 Fix for subnormal mantissa calculation.
28891 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28893 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28894 cpu2 is -1 and errno is not ENOSYS.
28896 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28899 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28900 * sysdeps/x86/bits/string.h: This.
28901 * sysdeps/x86_64/bits/string.h: Removed.
28903 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28904 if not compiling for x86-64, but compiling for >= i486.
28906 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28907 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28909 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28910 New macro from Linux kernel 3.4.0.
28911 (FP_XSTATE_MAGIC2): Likewise.
28912 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28913 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28914 (struct _fpx_sw_bytes): New struct.
28915 (struct _xsave_hdr): Likewise.
28916 (struct _ymmh_state): Likewise.
28917 (struct _xstate): Likewise.
28919 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28920 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28922 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28923 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28924 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28926 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28927 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28928 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28929 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28930 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28931 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28933 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28936 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28937 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28938 (sysdep_headers): Include sys/platform/ppc.h.
28939 * sysdeps/powerpc/test-gettimebase.c: Test for
28940 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28941 * manual/Makefile (appendices): Include platform.texi.
28942 * manual/contrib.texi (Contributors): Update @node pointers.
28943 * manual/maint.texi (Maintenance): Likewise.
28944 (Platform): New node.
28945 * manual/platform.texi: New file. Document the new features.
28947 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28948 Jakub Jelinek <jakub@redhat.com>
28951 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28952 where __builtin_expect is unavailable.
28954 2012-06-03 David S. Miller <davem@davemloft.net>
28956 * stdlib/longlong.h: Updated from GCC.
28958 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28961 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28962 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28965 (GLIBC_2.16): Likewise.
28967 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28969 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28971 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28974 (default-abi): New variable.
28975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28976 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28978 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28980 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28982 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28985 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28986 definition. Document in comment.
28988 2012-06-01 David S. Miller <davem@davemloft.net>
28990 * stdlib/longlong.h: Updated from GCC.
28992 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28995 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28996 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28997 sys/debugreg.h sys/io.h here.
28998 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28999 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29001 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29002 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29003 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29004 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29005 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29006 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29008 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29009 Define only if __x86_64__ is defined.
29011 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29015 Use int64_t for variable i.
29016 * math/libm-test.inc (fmod_test): Add more tests.
29018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29019 z computation is not scheduled after fetestexcept.
29020 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29021 Use math_force_eval instead of asm to ensure calculation scheduled
29022 before exception test.
29023 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29024 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29026 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29029 computation is not scheduled after fetestexcept.
29031 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29034 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29035 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29037 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29039 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29040 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29042 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29045 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29047 (__WCHAR_MIN): Support __WORDSIZE == 64.
29048 (__WCHAR_MAX): Likewise.
29050 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29051 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29054 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29055 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29058 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29059 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29061 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29062 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29064 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29065 Defined to 1 if __x86_64__ isn't defined.
29066 (_STAT_VER_LINUX_OLD): New.
29067 (st_atime): Remove duplicate.
29068 (st_mtime): Likewise.
29069 (st_ctime): Likewise.
29071 2012-05-31 David S. Miller <davem@davemloft.net>
29073 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29076 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29078 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29082 * elf/dl-reloc.c: Include <_itoa.h>.
29083 (_dl_reloc_bad_type): Remove use of INTUSE.
29084 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29085 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29086 * stdio-common/psiginfo.c (psiginfo): Likewise.
29087 * stdio-common/psignal.c (psignal): Likewise.
29088 * string/strsignal.c (strsignal): Likewise.
29089 * include/signal.h (_sys_siglist): Declare hidden proto.
29090 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29091 INTVARDEF with libc_hidden_data_def.
29092 * stdio-common/itoa-udigits.c: Likewise.
29093 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29094 (_itoa_lower_digits_internal): Remove declaration.
29095 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29096 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29097 (_sys_sigabbrev_internal): Remove aliases.
29098 (_sys_siglist): Define hidden alias.
29100 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29105 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29108 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29109 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29111 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29112 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29113 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29114 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29116 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29118 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29119 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29120 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29122 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29130 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29132 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29134 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29135 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29136 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29137 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29138 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29139 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29141 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29142 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29144 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29145 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29149 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29151 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29152 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29154 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29156 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29157 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29158 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29160 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29162 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29164 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29166 * math/math.h (M_El): Use two more decimal places.
29167 (M_LOG2El): Likewise.
29168 (M_LOG10El): Likewise.
29169 (M_LN2l): Likewise.
29170 (M_LN10l): Likewise.
29172 (M_PI_2l): Likewise.
29173 (M_PI_4l): Likewise.
29174 (M_1_PIl): Likewise.
29175 (M_2_PIl): Likewise.
29176 (M_2_SQRTPIl): Likewise.
29177 (M_SQRT2l): Likewise.
29178 (M_SQRT1_2l): Likewise.
29180 2012-05-31 David S. Miller <davem@davemloft.net>
29182 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29183 values between float registers.
29184 * sysdeps/sparc/sparc64/memset.S: Likewise.
29185 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29187 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29189 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29190 -D_FORTIFY_SOURCE=1.
29191 (CPPFLAGS-tst-longjmp_chk.c): Define.
29192 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29193 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29194 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29195 CFLAGS-tst-wchar-h.c.
29197 2012-05-31 Marek Polacek <polacek@redhat.com>
29200 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29201 __endmntent_internal): Remove declaration.
29202 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29203 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29204 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29206 2012-05-30 David S. Miller <davem@davemloft.net>
29208 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29209 (___Q_simulate_exceptions): Use real FP ops rather than writing
29211 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29214 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29217 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29218 * sysdeps/x86/bits/xtitypes.h: This.
29220 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29221 * sysdeps/x86/bits/wordsize.h: This.
29223 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29224 * sysdeps/x86/bits/huge_vall.h: This.
29226 * sysdeps/i386/bits/select.h: Removed.
29227 * sysdeps/x86_64/bits/select.h: Renamed to ...
29228 * sysdeps/x86/bits/select.h: This.
29230 * sysdeps/i386/bits/setjmp.h: Removed.
29231 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29232 * sysdeps/x86/bits/setjmp.h: This.
29234 * sysdeps/i386/bits/mathdef.h: Removed.
29235 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29236 * sysdeps/x86/bits/mathdef.h: This.
29238 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29241 * include/sys/socket.h (__connect_internal)
29242 (__libc_sa_len_internal): Remove declaration.
29243 (__connect, __libc_sa_len): Declare hidden_proto.
29244 (SA_LEN): Remove use of INTUSE.
29245 * socket/connect.c: Add libc_hidden_def.
29246 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29247 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29248 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29250 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29251 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29252 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29253 of adding _internal alias.
29255 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29258 * sysdeps/i386/bits/link.h: Removed.
29259 * sysdeps/i386/bits/linkmap.h: Likewise.
29260 * sysdeps/x86_64/bits/link.h: Renamed to ...
29261 * sysdeps/x86/bits/link.h: This.
29262 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29263 * sysdeps/x86/bits/linkmap.h: This.
29265 * sysdeps/i386/bits/endian.h: Removed.
29266 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29267 * sysdeps/x86/bits/endian.h: This.
29269 * sysdeps/i386/bits/byteswap.h: Removed.
29270 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29271 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29272 * sysdeps/x86/bits/byteswap.h: This.
29273 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29274 * sysdeps/x86/bits/byteswap-16.h: This.
29275 * sysdeps/i386/Implies: Add x86.
29276 * sysdeps/x86_64/Implies: Likewise.
29278 2012-05-30 David S. Miller <davem@davemloft.net>
29280 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29281 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29282 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29283 (FP_TRAPPING_EXCEPTIONS): Define.
29284 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29285 (FP_TRAPPING_EXCEPTIONS): Define.
29286 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29287 subnormals only when inexact has been signalled or underflow
29288 exceptions are enabled.
29289 (_FP_PACK_CANONICAL): Likewise.
29291 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29294 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29295 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29297 2012-05-30 Richard Henderson <rth@twiddle.net>
29299 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29300 with #ifndef NOT_IN_libc.
29302 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29303 marked to avoid plt entry.
29305 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29308 * Makeconfig (default-abi): New macro.
29309 (abi-includes): Likewise.
29310 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29311 $(abi-$(default-abi)-lib-soname) for soname if defined.
29312 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29314 * Makefile (installed-stubs): Likewise.
29315 * include/stubs-biarch.h: Removed.
29316 * scripts/lib-names.awk: Only handle one library at a time.
29317 * scripts/soversions.awk: Remove WORDSIZE support.
29318 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29320 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29322 (syscall-list-default-condition): Likewise.
29323 (syscall-list-default-condition): Likewise.
29324 (syscall-list-includes): Likewise.
29325 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29326 syscall-list-* with abi-*. Handle undefined abi-variants.
29327 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29328 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29329 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29330 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29331 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29332 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29334 (syscall-list-32-options): Likewise.
29335 (syscall-list-32-condition): Likewise.
29336 (syscall-list-64-options): Likewise.
29337 (syscall-list-64-condition): Likewise.
29338 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29340 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29343 (abi-64-ld-soname): New macro.
29344 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29345 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29348 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29349 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29351 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29353 * sysdeps/unix/sysv/linux/kernel-features.h
29354 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29355 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29356 include <kernel-features.h>.
29357 [!__NR_ftruncate64]: Remove conditional code.
29358 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29359 [__NR_ftruncate64]: Make code unconditional.
29360 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29361 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29362 include <kernel-features.h>.
29363 [!__NR_ftruncate64]: Remove conditional code.
29364 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29365 [__NR_ftruncate64]: Make code unconditional.
29366 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29368 include <kernel-features.h>.
29369 [!__NR_ftruncate64]: Remove conditional code.
29370 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29371 [__NR_ftruncate64]: Make code unconditional.
29372 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29374 include <kernel-features.h>.
29375 [!__NR_ftruncate64]: Remove conditional code.
29376 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29377 [__NR_ftruncate64]: Make code unconditional.
29378 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29380 * configure.in (libc_cv_fpie): Weaken to a compile test using
29381 LIBC_TRY_CC_OPTION.
29382 * configure: Regenerated.
29384 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29399 2012-05-27 David S. Miller <davem@davemloft.net>
29401 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29403 (__Q_simulate_exceptions): Return void. Change to simulate
29404 exceptions by writing into the %fsr.
29405 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29406 (__Qp_handle_exceptions): Likewise.
29408 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29409 __Qp_handle_exceptions.
29410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29411 __Qp_handle_exceptions.
29412 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29413 as unused and give dummy FP_RND_NEAREST initializer.
29414 (FP_INHIBIT_RESULTS): Define.
29415 (___Q_simulate_exceptions): Update declaration.
29416 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29418 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29419 as unused and give dummy FP_RND_NEAREST initializer.
29420 (__Qp_handle_exceptions): Update declaration.
29421 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29424 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29426 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29427 the temporary FPU control word.
29428 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29429 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29430 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29431 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29432 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29433 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29434 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29435 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29436 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29437 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29440 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29442 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29445 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29447 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29448 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29449 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29450 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29452 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29453 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29456 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29458 * po/h.po: Update from translation team.
29460 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29462 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29464 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29465 handling of denormals.
29466 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29467 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29468 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29469 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29475 2012-05-26 Marek Polacek <polacek@redhat.com>
29478 * math/libm-test.inc (fma_test): Don't always expect underflow
29481 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29484 * elf/tst-execstack.c: Include stackinfo.h.
29485 (do_test): Adjust test case to ensure that pthread_getattr_np
29486 behaviour remains the same after marking stack executable.
29488 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29490 * sysdeps/unix/sysv/linux/kernel-features.h
29491 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29492 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29494 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29495 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29496 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29498 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29499 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29501 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29503 * configure.in: Define the default includes to being none.
29504 * configure: Regenerated.
29506 2012-05-25 Roland McGrath <roland@hack.frob.com>
29508 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29509 * sysdeps/x86_64/setjmp.S: Likewise.
29510 * sysdeps/i386/bsd-setjmp.S: Likewise.
29511 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29512 * sysdeps/i386/setjmp.S: Likewise.
29513 * sysdeps/i386/__longjmp.S: Likewise.
29514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29515 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29517 * include/stap-probe.h: New file.
29518 * configure.in: Handle --enable-systemtap.
29519 * configure: Regenerated.
29520 * config.h.in (USE_STAP_PROBE): New #undef.
29521 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29522 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29523 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29525 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29528 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29529 to 2.4.0 where earlier.
29530 * sysdeps/unix/sysv/linux/configure: Regenerated.
29531 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29532 <kernel-features.h>.
29533 [__ASSUME_32BITUIDS]: Make code unconditional.
29534 [!__ASSUME_32BITUIDS]: Remove conditional code.
29535 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29536 <kernel-features.h>.
29537 [__ASSUME_32BITUIDS]: Make code unconditional.
29538 [!__ASSUME_32BITUIDS]: Remove conditional code.
29539 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29540 [__ASSUME_32BITUIDS]: Make code unconditional.
29541 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29542 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29543 <kernel-features.h>.
29544 [__ASSUME_32BITUIDS]: Make code unconditional.
29545 [!__ASSUME_32BITUIDS]: Remove conditional code.
29546 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29547 <kernel-features.h>.
29548 [__ASSUME_32BITUIDS]: Make code unconditional.
29549 [!__ASSUME_32BITUIDS]: Remove conditional code.
29550 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29551 <kernel-features.h>.
29552 [__ASSUME_32BITUIDS]: Make code unconditional.
29553 [!__ASSUME_32BITUIDS]: Remove conditional code.
29554 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29555 <kernel-features.h>.
29556 [__ASSUME_32BITUIDS]: Make code unconditional.
29557 [!__ASSUME_32BITUIDS]: Remove conditional code.
29558 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29559 <kernel-features.h>.
29560 [__ASSUME_32BITUIDS]: Make code unconditional.
29561 [!__ASSUME_32BITUIDS]: Remove conditional code.
29562 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29563 <kernel-features.h>.
29564 [__ASSUME_32BITUIDS]: Make code unconditional.
29565 [!__ASSUME_32BITUIDS]: Remove conditional code.
29566 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29567 <kernel-features.h>.
29568 [__ASSUME_32BITUIDS]: Make code unconditional.
29569 [!__ASSUME_32BITUIDS]: Remove conditional code.
29570 * sysdeps/unix/sysv/linux/i386/lchown.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/i386/msgctl.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/i386/semctl.c: Do not include
29579 <kernel-features.h>.
29580 [__ASSUME_32BITUIDS]: Make code unconditional.
29581 [!__ASSUME_32BITUIDS]: Remove conditional code.
29582 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29583 <kernel-features.h>.
29584 [__NR_setresgid] (__setresgid): Do not declare.
29585 [__ASSUME_32BITUIDS]: Make code unconditional.
29586 [!__ASSUME_32BITUIDS]: Remove conditional code.
29587 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29588 <kernel-features.h>.
29589 [__NR_setresuid] (__setresuid): Do not declare.
29590 [__ASSUME_32BITUIDS]: Make code unconditional.
29591 [!__ASSUME_32BITUIDS]: Remove conditional code.
29592 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
29597 <kernel-features.h>.
29598 [__ASSUME_32BITUIDS]: Make code unconditional.
29599 [!__ASSUME_32BITUIDS]: Remove conditional code.
29600 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29601 <kernel-features.h>.
29602 [__ASSUME_32BITUIDS]: Make code unconditional.
29603 [!__ASSUME_32BITUIDS]: Remove conditional code.
29604 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29605 <kernel-features.h>.
29606 [__ASSUME_32BITUIDS]: Make code unconditional.
29607 [!__ASSUME_32BITUIDS]: Remove conditional code.
29608 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29609 <kernel-features.h>.
29610 [__ASSUME_32BITUIDS]: Make code unconditional.
29611 [!__ASSUME_32BITUIDS]: Remove conditional code.
29612 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29613 <kernel-features.h>.
29614 [__ASSUME_32BITUIDS]: Make code unconditional.
29615 [!__ASSUME_32BITUIDS]: Remove conditional code.
29616 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29617 <kernel-features.h>.
29618 [__ASSUME_32BITUIDS]: Make code unconditional.
29619 [!__ASSUME_32BITUIDS]: Remove conditional code.
29620 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29621 <kernel-features.h>.
29622 [__ASSUME_32BITUIDS]: Make code unconditional.
29623 [!__ASSUME_32BITUIDS]: Remove conditional code.
29624 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29625 <kernel-features.h>.
29626 [__ASSUME_32BITUIDS]: Make code unconditional.
29627 [!__ASSUME_32BITUIDS]: Remove conditional code.
29628 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29629 <kernel-features.h>.
29630 [__ASSUME_32BITUIDS]: Make code unconditional.
29631 [!__ASSUME_32BITUIDS]: Remove conditional code.
29632 * sysdeps/unix/sysv/linux/kernel-features.h
29633 (__ASSUME_SETRESUID_SYSCALL): Remove.
29634 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29635 (__ASSUME_32BITUIDS): Likewise.
29636 (__ASSUME_LDT_WORKS): Likewise.
29637 (__ASSUME_O_DIRECTORY): Likewise.
29638 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29639 architecture but not kernel version.
29640 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29641 (__ASSUME_MMAP2_SYSCALL): Likewise.
29642 (__ASSUME_STAT64_SYSCALL): Likewise.
29643 (__ASSUME_IPC64): Likewise.
29644 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29645 <kernel-features.h>.
29646 [__ASSUME_32BITUIDS]: Make code unconditional.
29647 [!__ASSUME_32BITUIDS]: Remove conditional code.
29648 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29649 <kernel-features.h>.
29650 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29651 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29652 132096]: Remove conditional code.
29653 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29654 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29655 <kernel-features.h>.
29656 [__ASSUME_32BITUIDS]: Make code unconditional.
29657 [!__ASSUME_32BITUIDS]: Remove conditional code.
29658 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29659 <kernel-features.h>.
29660 [__ASSUME_32BITUIDS]: Make code unconditional.
29661 [!__ASSUME_32BITUIDS]: Remove conditional code.
29662 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29663 <kernel-features.h>.
29664 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29666 (__setresgid): Do not declare.
29667 [__ASSUME_32BITUIDS]: Make code unconditional.
29668 [!__ASSUME_32BITUIDS]: Remove conditional code.
29669 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29670 <kernel-features.h>.
29671 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29673 (__setresuid): Do not declare.
29674 [__ASSUME_32BITUIDS]: Make code unconditional.
29675 [!__ASSUME_32BITUIDS]: Remove conditional code.
29676 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29677 <kernel-features.h>.
29678 [__ASSUME_32BITUIDS]: Make code unconditional.
29679 [!__ASSUME_32BITUIDS]: Remove conditional code.
29680 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29681 <kernel-features.h>.
29682 [__ASSUME_32BITUIDS]: Make code unconditional.
29683 [!__ASSUME_32BITUIDS]: Remove conditional code.
29685 2012-05-25 Richard Henderson <rth@twiddle.net>
29687 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29688 dl_hwcap to ifunc resolver.
29689 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29691 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29692 dl_hwcap to ifunc resolver.
29693 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29695 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29698 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29699 for |x| <= 2**-26, not 2**-57.
29700 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29703 2012-05-24 Jeff Law <law@redhat.com>
29705 * stdio-common/Makefile (tests): Add bug25.
29706 * stdio-common/bug25.c: New test.
29708 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29711 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29712 multiple of MALLOC_ALIGNMENT in size.
29713 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29715 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29717 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29719 (FILENAME_MAX): Use macro-int-constant.
29720 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29721 (_IOFBF): Use macro-int-constant.
29722 (_IOLBF): Likewise.
29723 (_IONBF): Likewise.
29724 (SEEK_CUR): Likewise.
29725 (SEEK_END): Likewise.
29726 (SEEK_SET): Likewise.
29727 (TMP_MAX): Likewise.
29728 (EOF): Use macro-int-constant. Require < 0.
29729 (NULL): Use macro-constant. Require == 0.
29730 (stdin): Require type to be FILE *.
29731 (stdout): Likewise.
29732 (stderr): Likewise.
29733 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29734 macro-int-constant.
29735 (EXIT_SUCCESS): Likewise.
29736 (NULL): Use macro-constant. Require == 0.
29737 (RAND_MAX): Use macro-int-constant.
29738 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29739 [C99-based standards] (strtof): Require function.
29740 [C99-based standards] (strtold): Likewise.
29741 [C99-based standards] (strtoll): Likewise.
29742 [C99-based standards] (strtoull): Likewise.
29743 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29744 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29745 [ISO || ISO99 || ISO11] (math.h): Likewise.
29746 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29747 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29750 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29753 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29754 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29755 * intl/dgettext.c (DCGETTEXT): Likewise.
29756 * intl/gettext.c (DCGETTEXT): Likewise.
29757 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29758 * posix/regex_internal.h (gettext): Likewise.
29759 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29760 Remove declaration.
29761 * include/argz.h (__argz_count_internal)
29762 (__argz_stringify_internal): Remove declaration.
29763 (__argz_count, __argz_stringify): Declare hidden proto.
29764 * intl/dcgettext.c: Remove use of INTDEF.
29765 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29766 * string/argz-stringify.c: Likewise.
29767 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29768 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29769 Declare hidden proto.
29770 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29771 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29772 Declare hidden proto.
29773 * include/stdio.h (__asprintf_internal): Don't declare.
29774 (__asprintf): Don't define as macro. Declare hidden proto.
29775 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29776 (__fsetlocking): Declare hidden proto.
29777 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29778 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29780 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29781 (_IO_setlinebuf): Remove use of INTUSE.
29782 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29783 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29784 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29785 Remove declaration.
29786 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29787 (_IO_do_flush): Remove use of INTUSE.
29788 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29789 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29790 (_IO_adjust_column, _IO_least_wmarker)
29791 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29792 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29793 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29794 (_IO_default_doallocate, _IO_wdefault_doallocate)
29795 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29796 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29797 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29798 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29799 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29800 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29801 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29802 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29803 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29804 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29805 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29806 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29807 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29809 (_IO_flush_all_internal, _IO_adjust_column_internal)
29810 (_IO_default_uflow_internal, _IO_default_finish_internal)
29811 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29812 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29813 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29814 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29815 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29816 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29817 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29818 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29819 (_IO_file_close_internal, _IO_file_close_it_internal)
29820 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29821 (_IO_file_init_internal, _IO_file_attach_internal)
29822 (_IO_file_fopen_internal, _IO_file_read_internal)
29823 (_IO_file_sync_internal, _IO_file_seek_internal)
29824 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29825 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29826 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29827 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29828 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29829 (_IO_list_all_internal, _IO_link_in_internal)
29830 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29831 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29832 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29833 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29834 (_IO_do_write_internal, _IO_padn_internal)
29835 (_IO_getline_info_internal, _IO_getline_internal)
29836 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29837 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29838 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29839 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29840 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29841 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29842 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29843 with libc_hidden_ver, remove use of INTUSE.
29844 * libio/genops.c: Likewise.
29845 * libio/freopen.c: Likewise.
29846 * libio/freopen64.c: Likewise.
29847 * libio/iofclose.c: Likewise.
29848 * libio/iofdopen.c: Likewise.
29849 * libio/iofflush.c: Likewise.
29850 * libio/iofflush_u.c: Likewise.
29851 * libio/iofgets.c: Likewise.
29852 * libio/iofgets_u.c: Likewise.
29853 * libio/iofopen.c: Likewise.
29854 * libio/iofopncook.c: Likewise.
29855 * libio/iofread.c: Likewise.
29856 * libio/iofread_u.c: Likewise.
29857 * libio/ioftell.c: Likewise.
29858 * libio/iofwrite.c: Likewise.
29859 * libio/iogetline.c: Likewise.
29860 * libio/iogets.c: Likewise.
29861 * libio/iogetwline.c: Likewise.
29862 * libio/iopadn.c: Likewise.
29863 * libio/iopopen.c: Likewise.
29864 * libio/ioseekoff.c: Likewise.
29865 * libio/ioseekpos.c: Likewise.
29866 * libio/iosetbuffer.c: Likewise.
29867 * libio/iosetvbuf.c: Likewise.
29868 * libio/ioungetc.c: Likewise.
29869 * libio/ioungetwc.c: Likewise.
29870 * libio/iovdprintf.c: Likewise.
29871 * libio/iovsprintf.c: Likewise.
29872 * libio/iovsscanf.c: Likewise.
29873 * libio/memstream.c: Likewise.
29874 * libio/obprintf.c: Likewise.
29875 * libio/oldfileops.c: Likewise.
29876 * libio/oldiofclose.c: Likewise.
29877 * libio/oldiofdopen.c: Likewise.
29878 * libio/oldiofopen.c: Likewise.
29879 * libio/oldiopopen.c: Likewise.
29880 * libio/oldstdfiles.c: Likewise.
29881 * libio/putc.c: Likewise.
29882 * libio/setbuf.c: Likewise.
29883 * libio/setlinebuf.c: Likewise.
29884 * libio/stdfiles.c: Likewise.
29885 * libio/strops.c: Likewise.
29886 * libio/vasprintf.c: Likewise.
29887 * libio/vscanf.c: Likewise.
29888 * libio/vsnprintf.c: Likewise.
29889 * libio/vswprintf.c: Likewise.
29890 * libio/wfiledoalloc.c: Likewise.
29891 * libio/wfileops.c: Likewise.
29892 * libio/wgenops.c: Likewise.
29893 * libio/wmemstream.c: Likewise.
29894 * libio/wstrops.c: Likewise.
29895 * libio/__fpurge.c: Likewise.
29896 * libio/__fsetlocking.c: Likewise.
29897 * assert/assert.c: Likewise.
29898 * debug/fgets_chk.c: Likewise.
29899 * debug/fgets_u_chk.c: Likewise.
29900 * debug/fread_chk.c: Likewise.
29901 * debug/fread_u_chk.c: Likewise.
29902 * debug/gets_chk.c: Likewise.
29903 * debug/obprintf_chk.c: Likewise.
29904 * debug/vasprintf_chk.c: Likewise.
29905 * debug/vdprintf_chk.c: Likewise.
29906 * debug/vsnprintf_chk.c: Likewise.
29907 * debug/vsprintf_chk.c: Likewise.
29908 * malloc/mtrace.c: Likewise.
29909 * misc/error.c: Likewise.
29910 * misc/syslog.c: Likewise.
29911 * stdio-common/asprintf.c: Likewise.
29912 * stdio-common/fxprintf.c: Likewise.
29913 * stdio-common/getw.c: Likewise.
29914 * stdio-common/isoc99_fscanf.c: Likewise.
29915 * stdio-common/isoc99_scanf.c: Likewise.
29916 * stdio-common/isoc99_vfscanf.c: Likewise.
29917 * stdio-common/isoc99_vscanf.c: Likewise.
29918 * stdio-common/isoc99_vsscanf.c: Likewise.
29919 * stdio-common/printf-prs.c: Likewise.
29920 * stdio-common/printf_fp.c: Likewise.
29921 * stdio-common/printf_fphex.c: Likewise.
29922 * stdio-common/printf_size.c: Likewise.
29923 * stdio-common/putw.c: Likewise.
29924 * stdio-common/scanf.c: Likewise.
29925 * stdio-common/sprintf.c: Likewise.
29926 * stdio-common/tmpfile.c: Likewise.
29927 * stdio-common/vfprintf.c: Likewise.
29928 * stdio-common/vfscanf.c: Likewise.
29929 * stdlib/strfmon_l.c: Likewise.
29930 * sunrpc/openchild.c: Likewise.
29931 * sunrpc/xdr_stdio.c: Likewise.
29932 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29933 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29935 2012-05-24 Roland McGrath <roland@hack.frob.com>
29937 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29939 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29940 in the third column, to generate for the shared library an IFUNC
29941 that uses _dl_vdso_vsym.
29942 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29943 * Makeconfig (object-suffixes-noshared): New variable.
29945 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29946 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29947 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29948 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29951 * include/sys/time.h (__gettimeofday): Remove macro.
29952 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29953 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29955 (__gettimeofday): Add libc_hidden_def.
29956 (gettimeofday): Add libc_hidden_weak.
29957 * sysdeps/mach/gettimeofday.c: Likewise.
29958 * sysdeps/posix/gettimeofday.c: Likewise.
29959 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29960 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29962 (__gettimeofday_internal): Remove strong_alias.
29963 (__gettimeofday): Add libc_hidden_def.
29964 (gettimeofday): Add libc_hidden_weak.
29965 * sysdeps/unix/syscalls.list (gettimeofday):
29966 Remove __gettimeofday_internal alias.
29968 2012-05-24 Daniel Jacobowitz <drow@false.org>
29969 H.J. Lu <hongjiu.lu@intel.com>
29972 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29973 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29974 (largebin_index_32_big): New.
29975 (largebin_index): Use it for 16-byte alignment.
29976 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29977 correction with front_misalign.
29979 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30007 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30008 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30010 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30014 * math/libm-test.inc (exp_test): Add test from bug 14036.
30015 (pow_test): Add test from bug 10846.
30017 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30019 (special_function): Do not include flags in test name.
30020 (parse_args): Likewise.
30021 * sysdeps/i386/fpu/libm-test-ulps: Update.
30022 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30023 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30024 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30027 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30029 * math/libm-test.inc ("Philosophy"): Update comment about
30031 (UNDERFLOW_EXCEPTION): New macro.
30032 (UNDERFLOW_EXCEPTION_OK): Likewise.
30033 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30034 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30035 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30036 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30037 (INVALID_EXCEPTION_OK): Update value.
30038 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30039 (OVERFLOW_EXCEPTION_OK): Likewise.
30040 (IGNORE_ZERO_INF_SIGN): Likewise.
30041 (test_exceptions): Handle underflow exceptions.
30042 (acos_test): Update for underflow exception expectations.
30043 (cexp_test): Likewise.
30044 (clog_test): Likewise.
30045 (clog10_test): Likewise.
30046 (csqrt_test): Likewise.
30047 (ctan_test): Likewise.
30048 (ctanh_test): Likewise.
30049 (exp_test): Likewise.
30050 (exp10_test): Likewise.
30051 (exp2_test): Likewise.
30052 (expm1_test): Likewise.
30053 (fma_test): Likewise.
30054 (j0_test): Likewise.
30055 (jn_test): Likewise.
30056 (nexttoward_test): Likewise.
30057 (pow_test): Likewise.
30058 (scalbn_test): Likewise.
30059 (scalbln_test): Likewise.
30060 (tan_test): Likewise.
30061 (y1_test): Likewise.
30062 * sysdeps/i386/fpu/libm-test-ulps: Update.
30063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30065 2012-05-23 David S. Miller <davem@davemloft.net>
30067 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30068 (__libc_sigaction): Remove unused local variables.
30070 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30072 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30074 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30076 mktime: avoid signed integer overflow
30077 * time/mktime.c (__mktime_internal): Do not mishandle the case
30078 where diff == INT_MIN.
30080 mktime: simplify computation of average
30081 * time/mktime.c (ranged_convert): Use new time_t_avg function
30082 instead of rolling our own (probably-slower) code.
30084 mktime: do not assume signed right shift propagates sign bit
30085 * time/mktime.c (isdst_differ): New static function.
30086 (__mktime_internal): No need to normalize tm_isdst now.
30087 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30090 mktime: merge another wrapv change from gnulib
30091 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30092 from some compilers.
30094 mktime: remove incorrect attempt at unusual arithmetics
30095 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30096 The code didn't really work on such machines anyway.
30097 (TYPE_MINIMUM): Assume two's complement.
30098 (twos_complement_arithmetic): Verify that long_int and time_t
30099 are two's complement (or unsigned, in the latter case).
30101 mktime: check signed shifts on long_int and time_t, too
30102 * time/mktime.c (SHR): Check that shifts work as desired
30103 on the types long_int and time_t too, as SHR is used on
30106 mktime: do not assume 'long' is wide enough
30107 * time/mktime.c (verify): Move decl up.
30108 (long_int): New type.
30109 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30110 to remove assumption in the code that 'long' is wide enough to
30111 store year values. This assumption is not true on x32 and on
30112 some non-glibc platforms.
30114 mktime: merge wrapv change from gnulib
30115 * time/mktime.c (WRAPV): New macro.
30116 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30117 (guess_time_tm, __mktime_internal): Do not assume that signed
30118 integer overflow wraps around; modern compilers generate code
30119 where this assumption is no longer valid.
30121 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30123 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30124 Replace "jmp L(pseudo_end)" with "ret".
30125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30128 2012-05-23 Andreas Jaeger <aj@suse.de>
30130 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30131 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30133 2012-05-23 Andreas Jaeger <aj@suse.de>
30134 Maximilian Attems <max@stro.at>
30136 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30139 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30141 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30142 code so that pseudo_end is just ret and the stack pointer is
30143 correct also for static library in error case.
30145 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30147 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30148 move to syscalls.list.
30149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30154 * manual/install.texi (Running make install): Do not mention Linux
30155 kernel version for which pt_chown is not needed.
30156 (Linux): Do not mention problems with nscd with 2.0 kernels.
30157 * INSTALL: Regenerated.
30159 2012-05-23 Andreas Jaeger <aj@suse.de>
30161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30162 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30164 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30165 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30166 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30168 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30170 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30174 * sysdeps/unix/sysv/linux/bits/in.h
30175 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30177 2012-05-22 Roland McGrath <roland@hack.frob.com>
30179 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30180 (PREPARE_VERSION): Just use assert instead, it will be elided
30181 under [NDEBUG] anyway.
30183 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30185 * sysdeps/unix/sysv/linux/Makefile: Include
30186 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30187 (sysdep_routines): Remove sysctl.
30188 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30189 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30190 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30191 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30192 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30194 2012-05-22 Andreas Jaeger <aj@suse.de>
30196 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30197 that pseudo_end is just ret and the stack pointer is correct also
30198 for static library in error case.
30200 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30203 * nss/nsswitch.c (defconfig_entries): New variable.
30204 (__nss_database_lookup): Don't leak defconfig entries.
30205 (nss_parse_service_list): Don't leak on error paths.
30206 (free_database_entries): New function.
30207 (free_defconfig): New function.
30208 (free_mem): Move common code to free_database_entries.
30210 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30212 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30214 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30216 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30217 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30220 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30221 (INTERNAL_SYSCALL_TYPES): Likewise.
30222 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30223 (LOAD_REGS_TYPES_[1-6]): Likewise.
30224 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30225 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30227 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30230 copysignl for GLIBC_2_0.
30231 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30232 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30234 logbl for GLIBC_2_0.
30235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30236 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30238 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30241 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30243 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30246 * time/mktime.c: Update copyright years.
30248 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30250 mktime: merge comment-quoting-style change from gnulib
30251 * time/mktime.c: Quote 'like this' in comments.
30252 The GNU coding standards suggest that we no longer quote `like this',
30253 as "`" and "'" are typically rendered asymmetrically nowadays.
30254 The typical gnulib style is to quote 'like this' when quoting
30255 code, and "like this" when quoting English.
30257 * time/mktime.c (compile-command): Add "-I.".
30259 mktime: merge mktime-internal.h change from gnulib
30260 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30262 mktime: merge time_r change from gnulib
30263 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30265 mktime: merge DEBUG change from gnulib
30266 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30267 case system <time.h> has a #define.
30269 mktime: merge <sys/types.h> change from gnulib
30270 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30271 since <time.t> is now guaranteed to define time_t.
30273 mktime: merge HAVE_CONFIG_H change from gnulib
30274 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30276 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30281 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30283 (struct rusage): Use anonymous union to pad each field to
30286 2012-05-21 David S. Miller <davem@davemloft.net>
30288 * Makefules (o-iterator): Remove .s cases.
30289 (compile-command.s): Delete.
30290 (COMPILE.s): Delete.
30291 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30293 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30295 * configure.in (libc_cv_predef_stack_protector): Only consider
30296 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30297 * configure: Regenerated.
30299 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30302 New macro. Use R*LP on int and pointer.
30303 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30304 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30305 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30306 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30308 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30309 [__WORDSIZE_TIME64_COMPAT32] instead of
30310 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30311 (struct utmp): Likewise.
30312 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30313 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30315 (__WORDSIZE_TIME64_COMPAT32): This.
30316 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30317 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30318 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30319 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30320 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30321 (__WORDSIZE_TIME64_COMPAT32): New macro.
30323 2012-05-21 Andreas Jaeger <aj@suse.de>
30325 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30326 only if [SHARED]. Add prototype for __wcschr_ia32.
30328 2012-05-21 Roland McGrath <roland@hack.frob.com>
30330 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30331 of %rbp unmolested in the jmp_buf while mangling the low bits.
30332 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30333 unmolested high bits of %rbp while demangling the low bits.
30334 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30336 2012-05-21 Andreas Jaeger <aj@suse.de>
30338 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30339 * sunrpc/svc_simple.c: Use it for registerrpc.
30340 * sunrpc/xcrypt.c: Use it for passwd2des.
30342 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30344 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30346 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30347 Don't define if [__SYSCALL_WORDSIZE != 32].
30348 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30351 2012-05-21 Bruno Haible <bruno@clisp.org>
30352 Andreas Jaeger <aj@suse.de>
30354 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30355 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30356 inptr and inend for must_buffer_ch.
30357 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30358 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30359 * stdio-common/Makefile (tests): Remove bug15.
30360 (bug15-ENV): Remove macro.
30361 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30364 2012-05-19 Andreas Jaeger <aj@suse.de>
30365 Roland McGrath <roland@hack.frob.com>
30367 * manual/contrib.texi: Completely rewritten. It contains now an
30368 alphabetical list of contributors and their contributions.
30370 2012-05-21 Richard Henderson <rth@twiddle.net>
30372 * misc/getauxval.c (__getauxval): Use unsigned long int.
30373 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30374 (getauxval): Use unsigned long int.
30376 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30378 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30380 2012-05-21 Roland McGrath <roland@hack.frob.com>
30382 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30383 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30384 __alignof__ (long double).
30386 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30390 2012-05-20 Richard Henderson <rth@twiddle.net>
30392 * misc/getauxval.c: New file.
30393 * misc/sys/auxv.h: New file.
30394 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30395 (routines): Add getauxval.
30396 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30397 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30398 * elf/dl-sysdep.c (_dl_auxv): Remove.
30399 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30400 * elf/dl-support.c (_dl_auxv): New variable.
30401 (_dl_aux_init): Initialize it.
30402 * manual/startup.texi (Auxiliary Vector): New node.
30403 * sysdeps/generic/bits/hwcap.h: New file.
30404 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30405 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30406 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30407 * sysdeps/sparc/sysdep.h: ... here. Include it.
30408 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30409 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30415 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30421 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30425 2012-05-19 David S. Miller <davem@davemloft.net>
30427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30429 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30432 * math/s_ccosh.c: Include <float.h>
30433 (__ccosh): Avoid internal overflow calculating sinh and cosh
30434 values before multiplying by sin and cos values.
30435 * math/s_ccoshf.c: Likewise.
30436 * math/s_ccoshl.c: Likewise.
30437 * math/s_csin.c: Likewise.
30438 * math/s_csinf.c: Likewise.
30439 * math/s_csinl.c: Likewise.
30440 * math/s_csinh.c: Likewise.
30441 * math/s_csinhf.c: Likewise.
30442 * math/s_csinhl.c: Likewise.
30443 * math/libm-test.inc (ccos_test): Add more tests.
30444 (ccosh_test): Likewise.
30445 (csin_test): Likewise.
30446 (csinh_test): Likewise.
30447 * sysdeps/i386/fpu/libm-test-ulps: Update.
30448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30450 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30452 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30453 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30455 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30457 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30459 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30460 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30461 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30462 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30463 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30464 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30465 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30466 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30467 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30468 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30469 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30470 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30471 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30472 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30473 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30474 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30475 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30476 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30477 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30478 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30479 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30480 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30481 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30482 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30483 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30484 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30485 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30486 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30487 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30488 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30489 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30491 2012-05-18 Andreas Jaeger <aj@suse.de>
30493 * csu/.gitignore: Delete.
30495 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30497 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30498 (timex): Use __syscall_slong_t.
30500 2012-05-18 Andreas Jaeger <aj@suse.de>
30501 Carlos O'Donell <carlos_odonell@mentor.com>
30503 * manual/install.texi (Configuring and compiling): Update
30504 description about files modified in the source directory.
30505 * INSTALL: Regenerated.
30507 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30509 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30510 value. Use "or" to set return value to -1.
30511 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30512 negate return value.
30514 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30516 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30517 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30518 failure if the compiler has Graphite support disabled.
30519 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30521 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30522 (CFLAGS-memmove.c): Likewise.
30523 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30526 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30528 * sysdeps/x86_64/x32/_itoa.h: New file.
30530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30531 getdents system call only if kernel and user dirents have the
30532 same d_ino and d_off.
30534 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30535 LLONG_MAX != LONG_MAX.
30536 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30537 (_fitoa_word): Likewise.
30539 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30542 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30543 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30545 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30546 include <bits/wordsize.h>. Check __x86_64__ instead of
30548 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30549 if __x86_64__ is defined. Use anonymous union on fpstate.
30551 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30554 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30556 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30557 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30558 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30559 Refer to _rtld_local_ro instead of _rtld_global_ro.
30560 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30562 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30564 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30566 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30567 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30568 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30570 * sysdeps/powerpc/powerpc32/dl-machine.c
30571 (__elf_machine_runtime_setup) [PROF]: Don't reference
30574 2012-05-18 Andreas Jaeger <aj@suse.de>
30576 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30577 function only available for GCCs before 3.4 since GCC 3.4
30578 introduced a builtin.
30580 (llrintf): Likewise.
30581 (llrint): Likewise.
30588 (nearbyint): Likewise.
30589 (nearbyintf): Likewise.
30593 (floorf): Likewise.
30595 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30597 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30598 on both fields and cast pointer to __syscall_ulong_t.
30600 * bits/types.h (__fsword_t): New type.
30601 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30602 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30604 (__FSWORD_T_TYPE): Likewise.
30605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30606 (__FSWORD_T_TYPE): Likewise.
30607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30608 (__FSWORD_T_TYPE): Likewise.
30609 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30610 (__FSWORD_T_TYPE): Likewise.
30611 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30612 __SWORD_TYPE with __fsword_t.
30613 (statfs64): Likewise.
30615 2012-05-17 David S. Miller <davem@davemloft.net>
30617 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30619 2012-05-17 Andreas Jaeger <aj@suse.de>
30621 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30624 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30626 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30628 2012-05-17 Andreas Jaeger <aj@suse.de>
30630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30633 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30635 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30637 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30639 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30640 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30642 2012-05-17 Andreas Jaeger <aj@suse.de>
30643 Carlos O'Donell <carlos_odonell@mentor.com>
30646 * sysdeps/x86_64/multiarch/init-arch.h
30647 (bit_YMM_Usable): Rename to...
30648 (bit_AVX_Usable): ... this.
30649 (bit_FMA4_Usable): New macro.
30650 (bit_XMM_state): New macro.
30651 (bit_YMM_state): New macro.
30652 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30653 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30654 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30655 (CPUID_OSXSAVE): New macro.
30656 (CPUID_AVX): New macro.
30657 (CPUID_FMA4): New macro.
30658 (index_YMM_Usable): Rename to...
30659 (index_AVX_Usable): ... this.
30660 (HAS_AVX): Use HAS_ARCH_FEATURE.
30661 (HAS_FMA4): Likewise.
30662 (HAS_YMM_USABLE): Remove.
30663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30664 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30666 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30667 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30668 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30669 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30670 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30672 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30674 * math/libm-test.c: Support platforms without multiple rounding modes.
30675 * math/bug-nextafter.c: Support platforms without FP exceptions.
30676 * math/bug-nexttoward.c: Likewise.
30677 * math/test-fenv.c: Likewise.
30678 * math/test-misc.c: Likewise.
30679 * stdlib/bug-getcontext.c: Likewise.
30681 2012-05-17 Andreas Jaeger <aj@suse.de>
30683 * manual/examples/search.c (critter_cmp): Change signature to
30685 * manual/string.texi (Collation Functions): Likewise.
30687 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30689 * bits/types.h: Fold copyright years.
30690 * bits/typesizes.h: Likewise.
30691 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30695 * time/time.h: Likewise.
30697 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30700 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30701 in instead of returning them. Return void.
30702 (__libc_mallinfo): Accumulate over all arenas.
30703 (__malloc_stats): Adjust for change in int_mallinfo interface.
30705 2012-05-16 Roland McGrath <roland@hack.frob.com>
30708 * configure.in (NM): Add AC_CHECK_TOOL for it.
30709 (libc_extra_cflags): New substituted variable.
30710 Check for -fstack-protector being used implicitly.
30711 * configure: Regenerated.
30712 * config.make.in (config-extra-cflags): New variable,
30713 gets @libc_extra_cflags@.
30714 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30717 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30718 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30719 * configure: Regenerated.
30720 * config.make.in (CPPUNDEFS): New substituted variable.
30721 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30722 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30723 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30725 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30727 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30728 (mq_attr): Use __syscall_slong_t.
30730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30732 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30733 Check __x86_64__ instead of __WORDSIZE.
30734 (_STAT_VER_LINUX): Likewise.
30735 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30736 __syscall_ulong_t and __syscall_slong_t.
30737 (stat64): Likewise.
30739 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30741 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30743 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30745 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30747 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30749 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30752 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30753 include <bits/wordsize.h>. Check __x86_64__ instead of
30755 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30757 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30760 include <bits/wordsize.h>. Check __x86_64__ instead of
30762 (user_regs_struct): Use "__extension__ unsigned long long"
30763 instead of "unsigned long" if __x86_64__ is defined.
30764 (user): Likewise. Pad after pointer field if __ILP32__ is
30767 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30769 * configure.in (makeinfo): Require version 4.5 or later. Allow
30771 * configure: Regenerated.
30772 * manual/install.texi (texinfo): Increase version requirement to
30774 * INSTALL: Regenerated.
30776 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30778 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30780 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30782 * sysdeps/x86_64/x32/ffs.c: New file.
30784 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30786 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30787 defined. Use __syscall_ulong_t.
30788 (shminfo): Use __syscall_ulong_t.
30789 (shm_info): Likewise.
30791 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30794 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30796 (msgqnum_t): Use __syscall_ulong_t.
30797 (msglen_t): Likewise.
30798 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30801 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30802 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30804 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30806 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30807 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30809 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30812 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30813 include <bits/wordsize.h>. Check __x86_64__ instead of
30816 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30817 "unsigned long long int" if __x86_64__ is defined.
30818 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30820 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30821 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30822 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30824 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30826 (GET_PC): Cast to uintptr_t first.
30827 (GET_FRAME): Likewise.
30828 (GET_STACK): Likewise.
30830 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30831 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30832 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30833 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30834 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30835 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30836 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30837 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30838 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30841 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30842 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30843 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30844 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30845 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30846 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30847 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30848 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30849 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30850 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30851 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30852 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30853 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30854 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30855 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30856 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30857 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30858 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30860 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30862 * Makerules (+depfiles): Also collect depfiles from .oS in
30864 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30865 .oS, $(libnldbl-routines)).
30867 * Makerules (native-compile-mkdep-flags): Define.
30868 * sunrpc/Makefile (extra-objs): Add $(addprefix
30869 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30870 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30871 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30872 calling $(make-target-directory).
30874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30876 * bits/types.h (__snseconds_t): Removed.
30877 * time/time.h (struct timespec): Replace __snseconds_t with
30879 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30880 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30883 (__SNSECONDS_T_TYPE): Likewise.
30884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30885 (__SNSECONDS_T_TYPE): Likewise.
30886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30887 (__SNSECONDS_T_TYPE): Likewise.
30889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30891 * sysdeps/mach/hurd/bits/typesizes.h
30892 (__SYSCALL_SLONG_TYPE): New macro.
30893 (__SYSCALL_ULONG_TYPE): Likewise.
30895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30897 * bits/types.h (__syscall_slong_t): New type.
30898 (__syscall_ulong_t): Likewise.
30900 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30901 (__SYSCALL_ULONG_TYPE): Likewise.
30902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30903 (__SYSCALL_SLONG_TYPE): Likewise.
30904 (__SYSCALL_ULONG_TYPE): Likewise.
30905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30906 (__SYSCALL_SLONG_TYPE): Likewise.
30907 (__SYSCALL_ULONG_TYPE): Likewise.
30908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30909 (__SYSCALL_SLONG_TYPE): Likewise.
30910 (__SYSCALL_ULONG_TYPE): Likewise.
30912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30914 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30915 Add sigaltstack-offsets.sym.
30916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30917 <sigaltstack-offsets.h>.
30918 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30919 longjmp_msg pointer.
30920 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30921 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30923 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30925 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30927 * elf/stackguard-macros.h: Remove file.
30928 * sysdeps/generic/stackguard-macros.h: New file.
30929 * sysdeps/i386/stackguard-macros.h: Likewise.
30930 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30931 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30932 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30933 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30934 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30935 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30936 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30937 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30938 <elf/stackguard-macros.h>.
30941 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30942 __aligned__ in attribute.
30943 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30944 (gregset_t): Likewise.
30946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30948 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30949 * sysdeps/x86_64/64/Implies-after: Here. New file.
30950 * sysdeps/x86_64/x32/Implies-after: New file.
30952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30954 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30955 and access return value for _dl_profile_fixup. Use R10_LP to
30958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30960 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30964 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30965 * sysdeps/x86_64/x32/sysdep.h: New file.
30967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30969 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30970 * sysdeps/x86_64/setjmp.S: Likewise.
30972 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30974 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30975 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30976 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30978 remove unused global constant.
30980 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30982 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30983 include of <not-cancel.h>.
30985 2012-05-15 Roland McGrath <roland@hack.frob.com>
30987 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30989 2012-05-15 Jeff Law <law@redhat.com>
30990 Andreas Jaeger <aj@suse.de>
30993 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30995 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30996 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30997 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30998 code changing __hst_map_handle.map.
31000 2012-05-15 Roland McGrath <roland@hack.frob.com>
31002 * configure.in (sysnames): Look for Implies-before and Implies-after
31004 * configure: Regenerated.
31006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31008 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31009 8-byte data alignment with LP_SIZE alignment.
31011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31013 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31018 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31022 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31023 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31026 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31030 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31031 (stackinfo_sub_sp): Likewise.
31033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31045 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31050 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31054 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31055 into R11_LP and load __x86_64_shared_cache_size_half into
31058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31060 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31063 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31071 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31072 powerpc32/power7/fpu/s_logb.c via #include.
31073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31074 powerpc32/power7/fpu/s_logbf.c via #include.
31075 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31076 powerpc32/power7/fpu/s_logbl.c via #include.
31078 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31080 * README.libm: Remove file.
31082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31084 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31085 count for x32. Use R*_LP and omit operand-size suffix.
31087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31089 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31090 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31091 * sysdeps/x86_64/x32/shlib-versions: New file.
31093 2012-05-14 Roland McGrath <roland@hack.frob.com>
31095 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31096 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31097 Use _dl_fatal_printf instead.
31099 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31101 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31102 set if not set by the user. Do not allow for being unset.
31103 * sysdeps/unix/sysv/linux/configure: Regenerated.
31105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31107 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31108 the `q' suffix from lea and replace .quad with ASM_ADDR.
31110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31113 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31115 (PTR_DEMANGLE): Likewise.
31117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31119 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31121 (ASM_ADDR): Likewise.
31122 (RAX_LP): Likewise.
31123 (RBP_LP): Likewise.
31124 (RBX_LP): Likewise.
31125 (RCX_LP): Likewise.
31126 (RDI_LP): Likewise.
31127 (RSI_LP): Likewise.
31128 (RSP_LP): Likewise.
31131 (R10_LP): Likewise.
31132 (R10_LP): Likewise.
31133 (R11_LP): Likewise.
31134 (R12_LP): Likewise.
31135 (R13_LP): Likewise.
31136 (R14_LP): Likewise.
31137 (R15_LP): Likewise.
31139 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31141 * sysdeps/x86_64/x32/dl-machine.h: New file.
31143 2012-05-14 Andreas Jaeger <aj@suse.de>
31145 * manual/Makefile (subdir): Remove export of subdir.
31146 (all): Remove target.
31147 (.PHONY): Remove all from list.
31148 (mkinstalldirs): Remove.
31149 (.PHONY): Remove installdirs from list.
31150 ($(inst_infodir)/libc.info): Use make-target-directory.
31151 (installdirs): Remove.
31152 (subdir_%): Remove.
31153 (glibc-targets): Remove.
31156 ($(objpfx)stubs ../po/manual.pot): Remove.
31157 ($(objpfx)stamp%): Remove.
31158 (make-target-directory): Remove.
31159 (subdir_install): Remove.
31160 (routines): Remove.
31167 * manual/.gitignore: Remove, it's not needed anymore.
31168 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31170 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31172 (texis): Renamed to $(objpfx)texis.
31173 (texis-path): New, contains path to generated files.
31174 (chapters.%): Use texis-path for complete path, add extra argument
31176 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31177 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31178 (summary,texi, stamp-summary): Use complete path of
31179 files. Generate files in build dir.
31180 (dir-add.texi): Build in build dir.
31181 (libm-err.texi,stamp-libm-err): Likewise.
31182 (version.texi, stamp-version): Likewise.
31183 (.%c.texi): Likewise.
31184 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31185 (mostlyclean): Remove target.
31186 (realclean): Remove target.
31187 (generated): Add new variable with contents from mostlyclean and
31188 realclean, remove entries duplicated in common-mostlyclean, add
31189 stamp-libm-err and stamp-version.
31190 (generated-dirs): Add libc directory.
31191 ($(inst_infodir)/libc.info): Install files from build dir.
31193 * manual/install.texi (Configuring and compiling): Adjust since
31194 the info files are not part of the tar ball anymore.
31196 2012-05-14 Andreas Jaeger <aj@suse.de>
31198 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31201 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31204 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31205 to 2.2.0 where earlier.
31206 * sysdeps/unix/sysv/linux/configure: Regenerated.
31207 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31208 Remove conditional code.
31209 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31210 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31211 Remove conditional code.
31212 [!__NR_lchown]: Likewise.
31213 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31214 [__NR_lchown]: Likewise.
31215 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31216 comment referencing __ASSUME_LCHOWN_SYSCALL.
31217 * sysdeps/unix/sysv/linux/i386/sigaction.c
31218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31220 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31221 Remove conditional code.
31222 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31223 (__protocol_available): Remove #if 0 code.
31224 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31226 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31227 * sysdeps/unix/sysv/linux/kernel-features.h
31228 (__ASSUME_GETCWD_SYSCALL): Don't define.
31229 (__ASSUME_REALTIME_SIGNALS): Likewise.
31230 (__ASSUME_PREAD_SYSCALL): Likewise.
31231 (__ASSUME_PWRITE_SYSCALL): Likewise.
31232 (__ASSUME_POLL_SYSCALL): Likewise.
31233 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31234 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31236 (__ASSUME_SIOCGIFNAME): Don't define.
31237 (__ASSUME_MSG_NOSIGNAL): Likewise.
31238 (__ASSUME_SENDFILE): Define unconditionally.
31239 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31240 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31242 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31243 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31244 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31245 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31246 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31247 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31248 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31262 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31265 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31268 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31271 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31273 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31274 Remove conditional code.
31275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31276 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31277 Remove conditional code.
31278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31279 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31280 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31281 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31282 Remove conditional code.
31283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31284 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31285 Remove conditional code.
31286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31287 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31288 Remove conditional code.
31289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31290 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31291 Remove conditional code.
31292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31293 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31294 Remove conditional code.
31295 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31296 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31297 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31299 * sysdeps/unix/sysv/linux/sigaction.c
31300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31302 * sysdeps/unix/sysv/linux/sigpending.c
31303 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31304 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31305 * sysdeps/unix/sysv/linux/sigprocmask.c
31306 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31307 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31308 * sysdeps/unix/sysv/linux/sigsuspend.c
31309 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31310 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31311 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31312 (__libc_missing_rt_sigs): Remove.
31313 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31314 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31315 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31316 Remove conditional code.
31317 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31318 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31320 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31321 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31322 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31323 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31325 2012-05-14 Andreas Jaeger <aj@suse.de>
31327 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31328 it's not used in glibc.
31329 (__coshm1): Likewise.
31330 (__acosh1p): Likewise.
31333 * manual/string.texi (Copying and Concatenation): Add missing
31334 variable in concat example.
31335 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31337 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31341 __builtin_clzl with __builtin_clzll.
31343 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31346 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31349 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31351 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31352 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31353 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31354 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31356 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31358 * NEWS: Update ia64 info.
31360 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31362 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31365 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31367 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31368 * sysdeps/unix/syscalls.list (dup3): Likewise.
31369 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31370 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31372 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31374 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31375 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31377 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31379 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31381 (TLS_IE): Use mov/add instead of movq/addq to load thread
31383 (TLS_GD_PREFIX): New.
31386 2012-05-11 David S. Miller <davem@davemloft.net>
31388 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31389 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31390 (_FPU_SETCW): Likewise.
31392 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31394 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31395 is 32-byte aligned.
31397 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31400 * iconvdata/gb18030.c: Update tables.
31401 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31402 characters specially.
31403 (BODY for TO_LOOP): Add encoding of missing ranges.
31405 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31408 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31409 * sysdeps/mach/hurd/dup3.c: Likewise.
31410 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31411 * sysdeps/powerpc/memmove.c:: Likewise.
31413 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31416 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31418 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31420 * elf/elf.h (R_X86_64_RELATIVE64): New.
31421 (R_X86_64_NUM): Updated.
31422 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31423 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31424 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31425 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31426 tst-quad1pie tst-quad2pie
31427 (modules-names): Add tst-quadmod1 tst-quadmod2.
31428 ($(objpfx)tst-quad1): New dependency.
31429 ($(objpfx)tst-quad2): Likewise.
31430 ($(objpfx)tst-quad1pie): Likewise.
31431 ($(objpfx)tst-quad2pie): Likewise.
31432 * sysdeps/x86_64/tst-quad1.c: New file.
31433 * sysdeps/x86_64/tst-quad1pie.c: New file.
31434 * sysdeps/x86_64/tst-quad2.c: Likewise.
31435 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31436 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31437 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31438 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31439 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31441 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31443 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31444 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31445 * streams/stropts.h (t_scalar_t): Define type.
31447 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31448 (_PATH_PRESERVE): Set to "/var/lib".
31449 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31451 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31454 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31455 if __dir_mkfile succeeded.
31457 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31458 checking for _hurd_dtablesize. Unlock it right after having
31459 finished _hurd_dtable allocation.
31461 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31463 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31464 * sysdeps/mach/hurd/configure: Regenerated.
31465 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31466 special-casing to...
31467 * sysdeps/gnu/configure.in: ... this new file.
31468 * sysdeps/unix/sysv/linux/configure: Regenerated.
31469 * sysdeps/gnu/configure: New generated file.
31471 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31472 for Linux: use nsec instead of usec, as well as:
31473 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31474 members of type struct timespec.
31475 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31477 (struct stat64): Likewise.
31478 (_STATBUF_ST_NSEC): New macro.
31479 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31481 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31482 __strtoul_internal rather than strtoul.
31484 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31486 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31491 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31492 which preserves existing values.
31493 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31495 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31497 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31498 TIMEOUT values. Return EINVAL for NFDS values either negative or
31499 greater than FD_SETSIZE.
31501 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31503 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31504 allocated, call __vm_protect to finish enabling the existing space, and
31505 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31506 allocate the remainder.
31508 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31510 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31511 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31513 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31515 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31516 sysdeps/mach/hurd/readlink.c.
31518 * posix/tst-sysconf.c (posix_options): Only use
31519 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31520 _POSIX_SYNCHRONIZED_IO when they are defined
31521 * sysdeps/mach/hurd/bits/posix_opt.h:
31522 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31523 (_XOPEN_REALTIME): Undefine macro.
31524 (_XOPEN_REALTIME_THREADS): Undefine macro.
31525 (_XOPEN_SHM): Undefine macro.
31526 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31528 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31530 (_POSIX_ASYNC_IO): Undefine macro.
31531 (_POSIX_PRIORITIZED_IO): Undefine macro.
31532 (_POSIX_SPIN_LOCKS): Define macro to -1.
31534 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31535 SA_NODEFER, SA_RESETHAND.
31536 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31537 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31540 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31542 * elf/Makefile (pldd-modules): Define unconditionally.
31544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31546 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31550 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31551 Return ENOENT when name is empty.
31552 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31554 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31556 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31558 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31560 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31562 Fix mlock in all cases except non-readable pages.
31563 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31564 instead of VM_PROT_ALL as parameter to __vm_wire function.
31566 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31567 (__mkdir): When path is `/', just fail with EEXIST.
31568 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31572 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31573 <sys/uio.h> (for writev).
31574 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31575 and <sys/param.h> (for MIN).
31577 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31579 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31580 REQUESTED_TIME. Properly set the remaining time and return EINTR
31583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31585 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31586 Depend on against $(link-rpcuserlibs).
31588 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31590 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31591 (__libc_stack_end): Do not use attribute_relro.
31592 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31593 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31594 to libthread-provided value.
31595 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31601 * bits/libc-lock.h (__libc_once_get): New macro.
31602 * sysdeps/mach/bits/libc-lock.h: Likewise.
31603 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31605 instead of using implementation details.
31607 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31608 * libio/freopen.c: Likewise.
31609 * libio/freopen64.c: Likewise.
31610 * misc/syslog.c: Likewise.
31611 * nscd/connections.c: Likewise.
31612 * nscd/netgroupcache.c: Likewise.
31613 * sysdeps/posix/getcwd.c: Likewise.
31615 2012-05-10 Roland McGrath <roland@hack.frob.com>
31617 * math/w_ilogbf.c: Add #include <limits.h>.
31619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31621 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31622 path instead of returning without unlocking.
31624 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31625 immediate-write ioctls.
31626 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31630 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31631 __builtin_frame_address instead of making assumptions about the
31632 location of the return address relative to DATA. Force early load of
31633 the return address.
31634 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31635 __builtin_frame_address.
31638 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31639 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31640 implement dup3 and do some further code clean-ups.
31641 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31642 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31644 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31646 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31648 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31649 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31650 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31651 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31652 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31655 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31656 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31657 when handler == SIG_ERR, not when handler != SIG_ERR.
31659 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31661 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31662 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31665 accept4 for GNU Hurd.
31666 * include/sys/socket.h (__libc_accept4): New prototype.
31667 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31668 to implement __libc_accept4.
31669 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31671 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31673 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31674 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31675 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31676 signal-defines.sym.
31678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31680 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31684 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31685 assertion on O_CLOEXEC flag.
31686 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31687 * hurd/intern-fd.c: Likewise.
31688 * hurd/port2fd.c: Likewise.
31690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31693 * bits/in.h (IPV6_PKTINFO): Define new macro.
31694 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31696 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31701 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31703 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31704 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31706 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31707 * math/libm-test.inc (logb_test) : Additional logb tests.
31709 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31710 Andreas Jaeger <aj@suse.de>
31712 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31713 * configure: Regenerated.
31714 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31715 * config.make.in (link-obsolete-rpc): New substituted variable.
31716 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31717 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31718 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31719 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31720 so that libc.a contains the symbols.
31721 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31722 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31723 * sunrpc/auth_none.c: Likewise.
31724 * sunrpc/auth_unix.c: Likewise.
31725 * sunrpc/authdes_prot.c: Likewise.
31726 * sunrpc/authuxprot.c: Likewise.
31727 * sunrpc/clnt_gen.c: Likewise.
31728 * sunrpc/clnt_perr.c: Likewise.
31729 * sunrpc/clnt_raw.c: Likewise.
31730 * sunrpc/clnt_simp.c: Likewise.
31731 * sunrpc/clnt_tcp.c: Likewise.
31732 * sunrpc/clnt_udp.c: Likewise.
31733 * sunrpc/clnt_unix.c: Likewise.
31734 * sunrpc/des_crypt.c: Likewise.
31735 * sunrpc/des_soft.c: Likewise.
31736 * sunrpc/get_myaddr.c: Likewise.
31737 * sunrpc/key_call.c: Likewise.
31738 * sunrpc/key_prot.c: Likewise.
31739 * sunrpc/netname.c: Likewise.
31740 * sunrpc/pm_getmaps.c: Likewise.
31741 * sunrpc/pm_getport.c: Likewise.
31742 * sunrpc/pmap_clnt.c: Likewise.
31743 * sunrpc/pmap_prot.c: Likewise.
31744 * sunrpc/pmap_prot2.c: Likewise.
31745 * sunrpc/pmap_rmt.c: Likewise.
31746 * sunrpc/publickey.c: Likewise.
31747 * sunrpc/rpc_cmsg.c: Likewise.
31748 * sunrpc/rpc_common.c: Likewise.
31749 * sunrpc/rpc_dtable.c: Likewise.
31750 * sunrpc/rpc_prot.c: Likewise.
31751 * sunrpc/rpc_thread.c: Likewise.
31752 * sunrpc/rtime.c: Likewise.
31753 * sunrpc/svc.c: Likewise.
31754 * sunrpc/svc_auth.c: Likewise.
31755 * sunrpc/svc_raw.c: Likewise.
31756 * sunrpc/svc_run.c: Likewise.
31757 * sunrpc/svc_tcp.c: Likewise.
31758 * sunrpc/svc_udp.c: Likewise.
31759 * sunrpc/svc_unix.c: Likewise.
31760 * sunrpc/svcauth_des.c: Likewise.
31761 * sunrpc/xcrypt.c: Likewise.
31762 * sunrpc/xdr.c: Likewise.
31763 * sunrpc/xdr_array.c: Likewise.
31764 * sunrpc/xdr_float.c: Likewise.
31765 * sunrpc/xdr_intXX_t.c: Likewise.
31766 * sunrpc/xdr_mem.c: Likewise.
31767 * sunrpc/xdr_rec.c: Likewise.
31768 * sunrpc/xdr_ref.c: Likewise.
31769 * sunrpc/xdr_sizeof.c: Likewise.
31770 * sunrpc/xdr_stdio.c: Likewise.
31772 2012-05-10 Roland McGrath <roland@hack.frob.com>
31774 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31775 change. Update copyright years.
31777 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31779 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31781 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31782 Joseph Myers <joseph@codesourcery.com>
31783 Paul Pluzhnikov <ppluzhnikov@google.com>
31786 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31788 [cross-compiling] (extra-libs): Likewise.
31789 [cross-compiling] (extra-libs-others): Likewise.
31790 [cross-compiling] (librpcsvc-routines): Likewise.
31791 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31792 [cross-compiling] (omit-deps): Likewise.
31793 (sunrpc-CPPFLAGS): New variable.
31794 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31795 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31796 (cross-rpcgen-objs): New variable.
31797 (extra-objs): Append $(cross-rpcgen-objs).
31798 ($(cross-rpcgen-objs)): New rule.
31799 ($(objpfx)cross-rpcgen): Likewise.
31800 (rpcgen-cmd): Define to use $(built-program-file). Expand
31802 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31803 ($(objpfx)x%.stmp): Likewise.
31804 * sunrpc/proto.h [IS_IN_build] (_): Define.
31805 [IS_IN_build] (_libc_intl_domainname): Likewise.
31807 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31810 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31811 and R_X86_64_TPOFF64.
31813 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31815 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31816 sysdeps/unix/sysv/syscalls.list.
31819 * sysdeps/unix/sysv/syscalls.list: Remove file.
31821 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31824 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31825 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31826 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31827 (__LC_IDENTIFICATION): Make these macros useful in #if
31828 expressions, as required by C99.
31830 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31832 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31833 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31836 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31838 * stdlib/longlong.h: Updated from GCC.
31840 2012-05-09 Andreas Jaeger <aj@suse.de>
31842 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31843 default is first entry.
31844 (run_mode): Set type.
31845 (main): Remove informal message about syslog.
31846 (options): Fix typo.
31849 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31852 (llrintf): Likewise.
31853 (llrint): Likewise.
31856 (nearbyint): Likewise.
31857 (nearbyintf): Likewise.
31859 2012-05-09 Andreas Jaeger <aj@suse.de>
31860 Pedro Alves <palves@redhat.com>
31862 * nscd/nscd.c (run_mode): Use enum.
31863 (main): Cleanup coding style issue.
31865 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31866 Andreas Jaeger <aj@suse.de>
31868 * nscd/nscd.c (go_background): Replaced with...
31869 (run_mode): ... this.
31870 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31871 (options): Add -F --foreground.
31872 (main): Implement it.
31873 (parse_opt): Parse it.
31875 2012-05-09 Andreas Jaeger <aj@suse.de>
31878 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31879 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31880 -Wconversion warning.
31881 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31884 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31886 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31888 (LC_ALL): Use macro-int-constant.
31889 (LC_COLLATE): Likewise.
31890 (LC_CTYPE): Likewise.
31891 (LC_MESSAGES): Likewise.
31892 (LC_MONETARY): Likewise.
31893 (LC_NUMERIC): Likewise.
31894 (LC_TIME): Likewise.
31895 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31896 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31898 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31900 [C99-based standards] (float_t): Expect type.
31901 [C99-based standards] (double_t): Expect type.
31902 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31904 [C99-based standards] (HUGE_VALL): Likewise.
31905 [C99-based standards] (INFINITY): Likewise.
31906 [C99-based standards] (NAN): Likewise.
31907 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31908 [C99-based standards] (FP_NAN): Likewise.
31909 [C99-based standards] (FP_NORMAL): Likewise.
31910 [C99-based standards] (FP_SUBNORMAL): Likewise.
31911 [C99-based standards] (FP_ZERO): Likewise.
31912 [C99-based standards] (FP_FAST_FMA): Use
31913 optional-macro-int-constant. Specify type. Require == 1.
31914 [C99-based standards] (FP_FAST_FMAF): Likewise.
31915 [C99-based standards] (FP_FAST_FMAL): Likewise.
31916 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31917 [C99-based standards] (FP_ILOGBNAN): Likewise.
31918 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31920 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31921 [C99-based standards] (math_errhandling): Specify type.
31922 [ISO99 || ISO11] (signgam): Do not allow.
31923 [non-C99-based standards] (copysignf): Do not allow.
31924 [non-C99-based standards] (exp2f): Likewise.
31925 [non-C99-based standards] (log2f): Likewise.
31926 [non-C99-based standards] (modff): Allow.
31927 [non-C99-based standards] (erff): Do not allow.
31928 [non-C99-based standards] (erfcf): Likewise.
31929 [non-C99-based standards] (gammaf): Likewise.
31930 [non-C99-based standards] (hypotf): Likewise.
31931 [non-C99-based standards] (j0f): Likewise.
31932 [non-C99-based standards] (j1f): Likewise.
31933 [non-C99-based standards] (jnf): Likewise.
31934 [non-C99-based standards] (lgammaf): Likewise.
31935 [non-C99-based standards] (tgammaf): Likewise.
31936 [non-C99-based standards] (y0f): Likewise.
31937 [non-C99-based standards] (y1f): Likewise.
31938 [non-C99-based standards] (ynf): Likewise.
31939 [non-C99-based standards] (isnanf): Likewise.
31940 [non-C99-based standards] (acoshf): Likewise.
31941 [non-C99-based standards] (asinhf): Likewise.
31942 [non-C99-based standards] (atanhf): Likewise.
31943 [non-C99-based standards] (cbrtf): Likewise.
31944 [non-C99-based standards] (expm1f): Likewise.
31945 [non-C99-based standards] (ilogbf): Likewise.
31946 [non-C99-based standards] (log1pf): Likewise.
31947 [non-C99-based standards] (logbf): Likewise.
31948 [non-C99-based standards] (nextafterf): Likewise.
31949 [non-C99-based standards] (remainderf): Likewise.
31950 [non-C99-based standards] (rintf): Likewise.
31951 [non-C99-based standards] (scalbf): Likewise.
31952 [non-C99-based standards] (copysignl): Likewise.
31953 [non-C99-based standards] (exp2l): Likewise.
31954 [non-C99-based standards] (log2l): Likewise.
31955 [non-C99-based standards] (modfl): Allow.
31956 [non-C99-based standards] (erfl): Do not allow.
31957 [non-C99-based standards] (erfcl): Likewise.
31958 [non-C99-based standards] (gammal): Likewise.
31959 [non-C99-based standards] (hypotl): Likewise.
31960 [non-C99-based standards] (j0l): Likewise.
31961 [non-C99-based standards] (j1l): Likewise.
31962 [non-C99-based standards] (jnl): Likewise.
31963 [non-C99-based standards] (lgammal): Likewise.
31964 [non-C99-based standards] (tgammal): Likewise.
31965 [non-C99-based standards] (y0l): Likewise.
31966 [non-C99-based standards] (y1l): Likewise.
31967 [non-C99-based standards] (ynl): Likewise.
31968 [non-C99-based standards] (isnanl): Likewise.
31969 [non-C99-based standards] (acoshl): Likewise.
31970 [non-C99-based standards] (asinhl): Likewise.
31971 [non-C99-based standards] (atanhl): Likewise.
31972 [non-C99-based standards] (cbrtl): Likewise.
31973 [non-C99-based standards] (expm1l): Likewise.
31974 [non-C99-based standards] (ilogbl): Likewise.
31975 [non-C99-based standards] (log1pl): Likewise.
31976 [non-C99-based standards] (logbl): Likewise.
31977 [non-C99-based standards] (nextafterl): Likewise.
31978 [non-C99-based standards] (remainderl): Likewise.
31979 [non-C99-based standards] (rintl): Likewise.
31980 [non-C99-based standards] (scalbl): Likewise.
31981 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31982 [non-C99-based standards] (FP_*): Do not allow.
31983 [C99-based standards] (FP_*): Change to
31984 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31985 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31987 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31988 (SIG_ERR): Likewise.
31989 [X/Open-based standards] (SIG_HOLD): Likewise.
31990 (SIG_IGN): Likewise.
31991 (SIGABRT): Use macro-int-constant. Specify type. Require
31993 (SIGFPE): Likewise.
31994 (SIGILL): Likewise.
31995 (SIGINT): Likewise.
31996 (SIGSEGV): Likewise.
31997 (SIGTER): Likewise.
31998 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31999 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32000 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32001 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32002 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32003 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32004 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32005 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32006 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32007 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32008 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32009 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32010 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32011 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32012 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32013 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32014 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32015 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32016 [X/Open-based standards] (SIGTRAP): Likewise.
32017 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32018 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32019 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32020 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32021 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32024 2012-05-08 Ian Wienand <ianw@vmware.com>
32027 * time/tzset.c (__tzset_parse_tz): Update default rules for
32028 daylight time changes in the Energy Policy Act of 2005.
32030 2012-05-09 Andreas Jaeger <aj@suse.de>
32033 * elf/ldconfig.c (parse_conf): Change string to make clear that
32034 ldconfig only issued a warning if ld.so.conf does not exist.
32036 2012-05-08 David S. Miller <davem@davemloft.net>
32038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32039 movxtod instead of popping the value on the stack.
32041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32043 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32045 * config.h.in: Add HAVE_ARM_PCS_VFP.
32047 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32050 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32051 checking but the checks are disabled for any reason.
32053 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32055 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32056 and ELF64_R_TYPE with ELFW(R_TYPE).
32058 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32060 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32061 (ulimit): Likewise.
32063 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32064 (settimeofday): Likewise.
32066 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32068 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32069 a struct th_u2 inside the union, and move tu_block/tu_code into
32070 a new th_u3 union of tu_block/tu_code inside of that. Move
32071 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32072 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32073 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32074 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32075 (th_stuff): Change to th_u1.tu_stuff.
32077 (th_msg): Change to th_u1.th_u2.tu_data.
32079 2012-05-07 David S. Miller <davem@davemloft.net>
32081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32084 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32085 (SETUP_PIC_REG): Use it.
32086 (SETUP_PIC_REG_LEAF): Use it.
32088 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32092 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32094 (EXPL_FINITE): Likewise.
32095 (FLDLOG): Likewise.
32096 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32097 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32099 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32101 (EXPL_FINITE): Likewise.
32102 (FLDLOG): Likewise.
32103 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32104 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32106 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32107 test of -max_value argument for long double.
32108 * sysdeps/i386/fpu/libm-test-ulps: Update.
32109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32111 2012-05-06 David S. Miller <davem@davemloft.net>
32113 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32114 quad soft-float symbols whose references which are compiler
32116 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32118 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32122 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32124 (EXPL_FINITE): Likewise.
32125 (FLDLOG): Likewise.
32128 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32129 Adjust comments for base varying.
32130 (__expl_finite): Change alias to EXPL_FINITE.
32131 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32133 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32134 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32135 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32136 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32137 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32139 (EXPL_FINITE): Likewise.
32140 (FLDLOG): Likewise.
32143 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32144 Adjust comments for base varying.
32145 (__expl_finite): Change alias to EXPL_FINITE.
32146 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32151 * math/libm-test.inc (check_float_internal): Correct ulp
32152 calculation for subnormal expected results.
32154 2012-05-06 Andreas Jaeger <aj@suse.de>
32156 * Makeconfig (+math-flags): New, set to -frounding-math.
32157 (+cflags): Add +math-flags so that all of glibc gets compiled with
32160 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32162 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32164 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32170 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32171 (__ieee754_expl): Allow for and saturate large arguments.
32172 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32173 (u_threshold): Likewise.
32174 (__exp): Call __ieee754_exp before checking for overflow and
32176 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32177 (u_threshold): Likewise.
32178 (__expf): Call __ieee754_expf before checking for overflow and
32180 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32181 (u_threshold): Likewise.
32182 (__expl): Call __ieee754_expl before checking for overflow and
32184 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32185 (__ieee754_expl): Allow for and saturate large arguments.
32186 * math/libm-test.inc (exp_test): Add another test. Do not allow
32187 missing overflow exception on overflow.
32188 (expm1_test): Do not allow missing overflow exception on overflow.
32190 * sysdeps/i386/fpu/e_expl.c: Move to ...
32191 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32192 rather than using inline asm.
32193 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32194 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32195 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32197 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32200 (signal): Likewise.
32204 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32206 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32207 sysdeps/unix/common/syscalls.list.
32208 (fchmod): Likewise.
32209 (fchown): Likewise.
32210 (ftruncate): Likewise.
32211 (getrusage): Likewise.
32212 (gettimeofday): Likewise.
32213 (setpgid): Likewise.
32214 (setregid): Likewise.
32215 (setreuid): Likewise.
32216 (sigaction): Likewise.
32217 (truncate): Likewise.
32218 (vhangup): Likewise.
32219 * sysdeps/unix/common/syscalls.list: Remove file.
32220 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32221 * sysdeps/unix/sysv/linux/Implies: Likewise.
32223 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32225 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32227 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32231 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32234 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32237 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32240 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32243 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32246 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32249 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32253 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32257 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32260 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32264 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32268 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32270 * sysdeps/unix/common/bits/dirent.h: Remove file.
32271 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32273 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32274 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32275 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32276 * sysdeps/unix/bsd/isatty.c: Likewise.
32277 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32278 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32279 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32281 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32285 long double comparison inaccuracies.
32286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32289 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32291 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32292 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32294 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32298 nonzero digits before rounding a hex value.
32299 * stdlib/tst-strtod.c (tests): Add another test.
32301 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32303 * sysdeps/s390/fpu/libm-test-ulps: Update.
32305 2012-05-03 Andreas Jaeger <aj@suse.de>
32307 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32308 does not get optimized out.
32309 (malloc_opt_barrier): New.
32311 2012-05-03 Andreas Jaeger <aj@suse.de>
32312 Roland McGrath <roland@hack.frob.com>
32314 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32315 intermediate file deletion.
32316 (generated): Add .symlist files.
32318 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32321 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32322 Redirect under this condition.
32323 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32324 [__USE_GNU] (__dprintf_chk): Not under this condition.
32325 [__USE_GNU] (__vdprintf_chk): Likewise.
32326 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32327 under this condition.
32328 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32329 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32330 [__USE_XOPEN2K8] (vdprintf): Likewise.
32331 [__USE_GNU] (__dprintf_chk): Not under this condition.
32332 [__USE_GNU] (__vdprintf_chk): Likewise.
32333 [__USE_GNU] (dprintf): Likewise.
32334 [__USE_GNU] (vdprintf): Likewise.
32336 2012-05-03 Roland McGrath <roland@hack.frob.com>
32338 * elf/Makefile (common-generated): Set this instead of generated for
32339 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32340 $(all-built-dso)-derived lists.
32342 2012-05-03 Andreas Jaeger <aj@suse.de>
32344 * sysdeps/i386/fpu/libm-test-ulps: Update.
32347 * FAQ.in: Likewise.
32348 * scripts/gen-FAQ.pl: Likewise.
32349 * manual/install.texi (Installation): Point to online location of
32351 * Makefile (files-for-dist): Remove FAQ.
32354 2012-05-02 Allan McRae <allan@archlinux.org>
32356 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32357 (LDFLAGS-reldepmod5.so): Likewise.
32358 (LDFLAGS-reldep6mod1.so): Likewise.
32359 (LDFLAGS-reldep6mod4.so): Likewise.
32360 (LDFLAGS-reldep8mod3.so): Likewise.
32361 (LDFLAGS-unload4mod1.so): Likewise.
32362 (LDFLAGS-unload4mod2.so): Likewise.
32363 (LDFLAGS-tst-initorder): Likewise.
32364 (LDFLAGS-tst-initordera2.so): Likewise.
32365 (LDFLAGS-tst-initordera3.so): Likewise.
32366 (LDFLAGS-tst-initordera4.so): Likewise.
32367 (LDFLAGS-tst-initorderb2.so): Likewise.
32368 (LDFLAGS-noload): Likewise.
32369 (LDFLAGS-next): Likewise.
32370 (LDFLAGS-order2mod1.so): Likewise.
32371 (LDFLAGS-order2mod2.so): Likewise.
32372 (LDFLAGS-tst-initorder2): Likewise.
32373 (LDFLAGS-tst-initorder2a.so): Likewise.
32374 (LDFLAGS-tst-initorder2b.so): Likewise.
32375 (LDFLAGS-tst-initorder2c.so): Likewise.
32376 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32378 2012-05-02 David S. Miller <davem@davemloft.net>
32380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32382 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32385 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32387 2012-05-02 Andreas Jaeger <aj@suse.de>
32389 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32390 since we manipulate rounding mode.
32391 (CPPFLAGS-test-idouble.c): Likewise.
32392 (CPPFLAGS-test-ifloat.c): Likewise.
32393 (CFLAGS-test-ldouble.c): Likewise.
32394 (CFLAGS-test-double.c): Likewise.
32395 (CFLAGS-test-float.c): Likewise.
32396 (CFLAGS-test-misc.c): Likewise.
32397 (CFLAGS-test-test-fenv.c): Likewise.
32399 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32403 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32404 comparisons to determine direction to adjust input.
32406 2012-05-01 Roland McGrath <roland@hack.frob.com>
32408 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32409 output to the target.
32411 * scripts/localplt.awk: New file.
32412 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32413 (check-localplt-CFLAGS): Variable removed.
32414 ($(all-built-dso:=.jmprel)): New static pattern rule.
32415 (generated): Add those targets.
32416 (localplt-built-dso): New variable.
32417 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32419 * elf/check-localplt.c: File removed.
32421 * scripts/check-execstack.awk: New file.
32422 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32423 (check-execstack-CFLAGS): Variable removed.
32424 ($(objpfx)check-execstack.h): Target removed.
32425 ($(objpfx)execstack-default): New target.
32426 (generated): Add that instead of check-execstack.h.
32427 ($(all-built-dso:=.phdr)): New static pattern rule.
32428 (generated): Add those targets.
32429 * elf/check-execstack.c: File removed.
32431 * scripts/check-textrel.awk: New file.
32432 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32433 (check-textrel-CFLAGS): Variable removed.
32434 (all-built-dso): Use := to define.o
32435 ($(all-built-dso:=.dyn)): New static pattern rule.
32436 (generated): Add those targets.
32437 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32438 * config.make.in (READELF): New substituted variable.
32439 * elf/check-textrel.c: File removed.
32441 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32443 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32445 * conform/data/ctype.h-data [C99-based standards] (isblank):
32447 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32448 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32450 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32451 Specify type. Require positive value.
32452 (EILSEQ): Likewise.
32453 (ERANGE): Likewise.
32454 [ISO || POSIX] (EILSEQ): Do not expect.
32455 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32456 Specify type. Require positive value.
32457 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32458 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32459 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32460 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32461 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32462 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32463 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32464 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32465 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32466 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32467 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32468 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32469 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32470 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32471 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32472 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32473 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32474 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32475 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32476 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32477 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32478 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32479 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32480 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32481 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32482 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32483 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32484 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32485 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32486 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32487 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32488 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32489 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32490 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32491 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32492 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32493 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32494 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32495 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32496 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32497 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32498 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32499 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32500 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32501 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32502 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32503 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32504 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32505 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32506 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32507 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32508 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32509 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32510 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32511 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32512 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32513 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32514 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32515 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32516 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32517 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32518 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32519 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32520 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32521 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32522 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32523 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32524 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32525 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32526 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32527 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32528 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32529 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32530 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32531 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32532 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32533 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32535 (FLT_ROUNDS): Expect as macro, not constant.
32536 (FLT_MANT_DIG): Use macro-int-constant.
32537 (DBL_MANT_DIG): Likewise.
32538 (LDBL_MANT_DIG): Likewise.
32539 (FLT_DIG): Likewise.
32540 (DBL_DIG): Likewise.
32541 (LDBL_DIG): Likewise.
32542 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32543 (DBL_MIN_EXP): Likewise.
32544 (LDBL_MIN_EXP): Likewise.
32545 (FLT_MAX_EXP): Use macro-int-constant.
32546 (DBL_MAX_EXP): Likewise.
32547 (LDBL_MAX_EXP): Likewise.
32548 (FLT_MAX_10_EXP): Likewise.
32549 (DBL_MAX_10_EXP): Likewise.
32550 (LDBL_MAX_10_EXP): Likewise.
32551 (FLT_MAX): Use macro-constant.
32552 (DBL_MAX): Likewise.
32553 (LDBL_MAX): Likewise.
32554 (FLT_EPSILON): Use macro-constant. Give upper bound.
32555 (DBL_EPSILON): Likewise.
32556 (LDBL_EPSILON): Likewise.
32557 (FLT_MIN): Likewise.
32558 (DBL_MIN): Likewise.
32559 (LDBL_MIN): Likewise.
32560 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32561 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32562 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32563 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32564 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32565 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32566 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32567 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32568 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32569 [ISO11] (FLT_TRUE_MIN): Likewise.
32570 [ISO11] (LDBL_TRUE_MIN): Likewise.
32571 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32572 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32573 (SCHAR_MIN): Use macro-int-constant. Specify type.
32574 (SCHAR_MAX): Likewise.
32575 (UCHAR_MAX): Likewise.
32576 (CHAR_MIN): Likewise.
32577 (CHAR_MAX): Likewise.
32578 (MB_LEN_MAX): Use macro-int-constant.
32579 (SHRT_MIN): Use macro-int-constant. Specify type.
32580 (SHRT_MAX): Likewise.
32581 (USHRT_MAX): Likewise.
32582 (INT_MAX): Likewise.
32583 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32585 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32587 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32589 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32590 bound negative. Suffix upper bound with "L".
32591 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32593 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32595 [C99-based standards] (LLONG_MAX): Likewise.
32596 [C99-based standards] (ULLONG_MAX): Likewise.
32597 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32599 [ISO11] (max_align_t): Require type.
32600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32602 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32603 from $CFLAGS, without defining away __attribute__ calls.
32604 (checknamespace): Use $CFLAGS_namespace.
32606 * conform/conformtest.pl (@keywords): Only include C99 keywords
32607 for standards based on C99 or C11.
32609 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32611 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32614 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32615 usability of symbols in #if.
32617 * conform/conformtest.pl: If macro or constant types start
32618 "promoted:", expect the symbol to be of the following type
32619 promoted by the integer promotions.
32621 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32622 in one place. Also handle "macro-constant".
32624 * conform/conformtest.pl: Only accept expected macro values with
32625 "==". Parse all "macro" lines in one place.
32626 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32628 * conform/conformtest.pl: Handle braced types on "constant" lines
32629 instead of handling "typed-constant".
32630 * conform/data/signal.h-data: Use "constant" instead of
32633 * conform/conformtest.pl: Handle "optional-" at start of lines in
32634 one place rather than duplicating several cases. Handle each
32635 format of "macro" line with initial "optional-".
32637 * conform/conformtest.pl: Only accept expected constant or
32638 optional-constant values with "==". Parse all "constant" lines in
32639 one place. Parse all "optional-constant" lines in one place.
32640 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32641 * conform/data/fmtmsg.h-data: Likewise.
32642 * conform/data/netinet/in.h-data: Likewise.
32643 * conform/data/tar.h-data: Likewise.
32644 * conform/data/limits.h-data: Use "==" form on "constant" and
32645 "optional-constant" lines.
32647 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32648 Use -std=c99 for XOPEN2K.
32649 (@knownproblems): Remove.
32650 (newtoken): Don't check %isknown.
32652 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32653 Do not expect macro.
32654 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32666 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32667 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32684 [XPG3] (acosh): Likewise.
32685 [XPG3] (asinh): Likewise.
32686 [XPG3] (atanh): Likewise.
32687 [XPG3] (cbrt): Likewise.
32688 [XPG3] (expm1): Likewise.
32689 [XPG3] (ilogb): Likewise.
32690 [XPG3] (log1p): Likewise.
32691 [XPG3] (logb): Likewise.
32692 [XPG3] (nextafter): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32695 [XPG3] (remainder): Likewise.
32696 [XPG3] (rint): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32704 [UNIX98 || XOPEN2K] (scalb): Expect.
32705 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32706 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32738 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32739 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32740 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32742 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32743 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32744 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32745 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32746 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32747 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32748 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32749 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32750 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32751 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32752 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32753 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32754 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32755 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32756 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32757 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32758 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32759 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32760 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32761 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32762 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32763 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32764 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32765 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32766 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32767 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32768 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32769 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32770 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32771 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32772 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32773 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32774 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32775 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32776 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32777 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32778 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32779 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32780 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32781 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32782 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32783 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32784 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32785 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32786 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32787 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32788 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32789 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32790 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32791 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32792 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32793 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32794 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32795 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32796 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32797 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32798 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32799 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32800 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32801 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32802 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32803 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32804 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32805 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32806 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32807 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32808 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32809 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32810 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32811 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32812 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32813 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32814 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32815 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32816 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32817 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32818 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32819 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32820 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32821 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32822 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32823 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32824 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32825 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32826 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32827 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32828 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32829 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32830 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32831 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32832 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32833 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32834 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32835 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32836 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32837 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32838 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32839 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32840 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32841 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32843 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32844 _XOPEN_SOURCE_EXTENDED for XPG4.
32846 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32848 * Makeconfig (localtime): Remove variable.
32849 (inst_localtime-file): Likewise.
32851 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32872 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32876 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32877 comparisons to determine direction to adjust input.
32878 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32879 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32886 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32887 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32889 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32891 * math/libm-test.inc (nexttoward_test): Add more tests.
32893 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32896 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32897 in version GLIBC_2.1, not GLIBC_2.0.
32898 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32901 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32904 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32906 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32907 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32908 * math/libm-test.inc (acos_test): Add more tests.
32909 (asin_test): Likewise.
32910 * sysdeps/i386/fpu/libm-test-ulps: Update.
32911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32914 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32916 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32917 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32918 * math/libm-test.inc (acos_test_tonearest): New function.
32919 (acos_test_towardzero): Likewise.
32920 (acos_test_downward): Likewise.
32921 (acos_test_upward): Likewise.
32922 (asin_test_tonearest): Likewise.
32923 (asin_test_towardzero): Likewise.
32924 (asin_test_downward): Likewise.
32925 (asin_test_upward): Likewise.
32926 (main): Call the new functions.
32927 * sysdeps/i386/fpu/libm-test-ulps: Update.
32928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32932 * math/e_exp10.c: Include <float.h>.
32933 (__ieee754_exp10): Handle underflow here rather than multiplying
32934 large negative argument by M_LN10.
32935 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32937 * math/e_exp10l.c: Include <float.h>.
32938 (__ieee754_exp10l): Handle underflow here rather than multiplying
32939 large negative argument by M_LN10l.
32940 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32941 spurious overflow exception on underflow.
32943 2012-04-29 Marek Polacek <polacek@redhat.com>
32945 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32946 (__fortify_function): New macro.
32947 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32948 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32949 __extern_always_inline.
32950 * libio/bits/stdio2.h: Likewise.
32951 * libio/bits/stdio.h: Likewise.
32952 * string/string.h: Likewise.
32953 * string/bits/string3.h: Likewise.
32954 * include/stdio.h: Likewise.
32955 * stdlib/bits/stdlib.h: Likewise.
32956 * stdlib/stdlib.h: Likewise.
32957 * rt/bits/mqueue2.h: Likewise.
32958 * rt/mqueue.h: Likewise.
32959 * posix/bits/unistd.h: Likewise.
32960 * posix/unistd.h: Likewise.
32961 * io/bits/poll2.h: Likewise.
32962 * io/bits/fcntl2.h: Likewise.
32963 * io/fcntl.h: Likewise.
32964 * io/sys/poll.h: Likewise.
32965 * misc/bits/syslog.h: Likewise.
32966 * misc/bits/syslog-ldbl.h: Likewise.
32967 * misc/sys/syslog.h: Likewise.
32968 * socket/bits/socket2.h: Likewise.
32969 * socket/sys/socket.h: Likewise.
32970 * debug/tst-chk1.c: Likewise.
32971 * wcsmbs/bits/wchar2.h: Likewise.
32972 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32973 * wcsmbs/wchar.h: Likewise.
32975 2012-04-29 Andreas Jaeger <aj@suse.de>
32977 * Makerules (tests): Remove enable-check-abi protection.
32978 (check-abi-warn): Remove.
32979 (check-abi-%): Remove check-abi-warn usage.
32981 * configure.in: Remove check-abi configure option.
32982 * configure: Regenerated.
32983 * config.make.in (enable-check-abi): Remove.
32985 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32988 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32989 double functions to double *_finite functions.
32992 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32993 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32995 * stdio-common/Makefile (tests): Add tst-sprintf3.
32996 * stdio-common/tst-sprintf3.c: New file.
32998 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32999 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33001 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33003 * conform/conformtest.pl: Remove duplicate typed-constant
33006 2012-04-28 David S. Miller <davem@davemloft.net>
33008 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33009 (check-abi-%): Remove AWK script prerequisite and explicit
33011 (check-abi): Rewrite to just diff the symlist with the abilist.
33012 (config-tls, config-abi-config): Delete, no longer used.
33013 (update-abi-%): Remove AWK script and explicit abilist directory.
33014 (update-abi): Rewrite to simply compare and conditionally copy the
33015 symlist and the sysdep abilist file. Remove update-abi-config
33017 * abilist/ld.abilist: Remove.
33018 * abilist/libBrokenLocale.abilist: Remove.
33019 * abilist/libanl.abilist: Remove.
33020 * abilist/libcrypt.abilist: Remove.
33021 * abilist/libdl.abilist: Remove.
33022 * abilist/librt.abilist: Remove.
33023 * abilist/libthread_db.abilist: Remove.
33024 * abilist/libutil.abilist: Remove.
33025 * scripts/extract-abilist.awk: Remove.
33026 * scripts/merge-abilist.awk: Remove.
33027 * sysdeps/generic/libcidn.abilist: New file.
33028 * sysdeps/generic/libnss_compat.abilist: New file.
33029 * sysdeps/generic/libnss_db.abilist: New file.
33030 * sysdeps/generic/libnss_dns.abilist: New file.
33031 * sysdeps/generic/libnss_files.abilist: New file.
33032 * sysdeps/generic/libnss_hesiod.abilist: New file.
33033 * sysdeps/generic/libnss_nis.abilist: New file.
33034 * sysdeps/generic/libnss_nisplus.abilist: New file.
33035 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33036 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33037 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33039 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33040 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33041 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33042 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33043 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33044 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33045 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33046 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33047 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33049 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33050 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33051 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33052 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33054 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33055 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33056 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33057 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33058 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33059 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33061 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33062 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33063 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33065 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33168 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33169 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33170 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33173 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33174 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33175 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33176 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33177 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33178 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33179 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33180 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33181 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33233 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33235 * conform/conformtest.pl: Fix typo in handling typed-constant from
33238 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33240 * README: Cut down references to pre-2.6 Linux kernels and
33241 Linuxthreads. Update lists of configurations in libc and ports
33242 and sort alphabetically. Say "or newer" with Linux kernel version
33245 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33247 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33250 * math/libm-test.inc (logb_test_downward): New test to expose
33251 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33254 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33257 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33259 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33260 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33262 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33264 * sysdeps/unix/i386/brk.S: Remove file.
33265 * sysdeps/unix/i386/dl-brk.S: Likewise.
33266 * sysdeps/unix/i386/pipe.S: Likewise.
33267 * sysdeps/unix/i386/sigreturn.S: Likewise.
33268 * sysdeps/unix/i386/syscall.S: Likewise.
33269 * sysdeps/unix/i386/vfork.S: Likewise.
33270 * sysdeps/unix/i386/wait.S: Likewise.
33272 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33273 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33275 * configure.in (arm*-none*): Do not allow without
33276 --enable-hacker-mode.
33277 (netbsd*): Remove case setting base_os.
33278 (386bsd*): Likewise.
33279 (freebsd*): Likewise.
33282 (sunos*): Likewise.
33283 (ultrix*): Likewise.
33284 (newsos*): Likewise.
33285 (dynix*): Likewise.
33291 (minix*): Likewise.
33292 (irix4*): Likewise.
33293 (irix6*): Likewise.
33294 (solaris[2-9]*): Likewise.
33296 * configure: Regenerated.
33298 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33301 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33302 overflow or cancellation in calculating denominator.
33303 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33304 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33305 down expression to avoid unexpected rounding in newer GCCs.
33306 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33308 2012-04-26 David S. Miller <davem@davemloft.net>
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33311 long-double compat symbols.
33312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33326 2012-04-25 David S. Miller <davem@davemloft.net>
33328 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33329 HWCAP_* values only after the memory barriers have been defined.
33330 (atomic_full_barrier): Define.
33331 (atomic_read_barrier): Define.
33332 (atomic_write_barrier): Define.
33334 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33336 * shlib-versions: Add libgcc_s version information.
33337 * sysdeps/generic/libgcc_s.h: Remove.
33338 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33340 * sysdeps/gnu/unwind-resume.c: Likewise.
33341 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33343 2012-04-25 David S. Miller <davem@davemloft.net>
33345 * sysdeps/unix/sparc/brk.S: Delete.
33346 * sysdeps/unix/sparc/dl-brk.S: Delete.
33347 * sysdeps/unix/sparc/pipe.S: Delete.
33348 * sysdeps/unix/sparc/sysdep.S: Delete.
33349 * sysdeps/unix/sparc/sysdep.h: Delete.
33350 * sysdeps/unix/sparc/vfork.S: Delete.
33351 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33352 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33354 (ret_ERRVAL, r0, r1, MOVE): Define.
33355 (JUMPTARGET): Remove.
33356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33357 sysdeps/unix/sparc/sysdep.h
33358 (ENTRY, END): Remove.
33359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33361 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33363 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33364 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33367 * timezone/README: Update upstream location and email address for
33369 * timezone/zdump.c: Update from tzcode 2012b.
33370 * timezone/zic.c: Likewise.
33372 * configure.in (libc_cv_as_needed): Remove test.
33373 * configure: Regenerated.
33374 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33375 conditional definition.
33376 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33377 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33378 * config.make.in (have-as-needed): Remove variable.
33380 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33381 Paul Pluzhnikov <ppluzhnikov@google.com>
33383 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33386 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33388 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33389 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33390 * sysdeps/sh/strlen.S: Likewise.
33392 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33394 * sysdeps/unix/fork.S: Remove file.
33395 * sysdeps/unix/i386/fork.S: Likewise.
33396 * sysdeps/unix/sparc/fork.S: Likewise.
33398 * sysdeps/unix/system.c: Remove file.
33399 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33401 * sysdeps/unix/getegid.S: Remove file.
33402 * sysdeps/unix/geteuid.S: Likewise.
33404 2012-04-24 Roland McGrath <roland@hack.frob.com>
33406 * scripts/check-localplt.awk: New file.
33407 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33409 * scripts/data/localplt-generic.data: Add a comment.
33411 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33412 NODE when __dir_mkfile failed.
33413 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33414 Reported by Ludovic Courtès <ludo@gnu.org>.
33416 2012-04-24 Andreas Jaeger <aj@suse.de>
33418 * Makerules (common-clean): Also remove gen-as-const-headers
33421 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33423 * Makerules (native-compile): Do not change working directory for
33424 build. Use $(OUTPUT_OPTION) in command.
33425 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33427 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33430 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33431 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33432 * math/libm-test.inc (floor_test): Add more tests.
33433 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33435 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33437 * sysdeps/unix/getdents.c: Remove file.
33438 * sysdeps/unix/sysv/getdents.c: Likewise.
33439 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33441 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33442 sysdeps/unix/mman/syscalls.list.
33444 (mprotect): Likewise.
33446 (munmap): Likewise.
33447 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33448 * sysdeps/unix/mman/syscalls.list: Remove.
33449 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33451 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33452 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33453 * configure: Regenerated.
33454 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33455 $(libgcc_s_suffix).
33456 * config.make.in (libgcc_s_suffix): Remove variable.
33458 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33460 * sysdeps/unix/sysv/gethostname.c: Move to ...
33461 * sysdeps/posix/gethostname.c: ... here.
33463 * sysdeps/unix/execve.S: Remove file.
33465 * sysdeps/unix/_exit.S: Remove file.
33467 2012-04-23 Andreas Jaeger <aj@suse.de>
33470 * manual/Makefile: Remove make dist support, there's no
33471 need for a stand-alone documentation tar ball.
33472 (TEXI2DVI): Define always, it's not in Makeconfig.
33475 (edition): Removed.
33476 (glibc-doc-$(edition).tar): Removed
33480 (ETAGS): Remove, it's in Makeconfig.
33481 (move-if-change): Remove, it's in Makeconfig.
33483 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33486 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33487 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33488 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33489 (strtod_l, strtof_l, strtold_l): Remove __wur.
33490 It is not necessarily an error to ignore strtol's return value.
33491 One can reliably look at the stored endptr to decide whether
33492 the number had valid syntax.
33494 2012-04-21 Andreas Jaeger <aj@suse.de>
33497 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33499 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33501 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33502 * sysdeps/unix/sysv/Versions: Remove file.
33504 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33509 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33513 version from __vm86.
33515 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33517 * sysdeps/unix/common/lxstat.c: Remove file.
33518 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33520 * sysdeps/unix/sysv/Makefile: Remove file.
33522 * sysdeps/unix/sysv/direct.h: Remove file.
33524 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33525 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33526 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33527 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33528 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33529 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33530 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33532 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33534 * sysdeps/unix/xmknod.c: Remove file.
33535 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33537 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33539 * sysdeps/unix/sysv/i386/time.S: Remove file.
33541 * sysdeps/unix/fxstat.c: Remove file.
33542 * sysdeps/unix/xstat.c: Likewise.
33543 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33545 * sysdeps/unix/sysv/sigaction.c: Remove file.
33547 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33548 (sysdep_headers): Remove variable.
33549 [termio.h not in sysdep_headers] (generated): Likewise.
33550 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33551 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33552 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33553 * sysdeps/unix/sysv/tcflow.c: Likewise.
33554 * sysdeps/unix/sysv/tcflush.c: Likewise.
33555 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33556 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33557 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33558 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33559 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33561 * sysdeps/unix/siglist.c: Remove file.
33563 * sysdeps/unix/getppid.S: Remove file.
33565 * sysdeps/unix/mkdir.c: Remove file.
33566 * sysdeps/unix/rmdir.c: Likewise.
33568 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33570 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33572 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33573 errlist-compat value.
33575 2012-04-18 David S. Miller <davem@davemloft.net>
33577 * sysdeps/generic/memcopy.h (reg_char): Delete.
33578 * debug/strcat_chk.c: Use char, not reg_char.
33579 * debug/strcpy_chk.c: Likewise.
33580 * debug/strncat_chk.c: Likewise.
33581 * debug/strncpy_chk.c: Likewise.
33582 * string/memchr.c: Likewise.
33583 * string/memrchr.c: Likewise.
33584 * string/rawmemchr.c: Likewise.
33585 * string/strcat.c: Likewise.
33586 * string/strchr.c: Likewise.
33587 * string/strchrnul.c: Likewise.
33588 * string/strcmp.c: Likewise.
33589 * string/strcpy.c: Likewise.
33590 * string/strncat.c: Likewise.
33591 * string/strncmp.c: Likewise.
33592 * string/strncpy.c: Likewise.
33594 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33596 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33597 __builtin_memcopy is called when src and dest ranges are known to not
33600 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33602 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33603 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33604 fwd_align_merge macro call.
33605 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33606 bwd_align_merge macro call.
33607 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33609 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33611 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33612 bwd_align_merge macros.
33613 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33614 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33615 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33617 2012-04-18 David S. Miller <davem@davemloft.net>
33619 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33621 2012-04-18 Andreas Jaeger <aj@suse.de>
33624 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33625 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33626 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33628 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33629 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33630 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33632 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33633 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33634 Adjust for changed ldbl-128 files.
33636 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33637 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33638 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33640 2012-04-17 David S. Miller <davem@davemloft.net>
33642 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33644 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33646 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33647 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33648 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33649 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33650 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33651 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33653 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33656 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33657 * math/libm-test.inc: Add ilogb errno and exception tests.
33658 * math/w_ilogb.c: New file: ilogb wrapper.
33659 * math/w_ilogbf.c: New file: ilogbf wrapper.
33660 * math/w_ilogbl.c: New file: ilogbl wrapper.
33661 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33662 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33663 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33664 exception being thrown with 0.0 as argument.
33665 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33666 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33667 exception being thrown with 0.0 as argument.
33668 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33669 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33670 exception being thrown with 0.0 as argument.
33671 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33672 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33673 exception being thrown with 0.0 as argument.
33674 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33675 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33676 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33677 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33678 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33679 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33680 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33681 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33682 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33684 2012-04-17 Petr Baudis <pasky@ucw.cz>
33686 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33689 2012-04-16 Marek Polacek <polacek@redhat.com>
33691 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33693 2012-04-16 Marek Polacek <polacek@redhat.com>
33695 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33696 operands of fdivp instruction.
33698 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33700 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33701 * elf/tst-auditmod3b.c: Likewise.
33702 * elf/tst-auditmod4b.c: Likewise.
33703 * elf/tst-auditmod5b.c: Likewise.
33704 * elf/tst-auditmod6b.c: Likewise.
33705 * elf/tst-auditmod6c.c: Likewise.
33706 * elf/tst-auditmod7b.c: Likewise.
33707 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33708 * sysdeps/x86_64/preconfigure.in: Likewise.
33709 * sysdeps/x86_64/preconfigure: Regenerated.
33711 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33713 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33716 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33719 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33721 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33724 * locale/iso-639.def: Fix gl language name. Spotted by
33727 2012-04-12 Roland McGrath <roland@hack.frob.com>
33730 * libio/libio.h (__io_write_fn): Update comment.
33732 2012-04-12 Petr Baudis <pasky@ucw.cz>
33735 * stdio.texi (Hook Functions): The user provided writer function
33736 is not allowed to return -1.
33738 2012-04-11 David S. Miller <davem@davemloft.net>
33740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33742 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33744 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33745 Add a leading slash to rtkaio.
33747 2012-04-11 Jim Meyering <meyering@redhat.com>
33750 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33751 It is not necessarily an error to ignore fwrite's return
33752 value. One can reliably use ferror to test for errors after
33755 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33757 * bits/types.h (__snseconds_t): New type.
33758 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33760 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33762 (__SNSECONDS_T_TYPE): Likewise.
33763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33764 (__SNSECONDS_T_TYPE): Likewise.
33765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33766 (__SNSECONDS_T_TYPE): Likewise.
33768 2012-04-10 Andreas Jaeger <aj@suse.de>
33771 * manual/time.texi (Processor Time): Return type of times is
33772 elapsed real time since an arbitrary point in the past.
33773 (CPU Time): Move CLK_TCK from here...
33774 (Processor Time): ...to here. Correct description.
33775 * manual/conf.texi (Constants for Sysconf): Correct description of
33778 2012-04-10 David S. Miller <davem@davemloft.net>
33781 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33782 where the is a gap between DT_REL(A) and DT_JMPREL.
33784 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33786 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33787 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33788 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33790 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33792 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33793 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33794 (dl_main): Handle --inhibit-cache.
33795 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33797 * elf/dl-load.c (_dl_map_object): Use it.
33798 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33800 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33803 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33804 (__ieee754_powl): Saturate large exponents rather than testing for
33805 overflow of y*log2(x).
33806 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33807 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33811 * math/s_ctan.c: Include <float.h>.
33812 (__ctan): Avoid internal overflow or cancellation in calculating
33814 * math/s_ctanf.c: Likewise.
33815 * math/s_ctanl.c: Likewise.
33816 * math/s_ctanh.c: Likewise.
33817 * math/s_ctanhf.c: Likewise.
33818 * math/s_ctanhl.c: Likewise.
33819 * math/libm-test.inc (ctan_test): Add more tests.
33820 (ctanh_test): Likewise.
33821 * sysdeps/i386/fpu/libm-test-ulps: Update.
33822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33824 2012-04-09 Andreas Jaeger <aj@suse.de>
33827 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33828 is an optional BSD extension.
33831 * manual/stdio.texi (Opening Streams): Document additional fopen
33834 2012-04-09 Roland McGrath <roland@hack.frob.com>
33836 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33837 %eax without telling the compiler.
33839 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33842 * manual/install.texi: Use sourceware.org.
33844 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33847 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33848 (__ieee754_pow): Generate overflow and underflow using huge*huge
33849 and tiny*tiny rather than just returning constant infinity or zero
33850 for large exponents.
33851 * math/libm-test.inc (pow_test): Require overflow exceptions for
33852 applicable cases of large exponents.
33855 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33856 (__ieee754_pow): Use iterative multiplication algorithm only for
33857 integer exponents with absolute value below 1024. Check for odd
33858 integer exponents when using algorithm for real exponents.
33859 * math/libm-test.inc (pow_test): Add more tests.
33860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33862 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33865 * math/libm-test.inc (exp_test): Do not allow overflow exception
33868 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33871 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33872 instead of __kernel_standard_f.
33874 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33876 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33877 * sysdeps/x86_64/memset_chk.S: Likewise.
33879 2012-04-08 Andreas Jaeger <aj@suse.de>
33882 * manual/startup.texi (Environment Access): Describe return value
33883 for putenv and setenv.
33886 * manual/filesys.texi (Directory Entries): Add description for
33890 * manual/filesys.texi (Directory Entries): Clarify that it's file
33891 system not operating system in the description of DT_UNKNOWN.
33894 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33896 2012-04-08 Stephen Compall <s11@member.fsf.org>
33899 * manual/llio.texi (Opening and Closing Files): Add cross
33900 reference to explain mode argument.
33902 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33904 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33905 * sysdeps/x86_64/memset_chk.S: Likewise.
33907 2012-04-07 David S. Miller <davem@davemloft.net>
33909 * elf/elf.h (R_SPARC_WDISP10): Define.
33910 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33912 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33913 R_SPARC_SIZE64 and R_SPARC_H34.
33915 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33918 conditions and remove no longer applicable assertion.
33920 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33922 * bits/byteswap.h: Include <features.h>.
33923 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33924 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33926 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33928 * bits/byteswap.h (__bswap_16): Removed.
33929 Include <bits/byteswap-16.h> to get __bswap_16.
33930 * sysdeps/i386/bits/byteswap.h: Likewise.
33931 * sysdeps/s390/bits/byteswap.h: Likewise.
33932 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33933 * bits/byteswap-16.h: New file.
33934 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33935 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33936 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33937 * string/Makefile (headers): Add bits/byteswap-16.h.
33939 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33942 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33944 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33945 * nss/tst-nss-static.c: New.
33947 2012-04-06 Robert Millan <rmh@gnu.org>
33950 * manual/llio.texi (File Position Primitive): lseek
33951 refers to WHENCE when it really means OFFSET.
33953 2012-04-06 Andreas Jaeger <aj@suse.de>
33955 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33956 strncmp declarations.
33958 * abilist/libc.abilist: Add __poll and __ppoll.
33960 2012-04-05 David S. Miller <davem@davemloft.net>
33962 * scripts/check-local-headers.sh: Accept a host triplet in the
33963 path matched by the exclude regexp.
33965 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33967 * sysdeps/powerpc/powerpc32/dl-machine.h
33968 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33969 * sysdeps/s390/s390-32/dl-machine.h
33970 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33971 * sysdeps/sparc/sparc32/dl-machine.h
33972 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33973 * sysdeps/sparc/sparc64/dl-machine.h
33974 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33976 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33978 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33979 undefined symbol errors.
33981 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33984 2012-04-05 Michael Matz <matz@suse.de>
33987 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33989 2012-04-05 Andreas Jaeger <aj@suse.de>
33992 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33995 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33997 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33998 which ROUND is no valid rounding mode.
34000 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34002 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34004 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34006 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34008 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34009 an exception using FPU order intentionally.
34011 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34013 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34014 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34015 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34016 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34018 2012-04-05 Simon Josefsson <simon@josefsson.org>
34021 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34022 EINVAL when BUFLEN is too smal.
34024 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34027 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34028 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34030 2012-04-03 Andreas Jaeger <aj@suse.de>
34033 * manual/setjmp.texi (System V contexts): Fix sentence.
34036 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34037 New macro for this case.
34038 [!__GNUC__] (__bswap_64): New inline function for this case.
34039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34040 * bits/byteswap.h: Likewise.
34041 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34042 ull, guard with __GLIBC_HAVE_LONG_LONG.
34044 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34045 __GLIBC_HAVE_LONG_LONG.
34047 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34048 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34050 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34053 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34054 inptr and inend, rather than using last_ch.
34056 2012-04-02 David S. Miller <davem@davemloft.net>
34058 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34059 * stdio-common/printf-parse.h (read_int): Change return type to
34060 'int', return -1 on INT_MAX overflow.
34061 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34062 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34063 overflows INT_MAX. Check for overflow of in-format-string precision
34064 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34065 SIZE_MAX not INT_MAX for integer overflow test.
34066 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34067 skip the construct in the format string but do not record anything.
34068 * stdio-common/bug22.c: Adjust to test both width/prevision
34069 INT_MAX overflow as well as total length INT_MAX overflow. Check
34070 explicitly for proper errno values.
34072 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34074 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34076 * string/test-strcmp.c [! WIDE]: Likewise.
34077 * time/tst-mktime2.c: Likewise for INT_MAX.
34078 * string/test-string.h: #include <sys/param.h> for MIN.
34080 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34081 * sysdeps/i386/init-first.c (init): Likewise.
34082 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34083 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34084 * sysdeps/sh/init-first.c (init): Likewise.
34086 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34088 * po/ru.po: Update from translation team.
34089 * po/vi.po: Likewise.
34091 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34093 * resolv/nss_dns/dns-host.c: Merge copyright years.
34095 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34098 Optimize memcpy with prefetch if
34099 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34100 src, dst pointers have unequal 16 byte alignments.
34102 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34105 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34106 from a CNAME entry and return the minimum ttl for the query.
34107 (gaih_getanswer_slice): Likewise.
34109 2012-03-30 Jeff Law <law@redhat.com>
34111 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34113 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34114 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34116 * resolv/nss_dns/dns-host.c: Update copyright year.
34118 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34120 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34121 requests to save a system call. Fix check that all bytes are sent.
34123 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34124 comments for sendmmsg.
34126 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34129 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34130 with only 1 character between 0x0041 and 0x01b0.
34131 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34132 * wcsmbs/tst-mbsnrtowcs.c: New file.
34134 2012-03-29 David S. Miller <davem@davemloft.net>
34136 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34137 small copies by hand.
34139 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34142 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34143 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34146 2012-03-28 David S. Miller <davem@davemloft.net>
34148 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34149 that branches into memcpy.
34150 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34153 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34156 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34157 implementation too.
34158 * sysdeps/sparc/mempcpy.S: New file.
34160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34161 the IFUNC routine in the libc case.
34162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34164 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34165 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34166 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34167 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34168 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34169 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34170 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34171 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34173 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34174 loop to 256 bytes instead of 64 bytes and fix test signedness.
34176 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34177 * sysdeps/sparc/sparc32/Makefile: rather than here...
34178 * sysdeps/sparc/sparc64/Makefile: and here.
34180 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34182 * malloc/mallocbug.c: Avoid warnings about unused variables.
34184 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34187 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34188 in the right place. Discard and retry query if response is
34189 larger than input buffer size.
34191 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34196 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34197 x for large integer exponent.
34198 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34199 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34200 sign of result as needed afterwards.
34201 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34202 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34203 result for underflowing pow the same as for overflow.
34204 (__kernel_standard_l): Handle powl overflow and underflow here
34205 rather than calling __kernel_standard.
34206 * math/libm-test.inc (pow_test): Add more tests.
34221 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34222 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34223 (__kernel_standard_l): New function.
34224 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34226 * math/w_acosl.c (__acosl): Likewise.
34227 * math/w_asinl.c (__asinl): Likewise.
34228 * math/w_atan2l.c (__atan2l): Likewise.
34229 * math/w_atanhl.c (__atanhl): Likewise.
34230 * math/w_coshl.c (__coshl): Likewise.
34231 * math/w_exp10l.c (__exp10l): Likewise.
34232 * math/w_exp2l.c (__exp2l): Likewise.
34233 * math/w_fmodl.c (__fmodl): Likewise.
34234 * math/w_hypotl.c (__hypotl): Likewise.
34235 * math/w_j0l.c (__j0l, __y0l): Likewise.
34236 * math/w_j1l.c (__j1l, __y1l): Likewise.
34237 * math/w_jnl.c (__jnl, __ynl): Likewise.
34238 * math/w_lgammal.c (__lgammal): Likewise.
34239 * math/w_log10l.c (__log10l): Likewise.
34240 * math/w_log2l.c (__log2l): Likewise.
34241 * math/w_logl.c (__logl): Likewise.
34242 * math/w_powl.c (__powl): Likewise.
34243 * math/w_remainderl.c (__remainderl): Likewise.
34244 * math/w_scalbl.c (sysv_scalbl): Likewise.
34245 * math/w_sinhl.c (__sinhl): Likewise.
34246 * math/w_sqrtl.c (__sqrtl): Likewise.
34247 * math/w_tgammal.c (__tgammal): Likewise.
34248 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34249 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34250 * math/libm-test.inc (acos_test): Add more tests.
34251 (acosh_test): Likewise.
34252 (asin_test): Likewise.
34253 (atanh_test): Likewise.
34254 (exp_test): Likewise.
34255 (exp10_test): Likewise.
34256 (exp2_test): Likewise.
34257 (expm1_test): Likewise.
34258 (lgamma_test): Likewise.
34259 (log_test): Likewise.
34260 (log10_test): Likewise.
34261 (log1p_test): Likewise.
34262 (log2_test): Likewise.
34263 (pow_test): Do not allow some spurious overflow exceptions.
34264 (sqrt_test): Add more tests.
34265 (tgamma_test): Likewise.
34266 (y0_test): Likewise.
34267 (y1_test): Likewise.
34268 (yn_test): Likewise.
34270 2012-03-27 Anton Blanchard <anton@samba.org>
34272 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34274 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34275 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34276 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34278 2012-03-27 David S. Miller <davem@davemloft.net>
34280 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34282 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34283 have-as-vis3 check.
34285 2012-03-27 Andreas Jaeger <aj@suse.de>
34287 * sysdeps/x86_64/elf/configure.in: Moved to ...
34288 * sysdeps/x86_64/configure.in: ... here.
34289 * sysdeps/x86_64/elf/start.S: Moved to ...
34290 * sysdeps/x86_64/start.S: ... here.
34291 * sysdeps/x86_64/elf/configure: Delete.
34293 * sysdeps/x86_64/configure.in: Merge contents from
34294 sysdeps/i386/configure.in (without i686 check).
34296 * sysdeps/i386/elf/Versions: Merge into ...
34297 * sysdeps/i386/Versions: ... this.
34298 * sysdeps/i386/elf/Versions: Delete file.
34299 * sysdeps/i386/elf/start.S: Moved to ...
34300 * sysdeps/i386/start.S: ...here.
34301 * sysdeps/i386/elf/configure.in: Merge into...
34302 * sysdeps/i386/configure.in: ...here.
34303 * sysdeps/i386/elf/configure.in: Delete file.
34304 * sysdeps/i386/elf/configure: Delete file.
34306 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34307 * debug/backtracesyms.c: ... here.
34308 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34309 * debug/backtracesymsfd.c: ... here.
34310 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34311 * sysdeps/generic/ifunc-sel.h: ... here.
34313 * sysdeps/unix/i386/start.c: Delete file.
34314 * sysdeps/unix/sparc/start.c: Delete file.
34315 * sysdeps/unix/start.c: Delete file.
34317 * sysdeps/sh/elf/configure.in: Moved to ...
34318 * sysdeps/sh/configure.in: ... here.
34319 * sysdeps/sh/elf/start.S: Moved to ...
34320 * sysdeps/sh/start.S: ... here.
34321 * sysdeps/sh/elf/configure: Delete file.
34323 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34324 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34325 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34326 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34327 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34328 * sysdeps/powerpc/powerpc64/start.S: here.
34329 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34330 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34331 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34332 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34333 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34335 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34336 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34337 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34338 * sysdeps/powerpc/powerpc32/start.S: ... here.
34339 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34340 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34341 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34343 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34344 * sysdeps/powerpc/ifunc-sel.h: ... here.
34345 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34346 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34348 * sysdeps/sparc/elf/configure.in: Moved to ...
34349 * sysdeps/sparc/configure.in: ... here.
34350 * sysdeps/sparc/elf/configure: Delete file.
34351 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34352 * sysdeps/sparc/sparc32/start.S: ... here.
34353 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34354 * sysdeps/sparc/sparc64/start.S: ... here.
34355 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34356 * sysdeps/sparc/sparc32/Makefile: ... this.
34357 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34358 * sysdeps/sparc/sparc64/Makefile: ... this.
34360 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34361 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34362 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34363 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34364 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34365 * sysdeps/s390/s390-32/setjmp.S: ... here.
34366 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34367 * sysdeps/s390/s390-32/configure.in: ... here.
34368 * sysdeps/s390/s390-32/elf/configure: Delete file.
34369 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34370 * sysdeps/s390/s390-32/start.S: ... here.
34372 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34373 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34374 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34375 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34376 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34377 * sysdeps/s390/s390-64/setjmp.S: ... here.
34378 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34379 * sysdeps/s390/s390-64/configure.in: ... here
34380 * sysdeps/s390/s390-64/elf/configure: Delete file.
34381 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34382 * sysdeps/s390/s390-64/start.S: ... here.
34383 * sysdeps/s390/s390-64/elf/configure: Delete.
34385 * configure.in: Remove support for elf directories in sysdeps.
34387 * configure: Regenerated.
34388 * sysdeps/i386/configure: Regenerated.
34389 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34390 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34391 * sysdeps/s390/s390-32/configure: Regenerated.
34392 * sysdeps/s390/s390-64/configure: Regenerated.
34393 * sysdeps/sh/configure: Regenerated.
34394 * sysdeps/sparc/configure: Regenerated.
34395 * sysdeps/x86_64/configure: Regenerated.
34397 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34401 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34402 denormal result into account.
34404 2012-03-25 Roland McGrath <roland@hack.frob.com>
34406 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34407 Reported by Allan McRae <allan@archlinux.org>.
34409 2012-03-23 Jeff Law <law@redhat.com>
34411 * nss/getnssent.c (__nss_getent): Fix typo.
34413 2012-03-23 David S. Miller <davem@davemloft.net>
34415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34417 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34419 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34420 to pad to uint64_t for each field.
34421 (dl_tls_index): Replace unsigned long with uint64_t.
34423 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34424 Paul Pluzhnikov <ppluzhnikov@google.com>
34427 * grp/Makefile (otherlibs): Don't set it.
34428 * inet/Makefile (otherlibs): Likewise.
34429 * login/Makefile (otherlibs): Likewise.
34430 * nscd/Makefile (otherlibs): Likewise.
34431 * posix/Makefile (otherlibs): Likewise.
34432 * pwd/Makefile (otherlibs): Likewise.
34433 * rt/Makefile (otherlibs): Likewise.
34434 * sunrpc/Makefile (otherlibs): Likewise.
34435 * nss/Makefile (otherlibs): Likewise.
34436 Add libnss_files to routines and static-only-routines.
34437 ($(objpfx)getent): Remove rule.
34438 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34439 static-only-routines.
34441 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34444 * math/s_cexp.c: Include <float.h>.
34445 (__cexp): Handle exp result overflowing not necessarily
34446 overflowing both real and imaginary parts of result.
34447 * math/s_cexpf.c: Likewise.
34448 * math/s_cexpl.c: Likewise.
34449 * math/libm-test.inc (cexp_test): Add more tests.
34450 * sysdeps/i386/fpu/libm-test-ulps: Update.
34451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34453 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34455 * include/link.h (ELFW): New macro.
34456 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34457 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34459 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34461 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34464 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34466 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34468 (struct La_x32_retval): Likewise.
34470 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34472 * sysdeps/x86_64/preconfigure.in: New file.
34473 * sysdeps/x86_64/preconfigure: New generated file.
34475 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34478 * math/e_exp2l.c: Include <float.h>.
34479 (__ieee754_exp2l): Handle overflow and underflow cases
34480 separately. Only pass fractional part of argument to
34482 * math/libm-test.inc (exp2_test): Add more tests.
34484 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34485 negating x to take absolute value.
34486 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34488 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34491 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34492 computing low part if x was negated.
34493 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34495 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34497 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34498 la_x32_gnu_pltexit.
34499 (pltexit): Cast int_retval to ptrdiff_t.
34500 * elf/tst-auditmod3b.c: Likewise.
34501 * elf/tst-auditmod4b.c: Likewise.
34502 * elf/tst-auditmod5b.c: Likewise.
34503 * elf/tst-auditmod6b.c: Likewise.
34504 * elf/tst-auditmod6c.c: Likewise.
34505 * elf/tst-auditmod7b.c: Likewise.
34507 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34508 and x32_gnu_pltexit.
34510 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34511 __ELF_NATIVE_CLASS.
34512 (La_x32_regs): New macro.
34513 (La_x32_retval): Likewise.
34514 (la_x32_gnu_pltenter): New function prototype.
34515 (la_x32_gnu_pltexit): Likewise.
34517 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34524 * configure.in (libc_cv_cc_nofma): Check for option to disable
34525 generation of FMA instructions.
34526 * configure: Regenerate.
34527 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34528 * sysdeps/ieee754/dbl-64/Makefile: New file.
34529 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34530 Remove brandred-fma4.
34531 (CFLAGS-brandred-fma4.c): Remove.
34532 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34533 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34535 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34538 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34540 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34541 LLONG_MAX != LONG_MAX.
34542 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34543 (_fitoa_word): Likewise.
34544 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34545 LLONG_MAX != LONG_MAX.
34546 * stdio-common/_itowa.h: Include <_itoa.h>.
34547 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34548 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34549 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34550 only if not defined.
34551 (_ITOA_WORD_TYPE): Likewise.
34552 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34553 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34555 2012-03-21 David S. Miller <davem@davemloft.net>
34557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34559 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34561 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34562 of x86_64 when setting libc_cv_slibdir, libdir and
34564 * sysdeps/unix/sysv/linux/configure: Regenerated.
34566 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34568 * manual/lang.texi (Old Varargs): Remove section.
34569 (How Variadic): Update menu.
34570 (va_start): Do not mention varargs.h.
34572 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34573 Joseph Myers <joseph@codesourcery.com>
34575 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34577 * configure: Regenerated.
34579 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34581 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34582 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34585 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34588 * Makefile (files-for-dist): Remove NOTES.
34589 (NOTES): Remove rule.
34590 * README: Don't refer to NOTES.
34591 * manual/creature.texi: Don't include macros.texi.
34592 * manual/intro.texi (creature.texi): Remove comment referring to
34595 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34596 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34597 * configure: Regenerated.
34598 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34599 LIBC_TRY_CC_OPTION.
34600 (libc_cv_as_i686): Likewise.
34601 (libc_cv_cc_avx): Likewise.
34602 (libc_cv_cc_sse2avx): Likewise.
34603 (libc_cv_cc_fma4): Likewise.
34604 (libc_cv_cc_novzeroupper): Likewise.
34605 * sysdeps/i386/configure: Regenerated.
34608 * sysdeps/i386/fpu/s_cexp.S: Remove.
34609 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34610 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34611 * math/libm-test.inc (cexp_test): Add more tests.
34612 * sysdeps/i386/fpu/libm-test-ulps: Update.
34613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34615 2012-03-21 Allan McRae <allan@archlinux.org>
34617 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34619 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34622 * math/w_exp2.c: Do not include <float.h>.
34623 (o_threshold, u_threshold): Remove.
34624 (__exp2): Calculate result before checking finiteness and calling
34626 * math/w_exp2f.c: Likewise.
34627 * math/w_exp2l.c: Likewise.
34628 * math/libm-test.inc (exp2_test): Require overflow exception for
34632 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34633 range of signed 64-bit integers before using fistpll. Remove
34634 checks for whether integers fit in mantissa bits.
34635 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34636 the range of signed 32-bit integers before using fistpl. Remove
34637 checks for whether integers fit in mantissa bits.
34638 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34639 (__ieee754_powl): Test for y outside the range of signed 64-bit
34640 integers before using fistpll. Reduce 64-bit values to 63-bit
34642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34643 divide-by-zero is raised for zero to large negative powers.
34644 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34645 (__ieee754_powl): Test for y outside the range of signed 64-bit
34646 integers before using fistpll. Reduce 64-bit values to 63-bit
34648 * math/libm-test.inc (pow_test): Add more tests.
34650 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34652 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34653 <stdio-common/_itoa.h>.
34654 * debug/segfault.c: Likewise.
34655 * elf/dl-cache.c: Likewise.
34656 * elf/dl-minimal.c: Likewise.
34657 * elf/dl-misc.c: Likewise.
34658 * elf/dl-sysdep.c: Likewise.
34659 * elf/dl-version.c: Likewise.
34660 * elf/rtld.c: Likewise.
34661 * hurd/hurdsock.c: Likewise.
34662 * hurd/lookup-retry.c: Likewise.
34663 * malloc/malloc.c: Likewise.
34664 * malloc/mtrace.c: Likewise.
34665 * nscd/nscd_getgr_r.c: Likewise.
34666 * nscd/nscd_getpw_r.c: Likewise.
34667 * nscd/nscd_getserv_r.c: Likewise.
34668 * posix/getopt_init.c: Likewise.
34669 * posix/wordexp.c: Likewise.
34670 * stdio-common/_itoa.c: Likewise.
34671 * stdio-common/printf_fphex.c: Likewise.
34672 * stdio-common/vfprintf.c: Likewise.
34673 * string/_strerror.c: Likewise.
34674 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34675 * sysdeps/i386/i686/hp-timing.h: Likewise.
34676 * sysdeps/mach/_strerror.c: Likewise.
34677 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34678 * sysdeps/mach/hurd/sethostid.c: Likewise.
34679 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34680 * sysdeps/mach/xpg-strerror.c: Likewise.
34681 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34682 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34683 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34684 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34685 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34686 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34687 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34688 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34689 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34690 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34691 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34692 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34693 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34694 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34695 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34696 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34697 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34698 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34699 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34700 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34701 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34703 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34705 * stdio-common/_itoa.h: Moved to ...
34706 * sysdeps/generic/_itoa.h: Here.
34708 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34710 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34711 instead of "_itoa.h" and "_itowa.h".
34712 * stdio-common/vfprintf.: Likewise.
34714 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34716 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34718 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34719 (__signbit): Likwise.
34720 (llrintf): Likwise.
34723 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34725 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34728 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34730 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34731 OVERFLOW_EXCEPTION_OK.
34732 * math/libm-test.inc ("Philosophy"): Update comment about
34734 (OVERFLOW_EXCEPTION): Define.
34735 (OVERFLOW_EXCEPTION_OK): Likewise.
34736 (INVALID_EXCEPTION_OK): Renumber.
34737 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34738 (IGNORE_ZERO_INF_SIGN): Likewise.
34739 (test_exceptions): Handle FE_OVERFLOW.
34740 (exp10_test): Expect overflow exceptions.
34741 (exp2_test): Likewise.
34742 (expm1_test): Likewise.
34743 (nextafter_test): Likewise.
34744 (pow_test): Likewise.
34745 (scalbn_test): Likewise.
34746 (scalbln_test): Likewise.
34748 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34750 * sysdeps/x86_64/bits/atomic.h
34751 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34753 (atomic_exchange_acq): Likewise.
34754 (__arch_exchange_and_add_body): Likewise.
34755 (__arch_add_body): Likewise.
34756 (atomic_add_negative): Likewise.
34757 (atomic_add_zero): Likewise.
34759 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34761 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34762 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34764 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34766 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34767 Check __x86_64__ instead of __WORDSIZE.
34769 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34771 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34773 2012-03-19 David S. Miller <davem@davemloft.net>
34775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34777 * sysdeps/sparc/fpu/fenv_private.h: New file.
34778 * sysdeps/sparc/fpu/math_private.h: Use it.
34779 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34781 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34782 (libc_feholdexcept_setroundl): Remove.
34783 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34785 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34786 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34788 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34790 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34791 int64_t instead of long int.
34792 (INSERT_WORDS64): Likwise.
34794 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34796 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34797 _Unwind_GetCFA return to _Unwind_Ptr first.
34799 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34802 * math/s_clog.c: Include <float.h>.
34803 (__clog): Scale large or subnormal inputs.
34804 * math/s_clogf.c: Likewise.
34805 * math/s_clogl.c: Likewise.
34806 * math/s_clog10.c: Include <float.h>.
34807 (M_LOG10_2): Define.
34808 (__clog10): Scale large or subnormal inputs.
34809 * math/s_clog10f.c: Likewise.
34810 * math/s_clog10l.c: Likewise.
34811 * math/libm-test.inc (clog_test): Add more tests.
34812 (clog10_test): Likewise.
34813 * sysdeps/i386/fpu/libm-test-ulps: Update.
34814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34817 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34819 * math/libm-test.inc (atan2_test): Add another test.
34821 * Makerules (common-objdir-compile): Remove.
34822 * sysdeps/unix/Makefile (config-generated): Do not add
34823 $(unix-generated) to variable.
34824 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34825 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34827 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34829 [generic bits/local_lim.h] (before-compile): Do not append to
34831 [generic bits/local_lim.h] (common-generated): Likewise.
34832 [generic sys/param.h] (before-compile): Do not append to variable.
34833 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34834 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34835 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34836 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34838 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34839 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34840 [generic sys/param.h] ($(addprefix
34841 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34842 [generic sys/param.h] (common-generated): Do not append to
34844 [generic sys/param.h] (sysdep_headers): Likewise.
34845 [generic bits/errno.h] (before-compile): Do not append to
34847 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34849 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34850 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34851 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34852 [generic bits/errno.h] (common-generated): Do not append to
34854 [generic bits/ioctls.h] (before-compile): Do not append to
34856 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34858 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34859 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34860 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34862 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34863 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34864 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34865 [generic bits/ioctls.h] (common-generated): Do not append to
34867 [generic sys/syscall.h] (syscall.h): Remove variable.
34868 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34870 [generic sys/syscall.h] (before-compile): Do not append to
34872 [generic sys/syscall.h] (common-generated): Likewise.
34873 * sysdeps/unix/errnos-tmpl.c: Remove file.
34874 * sysdeps/unix/errnos.awk: Likewise.
34875 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34876 * sysdeps/unix/ioctls.awk: Likewise.
34877 * sysdeps/unix/mk-local_lim.c: Likewise.
34878 * sysdeps/unix/snarf-ioctls: Likewise.
34880 2012-03-19 Richard Henderson <rth@twiddle.net>
34882 * sysdeps/i386/fpu/fenv_private.h: New file.
34883 * sysdeps/i386/fpu/math_private.h: Use it.
34884 (math_opt_barrier, math_force_eval): Remove.
34885 (libc_feholdexcept_setround_53bit): Remove.
34886 (libc_feupdateenv_53bit): Remove.
34887 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34888 (math_opt_barrier, math_force_eval): Remove.
34889 (libc_feholdexcept): Remove.
34890 (libc_feholdexcept_setround): Remove.
34891 (libc_fetestexcept, libc_fesetenv): Remove.
34892 (libc_feupdateenv_test): Remove.
34893 (libc_feupdateenv, libc_feholdsetround): Remove.
34894 (libc_feresetround): Remove.
34896 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34897 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34899 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34900 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34901 (libc_feupdateenv_testl): New.
34902 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34903 (libc_feupdateenv_testf): New.
34904 (libc_feupdateenv): Use libc_feupdateenv_test.
34905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34906 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34908 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34909 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34910 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34911 (libc_feresetround_noex): New.
34912 (libc_feresetround_noexf): New.
34913 (libc_feresetround_noexl): New.
34914 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34915 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34916 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34917 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34919 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34922 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34923 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34924 SET_RESTORE_ROUND_NOEX.
34925 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34926 SET_RESTORE_ROUND_NOEXF.
34927 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34928 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34929 (libc_feholdsetroundf): New.
34930 (libc_feresetround, libc_feresetroundf): New.
34932 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34933 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34934 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34936 * sysdeps/generic/math_private.h: Include <fenv.h>.
34937 (default_libc_feholdexcept): New.
34938 (default_libc_feholdexcept_setround): New.
34939 (default_libc_fesetenv, default_libc_feupdateenv): New.
34940 (libc_feholdexcept): Only define if undefined.
34941 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34942 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34943 (libc_feholdexcept_setroundl): Likewise.
34944 (libc_feholdexcept_setround_53bit): Likewise.
34945 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34946 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34947 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34948 (libc_feupdateenv_53bit): Likewise.
34949 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34950 (libc_feholdexcept): Convert from macro to inline function.
34951 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34952 (libc_fesetenv, libc_feupdateenv): Likewise.
34954 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34955 not previously defined.
34956 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34957 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34958 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34959 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34960 * sysdeps/ieee754/flt-32/math_private.h: New file.
34961 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34962 math_private.h below SET_FLOAT_WORD.
34963 (__isnan, __isinf_ns, __finite): Remove.
34964 (__isnanf, __isinf_nsf, __finitef): Remove.
34966 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34970 2012-03-17 David S. Miller <davem@davemloft.net>
34973 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34976 2012-03-16 David S. Miller <davem@davemloft.net>
34978 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34982 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34984 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34985 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34986 sysdep_routines when subdir is sysvipc.
34987 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34988 __getshmlba helper.
34990 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34992 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34994 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34997 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34999 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35000 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35001 (__lround): Renamed to ...
35002 (__llround): This. Replace long int with long long int.
35003 Define lround functions as aliases of llround functions.
35004 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35006 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35008 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35009 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35010 adresses to uintptr_t. Replace "long int" and "unsigned long
35011 int" with "greg_t" on va_arg.
35013 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35015 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35016 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35018 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35019 Move e_machine check before EI_CLASS check. Handle x32
35020 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35021 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35022 SKIP_EM_IA_64 and include
35023 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35025 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35026 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35027 (add_system_dir): New macro.
35029 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35030 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35032 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35043 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35045 * math/w_j0f.c (j0f): Likewise.
35047 * math/w_j0l.c (__j0l): Likewise.
35049 * math/w_j1.c (j1): Likewise.
35051 * math/w_j1f.c (j1f): Likewise.
35053 * math/w_j1l.c (__j1l): Likewise.
35055 * math/w_jn.c (jn): Likewise.
35057 * math/w_jnf.c (jnf): Likewise.
35059 * math/w_jnl.c (__jnl): Likewise.
35061 * math/libm-test.inc (j0_test): Add more tests.
35062 (j1_test): Likewise.
35063 (jn_test): Likewise. Add trailing semicolon to existing test.
35064 (y0_test): Likewise.
35065 (y1_test): Likewise.
35066 * sysdeps/i386/fpu/libm-test-ulps: Update.
35067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35071 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35072 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35073 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35074 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35075 (__tanl): Set errno for infinite argument.
35076 * sysdeps/i386/fpu/mptan.c: Remove.
35077 * sysdeps/i386/fpu/s_tan.S: Likewise.
35078 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35079 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35080 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35081 * math/libm-test.inc (tan_test): Add more tests and enable more
35082 tests for double and long double.
35083 * sysdeps/i386/fpu/libm-test-ulps: Update.
35084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35086 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35088 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35089 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35091 2012-03-16 Roland McGrath <roland@hack.frob.com>
35093 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35094 * configure.in: Use it for both main tree and add-ons.
35095 * configure: Regenerated.
35097 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35099 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35101 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35103 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35107 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35108 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35113 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35114 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35115 != 0 for prec == 2.
35116 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35117 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35118 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35119 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35120 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35121 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35122 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35123 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35124 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35125 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35126 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35127 * math/libm-test.inc (cos_test): Add more tests and enable more
35128 tests for long double.
35129 (sin_test): Likewise.
35130 (sincos_test): Likewise.
35131 * sysdeps/i386/fpu/libm-test-ulps: Update.
35132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35134 2012-03-16 David S. Miller <davem@davemloft.net>
35136 * sysdeps/sparc/fpu/math_private.h: New file.
35138 2012-03-15 David S. Miller <davem@davemloft.net>
35140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35154 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35155 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35157 * sysdeps/sparc/sparc-ifunc.h: New file.
35158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35198 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35203 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35205 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35209 2012-03-15 Andreas Jaeger <aj@suse.de>
35212 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35213 ieee754/flt-32 implementation for sin, cos and sincos.
35214 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35215 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35216 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35217 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35218 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35219 ieee754/flt-32 implementation for tan.
35221 * math/libm-test.inc (cos_test): Enable some large input tests for
35223 (sin_test): Likewise.
35224 (sincos_test): Likewise.
35225 (tan_test): Add tests for large input.
35227 * sysdeps/i386/fpu/libm-test-ulps: Update.
35229 2012-03-15 Andreas Jaeger <aj@suse.de>
35232 * math/libm-test.inc (cos_test): Add more test cases.
35233 (sin_test): Likewise.
35234 (sincos_test): Likewise.
35236 2012-03-15 Andreas Jaeger <aj@suse.de>
35239 * math/libm-test.inc (cos_test): Add a test case for large input
35241 (sin_test): Likewise.
35242 (sincos_test): Likewise.
35244 2012-03-15 Andreas Jaeger <aj@suse.de>
35245 Joseph Myers <joseph@codesourcery.com>
35248 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35249 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35250 * sysdeps/i386/fpu/branred.c: Likewise.
35251 * sysdeps/i386/fpu/dosincos.c: Likewise.
35252 * sysdeps/i386/fpu/mpa.c: Likewise.
35253 * sysdeps/i386/fpu/s_cos.S: Likewise.
35254 * sysdeps/i386/fpu/s_sin.S: Likewise.
35255 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35256 * sysdeps/i386/fpu/sincos32.c: Likewise.
35258 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35260 (libc_feupdateenv_53bit): Define.
35261 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35263 (libc_feupdateenv_53bit): Define.
35265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35266 53 bit (without extend i386 double precision).
35268 * math/libm-test.inc (sincos_test): Add tests for large input.
35272 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35274 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35278 2012-03-15 David S. Miller <davem@davemloft.net>
35280 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35281 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35282 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35283 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35307 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35308 fmin/fmax sysdep routines.
35309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35311 2012-03-14 David S. Miller <davem@davemloft.net>
35313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35341 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35385 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35390 * sysdeps/sparc/configure.in: New file.
35391 * sysdeps/sparc/configure: Generate.
35392 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35393 * configure: Regenerate.
35394 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35395 * config.make.in (have-as-vis3): New.
35396 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35397 available use -Av9d instead of -Av9a.
35398 * sysdeps/sparc/sparc64/Makefile: Likewise.
35399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35414 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35415 fzeros/fnegs to load 0x80000000 into a float register instead of
35417 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35419 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35423 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35424 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35425 ($(inst_includedir)/bits/syscall.h): Remove rule.
35426 ($(objpfx)bits/syscall.d): Include instead of
35427 $(objpfx)syscall-list.d.
35428 (generated): Change syscall-list.h and syscall-list.d to
35429 bits/syscall.h and bits/syscall.d.
35431 2012-03-14 Roland McGrath <roland@hack.frob.com>
35434 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35436 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35439 * math/s_csqrt.c: Include <float.h>.
35440 (__csqrt): Scale large or subnormal inputs.
35441 * math/s_csqrtf.c: Likewise.
35442 * math/s_csqrtl.c: Likewise.
35443 * math/libm-test.inc (csqrt_test): Add more tests.
35444 * sysdeps/i386/fpu/libm-test-ulps: Update.
35445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35448 * math/libm-test.inc (hypot_test): Add more tests.
35450 2012-03-13 David S. Miller <davem@davemloft.net>
35453 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35454 double-precision for the calculation instead of scaling.
35456 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35458 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35459 manipulate bits before adding and subtracting TWO52[sx].
35460 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35461 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35463 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35465 2012-03-13 David S. Miller <davem@davemloft.net>
35467 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35468 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35470 rtld-global-offsets.h
35471 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35473 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35476 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35478 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35479 'err' in the ifdef scope in which it is actually used.
35481 * nss/nss_db/db-init.c: Include string.h
35483 2012-03-12 David S. Miller <davem@davemloft.net>
35485 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35486 masking out of the most significant byte of random value used.
35487 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35488 Fix coding style in previous change.
35490 * sysdeps/unix/sysv/linux/kernel-features.h
35491 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35492 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35494 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35497 2012-03-11 David S. Miller <davem@davemloft.net>
35499 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35500 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35501 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35502 for 'resultvar' otherwise things get truncated on 64-bit.
35504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35505 Fix masking out of the most significant byte of random value used.
35507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35509 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35513 2012-03-09 David S. Miller <davem@davemloft.net>
35515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35516 variables with appropriate CPP guards.
35517 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35518 from the frame pointer, not the stack pointer. Correct layout
35519 comments. Fix test on resulting framesize and the management of
35520 the outregs buffer for pltexit. Preserve floating point return
35521 values across _dl_call_pltexit call.
35522 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35523 framesize and the management of the outregs buffer for pltexit.
35524 Preserve floating point return values across _dl_call_pltexit
35526 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35527 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35528 (la_sparc64_gnu_pltexit): New functions.
35529 (print_exit): Fix format string for return register value.
35531 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35533 * sunrpc/Makefile (others): Add rpcgen.
35534 ($(objpfx)rpcgen): Remove special build rule and dependency on
35536 * sunrpc/rpcgen.c: New file.
35538 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35541 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35542 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35543 * sysdeps/i386/crti.S: Likewise.
35544 * sysdeps/i386/crtn.S: Likewise.
35545 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35546 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35547 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35548 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35549 * sysdeps/sh/crti.S: Likewise.
35550 * sysdeps/sh/crtn.S: Likewise.
35551 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35554 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35556 * locale/programs/locfile-kw.gperf: Likewise.
35557 * locale/programs/charmap-kw.h: Regenerated.
35558 * locale/programs/locfile-kw.h: Likewise.
35561 * intl/plural.y: Replace FSF snail mail address with URL.
35562 * intl/plural.c: Regenerated.
35564 2012-03-09 Richard Henderson <rth@twiddle.net>
35566 * include/math_private.h: Remove file.
35567 * math/math_private.h: Move file ...
35568 * sysdeps/generic/math_private.h: ... here.
35570 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35571 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35572 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35574 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35575 and <math_private.h>.
35576 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35577 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35578 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35579 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35580 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35581 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35582 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35584 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35585 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35587 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35588 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35589 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35590 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35591 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35592 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35593 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35594 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35595 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35597 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35598 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35601 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35602 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35603 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35606 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35608 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35610 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35611 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35612 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35616 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35617 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35618 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35619 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35620 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35621 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35622 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35623 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35624 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35625 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35626 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35627 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35628 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35629 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35630 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35633 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35634 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35635 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35637 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35639 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35640 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35641 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35642 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35643 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35644 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35645 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35649 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35655 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35656 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35658 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35660 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35663 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35664 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35666 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35667 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35673 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35674 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35676 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35677 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35678 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35679 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35681 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35682 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35683 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35684 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35686 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35687 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35688 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35690 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35691 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35692 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35693 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35695 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35696 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35697 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35698 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35699 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35700 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35702 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35703 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35704 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35705 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35706 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35707 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35708 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35709 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35710 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35711 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35712 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35713 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35714 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35715 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35716 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35717 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35718 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35719 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35720 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35721 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35722 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35723 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35724 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35725 * sysdeps/ieee754/k_standard.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35793 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35799 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35803 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35805 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35809 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35811 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35812 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35813 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35814 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35815 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35816 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35818 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35819 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35822 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35829 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35831 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35839 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35841 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35845 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35848 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35853 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35872 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35875 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35876 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35881 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35886 * sysdeps/ieee754/s_lib_version.c: Likewise.
35887 * sysdeps/ieee754/s_matherr.c: Likewise.
35888 * sysdeps/ieee754/s_signgam.c: Likewise.
35889 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35890 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35891 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35892 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35893 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35894 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35895 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35896 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35897 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35898 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35899 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35900 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35901 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35902 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35903 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35904 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35906 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35907 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35911 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35913 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35914 * sunrpc/rpc_main.c: Likewise.
35915 * sunrpc/rpc_svcout.c: Likewise.
35917 2012-03-09 David S. Miller <davem@davemloft.net>
35919 * include/math_private.h: New file.
35921 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35923 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35924 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35925 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35926 from <bits/socket_type.h>.
35927 (enum __socket_type): Don't define here.
35928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35930 bits/socket_type.h.
35933 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35934 checking __USE_GNU.
35936 * Makerules ($(inst_includedir)/%.h): New rule.
35937 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35938 (install-others): Remove variable setting.
35939 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35941 2012-03-08 Richard Henderson <rth@twiddle.net>
35943 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35944 from macro to inline function; merge with the
35945 !__LIBC_INTERNAL_MATH_INLINES version.
35946 (__ieee754_sqrtf): Likewise.
35948 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35949 to inline function.
35950 (__rintf, __floor, __floorf): Likewise.
35952 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35953 macro to inline function.
35954 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35956 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35957 not <math/math_private.h>.
35959 2012-03-08 David S. Miller <davem@davemloft.net>
35961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35963 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35965 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35967 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35969 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35970 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35972 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35974 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35975 be defined individually, they must be defined as a block. Define
35976 S for printing a string instead of hidint the different by using a
35977 macro for adding the 'l'.
35978 * stdio-common/tst-fphex-wide.c: Adjust.
35980 2012-03-07 Marek Polacek <polacek@redhat.com>
35982 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35984 2012-03-08 Marek Polacek <polacek@redhat.com>
35987 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35988 * stdio-common/tst-fphex.c: Define a few macros to make the
35989 test reusable. Use them.
35990 * stdio-common/tst-fphex-wide.c: New file.
35992 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35995 * manual/macros.texi (gnusystems): New macro.
35996 (nongnusystems): Likewise.
35997 (gnulinuxhurdsystems): Likewise.
35998 (gnuhurdsystems): Likewise..
35999 (gnulinuxsystems): Likewise.
36000 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36001 variants of the GNU system, not "GNU system".
36002 * manual/conf.texi: Likewise.
36003 * manual/errno.texi: Likewise. Update example of errno macro
36005 * manual/filesys.texi: Likewise.
36006 (getumask): Document as specific to GNU/Hurd.
36007 * manual/install.texi: Likewise. Reword some references to
36009 * manual/intro.texi: Likewise.
36010 * manual/io.texi: Likewise.
36011 (File Name Portability): Detail which constraints are inapplicable
36012 to all GNU systems and which are only inapplicable to GNU/Hurd.
36013 * manual/job.texi: Likewise.
36014 * manual/llio.texi: Likewise.
36015 (O_NOCTTY): Document as present on GNU/Linux.
36016 * manual/maint.texi: Likewise.
36017 * manual/memory.texi: Likewise.
36018 * manual/pattern.texi: Likewise.
36019 * manual/pipe.texi: Likewise.
36020 * manual/process.texi: Likewise.
36021 * manual/resource.texi: Likewise.
36022 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36024 * manual/setjmp.texi: Likewise.
36025 * manual/signal.texi: Likewise.
36026 * manual/startup.texi: Likewise.
36027 * manual/stdio.texi: Likewise.
36028 * manual/terminal.texi: Likewise.
36029 (ONLCR): Document as POSIX.
36030 (OXTABS): Document availability on GNU/Linux as XTABS.
36031 (ONOEOT): Document availability separately from other bits.
36032 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36033 * manual/time.texi: Likewise.
36034 * manual/users.texi: Likewise.
36035 * INSTALL: Regenerated.
36036 * sysdeps/gnu/errlist.c: Regenerated.
36038 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36039 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36040 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36042 * configure: Regenerated.
36044 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36046 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36047 default includes instead of AC_HEADER_CHECK.
36048 * sysdeps/i386/configure: Regenerated.
36051 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36052 * math/s_cacoshf.c (__cacoshf): Likewise.
36053 * math/s_cacoshl.c (__cacoshl): Likewise.
36054 * math/s_casinh.c (__casinh): Set signs of result from argument.
36055 * math/s_casinhf.c (__casinhf): Likewise.
36056 * math/s_casinhl.c (__casinhl): Likewise.
36057 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36058 (casinh_test): Add more tests.
36059 * sysdeps/i386/fpu/libm-test-ulps: Update.
36060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36062 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36064 * po/zh_TW.po: Update from translation team.
36066 * login/Makefile (distribute): Remove variable.
36067 * catgets/Makefile: Likewise.
36068 * mach/Makefile: Likewise.
36069 * malloc/Makefile: Likewise.
36070 * misc/Makefile: Likewise.
36071 * iconv/Makefile: Likewise.
36072 * nscd/Makefile: Likewise.
36073 * hurd/Makefile: Likewise.
36074 * manual/Makefile: Likewise.
36075 * locale/Makefile: Likewise.
36076 * intl/Makefile: Likewise.
36077 * conform/Makefile: Likewise.
36078 * nss/Makefile: Likewise.
36079 * time/Makefile: Likewise.
36080 * soft-fp/Makefile: Likewise.
36081 * dirent/Makefile: Likewise.
36082 * gmon/Makefile: Likewise.
36083 * po/Makefile: Likewise.
36084 * rt/Makefile: Likewise.
36085 * socket/Makefile: Likewise.
36086 * math/Makefile: Likewise.
36087 * signal/Makefile: Likewise.
36088 * debug/Makefile: Likewise.
36089 * elf/Makefile: Likewise.
36090 * timezone/Makefile: Likewise.
36091 * stdlib/Makefile: Likewise.
36092 * iconvdata/Makefile: Likewise.
36093 * sunrpc/Makefile: Likewise.
36094 * io/Makefile: Likewise.
36095 * argp/Makefile: Likewise.
36096 * inet/Makefile: Likewise.
36097 * hesiod/Makefile: Likewise.
36098 * grp/Makefile: Likewise.
36099 * csu/Makefile: Likewise.
36100 * wctype/Makefile: Likewise.
36101 * crypt/Makefile: Likewise.
36102 * libio/Makefile: Likewise.
36103 * string/Makefile: Likewise.
36104 * nis/Makefile: Likewise.
36105 * resolv/Makefile: Likewise.
36106 * stdio-common/Makefile: Likewise.
36107 * wcsmbs/Makefile: Likewise.
36108 * dlfcn/Makefile: Likewise.
36109 * posix/Makefile: Likewise.
36112 * timezone/Makefile: Don't install timezone files, just the programs
36115 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36117 * nss/databases.def: Add missing gshadow entry.
36119 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36121 2012-03-06 Marek Polacek <polacek@redhat.com>
36124 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36125 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36126 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36127 * stdio-common/tst-long-dbl-fphex.c: New file.
36129 2012-03-06 David S. Miller <davem@davemloft.net>
36131 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36132 (set_obp_int): New function.
36133 (get_obp_int): New function.
36134 (__get_clockfreq_via_dev_openprom): Likewise.
36135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36136 Avoid unused variable warnings on 'val' and use builtin_expect.
36137 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36139 (INLINE_CLONE_SYSCALL): Likewise.
36141 2012-03-05 David S. Miller <davem@davemloft.net>
36143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36145 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36149 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36150 only for |x| >= 40.
36151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36153 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36156 Replace gettimeofday with __vdso_gettimeofday.
36158 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36159 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36160 __vdso_clock_gettime and __vdso_getcpu.
36162 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36163 time with __vdso_time.
36165 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36167 * manual/lang.texi (size_t): Note types to which size_t may be
36168 equivalent with the GNU C Library, but do not describe when
36169 differences between them are significant.
36171 2012-03-05 Andreas Jaeger <aj@suse.de>
36173 * sysdeps/i386/fpu/libm-test-ulps: Update.
36175 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36178 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36179 (__ieee754_pow): Save and restore rounding mode and use
36180 round-to-nearest for main computations.
36181 * math/libm-test.inc (pow_test_tonearest): New function.
36182 (pow_test_towardzero): Likewise.
36183 (pow_test_downward): Likewise.
36184 (pow_test_upward): Likewise.
36185 (main): Call the new functions.
36186 * sysdeps/i386/fpu/libm-test-ulps: Update.
36187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36190 * math/libm-test.inc (cosh_test_tonearest): New function.
36191 (cosh_test_towardzero): Likewise.
36192 (cosh_test_downward): Likewise.
36193 (cosh_test_upward): Likewise.
36194 (sinh_test_tonearest): Likewise.
36195 (sinh_test_towardzero): Likewise.
36196 (sinh_test_downward): Likewise.
36197 (sinh_test_upward): Likewise.
36198 (main): Call the new functions.
36199 * sysdeps/i386/fpu/libm-test-ulps: Update.
36200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36202 2012-03-05 Tom de Vries <tom@codesourcery.com>
36204 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36205 default stack guard is set in last bytes.
36206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36208 2012-03-05 Kees Cook <keescook@chromium.org>
36210 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36213 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36214 possibly allocate from heap instead of stack.
36215 * stdio-common/bug-vfprintf-nargs.c: New file.
36216 * stdio-common/Makefile (tests): Add nargs overflow test.
36218 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36222 2012-03-03 Marek Polacek <polacek@redhat.com>
36224 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36225 * math/math_private.h: Likewise.
36226 * stdlib/tst-strtod.c: Likewise.
36227 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36228 * sysdeps/x86_64/bits/atomic.h: Likewise.
36230 2012-03-02 David S. Miller <davem@davemloft.net>
36232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36236 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36237 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36238 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36239 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36241 2012-03-02 Roland McGrath <roland@hack.frob.com>
36244 * manual/examples/README: New file, says the example source files
36245 can be used under GPL>=2.
36246 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36247 line containing just "*/".
36248 * manual/examples/add.c: Add copyright header (GPL>=2).
36249 * manual/examples/argp-ex1.c: Likewise.
36250 * manual/examples/argp-ex2.c: Likewise.
36251 * manual/examples/argp-ex3.c: Likewise.
36252 * manual/examples/argp-ex4.c: Likewise.
36253 * manual/examples/atexit.c: Likewise.
36254 * manual/examples/db.c: Likewise.
36255 * manual/examples/dir.c: Likewise.
36256 * manual/examples/dir2.c: Likewise.
36257 * manual/examples/execinfo.c: Likewise.
36258 * manual/examples/filecli.c: Likewise.
36259 * manual/examples/filesrv.c: Likewise.
36260 * manual/examples/fmtmsgexpl.c: Likewise.
36261 * manual/examples/genpass.c: Likewise.
36262 * manual/examples/inetcli.c: Likewise.
36263 * manual/examples/inetsrv.c: Likewise.
36264 * manual/examples/isockad.c: Likewise.
36265 * manual/examples/longopt.c: Likewise.
36266 * manual/examples/memopen.c: Likewise.
36267 * manual/examples/memstrm.c: Likewise.
36268 * manual/examples/mkfsock.c: Likewise.
36269 * manual/examples/mkisock.c: Likewise.
36270 * manual/examples/mygetpass.c: Likewise.
36271 * manual/examples/pipe.c: Likewise.
36272 * manual/examples/popen.c: Likewise.
36273 * manual/examples/rprintf.c: Likewise.
36274 * manual/examples/search.c: Likewise.
36275 * manual/examples/select.c: Likewise.
36276 * manual/examples/setjmp.c: Likewise.
36277 * manual/examples/sigh1.c: Likewise.
36278 * manual/examples/sigusr.c: Likewise.
36279 * manual/examples/stpcpy.c: Likewise.
36280 * manual/examples/strdupa.c: Likewise.
36281 * manual/examples/strftim.c: Likewise.
36282 * manual/examples/strncat.c: Likewise.
36283 * manual/examples/subopt.c: Likewise.
36284 * manual/examples/swapcontext.c: Likewise.
36285 * manual/examples/termios.c: Likewise.
36286 * manual/examples/testopt.c: Likewise.
36287 * manual/examples/testpass.c: Likewise.
36288 * manual/examples/timeval_subtract.c: Likewise.
36291 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36293 * manual/timeval_subtract.c.texi: ... here, new file.
36295 2012-03-02 David S. Miller <davem@davemloft.net>
36297 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36299 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36302 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36303 (__sin): Save and restore rounding mode and use round-to-nearest
36304 for all computations.
36305 (__cos): Save and restore rounding mode and use round-to-nearest
36306 for all computations.
36307 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36309 (tan): Save and restore rounding mode and use round-to-nearest for
36311 * math/libm-test.inc (cos_test_tonearest): New function.
36312 (cos_test_towardzero): Likewise.
36313 (cos_test_downward): Likewise.
36314 (cos_test_upward): Likewise.
36315 (sin_test_tonearest): Likewise.
36316 (sin_test_towardzero): Likewise.
36317 (sin_test_downward): Likewise.
36318 (sin_test_upward): Likewise.
36319 (tan_test_tonearest): Likewise.
36320 (tan_test_towardzero): Likewise.
36321 (tan_test_downward): Likewise.
36322 (tan_test_upward): Likewise.
36323 (main): Call the new functions.
36324 * sysdeps/i386/fpu/libm-test-ulps: Update.
36325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36328 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36329 small n, then large n, before computing and testing k+n.
36330 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36335 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36336 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36337 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36338 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36343 * math/libm-test.inc (scalbn_test): Add more tests.
36344 (scalbln_test): Likewise.
36346 * manual/filesys.texi (mode_t): Describe constraints on size and
36347 signedness, not exact equivalence to a particular type.
36349 (ino64_t): Likewise.
36351 (nlink_t): Likewise.
36352 (blkcnt_t): Likewise.
36353 (blkcnt64_t): Likewise.
36354 * manual/llio.texi (off_t): Likewise.
36357 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36358 (__ieee754_exp): Save and restore rounding mode and use
36359 round-to-nearest for all computations.
36360 * math/libm-test.inc (exp_test_tonearest): New function.
36361 (exp_test_towardzero): Likewise.
36362 (exp_test_downward): Likewise.
36363 (exp_test_upward): Likewise.
36364 (main): Call the new functions.
36365 * sysdeps/i386/fpu/libm-test-ulps: Update.
36366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36368 2012-03-01 Chris Demetriou <cgd@google.com>
36370 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36371 have predictable order.
36373 2012-03-01 David S. Miller <davem@davemloft.net>
36375 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36377 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36378 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36379 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36380 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36382 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36383 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36384 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36386 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36387 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36388 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36389 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36390 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36394 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36395 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36396 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36398 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36399 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36400 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36401 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36402 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36405 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36406 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36407 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36408 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36412 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36414 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36415 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36416 * sysdeps/sparc/elf/configure: Regenerated.
36418 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36420 * configure.in (AS, LD): Require binutils 2.20 or later.
36421 * configure: Regenerated.
36422 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36423 as required minimum version.
36424 * INSTALL: Regenerated.
36428 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36429 before squaring exponent.
36430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36431 bottom long double and 27 bits of top long double before squaring
36433 * math/libm-test.inc (erfc_test): Add more tests.
36434 * sysdeps/i386/fpu/libm-test-ulps: Update.
36435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36438 2012-03-01 Kai Tietz <ktietz@redhat.com>
36440 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36441 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36442 containing bit-fields.
36443 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36444 * soft-fp/single.h (_FP_UNION_S): Likewise.
36445 * soft-fp/double.h (_FP_UNION_D): Likewise.
36447 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36450 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36451 not include ../strcmp.S.
36452 [USE_AS_STRNCASECMP_L]: Likewise.
36453 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36454 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36455 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36456 (__strncasecmp_l_ia32): Define as alias to
36457 __strncasecmp_l_nonascii.
36460 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36461 * sysdeps/i386/fpu/libm-test-ulps: Update.
36462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36464 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36467 2012-02-29 Jeff Law <law@redhat.com>
36469 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36470 out of bounds read.
36472 2012-02-29 Marek Polacek <polacek@redhat.com>
36475 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36476 * elf/Makefile: Add rules to run tst-unused-dep.out.
36478 2012-02-28 David S. Miller <davem@davemloft.net>
36480 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36481 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36482 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36484 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36485 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36487 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36489 * math/libm-test.inc (llround_test): Move one test from
36490 lround_test. Use TEST_f_L in moved test.
36491 (lround_test): Move misplaced test to llround_test. Add testcase
36494 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36496 * sysdeps/x86_64/fpu/e_expf.S: New file.
36497 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36499 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36502 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36503 of remain_len that may cause incomplete multi-byte character and
36505 * posix/bug-regex33.c: New file.
36506 * posix/Makefile (tests): Add bug-regex33.
36508 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36510 * manual/macros.texi: New file.
36511 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36512 * manual/libc.texinfo: Include macros.texi.
36513 * manual/creatute.texi: Likewise.
36514 * manual/install.texi: Likewise.
36515 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36516 @glibcadj{} in references to the GNU C Library.
36517 * manual/charset.texi: Likewise.
36518 * manual/conf.texi: Likewise.
36519 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36520 when not using those macros.
36521 * manual/creature.texi: Likewise.
36522 * manual/crypt.texi: Likewise.
36523 * manual/errno.texi: Likewise.
36524 * manual/filesys.texi: Likewise.
36525 * manual/header.texi: Likewise.
36526 * manual/install.texi: Likewise.
36527 * manual/intro.texi: Likewise.
36528 * manual/io.texi: Likewise.
36529 * manual/job.texi: Likewise.
36530 * manual/lang.texi: Likewise.
36531 * manual/libc.texiinfo: Likewise.
36532 * manual/llio.texi: Likewise.
36533 * manual/locale.texi: Likewise.
36534 * manual/maint.texi: Likewise.
36535 * manual/math.texi: Likewise.
36536 * manual/memory.texi: Likewise.
36537 * manual/message.texi: Likewise.
36538 * manual/nss.texi: Likewise.
36539 * manual/pattern.texi: Likewise.
36540 * manual/process.texi: Likewise.
36541 * manual/resource.texi: Likewise.
36542 * manual/search.texi: Likewise.
36543 * manual/setjmp.texi: Likewise.
36544 * manual/signal.texi: Likewise.
36545 * manual/socket.texi: Likewise.
36546 * manual/startup.texi: Likewise.
36547 * manual/stdio.texi: Likewise.
36548 * manual/string.texi: Likewise.
36549 * manual/sysinfo.texi: Likewise.
36550 * manual/syslog.texi: Likewise.
36551 * manual/terminal.texi: Likewise.
36552 * manual/time.texi: Likewise.
36553 * manual/users.texi: Likewise.
36554 * INSTALL: Regenerated.
36555 * NOTES: Regenerated.
36556 * sysdeps/gnu/errlist.c: Regenerated.
36558 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36560 * include/dirent.h: Include <dirstream.h> before
36563 2012-02-28 David S. Miller <davem@davemloft.net>
36565 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36566 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36567 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36568 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36570 2012-02-27 David S. Miller <davem@davemloft.net>
36572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36574 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36575 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36578 frame pointer instead of stack pointer relative arg slot.
36579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36583 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36586 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36588 2012-02-27 David S. Miller <davem@davemloft.net>
36590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36594 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36595 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36596 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36597 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36599 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36601 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36602 later. Allow versions 5-9.
36603 * configure: Regenerated.
36604 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36605 required minimum version and 4.6 as recommended version. Do not
36606 mention bugs in GCC 2.7 and 2.8.
36607 * INSTALL: Regenerated.
36609 2012-02-27 David S. Miller <davem@davemloft.net>
36611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36615 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36616 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36617 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36618 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36621 manipulate bits before adding and subtracting TWO112[sx].
36622 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36624 2012-02-27 Roland McGrath <roland@hack.frob.com>
36627 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36628 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36629 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36630 being in POSIX, because they are in 1003.1-2008.
36632 * rt/tst-aio.c: Include <fcntl.h>.
36633 * rt/tst-aio7.c: Likewise.
36634 * rt/tst-aio64.c: Likewise.
36636 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36638 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36640 * manual/install.texi (--with-headers): Describe headers as
36641 interface headers, not private headers.
36642 (Specific advice for GNU/Linux systems): Describe use of headers
36643 from "make headers_install", not private headers from older
36645 * INSTALL: Regenerated.
36646 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36648 * sysdeps/unix/sysv/linux/configure: Regenerated.
36650 * manual/llio.texi (fclean): Remove documentation.
36652 * manual/Makefile (libc-texi-generated): New variable. Include
36654 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36655 $(libc-texi-generated), not duplicated list of files.
36656 (version.texi, stamp-version): New rules.
36657 (realclean): Remove $(libc-texi-generated), not individual files
36658 from that list. Do not remove dir-add.texinfo.
36659 * manual/libc.texinfo: Comment out uses of edition numbers and
36660 references to printed manual. Remove last-updated dates.
36661 (EDITION): Comment out.
36663 (VERSION, UPDATED): Remove.
36664 (version.texi): Include.
36666 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36668 * sysdeps/posix/spawni.c: Include <signal.h>.
36669 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36670 * sysdeps/pthread/aio_fsync.c: Likewise.
36672 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36674 * conform/Makefile (tests): Run only when not cross-compiling and
36675 when fast-check is not defined.
36677 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36678 * conform/data/limits.h-data: Fixes for POSIX2008.
36679 * conform/run-conformtest.sh: Run all tests.
36680 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36682 * include/bits/dlfcn.h: Likewise.
36683 * include/langinfo.h: Likewise.
36684 * include/monetary.h: Likewise.
36685 * include/sys/poll.h: Likewise.
36687 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36689 * posix/spawn.h: Define __need_sigset_t.
36690 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36691 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36692 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36693 to get sigevent_t only.
36694 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36695 only for __USE_GNU.
36696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36697 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36698 process_vm_writev only for __USE_GNU.
36699 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36701 * conform/Makefile: For now ignore errors from run-conformtest.
36702 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36703 POSIX to avoid namespace pollution. Don't prepend headers.
36704 * conform/data/aio.h-data: Fixes for POSIX testing.
36705 * conform/data/fcntl.h-data: Likewise.
36706 * conform/data/glob.h-data: Likewise.
36707 * conform/data/grp.h-data: Likewise.
36708 * conform/data/pthread.h-data: Likewise.
36709 * conform/data/pwd.h-data: Likewise.
36710 * conform/data/signal.h-data: Likewise.
36711 * conform/data/spawn.h-data: Likewise.
36712 * conform/data/stdio.h-data: Likewise.
36713 * conform/data/stdlib.h-data: Likewise.
36714 * conform/data/stropts.h-data: Likewise.
36715 * conform/data/sys/mman.h-data: Likewise.
36716 * conform/data/sys/stat.h-data: Likewise.
36717 * conform/data/sys/types.h-data: Likewise.
36718 * conform/data/sys/wait.h-data: Likewise.
36719 * conform/data/time.h-data: Likewise.
36720 * conform/data/unistd.h-data: Likewise.
36721 * conform/data/utime.h-data: Likewise.
36723 * io/sys/stat.h: fchmod was always in POSIX.
36724 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36725 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36726 * rt/aio.h: Define __need_timespec before including <time.h>.
36727 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36728 struct. Add forward declaration of pthread_attr_t and use it in
36730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36732 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36733 always remove CLK_TCK definition.
36735 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36737 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36739 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36741 * conform/run-conformtest.sh: New file.
36742 * conform/Makefile: Run run-conformtest for tests.
36743 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36746 * conform/data/uchar.h-data: New file.
36747 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36748 * conform/data/arpa/inet.h-data: Likewise.
36749 * conform/data/assert.h-data: Likewise.
36750 * conform/data/complex.h-data: Likewise.
36751 * conform/data/cpio.h-data: Likewise.
36752 * conform/data/ctype.h-data: Likewise.
36753 * conform/data/dirent.h-data: Likewise.
36754 * conform/data/dlfcn.h-data: Likewise.
36755 * conform/data/errno.h-data: Likewise.
36756 * conform/data/fcntl.h-data: Likewise.
36757 * conform/data/float.h-data: Likewise.
36758 * conform/data/fmtmsg.h-data: Likewise.
36759 * conform/data/fnmatch.h-data: Likewise.
36760 * conform/data/ftw.h-data: Likewise.
36761 * conform/data/glob.h-data: Likewise.
36762 * conform/data/grp.h-data: Likewise.
36763 * conform/data/iconv.h-data: Likewise.
36764 * conform/data/inttypes.h-data: Likewise.
36765 * conform/data/langinfo.h-data: Likewise.
36766 * conform/data/libgen.h-data: Likewise.
36767 * conform/data/limits.h-data: Likewise.
36768 * conform/data/locale.h-data: Likewise.
36769 * conform/data/math.h-data: Likewise.
36770 * conform/data/monetary.h-data: Likewise.
36771 * conform/data/mqueue.h-data: Likewise.
36772 * conform/data/ndbm.h-data: Likewise.
36773 * conform/data/net/if.h-data: Likewise.
36774 * conform/data/netdb.h-data: Likewise.
36775 * conform/data/netinet/in.h-data: Likewise.
36776 * conform/data/nl_types.h-data: Likewise.
36777 * conform/data/poll.h-data: Likewise.
36778 * conform/data/pthread.h-data: Likewise.
36779 * conform/data/pwd.h-data: Likewise.
36780 * conform/data/regex.h-data: Likewise.
36781 * conform/data/sched.h-data: Likewise.
36782 * conform/data/search.h-data: Likewise.
36783 * conform/data/semaphore.h-data: Likewise.
36784 * conform/data/setjmp.h-data: Likewise.
36785 * conform/data/signal.h-data: Likewise.
36786 * conform/data/spawn.h-data: Likewise.
36787 * conform/data/stdarg.h-data: Likewise.
36788 * conform/data/stdio.h-data: Likewise.
36789 * conform/data/stdlib.h-data: Likewise.
36790 * conform/data/string.h-data: Likewise.
36791 * conform/data/strings.h-data: Likewise.
36792 * conform/data/stropts.h-data: Likewise.
36793 * conform/data/sys/ipc.h-data: Likewise.
36794 * conform/data/sys/mman.h-data: Likewise.
36795 * conform/data/sys/msg.h-data: Likewise.
36796 * conform/data/sys/resource.h-data: Likewise.
36797 * conform/data/sys/select.h-data: Likewise.
36798 * conform/data/sys/sem.h-data: Likewise.
36799 * conform/data/sys/shm.h-data: Likewise.
36800 * conform/data/sys/socket.h-data: Likewise.
36801 * conform/data/sys/stat.h-data: Likewise.
36802 * conform/data/sys/statvfs.h-data: Likewise.
36803 * conform/data/sys/time.h-data: Likewise.
36804 * conform/data/sys/timeb.h-data: Likewise.
36805 * conform/data/sys/times.h-data: Likewise.
36806 * conform/data/sys/types.h-data: Likewise.
36807 * conform/data/sys/uio.h-data: Likewise.
36808 * conform/data/sys/un.h-data: Likewise.
36809 * conform/data/sys/utsname.h-data: Likewise.
36810 * conform/data/sys/wait.h-data: Likewise.
36811 * conform/data/syslog.h-data: Likewise.
36812 * conform/data/tar.h-data: Likewise.
36813 * conform/data/termios.h-data: Likewise.
36814 * conform/data/utime.h-data: Likewise.
36815 * conform/data/utmpx.h-data: Likewise.
36816 * conform/data/varargs.h-data: Likewise.
36817 * conform/data/wchar.h-data: Likewise.
36818 * conform/data/wctype.h-data: Likewise.
36819 * conform/data/wordexp.h-data: Likewise.
36821 * include/stropts.h: New file.
36822 * include/uchar.h: New file.
36823 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36824 * include/assert.h: Likewise.
36825 * include/ctype.h: Likewise.
36826 * include/dirent.h: Likewise.
36827 * include/dlfcn.h: Likewise.
36828 * include/fcntl.h: Likewise.
36829 * include/fnmatch.h: Likewise.
36830 * include/glob.h: Likewise.
36831 * include/grp.h: Likewise.
36832 * include/libio.h: Likewise.
36833 * include/locale.h: Likewise.
36834 * include/math.h: Likewise.
36835 * include/net/if.h: Likewise.
36836 * include/netdb.h: Likewise.
36837 * include/netinet/in.h: Likewise.
36838 * include/pthread.h: Likewise.
36839 * include/pwd.h: Likewise.
36840 * include/regex.h: Likewise.
36841 * include/sched.h: Likewise.
36842 * include/search.h: Likewise.
36843 * include/setjmp.h: Likewise.
36844 * include/signal.h: Likewise.
36845 * include/stdio.h: Likewise.
36846 * include/stdlib.h: Likewise.
36847 * include/string.h: Likewise.
36848 * include/sys/cdefs.h: Likewise.
36849 * include/sys/mman.h: Likewise.
36850 * include/sys/msg.h: Likewise.
36851 * include/sys/resource.h: Likewise.
36852 * include/sys/select.h: Likewise.
36853 * include/sys/socket.h: Likewise.
36854 * include/sys/stat.h: Likewise.
36855 * include/sys/statvfs.h: Likewise.
36856 * include/sys/time.h: Likewise.
36857 * include/sys/times.h: Likewise.
36858 * include/sys/uio.h: Likewise.
36859 * include/sys/utsname.h: Likewise.
36860 * include/sys/wait.h: Likewise.
36861 * include/termios.h: Likewise.
36862 * include/time.h: Likewise.
36863 * include/ulimit.h: Likewise.
36864 * include/unistd.h: Likewise.
36865 * include/utime.h: Likewise.
36866 * include/wchar.h: Likewise.
36867 * include/wctype.h: Likewise.
36868 * include/wordexp.h: Likewise.
36870 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36872 * time/time.h: TIME_UTC must be a macro.
36873 Make timespec_get available for ISO C11 only as well.
36875 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36877 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36878 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36880 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36882 * configure.in: Use -o not -a in test for unsupported multi-arch.
36884 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36886 * manual/texinfo.tex: Update to version 2012-01-19.16.
36888 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36890 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36892 2012-02-24 Roland McGrath <roland@hack.frob.com>
36895 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36896 * manual/fdl-1.3.texi: New file.
36897 * manual/fdl-1.1.texi: File removed.
36900 * manual/libc.texinfo (FDL_VERSION): New @set.
36901 Use it for mention of FDL in cover text.
36902 (Documentation License): Use it in @include file name.
36904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36905 Roland McGrath <roland@hack.frob.com>
36908 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36909 (not LONG_LONG_MAX and LONG_LONG_MIN.
36910 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36911 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36913 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36915 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36919 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36920 manipulate bits before adding and subtracting TWO23[sx].
36921 * math/libm-test.inc (nearbyint_test): Add more tests.
36923 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36926 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36927 bits before adding and subtracting TWO23[sx].
36928 * math/libm-test.inc (rint_test): Add more tests.
36929 (rint_test_tonearest): Likewise.
36930 (rint_test_towardzero): Likewise.
36931 (rint_test_downward): Likewise.
36932 (rint_test_upward: Likewise.
36934 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36937 * include/stdc-predef.h: New file. Extracted from features.h.
36938 * include/features.h: Include stdc-predef.h.
36939 * Makefile (headers): Add stdc-predef.h.
36940 * CONFORMANCE (Compiler limitations): Update.
36942 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36944 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36946 2012-02-21 David S. Miller <davem@davemloft.net>
36948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36949 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36951 2012-02-20 David S. Miller <davem@davemloft.net>
36953 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36954 using a normal save/restore sequence, rather than allocating a
36955 dummy stack frame just to store a frame pointer and restore.
36956 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36958 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36960 * manual/install.texi: Fix stray word in line-wrapped comment.
36962 2012-02-20 David S. Miller <davem@davemloft.net>
36964 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36965 both binutils and gcc support GOTDATA.
36967 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36968 "rd %pc" in the PIC register setup sequences.
36970 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36971 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36972 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36973 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36974 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36976 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36977 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36979 (SYSCALL_ERROR_HANDLER): Likewise.
36980 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36981 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36982 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36983 (SYSCALL_ERROR_HANDLER): Likewise.
36985 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36986 (HAVE_GCC_GOTDATA): New.
36987 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36988 relocation support in both binutils and gcc.
36989 * sysdeps/sparc/elf/configure: Regenerate.
36991 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36992 * sysdeps/sparc/sparc32/elf/configure: Delete.
36993 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36994 * sysdeps/sparc/sparc64/elf/configure: Delete.
36995 * sysdeps/sparc/elf/configure.in: New file.
36996 * sysdeps/sparc/elf/configure: Generate.
36998 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36999 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37000 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37001 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37002 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37004 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37006 * manual/install.texi: Do not mention specific glibc version
37008 * manual/libc.texinfo (VERSION, UPDATED): Update.
37009 (@copying): Use @copyright{} and range of years.
37011 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37014 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37015 [crti.S not in sysdirs] (generated): Do not append.
37016 [crti.S not in sysdirs] (omit-deps): Likewise.
37017 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37018 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37019 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37020 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37021 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37023 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37024 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37025 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37026 * csu/defs.awk: Remove file.
37027 * sysdeps/generic/initfini.c: Likewise.
37028 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37030 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37033 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37035 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37036 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37037 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37040 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37042 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37043 (__EPOLL_PACKED): Define to empty if not defined by
37045 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37049 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37051 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37052 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37053 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37054 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37056 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37060 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37062 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37065 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37069 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37072 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37074 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37076 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37077 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37079 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37081 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37084 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37086 * math/w_acos.c: Use non-signaling floating-point comparisons.
37087 * math/w_acosf.c: Likewise.
37088 * math/w_acosh.c: Likewise.
37089 * math/w_acoshf.c: Likewise.
37090 * math/w_acoshl.c: Likewise.
37091 * math/w_acosl.c: Likewise.
37092 * math/w_asin.c: Likewise.
37093 * math/w_asinf.c: Likewise.
37094 * math/w_asinl.c: Likewise.
37095 * math/w_atanh.c: Likewise.
37096 * math/w_atanhf.c: Likewise.
37097 * math/w_atanhl.c: Likewise.
37098 * math/w_exp2.c: Likewise.
37099 * math/w_exp2f.c: Likewise.
37100 * math/w_exp2l.c: Likewise.
37101 * math/w_j0.c: Likewise.
37102 * math/w_j0f.c: Likewise.
37103 * math/w_j0l.c: Likewise.
37104 * math/w_j1.c: Likewise.
37105 * math/w_j1f.c: Likewise.
37106 * math/w_j1l.c: Likewise.
37107 * math/w_jn.c: Likewise.
37108 * math/w_jnf.c: Likewise.
37109 * math/w_log.c: Likewise.
37110 * math/w_log10.c: Likewise.
37111 * math/w_log10f.c: Likewise.
37112 * math/w_log10l.c: Likewise.
37113 * math/w_log2.c: Likewise.
37114 * math/w_log2f.c: Likewise.
37115 * math/w_log2l.c: Likewise.
37116 * math/w_logf.c: Likewise.
37117 * math/w_logl.c: Likewise.
37118 * math/w_sqrt.c: Likewise.
37119 * math/w_sqrtf.c: Likewise.
37120 * math/w_sqrtl.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37124 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37125 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37127 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37130 * manual/string.texi (strnlen): Use correct parameter name in
37131 equivalent expression.
37133 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37136 * manual/users.texi (seteuid): Consistently use neweuid for
37139 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37142 * manual/nss.texi (Services in the NSS configuration): Correct
37143 list of services in example configuration file.
37145 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37148 * manual/arith.texi: Remove statements about negative zero
37149 behaving identically to zero.
37151 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37154 * manual/install.texi: Do not document upgrading from libc5.
37156 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37159 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37161 2012-02-18 David S. Miller <davem@davemloft.net>
37163 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37164 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37165 %o7 across the call.
37166 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37169 SETUP_PIC_REG_LEAF.
37170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37171 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37172 * sysdeps/sparc/crtn.S: Likewise.
37174 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37176 * aout/Makefile: Remove.
37178 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37181 * manual/examples/argp-ex1.c (main): Format definition in GNU
37183 * manual/examples/argp-ex2.c (main): Likewise.
37184 * manual/examples/argp-ex3.c (main): Likewise.
37185 * manual/examples/argp-ex4.c (main): Likewise.
37186 * manual/examples/longopt.c (main): Use new-style prototype
37188 * manual/examples/strncat.c (main): Specify return type and use
37189 (void) for arguments.
37190 * manual/examples/subopt.c (main): Use char **argv argument.
37192 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37195 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37198 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37201 * manual/string.texi (strchr): Change when strchrnul is
37204 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37207 * manual/locale.texi (setlocale): Document LOCPATH.
37209 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37212 * manual/process.texi (execle): Move @dots{} before last argument.
37214 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37217 * manual/charset.texi (Generic Charset Conversion): Fix typo
37218 (LC_TYPE -> LC_CTYPE).
37220 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37223 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37224 (scalbnf): Likewise.
37225 (scalbnl): Likewise.
37226 (scalbln): Likewise.
37227 (scalblnf): Likewise.
37228 (scalblnl): Likewise.
37229 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37230 (vwarnx): Likewise.
37233 * manual/filesys.texi (telldir): Use braces around return type.
37234 * manual/llio.texi (mmap): Add space after comma.
37235 (mmap64): Likewise.
37236 * manual/math.texi (jn): Use @var{} on parameter names.
37242 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37244 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37246 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37247 (sched_get_priority_max): Likewise.
37248 * manual/signal.texi (sigvec): Add space after comma.
37249 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37251 (if_indextoname): Likewise.
37252 (if_freenameindex): Likewise.
37253 (sendto): Use ',' instead of '.' in prototype.
37254 * manual/startup.texi (syscall): Use @dots{} instead of literal
37256 * manual/stdio.texi (__fpending): Separate initial words of
37257 paragraph from @deftypefun line.
37258 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37260 (vsyslog): Use @var{} on parameter names.
37261 * manual/terminal.texi (stty): Use @var{} on parameter names.
37262 * manual/users.texi (getutmp): Use @var{} on parameter names.
37263 (getutmpx): Likewise.
37265 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37268 * manual/stdio.texi (fopen): Fix typos in description of
37271 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37274 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37275 get clock_id definition.
37277 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37280 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37281 (madvise): Cast every argument to void on its own.
37283 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37286 * manual/startup.texi (Exit Status): Fix typo.
37288 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37291 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37292 * manual/examples/argp-ex2.c: Likewise.
37293 * manual/examples/argp-ex3.c: Likewise.
37295 2012-02-16 Richard Henderson <rth@redhat.com>
37297 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37298 * sysdeps/s390/s390-32/initfini.c: Remove.
37299 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37300 * sysdeps/s390/s390-64/initfini.c: Remove.
37302 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37304 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37305 compiler output for sysdeps/generic/initfini.c.
37306 * sysdeps/sh/elf/initfini.c: Remove file.
37308 2012-02-16 David S. Miller <davem@davemloft.net>
37311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37313 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37314 * sysdeps/sparc/crti.S: New file.
37315 * sysdeps/sparc/crtn.S: New file.
37316 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37317 * sysdeps/sparc/sparc64/Makefile: Likewise.
37319 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37322 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37324 2012-02-15 Roland McGrath <roland@hack.frob.com>
37327 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37329 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37330 (write, read, close): Likewise.
37331 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37333 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37335 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37336 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37337 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37338 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37340 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37344 2012-02-14 Marek Polacek <polacek@redhat.com>
37346 * sysdeps/x86_64/crti.S: New file.
37347 * sysdeps/x86_64/crtn.S: New file.
37348 * sysdeps/x86_64/elf/initfini.c: Remove file.
37350 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37352 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37353 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37354 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37355 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37357 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37361 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37363 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37364 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37365 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37366 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37368 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37372 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37374 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37375 __feraiseexcept instead of feraiseexcept.
37377 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37378 nanosleep invocations.
37379 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37380 strings, and add error checking for a nanosleep invocations.
37382 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37384 Replace FSF snail mail address with URLs, as per GNU coding standards.
37385 Most of the snail mail addresses were wrong anyway, and omitting
37386 them makes the source code easier to maintain. Almost all of the
37387 changes are to license notices and to locale LC_IDENTIFICATION
37388 addresses, except for this one:
37389 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37390 not its snail mail address.
37392 2012-02-09 Richard Henderson <rth@twiddle.net>
37394 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37395 of kernel-features.h.
37397 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37399 2012-02-08 Marek Polacek <polacek@redhat.com>
37401 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37402 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37403 * sysdeps/gnu/_G_config.h: Likewise.
37404 * sysdeps/generic/_G_config.h: Likewise.
37406 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37408 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37412 * sysdeps/powerpc/powerpc32/crti.S: New file.
37413 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37414 * sysdeps/powerpc/powerpc64/crti.S: New file.
37415 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37417 * Makeconfig (have-initfini): Don't set.
37418 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37419 * configure.in (nopic_initfini): Don't substitute.
37420 * config.h.in (HAVE_INITFINI): Don't #undef.
37421 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37422 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37424 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37426 Support crti.S and crtn.S provided directly by architectures.
37427 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37428 [crti.S in sysdirs] (omit-deps): Likewise.
37429 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37430 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37431 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37432 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37433 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37434 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37435 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37436 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37437 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37438 compiler output for sysdeps/generic/initfini.c.
37439 * sysdeps/i386/elf/Makefile: Remove file.
37440 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37442 2012-02-07 Marek Polacek <polacek@redhat.com>
37444 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37445 * sysdeps/gnu/_G_config.h: Likewise.
37446 * sysdeps/mach/hurd/_G_config.h: Likewise.
37448 2012-02-07 Marek Polacek <polacek@redhat.com>
37450 * math/Makefile (tests): Add tst-CMPLX2.
37451 * math/tst-CMPLX2.c: New file.
37453 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37455 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37457 * math/libm-test.inc (jn_test): Add missing L suffix.
37459 2012-02-06 Marek Polacek <polacek@redhat.com>
37461 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37462 * sysdeps/i386/fpu/e_powf.S: Likewise.
37463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37464 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37465 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37466 * sysdeps/i386/fpu/e_pow.S: Likewise.
37467 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37468 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37469 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37470 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37471 * sysdeps/i386/fpu/e_log2.S: Likewise.
37472 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37473 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37474 * sysdeps/i386/fpu/e_powl.S: Likewise.
37475 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37476 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37477 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37478 * sysdeps/i386/fpu/e_logl.S: Likewise.
37479 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37480 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37481 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37482 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37483 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37484 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37485 * sysdeps/i386/fpu/e_log.S: Likewise.
37486 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37487 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37488 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37489 * sysdeps/i386/fpu/e_logf.S: Likewise.
37490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37491 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37492 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37493 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37494 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37495 * sysdeps/i386/fpu/e_log10.S: Likewise.
37496 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37497 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37498 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37499 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37500 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37501 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37502 * sysdeps/i386/asm-syntax.h: Likewise.
37503 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37504 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37505 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37506 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37507 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37508 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37509 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37510 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37511 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37512 * sysdeps/powerpc/sysdep.h: Likewise.
37513 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37514 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37516 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37519 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37521 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37523 * sysdeps/i386/sysdep.h: Include <features.h>.
37524 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37527 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37529 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37531 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37534 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37536 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37537 (SETUP_PIC_REG): Use GET_PC_THUNK.
37538 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37541 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37543 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37544 for non-PIC compilation.
37545 (SETUP_PIC_REG): Add .p2align directive.
37546 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37547 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37548 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37551 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37555 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37557 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37561 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37563 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37564 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37565 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37566 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37568 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37569 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37572 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37574 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37575 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37576 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37577 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37578 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37581 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37582 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37583 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37584 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37585 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37586 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37588 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37590 * math/tst-CMPLX.c: Include <stdio.h>.
37592 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37594 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37596 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37597 * sysdeps/sparc/bits/mathdef.h: Likewise.
37599 2012-01-31 Marek Polacek <polacek@redhat.com>
37601 * libio/libio.h: Don't define _PARAMS.
37602 * locale/programs/config.h: Don't define PARAMS.
37603 * stdlib/strtol_l.c: Likewise.
37604 (__strtol_l): Remove PARAMS from the prototype.
37606 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37608 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37609 names. Just use the correct names. Remove unnecessary wrapper
37611 * malloc/arena.c: Likewise.
37612 * malloc/hooks.c: Likewise.
37614 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37615 ARENA_TEST says not to. Simplify test for creation of a new arena.
37616 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37618 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37620 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37622 (update_get_addr): New function.
37623 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37624 GET_ADDR_MODULE parameter.
37626 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37628 * crypt/cert.c: Remove __STDC__ conditionals.
37629 * crypt/crypt-entry.c: Likewise.
37630 * crypt/crypt_util.c: Likewise.
37631 * libio/filedoalloc.c: Likewise.
37632 * libio/fileops.c: Likewise.
37633 * libio/genops.c: Likewise.
37634 * libio/iofclose.c: Likewise.
37635 * libio/iofdopen.c: Likewise.
37636 * libio/iofopen.c: Likewise.
37637 * libio/iofopen64.c: Likewise.
37638 * libio/iogetdelim.c: Likewise.
37639 * libio/iopopen.c: Likewise.
37640 * libio/obprintf.c: Likewise.
37641 * libio/oldfileops.c: Likewise.
37642 * libio/oldiofclose.c: Likewise.
37643 * libio/oldiofdopen.c: Likewise.
37644 * libio/oldiofopen.c: Likewise.
37645 * libio/oldiopopen.c: Likewise.
37646 * libio/wfiledoalloc.c: Likewise.
37647 * libio/wgenops.c: Likewise.
37648 * locale/programs/xmalloc.c: Likewise.
37649 * misc/syslog.c: Likewise.
37650 * stdio-common/xbug.c: Likewise.
37651 * string/memchr.c: Likewise.
37652 * string/memcmp.c: Likewise.
37653 * string/memrchr.c: Likewise.
37654 * string/rawmemchr.c: Likewise.
37655 * sysdeps/posix/getcwd.c: Likewise.
37656 * time/strftime_l.c: Likewise.
37658 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37660 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37661 * config.make.in (config-cflags-sse2avx): Define.
37662 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37665 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37667 * scripts/config.guess: Update from upstream config git repository.
37668 * scripts/config.sub: Likewise.
37670 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37672 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37674 (R_TILEPRO_*, R_TILEGX_*): New macros.
37676 * scripts/firstversions.awk: Fix bug in version range handling.
37678 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37680 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37682 * include/sys/epoll.h: New file.
37683 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37686 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37688 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37689 Avoid unnecessary __WORDSIZE == 64 test.
37690 (fmaxf): Use VEX format if possible.
37695 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37696 * math/math_private.h: Remove libc_fegetround* and
37698 * sysdeps/i386/configure.in: Check for -msse2avx.
37699 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37700 also if SSE2AVX is defined.
37701 Remove libc_fegetround* and libc_fesetround*.
37702 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37703 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37706 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37707 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37708 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37712 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37714 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37716 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37718 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37720 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37723 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37725 * Makeconfig (libm): Define.
37726 * elf/Makefile: Add rules to build and run tst-relsort1.
37727 * elf/tst-relsort1.c: New file.
37728 * elf/tst-relsort1mod1.c: New file.
37729 * elf/tst-relsort1mod2.c: New file.
37731 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37733 * math/s_ldexp.c: Remove __STDC__ conditionals.
37734 * math/s_ldexpf.c: Likewise.
37735 * math/s_ldexpl.c: Likewise.
37736 * math/s_nextafter.c: Likewise.
37737 * math/s_nexttowardf.c: Likewise.
37738 * math/s_significand.c: Likewise.
37739 * math/s_significandf.c: Likewise.
37740 * math/s_significandl.c: Likewise.
37741 * math/w_jnl.c: Likewise.
37742 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37743 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37744 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37745 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37746 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37761 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37762 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37763 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37764 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37765 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37766 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37767 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37768 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37769 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37770 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37771 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37773 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37774 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37775 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37776 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37777 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37778 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37779 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37780 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37781 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37782 * sysdeps/ieee754/k_standard.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37832 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37844 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37849 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37853 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37858 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37862 * sysdeps/ieee754/s_matherr.c: Likewise.
37863 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37864 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37868 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37870 * crypt/md5.h: Remove __STDC__ conditionals.
37871 * libio/libioP.h: Likewise.
37872 * locale/programs/config.h: Likewise.
37873 * sysdeps/generic/sysdep.h: Likewise.
37874 * sysdeps/i386/asm-syntax.h: Likewise.
37875 * sysdeps/s390/asm-syntax.h: Likewise.
37876 * sysdeps/unix/sysdep.h: Likewise.
37877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37880 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37882 * libio/libio.h: Remove __STDC__ conditionals.
37883 * malloc/obstack.h: Likewise.
37884 * math/complex.h: Likewise.
37885 * math/math.h: Likewise.
37886 * sysdeps/generic/_G_config.h: Likewise.
37887 * sysdeps/gnu/_G_config.h: Likewise.
37888 * sysdeps/mach/hurd/_G_config.h: Likewise.
37889 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37890 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37891 * sysdeps/sparc/bits/mathdef.h: Likewise.
37893 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37896 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37897 Clean up HAS_* macros.
37898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37899 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37901 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37903 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37904 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37906 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37907 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37909 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37911 * elf/tst-unique3.cc (gets): Remove declaration.
37912 * elf/tst-unique3lib.cc (gets): Likewise.
37913 * elf/tst-unique3lib2.cc (gets): Likewise.
37914 * elf/tst-unique4.cc (gets): Likewise.
37916 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37918 * include/stdio.h: Add C++ protection. Add gets declarations and
37920 * debug/tst-chk1.c: Don't declare gets here.
37921 * stdio-common/tst-gets.c: Likewise.
37923 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37925 * posix/glob: Remove directory.
37927 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37929 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37931 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37933 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37934 of the non-standard EPFNOSUPPORT.
37936 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37938 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37939 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37940 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37942 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37944 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37946 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37948 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37950 * nscd/grpcache.c (cache_addgr): Likewise.
37951 * nscd/hstcache.c (cache_addhst): Likewise.
37952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37953 * nscd/pwdcache.c (cache_addpw): Likewise.
37954 * nscd/servicescache.c (cache_addserv): Likewise.
37956 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37958 * malloc/malloc.c: Various cleanups.
37959 * malloc/hooks.c: Likewise.
37961 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37962 * stdlib/bug-fmtmsg1.c: New file.
37964 * stdlib/fmtmsg.c (init): Add missing unlock.
37965 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37967 2012-01-12 Marek Polacek <polacek@redhat.com>
37969 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37972 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37974 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37975 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37976 macro to ensure uniqueness of label name.
37977 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37978 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37980 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37982 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37984 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37985 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37986 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37989 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37993 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37994 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37995 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37997 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37999 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38000 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38001 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38004 * math/bits/math-finite.h: Add ldexp support.
38006 2012-01-10 Marek Polacek <polacek@redhat.com>
38008 * locale/programs/localedef.h (show_archive_content): Add noreturn
38011 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38013 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38015 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38017 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38019 * io/Makefile (headers): Add bits/poll2.h.
38021 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38024 typo #include statement.
38026 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38028 * include/sys/cdefs.h: Define __attribute_alloc_size.
38029 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38030 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38031 * elf/pldd.c: Likewise.
38032 * iconv/iconv_charmap.c: Likewise.
38033 * iconv/iconvconfig.c: Likewise.
38034 * iconv/strtab.c: Likewise.
38035 * locale/programs/locale.c: Likewise.
38036 * locale/programs/localedef.h: Likewise.
38037 * locale/programs/simple-hash.c: Likewise.
38038 * nscd/nscd.h: Likewise.
38039 * nss/makedb.c: Likewise.
38040 * sysdeps/generic/ldconfig.h: Likewise.
38041 * locale/programs/localedef.c: Remove xmalloc prototype.
38042 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38044 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38046 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38049 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38051 * math/Makefile (tests): Add tst-CMPLX.
38052 * math/tst-CMPLX.c: New file.
38054 * math/complex.h (CMPLXL): Fix typo.
38056 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38057 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38059 * debug/tst-chk1.c: Add poll and ppoll tests.
38060 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38061 * include/sys/poll.h: Add hidden proto for ppoll.
38062 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38063 * sysdeps/mach/hurd/ppoll.c: Likewise.
38064 * io/ppoll.c: Likewise.
38065 * debug/poll_chk.c: New file.
38066 * debug/ppoll_chk.c: New file.
38067 * include/bits/poll2.h: New file.
38068 * io/bits/poll2.h: New file.
38071 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38073 * configure.in: static is always set to yes. Remove.
38074 * config.make.in: Don't set build-static.
38075 * Makeconfig: Remove use of build-static.
38076 * dlfcn/Makefile: Likewise.
38077 * elf/Makefile: Likewise.
38078 * math/Makefile: Likewise.
38079 * misc/Makefile: Likewise.
38080 * nptl/Makefile: Likewise.
38081 * sysdeps/mach/hurd/Makefile: Likewise.
38083 * configure.in: PWD_P is not used anymore.
38084 * config.make.in: Remove PWD_P entry.
38086 * configure.in: Remove last remnants of RANLIB.
38087 No need to check for signed size_t anymore.
38088 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38090 Remove __builtin_expect test because we require at least gcc 3.4.
38091 * aclocal.m4: Likewise.
38093 * wcsmbs/mbrtoc16.c: Implement using towc function.
38094 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38095 * wcsmbs/wcsmbsload.c: Likewise.
38096 * iconv/gconv_simple.c: Likewise.
38097 * iconv/gconv_int.h: Likewise.
38098 * iconv/gconv_builtin.h: Likewise.
38099 * iconv/iconv_prog.c: Remove CHAR16 handling.
38101 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38103 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38105 * configure.in: Remove --with-elf and --enable-bounded options.
38106 Dont set base_machine for ia64. More non-ELF conditions removed.
38107 Remove testing and setting of leading underscore information.
38108 * config.make.in (build-bounded): Set to no.
38109 * config.h.in: Remove NO_UNDERSCORES entry.
38110 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38112 * csu/start.c: Remove !NO_UNDERSCORE code.
38113 * locale/localeinfo.h: Likewise.
38114 * sysdeps/generic/machine-gmon.h: Likewise.
38115 * sysdeps/generic/sysdep.h: Likewise.
38116 * sysdeps/i386/sysdep.h: Likewise.
38117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38118 * sysdeps/mach/sysdep.h: Likewise.
38119 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38121 * sysdeps/sh/sysdep.h: Likewise.
38122 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38123 * sysdeps/unix/i386/sysdep.S: Likewise.
38124 * sysdeps/unix/sparc/start.c: Likewise.
38125 * sysdeps/unix/sparc/sysdep.S: Likewise.
38126 * sysdeps/unix/sparc/sysdep.h: Likewise.
38127 * sysdeps/unix/start.c: Likewise.
38128 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38129 * sysdeps/x86_64/sysdep.h: Likewise.
38131 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38134 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38136 * argp/argp-fmtstream.h: Use const instead __const.
38137 * argp/argp.h: Likewise.
38138 * assert/assert.h: Likewise.
38139 * bits/fenv.h: Likewise.
38140 * bits/sched.h: Likewise.
38141 * bits/sigset.h: Likewise.
38142 * bits/sigthread.h: Likewise.
38143 * catgets/nl_types.h: Likewise.
38144 * conform/data/pthread.h-data: Likewise.
38145 * crypt/crypt-private.h: Likewise.
38146 * crypt/crypt.h: Likewise.
38147 * crypt/crypt_util.c: Likewise.
38148 * ctype/ctype.h: Likewise.
38149 * debug/execinfo.h: Likewise.
38150 * debug/mbsnrtowcs_chk.c: Likewise.
38151 * debug/mbsrtowcs_chk.c: Likewise.
38152 * debug/wcsnrtombs_chk.c: Likewise.
38153 * debug/wcsrtombs_chk.c: Likewise.
38154 * debug/wcstombs_chk.c: Likewise.
38155 * dirent/dirent.h: Likewise.
38156 * dlfcn/dlfcn.h: Likewise.
38157 * elf/neededtest4.c: Likewise.
38158 * grp/grp.h: Likewise.
38159 * gshadow/gshadow.h: Likewise.
38160 * iconv/gconv.h: Likewise.
38161 * iconv/gconv_int.h: Likewise.
38162 * iconv/gconv_simple.c: Likewise.
38163 * iconv/iconv.h: Likewise.
38164 * iconv/loop.c: Likewise.
38165 * iconv/skeleton.c: Likewise.
38166 * include/aio.h: Likewise.
38167 * include/aliases.h: Likewise.
38168 * include/argz.h: Likewise.
38169 * include/arpa/inet.h: Likewise.
38170 * include/assert.h: Likewise.
38171 * include/dirent.h: Likewise.
38172 * include/dlfcn.h: Likewise.
38173 * include/execinfo.h: Likewise.
38174 * include/fcntl.h: Likewise.
38175 * include/fenv.h: Likewise.
38176 * include/glob.h: Likewise.
38177 * include/grp.h: Likewise.
38178 * include/libintl.h: Likewise.
38179 * include/mntent.h: Likewise.
38180 * include/netdb.h: Likewise.
38181 * include/pwd.h: Likewise.
38182 * include/rpc/netdb.h: Likewise.
38183 * include/sched.h: Likewise.
38184 * include/search.h: Likewise.
38185 * include/shadow.h: Likewise.
38186 * include/signal.h: Likewise.
38187 * include/stdio.h: Likewise.
38188 * include/stdlib.h: Likewise.
38189 * include/string.h: Likewise.
38190 * include/sys/socket.h: Likewise.
38191 * include/sys/stat.h: Likewise.
38192 * include/sys/statfs.h: Likewise.
38193 * include/sys/statvfs.h: Likewise.
38194 * include/sys/syslog.h: Likewise.
38195 * include/sys/time.h: Likewise.
38196 * include/sys/uio.h: Likewise.
38197 * include/time.h: Likewise.
38198 * include/unistd.h: Likewise.
38199 * include/utmp.h: Likewise.
38200 * include/wchar.h: Likewise.
38201 * include/wctype.h: Likewise.
38202 * inet/aliases.h: Likewise.
38203 * inet/arpa/inet.h: Likewise.
38204 * inet/netinet/ether.h: Likewise.
38205 * inet/netinet/in.h: Likewise.
38206 * intl/libintl.h: Likewise.
38207 * io/bits/fcntl2.h: Likewise.
38208 * io/fcntl.h: Likewise.
38209 * io/ftw.h: Likewise.
38210 * io/sys/poll.h: Likewise.
38211 * io/sys/stat.h: Likewise.
38212 * io/sys/statfs.h: Likewise.
38213 * io/sys/statvfs.h: Likewise.
38214 * io/utime.h: Likewise.
38215 * libio/bits/stdio.h: Likewise.
38216 * libio/bits/stdio2.h: Likewise.
38217 * libio/libio.h: Likewise.
38218 * libio/libioP.h: Likewise.
38219 * libio/stdio.h: Likewise.
38220 * locale/lc-ctype.c: Likewise.
38221 * locale/locale.h: Likewise.
38222 * login/utmp.h: Likewise.
38223 * malloc/arena.c: Likewise.
38224 * malloc/malloc.c: Likewise.
38225 * malloc/malloc.h: Likewise.
38226 * malloc/mcheck.c: Likewise.
38227 * malloc/mtrace.c: Likewise.
38228 * math/bits/mathcalls.h: Likewise.
38229 * math/fenv.h: Likewise.
38230 * math/math_private.h: Likewise.
38231 * misc/bits/error.h: Likewise.
38232 * misc/bits/syslog.h: Likewise.
38233 * misc/err.h: Likewise.
38234 * misc/error.h: Likewise.
38235 * misc/fstab.h: Likewise.
38236 * misc/mntent.h: Likewise.
38237 * misc/regexp.h: Likewise.
38238 * misc/search.h: Likewise.
38239 * misc/sgtty.h: Likewise.
38240 * misc/sys/mman.h: Likewise.
38241 * misc/sys/syslog.h: Likewise.
38242 * misc/sys/uio.h: Likewise.
38243 * misc/sys/xattr.h: Likewise.
38244 * misc/ttyent.h: Likewise.
38245 * nis/rpcsvc/ypclnt.h: Likewise.
38246 * nss/nss.h: Likewise.
38247 * posix/bits/unistd.h: Likewise.
38248 * posix/fnmatch.h: Likewise.
38249 * posix/glob.h: Likewise.
38250 * posix/sched.h: Likewise.
38251 * posix/spawn.h: Likewise.
38252 * posix/sys/wait.h: Likewise.
38253 * posix/unistd.h: Likewise.
38254 * posix/wordexp.h: Likewise.
38255 * pwd/pwd.h: Likewise.
38256 * resolv/netdb.h: Likewise.
38257 * resource/sys/resource.h: Likewise.
38258 * rt/aio.h: Likewise.
38259 * rt/bits/mqueue2.h: Likewise.
38260 * rt/mqueue.h: Likewise.
38261 * shadow/shadow.h: Likewise.
38262 * signal/signal.h: Likewise.
38263 * socket/send.c: Likewise.
38264 * socket/sendto.c: Likewise.
38265 * socket/sys/socket.h: Likewise.
38266 * stdio-common/printf.h: Likewise.
38267 * stdlib/bits/stdlib.h: Likewise.
38268 * stdlib/fmtmsg.h: Likewise.
38269 * stdlib/monetary.h: Likewise.
38270 * stdlib/stdlib.h: Likewise.
38271 * stdlib/ucontext.h: Likewise.
38272 * streams/stropts.h: Likewise.
38273 * string/argz.h: Likewise.
38274 * string/bits/string2.h: Likewise.
38275 * string/string.h: Likewise.
38276 * string/strings.h: Likewise.
38277 * sunrpc/rpc/auth.h: Likewise.
38278 * sunrpc/rpc/auth_des.h: Likewise.
38279 * sunrpc/rpc/clnt.h: Likewise.
38280 * sunrpc/rpc/netdb.h: Likewise.
38281 * sunrpc/rpc/pmap_clnt.h: Likewise.
38282 * sunrpc/rpc/xdr.h: Likewise.
38283 * sysdeps/generic/inttypes.h: Likewise.
38284 * sysdeps/generic/net/if.h: Likewise.
38285 * sysdeps/generic/sys/swap.h: Likewise.
38286 * sysdeps/gnu/net/if.h: Likewise.
38287 * sysdeps/gnu/utmpx.h: Likewise.
38288 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38289 * sysdeps/i386/i486/bits/string.h: Likewise.
38290 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38291 * sysdeps/s390/bits/string.h: Likewise.
38292 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38293 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38294 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38295 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38296 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38297 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38298 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38299 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38300 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38301 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38302 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38303 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38304 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38305 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38306 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38307 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38308 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38310 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38312 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38313 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38314 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38315 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38316 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38317 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38318 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38320 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38322 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38323 * sysvipc/sys/ipc.h: Likewise.
38324 * sysvipc/sys/msg.h: Likewise.
38325 * sysvipc/sys/sem.h: Likewise.
38326 * sysvipc/sys/shm.h: Likewise.
38327 * termios/termios.h: Likewise.
38328 * time/sys/time.h: Likewise.
38329 * time/time.h: Likewise.
38330 * wcsmbs/bits/wchar2.h: Likewise.
38331 * wcsmbs/uchar.h: Likewise.
38332 * wcsmbs/wchar.h: Likewise.
38333 * wctype/wctype.h: Likewise.
38336 * Makeconfig: Remove all but ELF support including AIX support.
38337 * Makerules: Likewise.
38338 * config.h.in: Likewise.
38339 * config.make.in: Likewise.
38340 * configure: Likewise.
38341 * configure.in: Likewise.
38342 * csu/Makefile: Likewise.
38343 * csu/version.c: Likewise.
38344 * debug/Makefile: Likewise.
38345 * dlfcn/Makefile: Likewise.
38346 * elf/Makefile: Likewise.
38347 * extra-lib.mk: Likewise.
38348 * iconv/Makefile: Likewise.
38349 * include/libc-symbols.h: Likewise.
38350 * include/shlib-compat.h: Likewise.
38351 * resolv/Makefile: Likewise.
38352 * resolv/res_libc.c: Likewise.
38353 * rt/Makefile: Likewise.
38354 * sysdeps/i386/asm-syntax.h: Likewise.
38355 * sysdeps/i386/sysdep.h: Likewise.
38356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38357 * sysdeps/mach/sysdep.h: Likewise.
38358 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38359 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38360 * sysdeps/s390/asm-syntax.h: Likewise.
38361 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38362 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38363 * sysdeps/sh/sysdep.h: Likewise.
38364 * sysdeps/unix/sparc/sysdep.h: Likewise.
38365 * sysdeps/wordsize-32/divdi3.c: Likewise.
38366 * sysdeps/x86_64/sysdep.h: Likewise.
38368 * argp/Versions: Remove _argp_unlock_xxx.
38371 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38372 * abilist/libBrokenLocale.abilist: Likewise.
38373 * abilist/libanl.abilist: Likewise.
38374 * abilist/libc.abilist: Likewise.
38375 * abilist/libcrypt.abilist: Likewise.
38376 * abilist/libdl.abilist: Likewise.
38377 * abilist/libm.abilist: Likewise.
38378 * abilist/libnsl.abilist: Likewise.
38379 * abilist/libpthread.abilist: Likewise.
38380 * abilist/libresolv.abilist: Likewise.
38381 * abilist/librt.abilist: Likewise.
38382 * abilist/libthread_db.abilist: Likewise.
38383 * abilist/libutil.abilist: Likewise.
38384 * abilist/libnss_db.abilist: New file.
38386 * scripts/abilist.awk: Add support for indirect functions.
38388 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38390 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38392 * shlib-versions: Remove entries for ports architectures.
38394 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38396 * elf/stackguard-macros.h: Remove support for IA-64.
38397 * elf/tst-auditmod1.c: Likewise.
38398 * sysdeps/generic/ldsodefs.h: Likewise.
38400 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38401 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38405 * configure.in: Remove --enable-omitfp support.
38407 * config.make.in: Likewise.
38408 * Makeconfig: Likewise.
38409 * manual/install.texi: Likewise.
38411 In case anyone cares, the IA-64 architecture could move to ports.
38412 * sysdeps/ia64/*: Removed.
38413 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38414 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38417 * configure.in: Remove entries for unsupported architectures.
38420 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38421 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38423 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38424 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38425 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38426 fall back to using wcrtomb.
38427 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38428 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38430 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38431 * wcsmbs/tst-c16c32-1.c: New file.
38433 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38436 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38438 * elf/tst-unique3.cc: Add explicit declaration of gets.
38439 * elf/tst-unique3lib.cc: Likewise.
38440 * elf/tst-unique3lib2.cc: Likewise.
38441 * elf/tst-unique4.cc: Likewise.
38443 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38445 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38448 * assert/assert.h (static_assert): Don't define for C++.
38449 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38450 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38452 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38454 * iconv/loop.c (single loop): Fix assertion in storing of
38457 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38459 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38461 * posix/getconf.c: Update copyright year.
38462 * nss/getent.c: Likewise.
38463 * nss/makedb.c: Likewise.
38464 * iconv/iconvconfig.c: Likewise.
38465 * iconv/iconv_prog.c: Likewise.
38466 * elf/ldconfig.c: Likewise.
38467 * elf/pldd.c: Likewise.
38468 * elf/sotruss.ksh: Likewise.
38469 * catgets/gencat.c: Likewise.
38470 * csu/version.c: Likewise.
38471 * elf/ldd.bash.in: Likewise.
38472 * elf/sprof.c (print_version): Likewise.
38473 * locale/programs/locale.c: Likewise.
38474 * locale/programs/localedef.c: Likewise.
38475 * login/programs/pt_chown.c: Likewise.
38476 * nscd/nscd.c (print_version): Likewise.
38477 * debug/xtrace.sh: Likewise.
38478 * malloc/memusage.sh: Likewise.
38479 * malloc/mtrace.pl: Likewise.
38480 * debug/catchsegv.sh: Likewise.
38482 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38484 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38487 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38490 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38491 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38493 * iconv/gconv_int.h: Likewise.
38494 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38495 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38496 from libc for GLIBC_2.16.
38497 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38498 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38499 * wcsmbs/uchar.h: Really define mbstate_t.
38500 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38501 * wcsmbs/c16rtomb.c: New file.
38502 * wcsmbs/mbrtoc16.c: New file.
38503 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38504 for C/POSIX locale.
38505 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38506 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38508 * wcsmbs/wchar.h: Add missing __restrict.
38510 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38513 * time/Makefile (routines): Add timespec_get.
38514 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38515 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38516 timespec for ISO C11.
38517 * time/timespec_get.c: New file.
38518 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38519 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38522 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38523 * stdlib/stdlib.h: Declare aligned_alloc.
38524 * Versions.def: Add GLIBC_2.16 for libc.
38525 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38528 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38531 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38535 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38538 * assert/assert.h (static_assert): Define.
38540 * version.h: Update for 2.16 development version.
38543 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38546 * version.h (RELEASE): Bump for 2.15 release.
38547 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38549 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38550 Patch by Marek Polacek <mpolacek@redhat.com>.
38552 * bits/byteswap.h: Protect long long constants with __extension__.
38553 * sysdeps/i386/bits/byteswap.h: Likewise.
38554 * sysdeps/ia64/bits/byteswap.h: Likewise.
38555 * sysdeps/s390/bits/byteswap.h: Likewise.
38556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38558 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38561 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38562 destination buffer.
38563 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38565 2011-12-23 Marek Polacek <polacek@redhat.com>
38567 * elf/dl-addr.c (determine_info): Add inline keyword.
38568 * elf/tst-auditmod4b.c (check_avx): Likewise.
38569 * elf/tst-auditmod6b.c (check_avx): Likewise.
38570 * elf/tst-auditmod6c.c (check_avx): Likewise.
38571 * elf/tst-auditmod7b.c (check_avx): Likewise.
38573 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38575 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38578 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38581 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38582 processing for last bytes.
38584 2011-08-06 Bruno Haible <bruno@clisp.org>
38587 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38588 U+0385, not to U+1FEE.
38591 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38592 entry for U+00A5 U+0301.
38594 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38597 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38598 buffer for the output is too small.
38600 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38604 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38605 SSE flags if possible.
38607 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38611 processing for last bytes.
38613 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38615 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38616 (syscall-list-default-options, syscall-list-default-condition)
38617 (syscall-list-includes): Define.
38618 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38619 list of ABIs and options and #if conditions for each ABI. Do not
38620 handle common syscalls between ABIs specially.
38621 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38623 (syscall-list-variants, syscall-list-32bit-options)
38624 (syscall-list-32bit-condition, syscall-list-64bit-options)
38625 (syscall-list-64bit-condition): Define.
38626 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38627 (syscall-list-variants, syscall-list-32bit-options)
38628 (syscall-list-32bit-condition, syscall-list-64bit-options)
38629 (syscall-list-64bit-condition): Define.
38630 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38632 (syscall-list-variants, syscall-list-32bit-options)
38633 (syscall-list-32bit-condition, syscall-list-64bit-options)
38634 (syscall-list-64bit-condition): Define.
38635 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38637 (syscall-list-variants, syscall-list-32bit-options)
38638 (syscall-list-32bit-condition, syscall-list-64bit-options)
38639 (syscall-list-64bit-condition): Define.
38641 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38643 * locale/iso-639.def: Add brx entry.
38646 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38647 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38649 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38650 __feraiseexcept_renamed.
38652 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38655 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38656 EPOLLET with unsigned values.
38657 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38660 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38661 to large cancellation.
38662 * math/s_cacoshf.c: Likewise.
38663 * math/s_cacoshl.c: Likewise.
38665 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38669 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38670 * math/s_cacoshf.c: Likewise.
38671 * math/s_cacoshl.c: Likewise.
38673 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38676 * iconv/gconv.h: Define __GCONV_SWAP.
38677 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38678 * iconvdata/utf-16.c: Likewise.
38679 * iconvdata/utf-32.c: Likewise.
38681 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38684 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38685 numerator after shifting it by one limb.
38687 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38689 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38690 under [__USE_EXTERN_INLINES].
38692 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38695 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38697 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38699 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38700 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38702 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38703 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38704 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38705 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38706 for strncasecmp/strncasecmp_l compilation.
38707 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38708 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38710 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38713 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38716 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38719 * time/tzfile.c (__tzfile_read): Check values from file header.
38721 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38723 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38724 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38725 * powerpc/powerpc32/dl-start.S: Likewise.
38726 * powerpc/powerpc32/elf/start.S: Likewise.
38727 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38728 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38729 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38730 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38731 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38732 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38733 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38734 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38735 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38736 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38737 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38738 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38739 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38740 * powerpc/powerpc32/memset.S: Likewise.
38741 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38742 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38743 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38744 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38745 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38746 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38747 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38748 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38749 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38750 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38751 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38752 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38753 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38755 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38757 * math/libm-test.inc: Added more nearbyint tests.
38758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38763 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38765 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38768 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38770 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38771 Add wcscpy-ssse3 wcscpy-c.
38772 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38773 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38774 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38775 * sysdeps/x86_64/wcschr.S: New file.
38776 * sysdeps/x86_64/wcsrchr.S: New file.
38777 * string/test-strcmp.c: Remove checking of wcscmp function for
38779 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38780 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38781 wcsrchr-sse2 wcsrchr-c.
38782 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38783 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38784 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38785 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38786 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38787 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38788 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38789 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38790 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38791 * wcsmbc/wcschr.c (WCSCHR): New macro.
38793 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38795 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38796 * wcsmbs/test-wcsrchr.c: New file.
38797 * string/test-strrchr.c: Add wcsrchr support.
38799 * wcsmbs/test-wcscpy.c: New file.
38800 * string/test-strcpy.c: Add wcscpy support.
38803 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38805 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38808 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38811 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38813 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38815 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38816 Minor optimizations.
38818 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38819 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38820 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38822 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38824 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38825 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38826 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38827 for gcc to avoid warnings.
38828 * inet/Makefile (tests): Add tst-checks.
38829 * inet/tst-checks.c: New file.
38831 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38834 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38837 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38838 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38840 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38842 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38844 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38847 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38849 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38851 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38852 conditional on GCC version.
38853 (__arch_compare_and_exchange_val_8_acq)
38854 (__arch_compare_and_exchange_val_16_acq)
38855 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38856 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38857 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38859 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38861 * sysdeps/sh/backtrace.c: New file.
38863 2011-12-02 Andreas Schwab <schwab@redhat.com>
38865 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38868 2011-12-01 Andreas Schwab <schwab@redhat.com>
38870 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38871 falling back to utime.
38873 2011-11-30 Andreas Schwab <schwab@redhat.com>
38875 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38876 expectations for float.
38878 2011-11-29 Andreas Schwab <schwab@redhat.com>
38880 * locale/weight.h (findidx): Add parameter len.
38881 * locale/weightwc.h (findidx): Likewise.
38882 * posix/fnmatch_loop.c (FCT): Adjust caller.
38883 * posix/regcomp.c (build_equiv_class): Likewise.
38884 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38885 * posix/regexec.c (check_node_accept_bytes): Likewise.
38886 * string/strcoll_l.c (STRCOLL): Likewise.
38887 * string/strxfrm_l.c (STRXFRM): Likewise.
38889 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38891 * Makefile.in: Remove CVSOPT handling.
38892 * configure.in: Remove use of AC_REVISION.
38893 * iconvdata/Makefile (distribute): No need to filter out CVS.
38894 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38897 2011-11-16 Andreas Schwab <schwab@redhat.com>
38899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38900 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38901 [USE_AS_STRNCASECMP_L]: Likewise.
38902 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38903 NO_TLS_DIRECT_SEG_REFS.
38904 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38905 Fix argument offsets for non-PIC.
38906 [USE_AS_STRNCASECMP_L]: Likewise.
38907 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38908 NO_TLS_DIRECT_SEG_REFS.
38910 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38912 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38914 * locale/loadlocale.c (_nl_load_locale): Likewise.
38916 2011-11-15 Andreas Schwab <schwab@redhat.com>
38918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38919 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38921 (SYSCALL_GETTIME): Set errno on error.
38923 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38924 count references to noai6ai_cached.
38926 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38928 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38930 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38931 FD_CLOEXEC for /proc/self/maps.
38933 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38934 FD_CLOEXEC for /proc/meminfo.
38936 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38939 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38940 FD_CLOEXEC for given file.
38942 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38944 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38945 FD_CLOEXEC for /etc/hosts.
38946 (_gethtent): Likewise.
38948 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38950 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38951 cancellation and set FD_CLOEXEC for /etc/netgroup.
38953 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38954 reading /etc/publickey.
38956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38957 allow cancellation when reading /etc/group.
38959 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38961 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38963 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38964 when using data file.
38966 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38968 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38969 (write_nis_obj): Use "c" and "e" in fopen.
38971 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38973 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38975 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38977 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38979 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38982 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38984 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38986 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38988 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38989 file parsing and set FD_CLOEXEC.
38991 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38993 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38995 2011-11-14 Andreas Schwab <schwab@redhat.com>
38997 * malloc/arena.c (arena_get2): Don't call reused_arena when
38998 _int_new_arena failed.
39000 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39002 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39003 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39004 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39007 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39008 to compile strcasecmp and strncasecmp.
39009 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39010 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39014 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39016 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39017 locale-defines.sym to gen-as-const-headers.
39018 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39019 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39021 to compile strcasecmp and strncasecmp.
39022 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39023 strcasecmp_l and strncasecmp_l.
39024 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39025 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39026 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39027 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39028 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39029 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39030 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39031 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39032 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39033 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39034 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39036 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39038 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39039 result of SYSDEP_GETTIME_CPU to retval.
39040 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39041 parameter list to macro. Remove trailing semicolon. Adjust users.
39043 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39046 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39048 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39050 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39051 from unused variable.
39053 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39055 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39058 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39061 * sunrpc/rpc_prot.c (rejected): Fix case value.
39063 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39064 unsigned long long int to avoid warnings in shift.
39066 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39068 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39071 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39072 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39073 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39075 * nis/nis_table.c (nis_list): Use variable of correct type for
39076 result of __follow_path call.
39078 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39080 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39081 of math functions ceil, trunc, floor, round, and sqrt, when
39082 avaliable on the platform.
39083 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39085 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39086 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39087 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39089 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39091 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39092 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39094 2011-11-11 Roland McGrath <roland@hack.frob.com>
39096 * include/unistd.h: Fix __readlink return type.
39097 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39099 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39101 * stdlib/ucontext.h: Undo last change for makecontext.
39103 2011-11-11 Andreas Schwab <schwab@redhat.com>
39105 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39107 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39108 * setjmp/setjmp.h: Mark functions as non-leaf.
39109 * setjmp/bits/setjmp2.h: Likewise.
39110 * stdlib/ucontext.h: Likewise.
39112 2011-11-10 Andreas Schwab <schwab@redhat.com>
39114 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39115 (reused_arena): Don't check arena limit.
39116 (arena_get2): Atomically check arena limit.
39118 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39120 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39121 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39126 2011-11-07 Andreas Schwab <schwab@redhat.com>
39128 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39129 handler when locking.
39131 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39132 Fix size of allocated buffer.
39134 2011-11-04 Andreas Schwab <schwab@redhat.com>
39137 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39138 declarations for long double functions.
39139 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39141 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39143 2011-11-03 Andreas Schwab <schwab@redhat.com>
39145 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39148 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39151 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39153 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39155 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39157 * include/alloca.h (stackinfo_alloca_round): Define.
39158 (extend_alloca): Use it.
39159 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39160 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39163 * scripts/check-local-headers.sh: Ignore libaudit.h.
39165 * nscd/Makefile (extra-objs): Make recursively expanded.
39167 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39169 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39172 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39173 * posix/tst-rfc3484-2.c: Likewise.
39174 * posix/tst-rfc3484-3.c: Likewise.
39176 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39178 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39180 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39181 process_vm_writev from libc using GLIBC_2.15 version.
39183 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39185 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39187 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39190 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39193 * nss/getent.c (initgroups_keys): Show error message in case no group
39196 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39197 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39198 __bump_nl_timestamp.
39199 * nscd/connections (nscd_init): When host database is served open
39200 netlink socket and request notification about configuration changes.
39201 (main_loop_poll): Track netlink file descriptor and bump timestamp
39202 in case data becomes available.
39203 (main_loop_epoll): Likewise.
39204 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39205 (database_pers_head): Add extra_data fileds.
39206 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39208 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39211 in6ai data, call __free_in6ai.
39212 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39213 Add -DHAVE_NETLINK.
39214 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39215 interface information. Reuse previous data if netlink timestamp
39217 (__bump_nl_timestamp): New function.
39218 (__free_in6ai): New function.
39220 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39222 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39223 close_not_cancel_no_status here.
39224 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39226 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39229 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39232 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39233 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39234 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39236 2011-07-03 Andreas Jaeger <aj@suse.de>
39239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39240 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39241 * math/libm-test.inc (sin_test): Add test case.
39243 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39246 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39247 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39249 * elf/chroot_canon.c (chroot_canon): Cleanups.
39251 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39254 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39255 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39257 * string/test-strchr.c: Make usable for strchrnul testing.
39258 * string/test-strchrnul.c: New file.
39259 * string/Makefile (strop-tests): Add strchrnul.
39261 * po/it.po: Update from translation team.
39262 * po/es.po: Likewise.
39264 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39266 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39267 the three constants needed as parameters. Drop the others.
39268 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39269 __m128i_strloadu_tolower.
39270 Create and initialize variable zero and use it in all the places
39271 where _mm_setzero_si128 was used.
39273 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39274 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39275 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39276 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39278 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39279 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39280 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39281 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39282 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39283 __mpranred, __mptan.
39284 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39285 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39286 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39287 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39288 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39289 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39291 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39292 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39294 2011-10-28 Andreas Schwab <schwab@redhat.com>
39296 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39297 redefine if SHARED.
39298 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39301 wide char related routines to wcsmbs subdir.
39303 2011-10-27 Andreas Schwab <schwab@redhat.com>
39306 * misc/sys/cdefs.h (__THROWNL): Define.
39307 * posix/unistd.h: Use __THREADNL instead of __THREAD
39308 for memory synchronization functions.
39310 2011-10-26 Roland McGrath <roland@hack.frob.com>
39313 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39315 * manual/stdio.texi (Obstack Streams): Node removed.
39317 2011-10-26 Andreas Schwab <schwab@redhat.com>
39319 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39320 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39323 * math/math_private.h (math_force_eval): Allow non-addressable
39325 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39327 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39329 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39330 file is not needed.
39332 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39339 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39341 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39342 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39343 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39344 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39345 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39346 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39347 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39349 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39350 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39351 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39352 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39354 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39355 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39356 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39358 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39359 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39361 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39362 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39365 place. Use VEX encoding when compiling for AVX.
39367 2011-10-25 Andreas Schwab <schwab@redhat.com>
39369 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39370 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39372 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39374 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39376 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39377 useless if() expression.
39378 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39379 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39380 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39382 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39383 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39384 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39386 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39387 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39389 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39390 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39391 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39392 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39394 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39395 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39396 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39398 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39400 2011-10-25 Andreas Schwab <schwab@redhat.com>
39402 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39404 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39406 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39408 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39409 .text section. Avoid duplicate constants.
39410 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39420 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39422 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39425 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39427 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39434 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39435 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39436 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39437 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39439 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39440 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39441 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39442 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39443 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39444 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39445 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39446 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39447 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39448 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39449 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39450 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39456 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39458 * sysdeps/x86_64/dla.h: Move to ...
39459 * sysdeps/x86_64/fpu/dla.h: ...here.
39460 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39461 situations. Use __builtin_fma only for gcc 4.6 and up.
39463 * config.make.in: Add have-mfma4 entry.
39464 * configure.in: Substitute libc_cv_cc_fma4.
39465 * math/Makefile (dbl-only-routines): Add sincostab.
39466 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39467 Use __sincostab not sincos.
39468 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39475 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39476 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39477 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39478 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39480 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39481 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39483 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39484 define aliases when function name is a macro.
39485 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39486 sysdeps/ieee754/dbl-64/sincos.tbl.
39487 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39488 fma4-enabled routines.
39489 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39490 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39491 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39492 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39494 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39496 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39498 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39499 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39500 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39501 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39502 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39504 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39505 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39506 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39507 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39509 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39510 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39511 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39512 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39514 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39515 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39516 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39517 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39518 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39520 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39531 2011-10-24 Andreas Schwab <schwab@redhat.com>
39533 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39535 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39537 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39539 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39541 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39543 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39544 Remove unused variable magic_bits.
39545 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39547 * string/strnlen.c: Define and use STRNLEN macro.
39548 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39549 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39551 * wcsmbs/wcslen.c: Define and use WCSLEN.
39552 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39553 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39554 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39555 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39556 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39557 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39558 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39560 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39563 strnlen-sse2-no-bsf.
39564 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39566 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39567 Add strnlen support.
39568 (USE_AS_STRNLEN): New macro.
39569 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39570 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39571 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39572 * sysdeps/x86_64/wcslen.S: New file.
39574 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39577 XMM-moves are used for copying on small sizes.
39579 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39581 * wcsmbs/Makefile (strop-tests): Add wcschr.
39582 * wcsmbs/test-wcschr.c: New file.
39583 * string/test-strchr.c: Update.
39584 Add wcschr support.
39587 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39589 * wcsmbs/Makefile (strop-tests): Add wcslen.
39590 * wcsmbs/test-wcslen.c: New file.
39591 * string/test-strlen.c: Update.
39592 Add wcslen support.
39595 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39597 * po/it.po: Update from translation team.
39599 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39601 * sysdeps/x86_64/wcscmp.S: Update.
39602 Fix wrong comparison semantics.
39603 wcscmp shall use signed comparison not unsigned.
39604 Don't use substraction to avoid overflow bug.
39605 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39606 * wcsmbc/wcscmp.c: Likewise.
39607 * string/test-strcmp.c: Likewise.
39608 Add new tests to check cases with negative values.
39610 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39612 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39613 * sysdeps/x86_64/dla.h: ...here. New file.
39614 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39624 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39627 __ynl_finite aliases.
39629 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39633 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39635 [DLA_FMA] (EMULV): Use DLA_FMA.
39636 [DLA_FMA] (MUL12): Use EMULV.
39637 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39638 that are not needed.
39639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39647 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39649 * math/s_nan.c: Undef __nan.
39650 * math/s_nanf.c: Undef __nanf.
39651 * math/s_nanl.c: Undef __nanl.
39652 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39655 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39657 * math/s_catan.c: Add branch predictions.
39658 * math/s_catanf.c: Likewise.
39659 * math/s_catanh.c: Likewise.
39660 * math/s_catanhf.c: Likewise.
39661 * math/s_catanhl.c: Likewise.
39662 * math/s_catanl.c: Likewise.
39663 * math/s_cexp.c: Likewise.
39664 * math/s_cexpf.c: Likewise.
39665 * math/s_cexpl.c: Likewise.
39666 * math/s_clog.c: Likewise.
39667 * math/s_clog10.c: Likewise.
39668 * math/s_clog10f.c: Likewise.
39669 * math/s_clog10l.c: Likewise.
39670 * math/s_clogf.c: Likewise.
39671 * math/s_clogl.c: Likewise.
39672 * math/s_csqrt.c: Likewise.
39673 * math/s_csqrtf.c: Likewise.
39674 * math/s_csqrtl.c: Likewise.
39675 * math/s_ctanf.c: Likewise.
39676 * math/s_ctanh.c: Likewise.
39677 * math/s_ctanhf.c: Likewise.
39678 * math/s_ctanhl.c: Likewise.
39679 * math/s_ctanl.c: Likewise.
39681 * math/math_private.h: Define __nan, __nanf, __nanl.
39682 * math/s_cacosh.c: Include <math_private.h>.
39683 * math/s_cacoshl.c: Likewise.
39684 * math/s_casinh.c: Likewise.
39685 * math/s_casinhf.c: Likewise.
39686 * math/s_casinhl.c: Likewise.
39687 * math/s_ccos.c: Rely entire on ccosh.
39688 * math/s_ccosf.c: Rely entire on ccoshf.
39689 * math/s_ccosl.c: Rely entirely on ccoshl.
39690 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39691 Remove tests for FE_INVALID.
39692 * math/s_ccoshf.c: Likewise.
39693 * math/s_ccoshl.c: Likewise.
39694 * math/s_csin.c: Likewise.
39695 * math/s_csinf.c: Likewise.
39696 * math/s_csinh.c Likewise.
39697 * math/s_csinhf.c: Likewise.
39698 * math/s_csinhl.c: Likewise.
39699 * math/s_csinl.c: Likewise.
39700 * math/s_ctan.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39702 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39703 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39705 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39708 compilation problems.
39710 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39713 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39715 * sysdeps/i386/configure.in: Test for -mfma4 option.
39716 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39717 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39718 COMMON_CPUID_INDEX_80000001.
39719 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39720 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39721 use it if FMA3 is not supported.
39722 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39724 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39725 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39727 2011-10-20 Andreas Schwab <schwab@redhat.com>
39730 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39731 it would create a cycle with a link time dependency.
39733 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39735 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39737 * string/Makefile (strop-tests): Add rawmemchr.
39738 * string/test-rawmemchr.c: New file.
39740 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39742 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39743 when compiling str{,n}casecmp and when AVX is available. Hook up
39744 new optimized code in initializers.
39746 2011-10-19 Andreas Schwab <schwab@redhat.com>
39748 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39749 __feraiseexcept instead of feraiseexcept.
39751 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39753 * math/math_private.h: Define defaults for libc_fetestexcept and
39755 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39756 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39757 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39758 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39759 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39760 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39761 libc_fetestexcept and libc_feupdateenv.
39763 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39764 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39765 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39766 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39767 libc_feholdexcept_setround.
39769 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39770 Add s_nearbyint-c and s_nearbyintf-c.
39771 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39772 nearbyintf inlines.
39773 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39776 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39778 * math/math_private.h: Define defaults for libc_fegetround,
39779 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39780 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39781 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39782 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39783 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39784 standard functions.
39785 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39786 Remove comments and hacks for old compiler versions.
39787 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39788 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39789 libc_feholdexceptl.
39791 2011-10-18 Andreas Schwab <schwab@redhat.com>
39793 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39794 (__feraiseexcept_renamed): Add __NTH.
39795 (feraiseexcept): Add __NTH. Rename local variables to fix
39796 namespace violations.
39798 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39800 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39802 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39804 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39805 recently added interfaces.
39806 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39808 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39809 about macro parameter expansion.
39811 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39812 __NO_MATH_INLINES is defined. Cleanups.
39814 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39815 and __floorf is target has SSE4.1.
39816 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39817 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39818 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39821 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39823 (floorf): Likewise.
39825 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39827 2011-10-17 Andreas Schwab <schwab@redhat.com>
39829 * misc/sys/cdefs.h: Fix last change.
39831 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39834 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39836 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39838 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39839 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39840 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39843 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39845 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39846 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39847 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39848 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39849 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39850 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39851 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39852 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39853 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39854 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39855 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39856 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39857 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39858 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39859 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39861 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39862 ceil, ceilf, floor, floorf.
39864 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39865 Perform IRELATIVE relocations last.
39867 * elf/do-rel.h: Add another parameter nrelative, replacing the
39868 local variable with the same name. Change name of the function
39869 to end in Rel or Rela (uppercase).
39870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39871 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39872 elf_dynamic_do_##reloc function.
39874 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39876 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39877 is sufficient, at least on modern CPUs.
39879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39881 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39882 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39884 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39886 * math/bits/math-finite.h: Add entries for exp.
39887 * math/e_expl.c: Add __*_finite alias.
39888 * sysdeps/i386/fpu/e_exp.S: Likewise.
39889 * sysdeps/i386/fpu/e_expf.S: Likewise.
39890 * sysdeps/i386/fpu/e_expl.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39896 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39897 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39899 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39900 is sufficient, at least on modern CPUs.
39902 * ctype/ctype-info.c (__ctype_init): Define.
39903 * include/ctype.h (__ctype_init): Declare.
39904 (__ctype_b_loc): The variable is always initialized.
39905 (__ctype_toupper_loc): Likewise.
39906 (__ctype_tolower_loc): Likewise.
39907 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39908 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39910 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39912 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39914 * configure.in: Also look in $cxxmachine/include for C++ system
39917 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39919 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39920 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39921 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39922 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39923 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39924 (USE_AS_WMEMCMP): New macro.
39926 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39927 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39928 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39929 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39931 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39932 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39933 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39934 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39935 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39936 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39937 (USE_AS_WMEMCMP): New macro.
39938 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39939 * sysdeps/string/test-memcmp.c: Update.
39940 Fix simple_wmemcmp.
39942 * wcsmbs/wmemcmp.c: Update.
39943 (WMEMCMP): New macro.
39946 2011-10-12 Andreas Jaeger <aj@suse.de>
39949 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39951 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39953 * libio/iofwide.c (do_length): Avoid warning.
39955 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39957 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39959 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39961 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39962 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39963 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39964 * sysdeps/i386/i686/fpu/e_log.S: New file.
39965 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39966 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39968 * ctype/ctype.h: Add support for inlined isXXX functions when
39969 compiling C++ code.
39971 2011-10-14 Andreas Schwab <schwab@redhat.com>
39973 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39975 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39977 2011-10-13 Roland McGrath <roland@hack.frob.com>
39980 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39982 2011-10-13 Andreas Schwab <schwab@redhat.com>
39984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39985 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39988 * sysdeps/x86_64/memrchr.S: Check for zero size.
39990 * string/stratcliff.c: Add memrchr tests.
39992 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39995 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39996 rawmemchr-sse2 rawmemchr-sse2-bsf.
39997 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39998 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39999 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40000 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40001 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40002 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40003 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40004 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40005 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40006 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40007 * string/memrchr.c (MEMRCHR): New macro.
40009 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40011 Add integration with gcc's -ffinite-math-only and optimize wrapper
40013 * Versions.def: Define GLIBC_2.15 version for libm.
40014 * math/Makefile (headers): Add bits/math-finite.h.
40015 * math/bits/math-finite.h: New file.
40016 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40017 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40018 * math/e_acoshl.c: Add __*_finite alias.
40019 * math/e_acosl.c: Likewise.
40020 * math/e_asinl.c: Likewise.
40021 * math/e_atan2l.c: Likewise.
40022 * math/e_atanhl.c: Likewise.
40023 * math/e_coshl.c: Likewise.
40024 * math/e_exp10.c: Likewise.
40025 * math/e_exp10f.c: Likewise.
40026 * math/e_exp10l.c: Likewise.
40027 * math/e_exp2l.c: Likewise.
40028 * math/e_fmodl.c: Likewise.
40029 * math/e_gammal_r.c: Likewise.
40030 * math/e_hypotl.c: Likewise.
40031 * math/e_j0l.c: Likewise.
40032 * math/e_j1l.c: Likewise.
40033 * math/e_jnl.c: Likewise.
40034 * math/e_lgammal_r.c: Likewise.
40035 * math/e_log10l.c: Likewise.
40036 * math/e_log2l.c: Likewise.
40037 * math/e_logl.c: Likewise.
40038 * math/e_powl.c: Likewise.
40039 * math/e_sinhl.c: Likewise.
40040 * math/e_sqrtl.c: Likewise.
40041 * math/e_scalb.c: Completely rewritten and optimized.
40042 * math/e_scalbf.c: Likewise.
40043 * math/e_scalbl.c: Likewise.
40044 * math/w_acos.c: Likewise.
40045 * math/w_acosf.c: Likewise.
40046 * math/w_acosl.c: Likewise.
40047 * math/w_acosh.c: Likewise.
40048 * math/w_acoshf.c: Likewise.
40049 * math/w_acoshl.c: Likewise.
40050 * math/w_asin.c: Likewise.
40051 * math/w_asinf.c: Likewise.
40052 * math/w_asinl.c: Likewise.
40053 * math/w_atan2.c: Likewise.
40054 * math/w_atan2f.c: Likewise.
40055 * math/w_atan2l.c: Likewise.
40056 * math/w_atanh.c: Likewise.
40057 * math/w_atanhf.c: Likewise.
40058 * math/w_atanhl.c: Likewise.
40059 * math/w_exp10.c: Likewise.
40060 * math/w_exp10f.c: Likewise.
40061 * math/w_exp10l.c: Likewise.
40062 * math/w_fmod.c: Likewise.
40063 * math/w_fmodf.c: Likewise.
40064 * math/w_fmodl.c: Likewise.
40065 * math/w_j0.c: Likewise.
40066 * math/w_j0f.c: Likewise.
40067 * math/w_j0l.c: Likewise.
40068 * math/w_j1.c: Likewise.
40069 * math/w_j1f.c: Likewise.
40070 * math/w_j1l.c: Likewise.
40071 * math/w_jn.c: Likewise.
40072 * math/w_jnf.c: Likewise.
40073 * math/w_log.c: Likewise.
40074 * math/w_logf.c: Likewise.
40075 * math/w_logl.c: Likewise.
40076 * math/w_log10.c: Likewise.
40077 * math/w_log10f.c: Likewise.
40078 * math/w_log10l.c: Likewise.
40079 * math/w_log2.c: Likewise.
40080 * math/w_log2f.c: Likewise.
40081 * math/w_log2l.c: Likewise.
40082 * math/w_pow.c: Likewise.
40083 * math/w_powf.c: Likewise.
40084 * math/w_powl.c: Likewise.
40085 * math/w_remainder.c: Likewise.
40086 * math/w_remainderf.c: Likewise.
40087 * math/w_remainderl.c: Likewise.
40088 * math/w_scalb.c: Likewise.
40089 * math/w_scalbf.c: Likewise.
40090 * math/w_scalbl.c: Likewise.
40091 * math/w_sqrt.c: Likewise.
40092 * math/w_sqrtf.c: Likewise.
40093 * math/w_sqrtl.c: Likewise.
40094 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40095 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40097 * math/math_private.h: Declare __kernel_standard_f.
40098 * math/w_cosh.c: Remove cruft and optimize a bit.
40099 * math/w_coshf.c: Likewise.
40100 * math/w_coshl.c: Likewise.
40101 * math/w_exp2.c: Likewise.
40102 * math/w_exp2f.c: Likewise.
40103 * math/w_exp2l.c: Likewise.
40104 * math/w_hypot.c: Likewise.
40105 * math/w_hypotf.c: Likewise.
40106 * math/w_hypotl.c: Likewise.
40107 * math/w_lgamma.c: Likewise.
40108 * math/w_lgamma_r.c: Likewise.
40109 * math/w_lgammaf.c: Likewise.
40110 * math/w_lgammaf_r.c: Likewise.
40111 * math/w_lgammal.c: Likewise.
40112 * math/w_lgammal_r.c: Likewise.
40113 * math/w_sinh.c: Likewise.
40114 * math/w_sinhf.c: Likewise.
40115 * math/w_sinhl.c: Likewise.
40116 * math/w_tgamma.c: Likewise.
40117 * math/w_tgammaf.c: Likewise.
40118 * math/w_tgammal.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40121 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40122 Minor optimizations. Pretty printing. Remove cruft.
40123 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40124 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40125 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40126 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40127 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40128 * sysdeps/i386/fpu/e_asin.S: Likewise.
40129 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40130 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40131 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40132 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40133 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40134 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40135 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40136 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40137 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40138 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40139 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40140 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40141 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40142 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40143 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40144 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40145 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40146 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40147 * sysdeps/i386/fpu/e_log.S: Likewise.
40148 * sysdeps/i386/fpu/e_log10.S: Likewise.
40149 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40150 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40151 * sysdeps/i386/fpu/e_log2.S: Likewise.
40152 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40153 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40154 * sysdeps/i386/fpu/e_logf.S: Likewise.
40155 * sysdeps/i386/fpu/e_logl.S: Likewise.
40156 * sysdeps/i386/fpu/e_pow.S: Likewise.
40157 * sysdeps/i386/fpu/e_powf.S: Likewise.
40158 * sysdeps/i386/fpu/e_powl.S: Likewise.
40159 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40160 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40161 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40162 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40163 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40164 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40165 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40166 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40167 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40189 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40192 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40193 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40194 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40195 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40196 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40197 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40198 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40199 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40201 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40202 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40203 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40204 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40205 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40206 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40208 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40209 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40251 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40253 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40256 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40259 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40260 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40261 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40262 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40263 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40264 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40265 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40266 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40267 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40268 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40269 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40270 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40271 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40272 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40273 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40274 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40275 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40276 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40277 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40278 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40279 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40280 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40281 (__isnanf): Likewise.
40282 (__isinf_ns): Likewise.
40283 (__isinf_nsf): Likewise.
40284 (__finite): Likewise.
40285 (__finitef): Likewise.
40286 (__ieee754_sqrt): Define as macro.
40287 (__ieee754_sqrtf): Define as macro.
40288 (__ieee754_sqrtl): Define as macro.
40289 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40291 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40292 __FINITE_MATH_ONLY__ consistent.
40293 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40295 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40297 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40300 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40302 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40304 * po/ja.po: Update from translation team.
40306 2011-10-08 Roland McGrath <roland@hack.frob.com>
40308 * locale/programs/locarchive.c (prepare_address_space): New function.
40309 (create_archive, enlarge_archive, open_archive): Use it.
40311 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40312 inside [SHARED], where it is used.
40314 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40316 * nss/getent.c (netgroup_keys): Remove unused variable.
40317 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40319 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40321 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40324 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40325 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40326 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40327 * math/Makefile (libm-calls): Add s_isinf_ns.
40328 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40329 * math/multc3.c: Likewise.
40330 * math/s_casin.c: Likewise.
40331 * math/s_casinf.c: Likewise.
40332 * math/s_casinl.c: Likewise.
40333 * math/s_ccos.c: Likewise.
40334 * math/s_ccosf.c: Likewise.
40335 * math/s_ccosl.c: Likewise.
40336 * math/s_ctan.c: Likewise.
40337 * math/s_ctanf.c: Likewise.
40338 * math/s_ctanh.c: Likewise.
40339 * math/s_ctanhf.c: Likewise.
40340 * math/s_ctanhl.c: Likewise.
40341 * math/s_ctanl.c: Likewise.
40342 * math/w_fmod.c: Likewise.
40343 * math/w_fmodf.c: Likewise.
40344 * math/w_fmodl.c: Likewise.
40345 * math/w_remainder.c: Likewise.
40346 * math/w_remainderf.c: Likewise.
40347 * math/w_remainderl.c: Likewise.
40348 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40349 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40352 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40353 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40354 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40355 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40357 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40359 * stdio-common/printf_fphex.c: Likewise.
40360 * stdio-common/printf_size.c: Likewise.
40362 * math/e_exp10.c: Include math_private.h using <...> not "...".
40363 * math/e_exp10f.c: Likewise.
40364 * math/e_exp10l.c: Likewise.
40365 * math/e_exp2l.c: Likewise.
40366 * math/e_j0l.c: Likewise.
40367 * math/e_j1l.c: Likewise.
40368 * math/e_jnl.c: Likewise.
40369 * math/e_lgammal_r.c: Likewise.
40370 * math/e_rem_pio2l.c: Likewise.
40371 * math/e_scalb.c: Likewise.
40372 * math/e_scalbf.c: Likewise.
40373 * math/e_scalbl.c: Likewise.
40374 * math/k_cosl.c: Likewise.
40375 * math/k_sinl.c: Likewise.
40376 * math/k_tanl.c: Likewise.
40377 * math/s_cacoshf.c: Likewise.
40378 * math/s_catan.c: Likewise.
40379 * math/s_catanf.c: Likewise.
40380 * math/s_catanh.c: Likewise.
40381 * math/s_catanhf.c: Likewise.
40382 * math/s_catanhl.c: Likewise.
40383 * math/s_catanl.c: Likewise.
40384 * math/s_ccosh.c: Likewise.
40385 * math/s_ccoshf.c: Likewise.
40386 * math/s_ccoshl.c: Likewise.
40387 * math/s_cexp.c: Likewise.
40388 * math/s_cexpf.c: Likewise.
40389 * math/s_cexpl.c: Likewise.
40390 * math/s_clog.c: Likewise.
40391 * math/s_clog10.c: Likewise.
40392 * math/s_clog10f.c: Likewise.
40393 * math/s_clog10l.c: Likewise.
40394 * math/s_clogf.c: Likewise.
40395 * math/s_clogl.c: Likewise.
40396 * math/s_csin.c: Likewise.
40397 * math/s_csinf.c: Likewise.
40398 * math/s_csinh.c: Likewise.
40399 * math/s_csinhf.c: Likewise.
40400 * math/s_csinhl.c: Likewise.
40401 * math/s_csinl.c: Likewise.
40402 * math/s_csqrt.c: Likewise.
40403 * math/s_csqrtf.c: Likewise.
40404 * math/s_csqrtl.c: Likewise.
40405 * math/s_ctan.c: Likewise.
40406 * math/s_ctanf.c: Likewise.
40407 * math/s_ctanh.c: Likewise.
40408 * math/s_ctanhf.c: Likewise.
40409 * math/s_ctanhl.c: Likewise.
40410 * math/s_ctanl.c: Likewise.
40411 * math/s_ldexp.c: Likewise.
40412 * math/s_ldexpf.c: Likewise.
40413 * math/s_ldexpl.c: Likewise.
40414 * math/s_significand.c: Likewise.
40415 * math/s_significandf.c: Likewise.
40416 * math/s_significandl.c: Likewise.
40417 * math/w_acos.c: Likewise.
40418 * math/w_acosf.c: Likewise.
40419 * math/w_acosh.c: Likewise.
40420 * math/w_acoshf.c: Likewise.
40421 * math/w_acoshl.c: Likewise.
40422 * math/w_acosl.c: Likewise.
40423 * math/w_asin.c: Likewise.
40424 * math/w_asinf.c: Likewise.
40425 * math/w_asinl.c: Likewise.
40426 * math/w_atan2.c: Likewise.
40427 * math/w_atan2f.c: Likewise.
40428 * math/w_atan2l.c: Likewise.
40429 * math/w_atanh.c: Likewise.
40430 * math/w_atanhf.c: Likewise.
40431 * math/w_atanhl.c: Likewise.
40432 * math/w_cosh.c: Likewise.
40433 * math/w_coshf.c: Likewise.
40434 * math/w_coshl.c: Likewise.
40435 * math/w_dremf.c: Likewise.
40436 * math/w_exp10.c: Likewise.
40437 * math/w_exp10f.c: Likewise.
40438 * math/w_exp10l.c: Likewise.
40439 * math/w_exp2.c: Likewise.
40440 * math/w_exp2f.c: Likewise.
40441 * math/w_fmod.c: Likewise.
40442 * math/w_fmodf.c: Likewise.
40443 * math/w_fmodl.c: Likewise.
40444 * math/w_hypot.c: Likewise.
40445 * math/w_hypotf.c: Likewise.
40446 * math/w_hypotl.c: Likewise.
40447 * math/w_j0.c: Likewise.
40448 * math/w_j0f.c: Likewise.
40449 * math/w_j0l.c: Likewise.
40450 * math/w_j1.c: Likewise.
40451 * math/w_j1f.c: Likewise.
40452 * math/w_j1l.c: Likewise.
40453 * math/w_jn.c: Likewise.
40454 * math/w_jnf.c: Likewise.
40455 * math/w_jnl.c: Likewise.
40456 * math/w_lgamma.c: Likewise.
40457 * math/w_lgamma_r.c: Likewise.
40458 * math/w_lgammaf.c: Likewise.
40459 * math/w_lgammaf_r.c: Likewise.
40460 * math/w_lgammal.c: Likewise.
40461 * math/w_lgammal_r.c: Likewise.
40462 * math/w_log.c: Likewise.
40463 * math/w_log10.c: Likewise.
40464 * math/w_log10f.c: Likewise.
40465 * math/w_log10l.c: Likewise.
40466 * math/w_log2.c: Likewise.
40467 * math/w_log2f.c: Likewise.
40468 * math/w_log2l.c: Likewise.
40469 * math/w_logf.c: Likewise.
40470 * math/w_logl.c: Likewise.
40471 * math/w_pow.c: Likewise.
40472 * math/w_powf.c: Likewise.
40473 * math/w_powl.c: Likewise.
40474 * math/w_remainder.c: Likewise.
40475 * math/w_remainderf.c: Likewise.
40476 * math/w_remainderl.c: Likewise.
40477 * math/w_scalb.c: Likewise.
40478 * math/w_scalbf.c: Likewise.
40479 * math/w_scalbl.c: Likewise.
40480 * math/w_sinh.c: Likewise.
40481 * math/w_sinhf.c: Likewise.
40482 * math/w_sinhl.c: Likewise.
40483 * math/w_sqrt.c: Likewise.
40484 * math/w_sqrtf.c: Likewise.
40485 * math/w_sqrtl.c: Likewise.
40486 * math/w_tgamma.c: Likewise.
40487 * math/w_tgammaf.c: Likewise.
40488 * math/w_tgammal.c: Likewise.
40490 * po/ja.po: Update from translation team.
40492 2011-09-29 Andreas Jaeger <aj@suse.de>
40495 * sunrpc/netname.c (netname2host): Fix logic.
40499 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40501 * math/w_remainder.c (__remainder): Likewise.
40502 * math/w_remainderf.c (__remainderf): Likewise.
40503 * math/libm-test.inc (remainder_test): Add test cases.
40505 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40507 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40510 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40512 * string/test-memcmp.c: Avoid unncessary #defines.
40513 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40515 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40517 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40518 Use new sse2 version for core i3 - i7 as it's faster
40519 than sse42 version.
40520 (bit_Prefer_PMINUB_for_stringop): New.
40521 * sysdeps/x86_64/rawmemchr.S: Update.
40522 Replace with faster SSE2 version.
40523 * sysdeps/x86_64/memrchr.S: New file.
40524 * sysdeps/x86_64/memchr.S: Update.
40525 Replace with faster SSE2 version.
40527 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40529 * elf/dl-load.c (lose): Add cast to avoid warning.
40531 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40533 * po/ca.po: Update from translation team.
40535 * inet/getnetgrent_r.c: Hook up nscd.
40536 * nscd/Makefile (routines): Add nscd_netgroup.
40537 (nscd-modules): Add netgroupcache.
40538 (CFLAGS-netgroupcache.c): Define.
40539 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40540 (cache_search): Add const to second parameter.
40541 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40543 (dbs): Add netgrdb entry.
40544 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40545 (verify_persistent_db): Handle netgrdb.
40546 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40547 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40549 (netgroup_response_header): Define.
40550 (innetgroup_response_header): Define.
40551 (datahead): Add netgroup_response_header and innetgroup_response_header
40553 * nscd/nscd.conf: Add entries for netgroup cache.
40554 * nscd/nscd.h (dbtype): Add netgrdb.
40555 (_PATH_NSCD_NETGROUP_DB): Define.
40556 (netgroup_iov_disabled): Declare.
40557 (xmalloc, xcalloc, xrealloc): Move declarations here.
40558 (cache_search): Adjust prototype.
40559 Add netgroup-related prototypes.
40560 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40561 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40562 (__nscd_innetgr): Declare.
40563 * nscd/selinux.c (perms): Use access_vector_t as element type and
40564 add netgroup-related initializers.
40565 * nscd/netgroupcache.c: New file.
40566 * nscd/nscd_netgroup.c: New file.
40567 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40568 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40569 For four parameters use innetgr.
40570 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40571 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40572 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40573 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40575 * nscd/connections.c (register_traced_file): Don't register file
40576 for disabled databases.
40578 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40580 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40582 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40583 from tree and freeing node.
40585 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40587 * nss/nsswitch.c (__nss_database_lookup): Handle
40588 nss_parse_service_list out of memory case.
40590 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40592 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40593 out of memory case.
40595 2011-10-04 Andreas Schwab <schwab@redhat.com>
40597 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40598 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40600 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40601 elf_machine_rela, elf_machine_lazy_rel.
40602 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40603 (ELF_DYNAMIC_DO_REL): Likewise.
40604 (ELF_DYNAMIC_DO_RELA): Likewise.
40605 (ELF_DYNAMIC_RELOCATE): Likewise.
40606 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40607 to ELF_DYNAMIC_DO_REL.
40608 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40609 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40610 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40613 skip_ifunc, don't call ifunc function if non-zero.
40614 (elf_machine_rela): Likewise.
40615 (elf_machine_lazy_rel): Likewise.
40616 (elf_machine_lazy_rela): Likewise.
40617 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40618 (elf_machine_lazy_rel): Likewise.
40619 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40621 (elf_machine_lazy_rel): Likewise.
40622 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40624 (elf_machine_lazy_rel): Likewise.
40625 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40626 (elf_machine_lazy_rel): Likewise.
40627 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40628 (elf_machine_lazy_rel): Likewise.
40629 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40630 (elf_machine_lazy_rel): Likewise.
40631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40632 (elf_machine_lazy_rel): Likewise.
40633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40634 (elf_machine_lazy_rel): Likewise.
40635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40636 (elf_machine_lazy_rel): Likewise.
40638 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40640 * nss/nss_files/files-init.c (_nss_files_init): Use static
40641 initialization for all the *_traced_file variables.
40643 2011-09-28 Andreas Schwab <schwab@redhat.com>
40645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40647 2011-09-27 Roland McGrath <roland@hack.frob.com>
40650 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40652 2011-09-27 Andreas Schwab <schwab@redhat.com>
40654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40655 Reread the line before reparsing it.
40657 2011-09-26 Andreas Schwab <schwab@redhat.com>
40659 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40661 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40662 Maxim Kuvyrkov <maxim@codesourcery.com>
40663 Joseph Myers <joseph@codesourcery.com>
40665 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40666 if needed for __stack_chk_guard.
40668 2011-09-19 Roland McGrath <roland@hack.frob.com>
40670 * sysdeps/posix/spawni.c (script_execute): Always define it.
40671 It will be optimized away if unused.
40672 (maybe_script_execute): New function.
40673 (__spawni): Call it.
40675 * Makerules: Don't include tls.make.
40676 (config-tls): Always set to thread.
40677 * tls.make.c: File removed.
40679 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40681 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40682 * config.make.in (CPPFLAGS-config): New substituted variable.
40684 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40686 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40689 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40690 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40692 2011-09-15 Roland McGrath <roland@hack.frob.com>
40694 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40695 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40697 (CALL_FAIL): Likewise.
40698 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40699 (CALL_FAIL): Macro removed.
40700 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40702 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40704 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40705 for __FINITE_MATH_ONLY__ == 1.
40707 2011-09-15 Andreas Schwab <schwab@redhat.com>
40709 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40710 __ieee754_sqrt instead of sqrt.
40711 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40712 __ieee754_sqrtf instead of sqrtf.
40713 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40714 __floorf instead of floorf.
40715 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40716 __floorf, __truncf instead of floorf, truncf.
40718 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40720 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40722 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40723 __extern_always_inline.
40724 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40727 2011-09-14 Andreas Schwab <schwab@redhat.com>
40729 * elf/rtld.c (dl_main): Also relocate in dependency order when
40730 doing symbol dependency testing.
40732 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40735 Always define `refsym'.
40737 2011-09-13 Andreas Schwab <schwab@redhat.com>
40739 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40740 (__FD_ELT): Renamed from __FDELT.
40741 * misc/bits/select2.h (__FD_ELT): Likewise.
40742 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40743 __FD_MASK instead of __FDELT, __FDMASK.
40744 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40746 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40749 * elf/Makefile (gen-ldd): Fix pattern.
40751 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40752 (init_tls): Likewise.
40754 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40758 2011-09-12 Andreas Schwab <schwab@redhat.com>
40760 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40761 `struct cmsghdr *' instead of `void *'.
40762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40765 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40767 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40769 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40770 ldd_rewrite_script.
40772 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40774 * configure.in: Remove --with-tls option.
40775 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40776 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40777 out in case it is missing.
40778 * sysdeps/ia64/elf/configure.in: Likewise.
40779 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40780 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40781 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40782 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40783 * sysdeps/sh/elf/configure.in: Likewise.
40784 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40785 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40786 * sysdeps/x86_64/elf/configure.in: Likewise.
40787 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40788 * sysdeps/mach/hurd/tls.h: Likewise.
40791 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40794 * configure.in: Fix use of AC_INIT.
40796 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40798 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40800 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40802 * malloc/hooks.c: Likewise.
40805 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40806 variables statically.
40807 (narenas): Initialize.
40808 (list_lock): Initialize.
40809 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40810 initializtion of main_arena and list_lock. Small cleanups.
40811 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40812 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40813 Add initializers to main_arena and mp_.
40814 (malloc_state): Remove pagesize member. Change all users to use
40817 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40818 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40819 is always initialized.
40821 * malloc/malloc.c: Removed unused configurations and dead code.
40822 * malloc/arena.c: Likewise.
40823 * malloc/hooks.c: Likewise.
40824 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40826 * include/tls.h: Removed. USE___THREAD must always be defined.
40827 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40828 * elf/dl-libc.c: Likewise.
40829 * elf/dl-tsd.c: Likewise.
40830 * include/errno.h: Likewise.
40831 * include/netdb.h: Likewise.
40832 * include/resolv.h: Likewise.
40833 * inet/herrno-loc.c: Likewise.
40834 * inet/herrno.c: Likewise.
40835 * malloc/arena.c: Likewise.
40836 * malloc/hooks.c: Likewise.
40837 * malloc/malloc.c: Likewise.
40838 * resolv/res-state.c: Likewise.
40839 * resolv/res_libc.c: Likewise.
40840 * sysdeps/i386/dl-machine.h: Likewise.
40841 * sysdeps/ia64/dl-machine.h: Likewise.
40842 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40843 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40844 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40845 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40846 * sysdeps/sh/dl-machine.h: Likewise.
40847 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40848 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40849 * sysdeps/unix/i386/sysdep.S: Likewise.
40850 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40851 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40856 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40857 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40861 * sysdeps/x86_64/dl-machine.h: Likewise.
40862 * tls.make.c: Likewise.
40864 * configure.in: Remove --with-__thread option. Make tests for
40865 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40866 tls_model attribute fail if no support is available. Remove
40868 * Makeconfig: Adjust for dropped configure option. All features are
40870 * Makerules: Likewise.
40871 * Versions.def: Likewise.
40872 * argp/argp-fmtstream.c: Likewise.
40873 * argp/argp-fmtstream.h: Likewise.
40874 * argp/argp-help.c: Likewise.
40875 * assert/assert.c: Likewise.
40876 * config.h.in: Likewise.
40877 * config.make.in: Likewise.
40878 * configure: Likewise.
40879 * configure.in: Likewise.
40880 * csu/Versions: Likewise.
40881 * csu/init.c: Likewise.
40882 * elf/tst-audit2.c: Likewise.
40883 * elf/tst-tls10.c: Likewise.
40884 * elf/tst-tls10.h: Likewise.
40885 * elf/tst-tls11.c: Likewise.
40886 * elf/tst-tls12.c: Likewise.
40887 * elf/tst-tls14.c: Likewise.
40888 * elf/tst-tlsmod11.c: Likewise.
40889 * elf/tst-tlsmod12.c: Likewise.
40890 * elf/tst-tlsmod13.c: Likewise.
40891 * elf/tst-tlsmod13a.c: Likewise.
40892 * elf/tst-tlsmod14a.c: Likewise.
40893 * elf/tst-tlsmod15b.c: Likewise.
40894 * elf/tst-tlsmod16a.c: Likewise.
40895 * elf/tst-tlsmod16b.c: Likewise.
40896 * elf/tst-tlsmod7.c: Likewise.
40897 * elf/tst-tlsmod8.c: Likewise.
40898 * elf/tst-tlsmod9.c: Likewise.
40899 * gmon/gmon.c: Likewise.
40900 * grp/fgetgrent_r.c: Likewise.
40901 * grp/putgrent.c: Likewise.
40902 * hurd/fopenport.c: Likewise.
40903 * include/libc-symbols.h: Likewise.
40904 * include/tls.h: Likewise.
40905 * intl/gettextP.h: Likewise.
40906 * intl/loadinfo.h: Likewise.
40907 * locale/global-locale.c: Likewise.
40908 * locale/localeinfo.h: Likewise.
40909 * mach/devstream.c: Likewise.
40910 * malloc/arena.c: Likewise.
40911 * malloc/set-freeres.c: Likewise.
40912 * misc/err.c: Likewise.
40913 * misc/getttyent.c: Likewise.
40914 * misc/mntent_r.c: Likewise.
40915 * posix/getopt.c: Likewise.
40916 * posix/wordexp.c: Likewise.
40917 * pwd/fgetpwent_r.c: Likewise.
40918 * resolv/Versions: Likewise.
40919 * resolv/res_hconf.c: Likewise.
40920 * shadow/fgetspent_r.c: Likewise.
40921 * shadow/putspent.c: Likewise.
40922 * stdio-common/printf_fphex.c: Likewise.
40923 * stdio-common/tmpfile.c: Likewise.
40924 * stdlib/abort.c: Likewise.
40925 * stdlib/fmtmsg.c: Likewise.
40926 * sunrpc/auth_unix.c: Likewise.
40927 * sunrpc/clnt_perr.c: Likewise.
40928 * sunrpc/clnt_tcp.c: Likewise.
40929 * sunrpc/clnt_udp.c: Likewise.
40930 * sunrpc/clnt_unix.c: Likewise.
40931 * sunrpc/openchild.c: Likewise.
40932 * sunrpc/svc_simple.c: Likewise.
40933 * sunrpc/svc_tcp.c: Likewise.
40934 * sunrpc/svc_udp.c: Likewise.
40935 * sunrpc/svc_unix.c: Likewise.
40936 * sunrpc/xdr.c: Likewise.
40937 * sunrpc/xdr_array.c: Likewise.
40938 * sunrpc/xdr_rec.c: Likewise.
40939 * sunrpc/xdr_ref.c: Likewise.
40940 * sunrpc/xdr_stdio.c: Likewise.
40942 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40944 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40946 2011-07-03 Andreas Jaeger <aj@suse.de>
40948 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40949 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40950 regenerate with gen-libm-tests.pl.
40952 2010-05-12 Petr Baudis <pasky@suse.cz>
40955 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40956 around j0() zero points by switching to j1().
40957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40960 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40962 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40964 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40966 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40969 Patch in part by Pavel Roskin <proski@gnu.org>.
40972 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40974 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40975 Free memory block if necessary.
40978 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40979 be NULL. Don't lock in this case.
40981 2011-09-09 Roland McGrath <roland@hack.frob.com>
40983 * elf/elf.h (ELFOSABI_GNU): New macro.
40984 (ELFOSABI_LINUX): Define to that.
40986 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40988 * string/strncat.c (strncat): Undef the symbol in case it has been
40989 defined in bits/string.h.
40991 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40993 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40995 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40998 2011-08-17 Andreas Jaeger <aj@suse.de>
41000 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41002 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41003 Ian Lance Taylor <iant@google.com>
41005 * math/libm-test.inc (lround_test): New testcase.
41006 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41008 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41010 * Makefile: Remove support for automatic cvs check-ins.
41011 * Makerules: Likewise.
41012 * config.make.in: Likewise.
41013 * configure.in: Likewise.
41014 * intl/Makefile: Likewise.
41015 * locale/Makefile: Likewise.
41016 * po/Makefile: Likewise.
41017 * posix/Makefile: Likewise.
41018 * sysdeps/gnu/Makefile: Likewise.
41019 * sysdeps/mach/hurd/Makefile: Likewise.
41020 * sysdeps/sparc/sparc32/Makefile: Likewise.
41023 * posix/Makefile (bug-regex32-ENV): Define.
41024 Patch by John Stanley <jpsinthemix@verizon.net>.
41026 * misc/Makefile (headers): Add bits/select2.h.
41027 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41028 * misc/bits/select2.h: New file.
41029 * include/bits/select2.h: New file.
41030 * debug/Makefile (routines): Add fdelt_chk.
41031 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41032 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41034 * debug/fdelt_chk.c: New file.
41036 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41037 * wcsmbs/test-wmemcmp.c: Likewise.
41038 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41039 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41041 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41043 * string/Makefile (strop-tests): Add memcmp.
41044 * string/test-wmemcmp.c: New file.
41045 * string/test-memcmp.c: Add wmemcmp support.
41047 2011-09-08 Roland McGrath <roland@hack.frob.com>
41050 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41053 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41054 garbage value in a __mach_port_mod_refs call in the cases of the
41055 task-self and thread-self ports.
41057 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41059 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41061 2011-09-08 Andreas Schwab <schwab@redhat.com>
41063 * elf/dl-load.c (lose): Check for non-null L.
41065 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41067 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41069 * elf/dl-libc.c (dlerror_run): Pass back error code from
41073 * elf/dl-load.c (lose): Free l_origin if it is valid.
41075 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41077 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41078 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41080 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41081 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41082 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41084 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41086 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41087 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41088 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41089 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41090 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41091 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41092 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41093 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41094 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41095 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41097 2011-08-15 Alan Modra <amodra@gmail.com>
41100 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41101 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41102 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41103 ppc_mcount to static-only-routines.
41104 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41106 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41107 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41109 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41111 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41112 for finite and infinity parameters.
41114 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41116 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41117 and add nop instructions for throughput optimization.
41118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41120 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41123 aligned copy for power7 with vector-scalar instructions.
41124 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41126 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41131 2011-09-07 Andreas Schwab <schwab@redhat.com>
41134 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41137 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41139 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41140 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41141 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41142 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41145 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41147 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41148 Forgot to demangle the pointer.
41150 * sysdeps/i386/sysdep.h: Define atom_text_section.
41151 * sysdeps/x86_64/sysdep.h: Likewise.
41152 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41153 section with atom_text_section.
41154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41156 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41158 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41160 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41162 already be defined. Change to take two parameters and don't assign
41163 result to variable. Adjust all users.
41164 Define INTERNAL_GETTIME if not already defined.
41165 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41168 HAVE_CLOCK_GETTIME_VSYSCALL.
41169 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41172 gettimeofday vsyscall, just use time.
41174 2011-09-06 Andreas Schwab <schwab@redhat.com>
41176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41179 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41181 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41183 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41185 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41186 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41187 syscall if possible.
41189 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41191 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41192 e_ident. Don't pass to find_mapsXX.
41193 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41195 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41198 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41199 * sysdeps/x86_64/multiarch/strchr.S: Update.
41200 Check bit_slow_BSF bit.
41201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41202 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41203 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41205 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41208 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41210 (tryshell): Define.
41211 (__spawni): Change last parameter to be flag. Test
41212 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41213 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41214 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41215 * posix/spawni.c: Likewise.
41216 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41217 * posix/spawnp.c: Likewise. Change normal version to use
41218 SPAWN_XFLAGS_USE_PATH.
41219 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41220 SPAWN_XFLAGS_TRY_SHELL.
41223 * posix/glob.h: Remove gcc 1.x support.
41226 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41228 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41231 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41233 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41234 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41236 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41237 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41240 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41242 * sysdeps/x86_64/wcscmp.S: New file.
41244 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41245 wcscmp-c wcscmp-sse2
41246 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41247 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41248 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41249 * wcsmbs/wcscmp.c: Allow renaming.
41251 2011-09-05 David S. Miller <davem@davemloft.net>
41253 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41254 stack slot, rather than the struct return pointer slot.
41255 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41256 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41258 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41260 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41262 * po/ja.po: Update from translation team.
41265 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41266 kernel in 64-bit binaries.
41268 2011-09-01 David S. Miller <davem@davemloft.net>
41270 * elf/elf.h (HWCAP_SPARC_*): Move to..
41271 * sysdeps/sparc/sysdep.h: this new file and add new values.
41272 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41273 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41274 _DL_HWCAP_COUNT to 24.
41275 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41277 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41278 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41279 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41281 instead of magic constants.
41282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41284 2011-08-31 David S. Miller <davem@davemloft.net>
41286 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41288 Reimplement to do errno handling inline.
41289 (SYSCALL_ERROR_HANDLER): New macro.
41290 (__SYSCALL_STRING): Do not do errno handling in asm.
41291 (__CLONE_SYSCALL_STRING): Delete.
41292 (__INTERNAL_SYSCALL_STRING): Delete.
41293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41294 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41295 (PSEUDO): Reimplement to do errno handling inline.
41296 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41297 (SYSCALL_ERROR_HANDLER): New macro.
41298 (__SYSCALL_STRING): Do not do errno handling in asm.
41299 (__CLONE_SYSCALL_STRING): Delete.
41300 (__INTERNAL_SYSCALL_STRING): Delete.
41301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41302 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41304 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41305 (inline_syscall*): Add 'err' argument.
41306 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41307 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41308 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41309 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41311 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41312 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41314 2011-08-30 Andreas Schwab <schwab@redhat.com>
41316 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41318 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41320 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41323 2011-08-24 David S. Miller <davem@davemloft.net>
41325 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41327 2011-08-24 Andreas Schwab <schwab@redhat.com>
41329 * elf/Makefile: Add rules to build and run unload8 test.
41330 * elf/unload8.c: New file.
41331 * elf/unload8mod1.c: New file.
41332 * elf/unload8mod1x.c: New file.
41333 * elf/unload8mod2.c: New file.
41334 * elf/unload8mod3.c: New file.
41336 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41339 2011-08-23 David S. Miller <davem@davemloft.net>
41341 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41342 subtract stack bias.
41343 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41344 %sp not %fp in calculations.
41345 (_JMPBUF_UNWINDS_ADJ): Likewise.
41347 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41348 (aio_suspend): Call it to force an exception region around the
41349 AIO_MISC_WAIT() invocation.
41351 2011-08-23 Andreas Schwab <schwab@redhat.com>
41353 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41356 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41358 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41360 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41361 and <dl-machine.h>.
41362 (Elf64_FuncDesc): Remove.
41364 2011-08-22 David S. Miller <davem@davemloft.net>
41366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41367 sigaltstack check, add missing cfi directives.
41368 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41369 missing cfi directives, and sigaltstack handling.
41371 2011-08-16 Andreas Schwab <schwab@redhat.com>
41374 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41375 object is seen twice.
41376 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41378 * elf/Makefile (distribute): Add tst-initorder2.c.
41379 (tests): Add tst-initorder2.
41380 (modules-names): Add tst-initorder2a tst-initorder2b
41381 tst-initorder2c tst-initorder2d. Add rules to build them.
41382 ($(objpfx)tst-initorder2.out): New rule.
41383 * elf/tst-initorder2.c: New file.
41384 * elf/tst-initorder2.exp: New file.
41386 2011-08-22 Andreas Schwab <schwab@redhat.com>
41388 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41390 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41391 dependencies back to end of function.
41393 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41394 $(elfobjdir)/ld.so.
41396 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41399 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41401 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41402 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41403 of __vdso_gettimeofday.
41404 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41405 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41407 (_libc_vdso_platform_setup): Remove initialization of
41408 __vdso_gettimeofday and __vdso_time.
41410 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41412 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41413 and fgetc_unlocked.
41414 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41417 * elf/dl-open.c (add_to_global): Report additions to the global scope
41418 for LD_DEBUG=scopes.
41419 (dl_open_worker): Also print scope of newly loaded dependencies.
41420 (_dl_show_scope): Indicate if there is no scope.
41423 * stdio-common/Makefile (tests): Add bug24.
41424 * stdio-common/bug24.c: New file.
41426 2011-08-19 Andreas Jaeger <aj@suse.de>
41429 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41430 non-existant file when using close-on-exec mode.
41432 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41435 the very first instruction.
41437 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41438 the CFI state in the end.
41439 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41440 inclusion of dl-trampoline.h.
41441 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41443 2011-08-19 Andreas Schwab <schwab@redhat.com>
41445 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41446 expectations for long double.
41448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41449 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41451 2011-08-14 David S. Miller <davem@davemloft.net>
41453 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41454 artificual limit depends upon the system page size.
41456 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41458 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41459 * resolv/Makefile: Define CFLAGS-libresolv.
41461 2011-08-17 Andreas Schwab <schwab@redhat.com>
41463 * nss/makedb.c (compute_tables): Make variables used in nested
41466 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41468 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41469 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41470 if buffer was too small.
41472 * elf/pldd.c (main): Attach to all threads in the process.
41473 Rewrite /proc handling to use *at functions.
41475 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41477 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41478 specifies first scope to show.
41479 (dl_open_worker): Update callers. Move printing scope of new
41480 object to before the relocation.
41481 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41482 * sysdeps/generic/ldsodefs.h: Update declaration.
41484 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41485 string for the scope number.
41487 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41489 * nscd/servicescache.c (cache_addserv): Make sure written is always
41492 2011-08-14 Roland McGrath <roland@hack.frob.com>
41494 * sysdeps/i386/i486/bits/atomic.h
41495 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41496 statement expression, so as to suppress "set but not used" warning.
41497 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41499 * string/strncat.c (STRNCAT): Use prototype definition.
41501 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41502 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41504 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41505 (localedef-modules): Add localedef.
41506 (locale-modules): Add locale.
41508 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41509 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41510 to avoid a warning.
41512 2011-08-14 David S. Miller <davem@davemloft.net>
41514 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41515 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41517 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41519 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41520 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41521 * elf/rtld.c (dl_main): Set l_name of vDSO.
41522 Call _dl_show_scope when DL_DEBUG_SCOPES.
41523 (process_dl_debug): Recognize scopes flag and also set it for all.
41524 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41525 Declare _dl_show_scope.
41527 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41528 (do_dlopen): Pass caller_dlopen to dl_open.
41529 (__libc_dlopen_mode): Initialize caller_dlopen.
41531 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41532 of libc. Make tolower call locale-independent. Optimize a bit by
41533 using isdigit instead of isalnum.
41534 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41536 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41538 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41539 was a dependency or dynamically loaded.
41541 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41543 * intl/l10nflist.c: Allow architecture-specific pop function.
41544 * sysdeps/x86_64/l10nflist.c: New file.
41546 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41549 2011-08-10 Andreas Schwab <schwab@redhat.com>
41551 * include/dirent.h: Add libc_hidden_proto for scandirat and
41552 scandirat64. Don't declare __scandirat64.
41553 * dirent/scandirat.c: Add libc_hidden_def.
41554 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41555 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41557 2011-08-10 David S. Miller <davem@davemloft.net>
41559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41562 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41565 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41567 * Versions.def [libc]: Add GLIBC_2.15.
41568 * dirent/Makefile (routines): Add scandirat and scandirat64.
41569 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41571 * dirent/dirent.h: Declare scandirat and scandirat64.
41572 * dirent/scandirat.c: New file.
41573 * dirent/scandirat64.c: New file.
41574 * sysdeps/wordsize-64/scandirat.c: New file.
41575 * sysdeps/wordsize-64/scandirat64.c: New file.
41576 * dirent/opendir.c: Define opendirat.
41577 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41579 * dirent/scandir64.c: Adjust for scandir.c change.
41580 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41581 __scandirat64, and __scandir_cancel_handler.
41582 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41583 additional parameter and use openat instead of open (outside of ld.so).
41584 Add new __opendir as wrapper around __opendirat.
41585 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41586 here without requiring old scandirat implementation.
41588 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41590 * dirent/scandir.c (cancel_handler): Renamed to
41591 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41592 defined. Adjust users.
41593 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41596 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41598 * string/test-string.h (IMPL): Use __STRING to expand name and then
41601 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41604 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41606 * string/Makefile: Update.
41607 (strop-tests): Append strncat.
41608 * string/test-wcscmp.c: New file.
41609 New comprehensive test for wcscmp.
41610 * string/test-strcmp.c: Update.
41611 (WIDE): New define.
41613 2011-07-22 Andreas Schwab <schwab@redhat.com>
41615 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41618 2011-07-26 Andreas Schwab <schwab@redhat.com>
41620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41621 encoding to ACE if AI_IDN.
41623 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41626 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41628 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41631 Fix overflow bug in strncat.
41632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41634 * string/test-strncat.c: Update.
41635 Add new tests for checking overflow bugs.
41637 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41640 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41641 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41642 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41644 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41645 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41646 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41647 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41650 (USE_AS_STRCAT): Define.
41651 Add strcat and strncat support.
41652 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41654 2011-07-25 Andreas Schwab <schwab@redhat.com>
41656 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41657 __n bigger than INT_MAX+1.
41658 (__strncmp_g): Likewise.
41660 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41662 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41663 * libio/stido.h: Likewise.
41665 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41670 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41673 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41677 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41682 (_dl_x86_64_save_sse): Likewise.
41684 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41688 (_dl_x86_64_save_sse): Likewise.
41690 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41692 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41694 2011-07-21 Andreas Schwab <schwab@redhat.com>
41696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41698 (_dl_x86_64_save_sse): Use correct AVX check.
41700 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41703 bug in strncpy/strncat.
41704 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41706 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41708 * string/tester.c (test_strcat): Add tests for different alignments
41709 of source and destination.
41710 (test_strncat): Likewise.
41712 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41715 * posix/glob.c (glob): Check passed in values before using them in
41716 expressions to avoid some overflows.
41717 (glob_in_dir): Likewise.
41720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41721 check for AVX enablement so that we don't crash with old kernels and
41723 * elf/tst-audit4.c: Add same checks here.
41724 * elf/tst-audit6.c: Likewise.
41726 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41728 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41730 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41732 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41734 * po/cs.po: Update from translation team.
41735 * po/bg.po: Likewise.
41737 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41739 * misc/sys/cdefs.h: Add support for const attribute.
41740 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41741 to gnu_dev_{major,minor,makedev} functions.
41743 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41745 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41747 2011-07-20 Andreas Schwab <schwab@redhat.com>
41749 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41752 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41755 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41756 register in order to avoid conflicts with the soft frame pointer
41757 being held in r11 when necessary.
41758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41759 (INTERNAL_VSYSCALL_NCS): Likewise.
41761 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41763 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41764 * elf/dl-fini.c (_dl_fini): Adjust caller.
41765 * elf/dl-close.c (_dl_close_worker): Likewise.
41766 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41768 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41770 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41771 "aux_cache->nlibs < 0".
41773 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41774 in the reload-count case.
41776 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41779 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41780 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41781 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41782 * sysdeps/x86_64/multiarch/strcat.S: New file.
41783 * sysdeps/x86_64/multiarch/strncat.S: New file.
41784 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41785 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41786 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41787 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41788 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41789 (USE_AS_STRCAT): Define.
41790 Add strcat and strncat support.
41791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41792 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41793 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41794 * string/strncat.c: Update.
41795 (USE_AS_STRNCAT): Define.
41796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41797 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41799 * sysdeps/x86_64/multiarch/init-arch.h
41800 (bit_Prefer_PMINUB_for_stringop): New.
41801 (index_Prefer_PMINUB_for_stringop): Likewise.
41802 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41803 bit_Prefer_PMINUB_for_stringop.
41805 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41807 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41809 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41810 of casting of buffer.
41811 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41812 buffer32 and buffer64.
41813 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41814 writes instead of casting of buffer.
41815 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41817 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41820 2011-07-19 Andreas Schwab <schwab@redhat.com>
41822 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41824 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41826 * nscd/nscd.c (termination_handler): Don't do anything for a database
41827 if it has not yet been initialized.
41829 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41831 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41833 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41835 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41837 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41839 * po/nl.po: Update from translation team.
41840 * po/sv.po: Likewise.
41842 2011-07-16 Roland McGrath <roland@hack.frob.com>
41844 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41845 now disallowed by GCC.
41847 * configure.in (use-default-link): Default to yes if a test -shared
41848 link meets our qualifications.
41849 * configure: Regenerated.
41851 * config.make.in (output-format): New variable.
41852 * configure.in: Check for ld --print-output-format support.
41853 * configure: Regenerated.
41854 * Makerules ($(common-objpfx)format.lds)
41855 [$(output-format) != unknown]: Just use $(output-format),
41856 instead of the linker-script munging.
41858 2011-07-14 Roland McGrath <roland@hack.frob.com>
41860 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41861 of $(common-objpfx)shlib.lds.
41862 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41864 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41865 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41867 * configure.in (-z relro check): Adjust test code to add a large
41868 writable data section after it.
41869 * configure: Regenerated.
41871 2011-07-11 Roland McGrath <roland@hack.frob.com>
41873 * configure.in (-z relro check): Fix test code to make the variable
41875 * configure: Regenerated.
41877 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41879 * nscd/nscd.h (struct traced_file): Define.
41880 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41881 elements. Add traced_files.
41882 (inotify_fd): Declare.
41883 (register_traced_file): Declare.
41884 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41885 (inotify_fd): Export.
41886 (resolv_conf_descr): Remove.
41887 (nscd_init): Move inotify descriptor creation to main.
41888 Don't register files for notification here.
41889 (register_traced_file): New function.
41890 (invalidate_cache): Don't use reset_res to determine whether to call
41891 res_init, go through the list of registered files.
41892 (main_loop_poll): The inotify descriptors are now stored in the
41893 structures for the traced files.
41894 (main_loop_epoll): Likewise
41895 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41896 to __nss_disable_nscd.
41897 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41898 for a database anymore. Check the records for all the registered
41900 * nss/Makefile (libnss_files-routines): Add files-init.
41901 (libnss_db-routines): Add db-init.
41902 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41903 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41904 * nss/nss_db/db-init.c: New file.
41905 * nss/nss_files/files-init.c: New file.
41906 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41907 __nss_lookup_function.
41908 (__nss_lookup_function): Call nss_load_library.
41909 (nss_load_all_libraries): New function.
41910 (__nss_disable_nscd): Take parameter with callback function for files
41911 to register. Set is_nscd. Load all the DSOs for the NSS modules
41912 used for the cached services.
41913 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41915 options for features to all the files in nscd.
41917 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41919 2011-07-10 Roland McGrath <roland@hack.frob.com>
41921 * csu/elf-init.c (__libc_csu_init): Comment typo.
41923 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41925 * po/pl.po: Update from translation team.
41926 * po/ja.po: Likewise.
41927 * po/ru.po: Likewise.
41928 * po/ko.po: Likewise.
41929 * po/fr.po: Likewise.
41931 2011-07-09 Roland McGrath <roland@hack.frob.com>
41933 * configure.in (.ctors/.dtors header and trailer check):
41934 Use an empirical test on a built program.
41935 * configure: Regenerated.
41937 * configure.in (-z relro check): Use an empirical test on a built DSO.
41938 Detect, but do not require, on ia64.
41939 * configure: Regenerated.
41941 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41942 Update tests that use readelf to use $READELF instead.
41943 * configure: Regenerated.
41945 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41947 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41948 if the result is not used.
41950 2011-07-05 Andreas Jaeger <aj@suse.de>
41953 * stdlib/tst-strtod.c: Add testcase.
41955 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41957 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41958 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41959 The latter has a higher limit. Take additional parameter to pass to
41961 (__pathconf): Pass file to __statfs_link_max.
41962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41964 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41968 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41971 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41972 (__statfs_filesize_max): Likewise.
41973 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41975 2011-07-05 Andreas Jaeger <aj@suse.de>
41977 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41979 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41981 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41983 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41986 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41988 * Makefile (strop-tests): Add strncat.
41989 * string/test-strncat.c: New file.
41991 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41993 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41995 2011-06-21 Andreas Jaeger <aj@suse.de>
41997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41998 Copy rule from iconvdata/Makefile.
42000 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42003 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42004 but no long options are defined, just return 'W'.
42006 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42009 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42011 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42013 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42015 (innetgr): Likewise.
42017 2011-07-05 Roland McGrath <roland@hack.frob.com>
42019 * config.make.in (install_root): Default to $(DESTDIR).
42021 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42023 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42025 2011-07-02 Roland McGrath <roland@hack.frob.com>
42027 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42029 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42030 containing directory rather than embedding absolute directory names.
42032 * scripts/check-local-headers.sh: Rewritten using awk.
42033 Match by word, not by line. Print error messages for matches.
42034 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42036 * Makerules [shlib-lds-flags empty]:
42037 ($(common-objpfx)libc_pic.opts): New target.
42038 ($(common-objpfx)libc_pic.os.clean): New target.
42039 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42041 * config.make.in (OBJCOPY): New variable.
42042 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42043 * configure: Regenerated.
42045 * config.make.in (use-default-link): New variable.
42046 * configure.in (use_default_link): Grok --with-default-link to set it.
42047 * configure: Regenerated.
42048 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42049 (shlib-lds, shlib-lds-flags): Define to empty.
42051 * Makerules (shlib-lds): New variable.
42052 (shlib-lds-flags): New variable.
42053 (build-shlib, build-moduile, build-module-asneeded): Use it.
42054 ($(common-objpfx)libc.so): Use $(shlib-lds).
42055 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42056 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42058 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42059 DT_FLAGS/DT_FLAGS_1 with zero flags.
42061 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42062 linker script munging.
42064 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42066 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42068 * crypt/sha512.c (sha512_process_block): Perform total addition using
42069 128-bit if possible.
42070 (__sha512_finish_ctx): Likewise.
42071 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42073 * crypt/sha256.c (SWAP64): Define.
42074 (sha256_process_block): Perform total addition using 64-bit if
42076 (__sha256_finish_ctx): Likewise.
42078 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42080 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42082 * nscd/hstcache.c (cache_addhst): Likewise.
42083 * nscd/grpcache.c (cache_addgr): Likewise.
42084 * nscd/aicache.c (addhstaiX): Likewise
42085 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42087 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42089 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42091 * nscd/hstcache.c (cache_addhst): Likewise.
42092 * nscd/grpcache.c (cache_addgr): Likewise.
42093 * nscd/aicache.c (addhstaiX): Likewise
42095 2011-07-01 Andreas Schwab <schwab@redhat.com>
42097 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42098 domain only when needed.
42100 2011-06-30 Andreas Schwab <schwab@redhat.com>
42102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42103 is always restored.
42105 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42107 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42108 are re-adding the entry.
42109 * nscd/servicescache.c (cache_addserv): Likewise.
42111 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42113 * sysdeps/generic/dl-irel.h: fix protection against multiple
42115 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42117 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42120 * malloc/memusage.sh: Fix quoting in message.
42121 * debug/xtrace.sh: Likewise.
42123 * configure.in: Remove support for --experimental-malloc option, make
42125 * config.make.in: Likewise.
42126 * malloc/Makefile: Likewise.
42128 2011-06-27 Andreas Schwab <schwab@redhat.com>
42130 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42131 two-byte characters.
42133 2011-06-27 Roland McGrath <roland@hack.frob.com>
42135 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42136 AC_CACHE_CHECK invocation.
42137 * configure: Regenerated.
42139 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42141 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42144 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42145 bit from old_res_options.
42147 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42149 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42150 value type for setfct.
42152 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42155 __gettimeofday instead of gettimeofday.
42157 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42159 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42161 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42168 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42171 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42172 strcpy-sse2-unaligned strncpy-sse2-unaligned
42173 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42174 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42175 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42176 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42177 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42178 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42180 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42181 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42182 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42183 (STRCPY): Support SSE2 and SSSE3 versions.
42185 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42189 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42190 kernels which artificially limit size of requests.
42192 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42195 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42196 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42197 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42198 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42199 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42200 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42201 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42202 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42204 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42205 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42206 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42207 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42208 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42210 Enable unaligned load optimization for Intel Core i3, i5 and i7
42212 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42214 (index_Fast_Unaligned_Load): Define.
42215 (HAS_FAST_UNALIGNED_LOAD): Define.
42217 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42219 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42221 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42225 until it is clear that the information is realy needed.
42226 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42228 2011-06-22 Andreas Schwab <schwab@redhat.com>
42230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42232 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42235 /sys/devices/system/cpu/online if it is usable.
42237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42238 reading the information from the /proc filesystem to once a second.
42240 2011-06-21 Andreas Jaeger <aj@suse.de>
42242 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42243 NULL after inclusion of kernel headers.
42245 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42247 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42248 calls to internal_setent.
42251 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42252 addresses using gethostbyname4_r ignore IPv4 addresses.
42254 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42255 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42257 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42259 2011-06-20 David S. Miller <davem@davemloft.net>
42261 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42263 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42265 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42266 (elf_irel): Use it.
42267 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42268 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42269 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42270 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42271 * sysdeps/x86_64/dl-irel.h: Likewise.
42273 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42274 * elf/dl-sym.c: Likewise.
42276 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42278 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42279 need to dereference resplen2.
42281 2011-06-14 Andreas Schwab <schwab@redhat.com>
42283 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42285 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42287 * Makeconfig: Define vardbdir and inst_vardbdir.
42288 * nss/Makefile: Add rules to install db-Makefile.
42290 * nss/nss_db/db-XXX.c: Cleanup.
42292 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42293 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42295 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42296 * nss/makedb.c: Implement -g option to specify that value strings
42297 are generated and should not be added to table iterated over for
42299 * nss/nss_db/db-initgroups.c: New file.
42301 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42304 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42305 (internal_getgrouplist): Adjust to name change.
42306 Update use_initgroups_entry if this is not the first call.
42307 * nss/databases.def: Add initgroups entry.
42309 * nss/makedb.c (compute_tables): Check result of multiple hash table
42310 sizes to minimize maximum chain length.
42312 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42314 * Versions.def: Add entry for libnss_db.
42315 * shlib-versions: Likewise.
42316 * nss/Makefile: Add rules to build libnss_db.
42317 * nss/Versions: Add libnss_db information. Organize libnss_files
42319 * nss/db-Makefile: Add gshadow support. Change rules for the new
42320 makedb progra. Some minor improvements to generate smaller files.
42321 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42323 * nss/makedb.c: ...here.
42324 Improve database format to be smaller and require less memory at
42326 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42328 * nss/nss_db/db-netgrp.c: Likewise.
42329 * nss/nss_db/db-open.c: Likewise.
42330 * nss/nss_files/flies-XXX.x: Adjust comments.
42331 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42332 * nss/nss_files/files-grp.c: Likewise.
42333 * nss/nss_files/files-hosts.c: Likewise.
42334 * nss/nss_files/files-network.c: Likewise.
42335 * nss/nss_files/files-proto.c: Likewise.
42336 * nss/nss_files/files-pwd.c: Likewise.
42337 * nss/nss_files/files-rpc.c: Likewise.
42338 * nss/nss_files/files-service.c: Likewise.
42339 * nss/nss_files/files-sgrp.c: Likewise.
42340 * nss/nss_files/files-spwd.c: Likewise.
42341 * nss/nss_db/db-alias.c: Removed.
42342 * nss/nss_db/dummy-db.h: Removed.
42344 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42346 * nss/makedb.c: Rewritten to not use database library.
42347 * nss/Makefile: Update to build new makedb program.
42349 2011-06-14 Andreas Jaeger <aj@suse.de>
42351 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42352 memset declaration.
42354 2011-06-10 Andreas Schwab <schwab@redhat.com>
42356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42359 2011-06-10 Roland McGrath <roland@hack.frob.com>
42361 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42362 * elf/Makefile ($(objpfx)ld.so): Likewise.
42364 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42365 Don't list ld.so twice in dependencies.
42367 * posix/bug-regex31.c: Include <stdlib.h>.
42369 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42371 * nis/nss_compat/compat-spwd.c
42372 (getspent_next_nss_netgr): Remove unused variable.
42373 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42375 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42376 nonmembers" output to use the right array.
42378 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42380 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42382 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42383 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42384 * catgets/gencat.c (read_input_file): Likewise.
42385 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42387 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42388 variable definition inside #if's controlling its use.
42390 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42392 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42394 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42396 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42399 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42401 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42402 * configure: Regenerated.
42404 * Makerules: Revert last change.
42405 * elf/Makefile: Likewise.
42407 2011-06-09 Roland McGrath <roland@hack.frob.com>
42409 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42410 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42411 (reloc-link): Likewise.
42413 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42415 * elf/Makefile: Add rules to build pldd.
42416 * elf/pldd.c: New file.
42417 * elf/pldd-xx.c: New file.
42419 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42421 * version.h: Update for 2.15 development version.
42423 2011-06-07 David S. Miller <davem@davemloft.net>
42425 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42428 elf_machine_lazy_rel): Likewise.
42429 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42431 elf_machine_lazy_rel): Likewise.
42432 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42433 dl_hwcap via passed in argument.
42434 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42437 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42439 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42441 2011-06-06 Roland McGrath <roland@hack.frob.com>
42444 * manual/fdl-1.1.texi: New file, verbatim from:
42445 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42446 * manual/lgpl-2.1.texi: New file, verbatim from:
42447 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42448 * manual/Makefile (licenses): New variable, list those new file names.
42450 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42452 * manual/fdl.texi: File removed.
42453 * manual/lesser.texi: File removed.
42454 * manual/libc.texinfo (Copying, Documentation License):
42455 Use new @include file names, put @appendix directive before @include.
42457 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42460 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42461 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42462 (mq_open): Add __NTH.
42464 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42467 Assume Intel Core i3/i5/i7 processor if AVX is available.
42469 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42474 2011-05-31 Andreas Schwab <schwab@redhat.com>
42476 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42477 memory. Use alloca_account. Fix memory leak when retrying.
42479 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42481 * version.h (RELEASE): Bump for 2.14 release.
42482 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42484 * config.make.in (RANLIB): Remove entry.
42486 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42488 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42489 (libc.pot): Work around missing support for .ksh extension in xgettext.
42492 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42493 if both request failed.
42494 (send_dg): In case of server errors clear resplen or *resplen2.
42497 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42498 when there are multiple maps.
42499 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42500 (_dl_fini): Remove test here.
42502 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42504 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42507 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42508 bit from old_res_options.
42509 (gaih_inet): Likewise.
42512 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42515 * resolv/res_init.c (res_setoptions): Make the code more compact.
42518 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42522 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42524 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42527 * malloc/malloc.h: Declare malloc hook variables as volatile.
42529 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42533 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42534 raise in the comment.
42535 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42536 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42537 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42539 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42542 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42543 grow the buffers more if it already has to be sufficient.
42544 (build_wcs_upper_buffer): Likewise.
42545 * posix/regexec.c (check_matching): Likewise.
42546 (clean_state_log_if_needed): Likewise.
42547 (extend_buffers): Don't enlarge buffers beyond size of the input
42549 Patches mostly by Emil Wojak <emil@wojak.eu>.
42550 * posix/bug-regex32.c: New file.
42551 * posix/Makefile (tests): Add bug-regex32.
42553 * locale/findlocale.c (_nl_find_locale): Return right away if
42554 _nl_explode_name failed.
42555 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42557 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42559 * debug/xtrace.sh: Unify messages.
42560 * malloc/memusage.sh: Likewise.
42563 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42564 time symbol from vDSO. Substitute with vsyscall if not available.
42565 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42568 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42569 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42570 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42571 Add sendmmsg and internal_sendmmsg.
42572 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42573 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42574 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42576 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42577 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42580 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42583 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42584 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42590 * iconvdata/Makefile (tests): Add bug-iconv9.
42591 * iconvdata/bug-iconv9.c: New file.
42593 2011-05-27 Andreas Schwab <schwab@redhat.com>
42596 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42598 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42600 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42601 (struct user_regs_struct): Change intcs field back to cs.
42603 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42605 * po/ja.po: Update from translation team.
42607 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42610 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42611 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42613 2011-05-20 Andreas Schwab <schwab@redhat.com>
42615 * stdlib/longlong.h: Update from GCC.
42617 2011-05-23 Andreas Schwab <schwab@redhat.com>
42619 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42621 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42622 Add parameter name.
42623 (__sysconf): Pass it down.
42625 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42628 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42630 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42631 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42632 add in in __libc_use_alloca calls. Adjust callers.
42633 (glob): Use malloc in some situations.
42635 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42636 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42639 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42641 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42642 and CLOCK_BOOTTIME_ALARM.
42645 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42648 * string/_strerror.c (__strerror_r): Print negative errors as signed
42652 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42653 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42654 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42656 * configure.in: Fix typo in redirection and correct removal of test
42657 files in two cases.
42660 * locale/setlocale.c (new_composite_name): Fix test to check for
42661 identical name of all categories.
42664 * libio/filedoalloc.c (local_isatty): New function.
42665 (_IO_file_doallocate): Use local_isatty.
42666 * stdio-common/perror.c (perror): In case a new stream is used
42667 forward the stream error.
42668 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42671 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42676 * include/alloca.h (extend_alloca_account): Define.
42679 * posix/regex.h: Fix comments with documentation of user-accessible
42680 fields after compilation and describe correct free'ing of pattern
42681 after re_compile_pattern.
42682 Patch by Reuben Thomas <rrt@sc3d.org>.
42684 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42686 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42687 and -mno-altivec to prevent the compiler from using Altivec and/or
42688 VSX instructions when the corresponding registers are not available.
42690 2011-05-19 Andreas Schwab <schwab@redhat.com>
42692 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42694 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42696 * libio/freopen.c (freopen): Use __dup2, not dup2.
42697 * libio/freopen64.c (freopen64): Likewise.
42699 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42702 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42703 * math/Makefile (tests): Add test-powl.
42704 (CFLAGS-test-powl.c): Define.
42705 * math/test-powl.c: New file.
42707 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42709 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42711 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42714 * iconvdata/gb18030.c: Update to GB18020-2005.
42716 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42718 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42719 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42720 Patch by Aharon Robbins <arnold@skeeve.com>.
42723 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42727 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42728 through underflows.
42731 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42732 point to strings before performing equality test for error_one_per_line
42736 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42740 (struct user_fpregs_struct): Avoid __uint*_t types.
42743 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42744 symbol info. Use it instead of calling _dl_addr locally.
42745 (lock_and_info): New function.
42746 (tr_freehook): Call lock_and_info and pass symbol info as additional
42747 parameter to tr_where.
42748 (tr_mallochook): Likewise.
42749 (tr_reallochook): Likewise.
42750 (tr_memalignhook): Likewise.
42752 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42753 used and couldn't be at all thread-safe.
42755 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42757 * libio/freopen.c (freopen): Don't close old file descriptor
42758 before the new one is opened. Instead dup the new file descriptor
42759 to the old one after the new stream is created.
42760 * libio/freopen64.c (freopen64): Likewise.
42761 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42762 * libio/fileops.c (_IO_new_file_close_it): Handle new
42763 _IO_FLAGS2_NOCLOSE flag.
42764 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42765 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42766 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42767 _IO_FLAGS2_NOCLOSE flag.
42768 * include/unistd.h: Add hidden_proto for dup3.
42769 Define __have_dup3.
42770 * io/dup3.c: Define hidden symbol.
42771 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42774 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42775 when an incomplete long option is used.
42776 * posix/tst-getopt_long1.c: New file.
42777 * posix/Makefile (tests): Add tst-getopt_long1.
42780 * scripts/config.guess: Update from autoconf-2.68.
42781 * scripts/config.sub: Likewise.
42784 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42786 (has_cpuclock): ...this. New function.
42787 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42788 macro here based on has_cpuclock code.
42791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42792 First byte (not low byte) is now always NUL.
42793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42796 Use non-cancelable interfaces.
42799 * locale/iso-639.def: Add entry for Sorani.
42802 * include/stdlib.h: Move include protection to the right place.
42803 Define abort_msg_s. Declare __abort_msg with it.
42804 * stdlib/abort.c (__abort_msg): Adjust type.
42805 * assert/assert.c (__assert_fail_base): New function. Majority
42806 of code from __assert_fail. Allocate memory for __abort_msg with
42808 (__assert_fail): Now call __assert_fail_base.
42809 * assert/assert-perr.c: Remove bulk of implementation. Use
42810 __assert_fail_base.
42811 * include/assert.hL Declare __assert_fail_base.
42812 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42814 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42816 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42820 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42821 until all modules are registered in the DTV.
42822 * elf/Makefile: Add rules to build and run tst-tls19.
42823 * elf/tst-tls19.c: New file.
42824 * elf/tst-tls19mod1.c: New file.
42825 * elf/tst-tls19mod2.c: New file.
42826 * elf/tst-tls19mod3.c: New file.
42827 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42830 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42834 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42835 two-byte sequence errors.
42836 * iconvdata/Makefile (tests): Add bug-iconv8.
42837 * iconvdata/bug-iconv8.c: New file.
42840 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42843 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42846 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42847 (dummy_getcfa): New function.
42848 (init): Get _Unwind_GetCFA address, use dummy if not found.
42849 (backtrace_helper): In recursion check, also check whether CFA changes.
42850 (__backtrace): Completely initialize arg.
42852 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42853 storing incomplete byte sequence in state object. Avoid testing for
42854 guaranteed too small input if we know there is enough data available.
42856 2011-05-11 Andreas Schwab <schwab@redhat.com>
42858 * Makeconfig (+link-pie): Indent.
42859 * Rules (binaries-pie): Define if $(have-fpie) and
42861 (binaries-shared): Also filter out $(binaries-pie).
42862 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42863 * nscd/Makefile (others-pie): Add nscd.
42864 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42865 ($(objpfx)nscd): Remove command override.
42866 * login/Makefile (others-pie): Add pt_chown.
42867 ($(objpfx)pt_chown): Remove command override.
42868 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42869 remove command overrides.
42871 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42873 * libio/tst_putwc.c: Fix error messages.
42876 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42877 currently writing and seek to current position when not.
42878 * libio/Makefile (tests): Add bug-fclose1.
42879 * libio/bug-fclose1.c: New file.
42881 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42884 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42885 don't set DF_1_NODELETE here.
42886 (do_lookup_x): When entering new entry test for copy relocation
42887 and if necessary set DF_1_NODELETE flag.
42888 * elf/tst-unique4.cc: New file.
42889 * elf/tst-unique4.h: New file.
42890 * elf/tst-unique4lib.cc: New file.
42891 * elf/Makefile: Add rules to build and run tst-unique4.
42892 Patch by Piotr Bury <pbury@goahead.com>.
42894 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42897 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42900 * misc/mntent_r.c (addmntent): Flush the stream after the output
42903 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42904 (is_trusted_path_normalize): Skip initial colon. Append slash
42905 to empty buffer. Duplicate is_trusted_path code but allow
42906 constructed patch to be prefix.
42907 (is_dst): Allow $ORIGIN followed by /.
42908 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42909 Correct testing of result of is_trusted_path_normalize
42910 (decompose_rpath): Fix warning.
42912 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42915 * grp/initgroups.c (internal_getgrouplist): When we found the service
42916 list through the initgroups entry in nsswitch.conf do not always
42917 continue on a successful lookup. Don't always use the
42918 __nss_group_database value if it is set.
42919 * nss/nsswitch.conf (initgroups): Change action for successful db
42920 lookup to continue for compatibility.
42922 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42925 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42927 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42929 * iconvdata/tst-tables.sh: Likewise.
42930 * iconvdata/cp770.c: New file.
42931 * iconvdata/cp771.c: New file.
42932 * iconvdata/cp772.c: New file.
42933 * iconvdata/cp773.c: New file.
42934 * iconvdata/cp774.c: New file.
42935 * iconvdata/testdata/CP770: New file.
42936 * iconvdata/testdata/CP770..UTF8: New file.
42937 * iconvdata/testdata/CP771: New file.
42938 * iconvdata/testdata/CP771..UTF8: New file.
42939 * iconvdata/testdata/CP772: New file.
42940 * iconvdata/testdata/CP772..UTF8: New file.
42941 * iconvdata/testdata/CP773: New file.
42942 * iconvdata/testdata/CP773..UTF8: New file.
42943 * iconvdata/testdata/CP774: New file.
42944 * iconvdata/testdata/CP774..UTF8: New file.
42946 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42948 * iconvdata/gen-8bit-gap.sh: Likewise.
42949 * iconvdata/gen-8bit.sh: Likewise.
42951 * locale/iso-639.def: Add ary entry.
42954 * locale/C-translit.h.in: Add U20A1 transliteration.
42957 * locale/iso-639.def: Add wae entry.
42958 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42961 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42965 * locale/C-translit.h.in: Add entry for U20B9.
42966 Patch by pravin.d.s@gmail.com.
42968 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42971 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42972 ENAMETOOLONG use generic getcwd.
42973 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42974 in rtld. Use *stat64.
42975 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42976 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42977 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42978 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42979 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42980 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42981 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42982 __fstatat64 macros.
42983 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42984 * dirent/rewinddir.c: Add libc_hidden_def.
42985 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42986 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42988 * include/dirent.h (__alloc_dir): Add flags parameter.
42989 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42990 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42992 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42993 from fdopendir if O_CLOEXEC is already set.
42995 2011-03-15 Alan Modra <amodra@gmail.com>
42997 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42998 l_tls_firstbyte_offset non-zero. Save padding offset in
42999 l_tls_firstbyte_offset for later use.
43000 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43001 freeing static tls block.
43003 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43005 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43006 where #ifdef was intended. The intent is to prevent ARG_MAX from
43007 being defined by the kernel headers.
43009 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43012 * resolv/resolv.h: Define RES_NOTLDQUERY.
43013 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43014 no-tld-query and set RES_NOTLDQUERY.
43015 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43016 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43017 modern BIND to search name as TLD unless forbidden.
43019 2011-05-07 Petr Baudis <pasky@suse.cz>
43020 Ulrich Drepper <drepper@gmail.com>
43023 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43024 (is_trusted_path): ...to here.
43025 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43026 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43027 using is_trusted_path_normalize() in setuid scripts.
43029 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43031 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43032 __BEGIN/__END_DECLS.
43034 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43037 NSS_STATUS_NOTFOUND if no record was found.
43039 2011-05-05 Andreas Schwab <schwab@redhat.com>
43041 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43042 (headers-not-in-tirpc): Remove rpc/netdb.h
43043 * resolv/netdb.h: Revert last change.
43045 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43047 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43048 circular dependency between libgcc.a and libc.a.
43050 2011-05-05 Andreas Schwab <schwab@redhat.com>
43052 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43053 * nis/Makefile: Don't install rpcsvc/*.
43054 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43055 instead of <rpc/types.h>.
43056 (MAXHOSTNAMELEN): Define.
43058 2011-05-03 Andreas Schwab <schwab@redhat.com>
43060 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43062 2011-04-28 Maciej Babinski <mbabinski@google.com>
43065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43066 gethostbyname4_r when IPv6 results are possible.
43068 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43071 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43072 _PC_PIPE_BUF handling.
43074 2011-04-30 Bruno Haible <bruno@clisp.org>
43077 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43078 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43080 * inet/getnameinfo.c (getnameinfo): Likewise.
43082 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43084 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43085 to groups setting in database lookup.
43086 * nss/nsswitch.conf: Add initgroups entry.
43088 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43091 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43093 Patch by Eric Blake <eblake@redhat.com>.
43095 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43097 * sunrpc/Makefile (need-export-routines): Add svc_run.
43098 (routines): Remove svc_run.
43099 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43100 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43101 * sunrpc/svc_run.c (svc_run): Likewise.
43102 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43104 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43106 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43107 problem in reallocation in last patch.
43109 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43111 * sunrpc/Makefile: Move inclusion of Rules.
43113 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43115 * nss/nss_files/files-initgroups.c: New file.
43116 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43117 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43118 _nss_files_initgroups_dyn.
43120 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43122 * elf/elf.h (R_ARM_IRELATIVE): Define.
43124 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43126 * po/ru.po: Update from translation team.
43128 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43130 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43133 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43136 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43137 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43142 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43144 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43146 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43150 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43153 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43155 * stdlib/bug-getcontext.c: New file.
43156 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43158 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43160 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43161 instructions into .machine "z9-109".
43162 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43163 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43165 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43167 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43168 between environment variables and auxiliary vector.
43170 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43172 * Makefile: Add rules to build linkobj/libc.so.
43173 * include/libc-symbols.h: Define libc_hidden_nolink.
43174 * include/rpc/auth.h: Mark functions which are to be hidden.
43175 * include/rpc/auth_des.h: Likewise.
43176 * include/rpc/auth_unix.h: Likewise.
43177 * include/rpc/clnt.h: Likewise.
43178 * include/rpc/des_crypt.h: Likewise.
43179 * include/rpc/key_prot.h: Likewise.
43180 * include/rpc/pmap_clnt.h: Likewise.
43181 * include/rpc/pmap_prot.h: Likewise.
43182 * include/rpc/pmap_rmt.h: Likewise.
43183 * include/rpc/rpc_msg.h: Likewise.
43184 * include/rpc/svc.h: Likewise.
43185 * include/rpc/svc_auth.h: Likewise.
43186 * include/rpc/xdr.h: Likewise.
43187 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43188 * nss/Makefile: Likewise.
43189 * sunrpc/Makefile: Don't install headers. Build library with normal
43190 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43191 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43192 for the compat linking library. Remove use of INTDEF/INTUSE.
43193 * sunrpc/auth_none.c: Likewise.
43194 * sunrpc/auth_unix.c: Likewise.
43195 * sunrpc/authdes_prot.c: Likewise.
43196 * sunrpc/authuxprot.c: Likewise.
43197 * sunrpc/clnt_gen.c: Likewise.
43198 * sunrpc/clnt_perr.c: Likewise.
43199 * sunrpc/clnt_raw.c: Likewise.
43200 * sunrpc/clnt_simp.c: Likewise.
43201 * sunrpc/clnt_tcp.c: Likewise.
43202 * sunrpc/clnt_udp.c: Likewise.
43203 * sunrpc/clnt_unix.c: Likewise.
43204 * sunrpc/des_crypt.c: Likewise.
43205 * sunrpc/des_soft.c: Likewise.
43206 * sunrpc/get_myaddr.c: Likewise.
43207 * sunrpc/key_call.c: Likewise.
43208 * sunrpc/key_prot.c: Likewise.
43209 * sunrpc/netname.c: Likewise.
43210 * sunrpc/pm_getmaps.c: Likewise.
43211 * sunrpc/pm_getport.c: Likewise.
43212 * sunrpc/pmap_clnt.c: Likewise.
43213 * sunrpc/pmap_prot.c: Likewise.
43214 * sunrpc/pmap_prot2.c: Likewise.
43215 * sunrpc/pmap_rmt.c: Likewise.
43216 * sunrpc/publickey.c: Likewise.
43217 * sunrpc/rpc_cmsg.c: Likewise.
43218 * sunrpc/rpc_common.c: Likewise.
43219 * sunrpc/rpc_dtable.c: Likewise.
43220 * sunrpc/rpc_prot.c: Likewise.
43221 * sunrpc/rpc_thread.c: Likewise.
43222 * sunrpc/rtime.c: Likewise.
43223 * sunrpc/svc.c: Likewise.
43224 * sunrpc/svc_auth.c: Likewise.
43225 * sunrpc/svc_authux.c: Likewise.
43226 * sunrpc/svc_raw.c: Likewise.
43227 * sunrpc/svc_run.c: Likewise.
43228 * sunrpc/svc_simple.c: Likewise.
43229 * sunrpc/svc_tcp.c: Likewise.
43230 * sunrpc/svc_udp.c: Likewise.
43231 * sunrpc/svc_unix.c: Likewise.
43232 * sunrpc/svcauth_des.c: Likewise.
43233 * sunrpc/xcrypt.c: Likewise.
43234 * sunrpc/xdr.c: Likewise.
43235 * sunrpc/xdr_array.c: Likewise.
43236 * sunrpc/xdr_float.c: Likewise.
43237 * sunrpc/xdr_intXX_t.c: Likewise.
43238 * sunrpc/xdr_mem.c: Likewise.
43239 * sunrpc/xdr_rec.c: Likewise.
43240 * sunrpc/xdr_ref.c: Likewise.
43241 * sunrpc/xdr_sizeof.c: Likewise.
43242 * sunrpc/xdr_stdio.c: Likewise.
43244 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43247 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43248 * sysdeps/ia64/dl-tls.h: Likewise.
43249 * sysdeps/powerpc/dl-tls.h: Likewise.
43250 * sysdeps/s390/dl-tls.h: Likewise.
43251 * sysdeps/sh/dl-tls.h: Likewise.
43252 * sysdeps/sparc/dl-tls.h: Likewise.
43253 * sysdeps/x86_64/dl-tls.h: Likewise.
43254 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43256 2011-03-14 Andreas Schwab <schwab@redhat.com>
43258 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43259 rpath element also skip the following colon.
43260 (expand_dynamic_string_token): Add is_path parameter and pass
43261 down to DL_DST_REQUIRED and _dl_dst_substitute.
43262 (decompose_rpath): Call expand_dynamic_string_token with
43263 non-zero is_path. Ignore empty rpaths.
43264 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43267 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43272 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43275 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43276 Patch by Filipe David Manana <fdmanana@apache.org>.
43278 2011-04-07 Andreas Schwab <schwab@redhat.com>
43280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43281 Maintain aligned stack.
43282 (CHECK_RSP): Remove unused macro.
43284 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43286 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43287 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43289 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43291 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43293 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43295 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43298 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43299 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43300 * sysdeps/x86_64/memmove.c: New file.
43301 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43302 (memcpy): Renamed to ...
43303 (__new_memcpy): This.
43304 (memcpy): Provide GLIBC_2_14 memcpy.
43305 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43306 (memcpy): Provide GLIBC_2_2_5 memcpy.
43308 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43311 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43313 2011-03-30 Andreas Schwab <schwab@redhat.com>
43315 * misc/syncfs.c: New file.
43316 * misc/Makefile (routines): Add syncfs.
43317 * posix/unistd.h: Declare syncfs.
43318 * sysdeps/unix/syscalls.list: Add syncfs.
43320 2011-04-01 Andreas Schwab <schwab@redhat.com>
43322 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43325 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43329 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43332 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43335 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43336 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43338 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43340 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43342 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43343 sync_file_range.c with -fexceptions.
43344 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43345 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43346 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43347 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43348 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43349 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43351 sync_file_range as cancellation point
43352 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43353 now a wrapper around __call_sync_file_range with cancellation handling.
43354 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43355 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43356 function name to __call_sync_file_range.
43357 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43358 Add call_sync_file_range.
43360 2011-04-01 Andreas Schwab <schwab@redhat.com>
43362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43365 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43367 * iconv/iconv.h: Fix typo in comment.
43368 * io/fcntl.h: Likewise.
43369 * libio/stdio.h: Likewise.
43370 * posix/spawn.h: Likewise.
43371 * posix/unistd.h: Likewise.
43372 * stdlib/stdlib.h: Likewise.
43373 * time/time.h: Likewise.
43374 * wcsmbs/wchar.h: Likewise.
43376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43377 open_by_handle): Add.
43378 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43379 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43380 Augment a few comments.
43381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43386 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43389 * io/fcntl.h (AT_EMPTY_PATH): Define.
43391 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43393 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43394 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43395 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43397 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43398 * Versions.def: Add GLIBC_2.14.
43399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43402 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43404 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43406 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43408 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43411 * string/test-strncmp.c (do_page_test): New function.
43412 (check2): Likewise.
43413 (test_main): Call check2.
43414 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43416 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43420 Handle cache information in CPU leaf 4.
43421 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43423 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43426 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43427 character representation.
43428 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43430 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43432 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43433 END(__isnan) to END(__isnanf) to match function entry point/label
43434 EALIGN(__isnanf,...).
43436 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43438 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43440 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43443 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43444 copy from the symbol referenced in the relocation to initialize the
43446 Patch by Piotr Bury <pbury@goahead.com>.
43447 * elf/Makefile: Add rules to build and tst-unique3.
43448 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43449 * elf/tst-unique3.cc: New file.
43450 * elf/tst-unique3.h: New file.
43451 * elf/tst-unique3lib.cc: New file.
43452 * elf/tst-unique3lib2.cc: New file.
43454 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43456 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43458 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43459 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43462 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43464 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43465 to-be-loaded object along a path to loader is ld.so.
43467 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43468 Ulrich Drepper <drepper@gmail.com>
43470 * sysdeps/x86_64/memset.S: After aligning destination, code
43471 branches to different locations depending on the value of
43472 misalignment, when multiarch is enabled. Fix this.
43474 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43476 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43477 Set _x86_64_preferred_memory_instruction for AMD processsors.
43478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43479 Set bit_Prefer_SSE_for_memop for AMD processors.
43481 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43483 * libio/fmemopen.c (fmemopen): Optimize a bit.
43485 2011-03-03 Andreas Schwab <schwab@redhat.com>
43487 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43489 2011-03-03 Roland McGrath <roland@redhat.com>
43491 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43493 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43495 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43496 __bzero_ultra1 instead of __memset_ultra1.
43498 2011-02-23 Andreas Schwab <schwab@redhat.com>
43499 Ulrich Drepper <drepper@gmail.com>
43502 * include/link.h (struct link_map): Add l_orig_initfini.
43503 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43504 returning unsuccessfully.
43505 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43506 close of a file loaded at startup, restore the original l_initfini
43508 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43509 list, store the pointer.
43510 * elf/Makefile ($(objpfx)noload-mem): New rule.
43511 (noload-ENV): Define.
43512 (tests): Add $(objpfx)noload-mem.
43513 * elf/noload.c: Include <memcheck.h>.
43514 (main): Call mtrace. Close all opened handles.
43516 2011-02-17 Andreas Schwab <schwab@redhat.com>
43519 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43520 dependencies are missing.
43522 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43524 Fix __if_freereq crash: Unlike the generic version which uses free,
43526 * sysdeps/mach/hurd/ifreq.h: New file.
43528 2011-01-27 Petr Baudis <pasky@suse.cz>
43529 Ulrich Drepper <drepper@gmail.com>
43532 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43533 to extend_alloca().
43534 * stdio-common/bug23.c: New file.
43535 * stdio-common/Makefile (tests): Add bug23.
43537 2010-09-28 Andreas Schwab <schwab@redhat.com>
43538 Ulrich Drepper <drepper@gmail.com>
43541 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43542 before performing relro protection. At old place add assertion
43543 to make sure nothing changed.
43545 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43546 Glauber de Oliveira Costa <glommer@gmail.com>
43548 * elf/elf.h: Add new ARM TLS relocs.
43550 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43553 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43555 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43557 * sysdeps/wordsize-64/tst-writev.c: New file.
43559 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43561 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43562 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43563 insns in _dl_start to prevent a TOC reference before relocs are
43566 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43569 * Makeconfig: Remove RANLIB definition.
43570 * Makerules: Don't use RANLIB.
43571 * aclocal.m4: Remove ranlib test.
43572 * configure.in: No need to check for ranlib.
43573 * elf/rtld-Rules: Don't use RANLIB.
43575 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43577 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43579 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43580 inclusion protection macro.
43582 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43583 SIGRTMIN and SIGRTMAX and print information in that case only when
43584 SIGRTMIN is defined.
43586 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43588 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43589 arginfo fn returning -1.
43591 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43592 and thousands string is zero terminated.
43594 2011-02-03 Andreas Schwab <schwab@redhat.com>
43596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43597 sysdeps/unix/sysv/linux/bits/socket.h.
43599 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43601 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43602 (__CPU_COUNT): Remove old macros.
43603 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43604 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43605 (__CPU_ALLOC, __CPU_FREE): Add macros.
43606 (__sched_cpualloc, __sched_cpufree): Add declarations.
43608 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43610 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43611 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43612 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43613 (readdhstai): Return value of addhstaiX call.
43614 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43615 (addgrbyX): Return value returned by cache_addgr.
43616 (readdgrbyname): Return value returned by addgrbyX.
43617 (readdgrbygid): Likewise.
43618 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43619 (addpwbyX): Return value returned by cache_addpw.
43620 (readdpwbyname): Return value returned by addhstbyX.
43621 (readdpwbyuid): Likewise.
43622 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43623 (addservbyX): Return value returned by cache_addserv.
43624 (readdservbyname): Return value returned by addservbyX:
43625 (readdservbyport): Likewise.
43626 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43627 (addhstbyX): Return value returned by cache_addhst.
43628 (readdhstbyname): Return value returned by addhstbyX.
43629 (readdhstbyaddr): Likewise.
43630 (readdhstbynamev6): Likewise.
43631 (readdhstbyaddrv6): Likewise.
43632 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43633 (readdinitgroups): Return value returned by addinitgroupsX.
43634 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43635 (prune_cache): Keep track of timeout value of re-added entries.
43636 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43637 * nscd/nscd.h: Adjust prototypes of readd* functions.
43639 2011-02-04 Roland McGrath <roland@redhat.com>
43641 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43642 (nis_stats): Likewise.
43643 * nis/nis_modify.c (nis_modify): Likewise.
43644 * nis/nis_remove.c (nis_remove): Likewise.
43645 * nis/nis_add.c (nis_add): Likewise.
43647 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43649 * posix/fnmatch_loop.c: Add some consts.
43651 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43653 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43656 * config.make.in (config-cflags-novzeroupper): Define.
43657 * configure.in: Substitute libc_cv_cc_novzeroupper.
43658 * elf/Makefile (AVX-CFLAGS): Define.
43659 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43660 (CFLAGS-tst-auditmod4a.c): Likewise.
43661 (CFLAGS-tst-auditmod4b.c): Likewise.
43662 (CFLAGS-tst-auditmod6b.c): Likewise.
43663 (CFLAGS-tst-auditmod6c.c): Likewise.
43664 (CFLAGS-tst-auditmod7b.c): Likewise.
43665 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43667 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43669 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43670 function to the callback.
43671 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43673 2011-02-02 Andreas Schwab <schwab@redhat.com>
43675 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43678 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43681 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43683 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43685 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43688 * elf/Makefile: Add rules to build and run new test.
43689 * elf/tst-initorder.c: New file.
43690 * elf/tst-initorder.exp: New file.
43691 * elf/tst-initordera1.c: New file.
43692 * elf/tst-initordera2.c: New file.
43693 * elf/tst-initordera3.c: New file.
43694 * elf/tst-initordera4.c: New file.
43695 * elf/tst-initorderb1.c: New file.
43696 * elf/tst-initorderb2.c: New file.
43697 * elf/tst-order-a1.c: New file.
43698 * elf/tst-order-a2.c: New file.
43699 * elf/tst-order-a3.c: New file.
43700 * elf/tst-order-a4.c: New file.
43701 * elf/tst-order-b1.c: New file.
43702 * elf/tst-order-b2.c: New file.
43703 * elf/tst-order-main.c: New file.
43704 New test case by George Gensure <werkt0@gmail.com>.
43706 2010-10-01 Andreas Schwab <schwab@redhat.com>
43708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43709 decoding ACE if AI_CANONIDN.
43711 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43713 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43715 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43717 * version.h (RELEASE): Bump for 2.13 release.
43718 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43720 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43722 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43724 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43725 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43731 * posix/getconf.c: Update copyright year.
43732 * catgets/gencat.c: Likewise.
43733 * csu/version.c: Likewise.
43734 * debug/catchsegv.sh: Likewise.
43735 * debug/xtrace.sh: Likewise.
43736 * elf/ldconfig.c: Likewise.
43737 * elf/ldd.bash.in: Likewise.
43738 * elf/sprof.c (print_version): Likewise.
43739 * iconv/iconv_prog.c: Likewise.
43740 * iconv/iconvconfig.c: Likewise.
43741 * locale/programs/locale.c: Likewise.
43742 * locale/programs/localedef.c: Likewise.
43743 * malloc/memusage.sh: Likewise.
43744 * malloc/mtrace.pl: Likewise.
43745 * nscd/nscd.c (print_version): Likewise.
43746 * nss/getent.c: Likewise.
43748 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43749 PF_CAIF, and PF_ALG.
43750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43752 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43754 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43755 (modules-names): Use them.
43756 (ifunc-test-modules, ifunc-pie-tests): Define.
43757 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43758 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43759 (test-extras): Likewise.
43760 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43761 $(compile-command.c).
43762 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43763 (all-built-dso): Define.
43764 (check-textrel.out, check-execstack.out): Depend on it.
43766 * configure.in: Don't override --enable-multi-arch.
43768 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43771 * nscd/hstcache.c (tryagain): Define.
43772 (cache_addhst): Return tryagain not notfound for temporary errors.
43773 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43776 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43779 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43780 to make the syscall.
43781 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43784 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43785 and fall back to matching as normal character if the string ends before
43786 the matching ']' is found. This is what POSIX requires.
43787 * posix/testfnm.c: Adjust test result.
43788 * posix/globtest.sh: Adjust test result. Add new test.
43789 * posix/tst-fnmatch.input: Likewise.
43790 * posix/tst-fnmatch2.c: Add new test.
43792 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43794 * elf/Makefile (check-execstack): Revert last change. Depend on
43796 (check-execstack.h): New target.
43797 (generated): Add check-execstack.h.
43798 * elf/check-execstack.c: Include "check-execstack.h".
43799 (main): Revert last change.
43800 (handle_file): Return zero if GNU_STACK is absent and
43801 DEFAULT_STACK_PERMS doesn't include PF_X.
43803 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43805 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43806 in child fails because the descriptor is already closed.
43807 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43808 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43809 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43812 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43816 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43817 temporary buffer used to handle multi lookups locally.
43818 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43820 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43822 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43825 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43827 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43828 alignment for SSE2.
43830 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43833 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43834 characters. When rounding increased number of integer digits recompute
43836 * stdio-common/tst-grouping.c: New file.
43837 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43839 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43841 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43842 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43844 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43846 * bits/select.h: Likewise.
43848 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43850 * po/ja.po: Update from translation team.
43852 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43855 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43856 implementation just like for lxstat, fxstatat, et al.
43858 2010-12-27 Jim Meyering <meyering@redhat.com>
43861 * posix/regexec.c (build_trtable): Return failure indication upon
43862 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43864 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43867 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43868 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43869 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43870 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43873 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43876 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43877 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43879 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43881 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43882 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43883 script has SORT_BY_INIT_PRIORITY.
43884 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43885 NO_CTORS_DTORS_SECTIONS is defined.
43886 * elf/soinit.c: Likewise.
43887 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43888 NO_CTORS_DTORS_SECTIONS is defined.
43889 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43890 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43891 * sysdeps/sh/init-first.c: Likewise.
43892 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43894 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43896 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43897 always use the slow path.
43899 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43901 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43902 similar rule which adds the sysdep directories to the header search in
43903 order to pick up the correct platform stackinfo.h.
43904 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43905 perform test if it is, otherwise return successfully without testing.
43906 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43907 DEFAULT_STACK_PERMS define in stackinfo.h.
43908 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43909 defined in stackinfo.h.
43910 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43911 DEFAULT_STACK_PERMS defined in stackinfo.h.
43912 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43913 * sysdeps/ia64/stackinfo.h: Likewise.
43914 * sysdeps/s390/stackinfo.h: Likewise.
43915 * sysdeps/sh/stackinfo.h: Likewise.
43916 * sysdeps/sparc/stackinfo.h: Likewise.
43917 * sysdeps/x86_64/stackinfo.h: Likewise.
43918 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43919 PF_X for powerpc64. Retain PF_X for powerpc32.
43921 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43923 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43925 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43926 GETDENTS_64BIT_ALIGNED.
43928 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43930 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43932 2010-12-10 Andreas Schwab <schwab@redhat.com>
43934 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43937 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43938 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43940 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43941 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43943 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43946 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43949 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43951 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43953 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43955 * po/it.po: Update from translation team.
43957 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43962 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43964 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43966 2010-11-24 Andreas Schwab <schwab@redhat.com>
43968 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43970 (gaih_getanswer_slice): Likewise.
43972 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43976 2010-05-31 Petr Baudis <pasky@suse.cz>
43979 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43980 silently even in the chroot mode.
43982 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43984 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43985 last patch a bit. Pretty printing
43987 2010-05-31 Petr Baudis <pasky@suse.cz>
43990 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43991 initialization of skip_initgroups_dyn.
43993 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43995 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43996 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43998 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44000 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44002 2010-11-11 Andreas Schwab <schwab@redhat.com>
44004 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44005 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44006 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44007 ($(objpfx)tst-fnmatch-mem): New rule.
44008 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44009 * posix/tst-fnmatch.c (main): Call mtrace.
44011 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44014 Support Intel processor model 6 and model 0x2c.
44016 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44018 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44021 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44024 * string/test-strncasecmp.c (check_result): New function.
44025 (do_one_test): Use it.
44026 (check1): New function.
44027 (test_main): Use it.
44028 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44029 Support strcasecmp and strncasecmp.
44031 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44034 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44035 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44037 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44039 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44043 * sysdeps/x86_64/multiarch/bzero.S: New file.
44044 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44045 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44046 * sysdeps/x86_64/multiarch/memset.S: New file.
44047 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44049 Set bit_Prefer_SSE_for_memop for Intel processors.
44050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44052 (index_Prefer_SSE_for_memop): Define.
44053 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44055 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44057 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44058 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44060 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44063 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44064 (__x86_64_raw_data_cache_size_half): Likewise.
44065 (__x86_64_raw_shared_cache_size): Likewise.
44066 (__x86_64_raw_shared_cache_size_half): Likewise.
44068 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44069 (__x86_64_raw_data_cache_size_half): Likewise.
44070 (__x86_64_raw_shared_cache_size): Likewise.
44071 (__x86_64_raw_shared_cache_size_half): Likewise.
44072 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44073 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44074 and __x86_64_raw_shared_cache_size_half. Round
44075 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44076 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44077 to multiple of 256 bytes.
44079 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44083 of inacessible symlinks. Verify result of symlink before returning it.
44084 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44085 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44087 2010-10-28 Erich Ritz <erichritz@gmail.com>
44089 * math/math.h (isinf): Fix typo in comment.
44091 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44093 * po/da.po: Update from translation team.
44095 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44097 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44098 is added to the list.
44100 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44101 Ulrich Drepper <drepper@gmail.com>
44103 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44104 the global list here. Move code to...
44105 (_dl_add_to_namespace_list): ...here. New function.
44106 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44107 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44108 * elf/dl-load.c (lose): Don't remove the element from the list.
44109 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44110 (_dl_map_object): Likewise.
44112 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44115 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44116 into all bytes of SSE register.
44117 Patch by Richard Li <richardpku@gmail.com>.
44119 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44122 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44125 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44127 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44128 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44129 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44130 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44135 2010-10-22 Andreas Schwab <schwab@redhat.com>
44137 * include/dlfcn.h (__RTLD_SECURE): Define.
44138 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44139 mode & __RTLD_SECURE instead.
44140 (open_path): Rename preloaded parameter to secure.
44141 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44142 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44143 * elf/dl-deps.c (openaux): Likewise.
44144 * elf/rtld.c (struct map_args): Remove is_preloaded.
44145 (map_doit): Don't use it.
44146 (dl_main): Likewise.
44147 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44148 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44150 2010-09-09 Andreas Schwab <schwab@redhat.com>
44152 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44153 (sysd-rules-targets): Remove duplicates.
44154 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44155 rtld-%.$o dependency.
44157 2010-10-18 Andreas Schwab <schwab@redhat.com>
44159 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44160 _dl_map_object do it.
44162 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44164 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44165 fast fma builtins, define the macros in the C99 standard.
44166 (FP_FAST_FMAF): Likewise.
44167 (FP_FAST_FMAL): Likewise.
44168 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44170 * bits/mathdef.h: Update copyright year.
44171 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44173 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44175 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44176 builtins, define the macros in the C99 standard.
44177 (FP_FAST_FMAF): Likewise.
44178 (FP_FAST_FMAL): Likewise.
44179 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44181 (FP_FAST_FMAF): Likewise.
44183 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44186 * math/libm-test.inc (fma_test): Some new testcases.
44187 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44189 y and infinite z. Do multiplication by C already in long double.
44190 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44192 y and infinite z. Do bitwise or of inexact bit into u.d.
44193 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44194 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44195 * sysdeps/i386/fpu/s_fma.S: Removed.
44196 * sysdeps/i386/fpu/s_fmal.S: Removed.
44198 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44201 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44203 computation is not scheduled after fetestexcept. Fix value
44204 of minimum denormal long double.
44206 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44209 * math/libm-test.inc (fma_test): Add some more tests.
44210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44213 2010-10-15 Andreas Schwab <schwab@redhat.com>
44215 * scripts/data/localplt-s390-linux-gnu.data: New file.
44216 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44218 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44221 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44222 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44224 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44226 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44228 if one of x and y is very large and the other is subnormal.
44229 * sysdeps/s390/fpu/s_fmaf.c: New file.
44230 * sysdeps/s390/fpu/s_fma.c: New file.
44231 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44232 * sysdeps/powerpc/fpu/s_fma.S: New file.
44233 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44234 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44235 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44237 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44240 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44242 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44243 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44244 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44245 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44246 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44247 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44248 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44250 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44253 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44254 * posix/bug-regex31.input: Add test case.
44256 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44258 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44259 * posix/bug-regex31.input: New file.
44262 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44263 (parse_sub_exp): Fix last change, use postorder.
44265 * posix/bug-regex31.c: New file.
44266 * posix/Makefile: Add rules to build and run bug-regex31.
44268 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44271 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44274 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44275 to have entries in sys_siglist.
44278 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44281 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44284 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44285 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44286 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44287 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44288 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44289 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44290 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44291 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44292 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44293 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44294 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44295 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44296 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44297 * math/ftestexcept.c (fetestexcept): Likewise.
44298 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44299 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44300 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44301 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44302 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44303 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44304 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44306 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44309 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44312 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44314 * string/bug-strstr1.c: New file.
44315 * string/Makefile: Add rules to build and run bug-strstr1.
44317 2010-10-05 Eric Blake <eblake@redhat.com>
44320 * string/str-two-way.h (two_way_long_needle): Always clear memory
44321 when skipping input due to the shift table.
44323 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44326 * malloc/mcheck.c: Handle large requests.
44329 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44330 for strncmp and strncasecmp.
44331 * string/stratcliff.c: Add tests for strcmp and strncmp.
44332 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44334 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44336 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44339 2010-09-30 Andreas Jaeger <aj@suse.de>
44341 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44342 (CGROUP_SUPER_MAGIC): Define.
44343 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44344 Handle btrfs and cgroup file systems.
44345 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44348 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44350 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44351 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44353 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44356 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44357 trying to locate the ELF header.
44359 2010-09-27 Andreas Schwab <schwab@redhat.com>
44362 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44363 Mask out sign-bit copies when constructing f_fsid.
44365 2010-09-24 Petr Baudis <pasky@suse.cz>
44367 * debug/stack_chk_fail_local.c: Add missing licence exception.
44368 * debug/warning-nop.c: Likewise.
44370 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44373 implementing getdents64 using getdents syscall, set d_type if
44374 __ASSUME_GETDENTS32_D_TYPE.
44376 2010-09-16 Andreas Schwab <schwab@redhat.com>
44378 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44379 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44381 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44384 * posix/unistd.h: Undo change of feature selection for ftruncate from
44387 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44389 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44392 2010-09-20 Andreas Schwab <schwab@redhat.com>
44394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44398 2010-09-14 Andreas Schwab <schwab@redhat.com>
44400 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44401 variables after CHECK_SP call.
44402 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44404 2010-09-13 Andreas Schwab <schwab@redhat.com>
44405 Ulrich Drepper <drepper@redhat.com>
44407 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44408 re-relocationg ld.so.
44409 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44410 _dl_init_paths call.
44411 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44414 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44416 * resolv/res_init.c (__res_vinit): Count the default server we added.
44418 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44419 Ulrich Drepper <drepper@redhat.com>
44422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44423 (____longjmp_chk): Use %ebx for saving value across system call.
44426 2010-09-06 Andreas Schwab <schwab@redhat.com>
44428 * manual/Makefile: Don't mix pattern rules with normal rules.
44430 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44432 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44434 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44435 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44436 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44437 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44441 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44444 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44445 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44447 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44449 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44450 * sysdeps/x86_64/addmul_1.S: Likewise.
44451 * sysdeps/x86_64/lshift.S: Likewise.
44452 * sysdeps/x86_64/mul_1.S: Likewise.
44453 * sysdeps/x86_64/rshift.S: Likewise.
44454 * sysdeps/x86_64/sub_n.S: Likewise.
44455 * sysdeps/x86_64/submul_1.S: Likewise.
44457 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44459 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44460 Define __sched_param instead of SCHED_* and sched_param when
44461 <bits/sched.h> is included with __need_schedparam defined.
44462 * bits/sched.h [__need_schedparam]
44463 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44464 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44465 (__defined_schedparam): Define to 1.
44466 (__sched_param): New structure, identical to sched_param.
44467 (__need_schedparam): Undefine.
44469 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44472 (epoll_create1): Declare.
44474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44476 2010-08-31 Andreas Schwab <schwab@redhat.com>
44479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44480 shifting retval into place.
44482 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44484 * nis/rpcsvc/nis.h: Update copyright notice.
44485 * nis/rpcsvc/nis.x: Likewise.
44486 * nis/rpcsvc/nis_callback.h: Likewise.
44487 * nis/rpcsvc/nis_callback.x: Likewise.
44488 * nis/rpcsvc/nis_object.x: Likewise.
44489 * nis/rpcsvc/nis_tags.h: Likewise.
44490 * nis/rpcsvc/yp.h: Likewise.
44491 * nis/rpcsvc/yp.x: Likewise.
44492 * nis/rpcsvc/ypupd.h: Likewise.
44493 * nis/yp_xdr.c: Likewise.
44494 * nis/ypupdate_xdr.c: Likewise.
44496 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44497 mainly the body of pmap_getport. Add parameters to specify timeouts.
44498 (pmap_getport): Use __libc_rpc_getport.
44499 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44500 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44501 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44503 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44508 2010-08-27 Roland McGrath <roland@redhat.com>
44510 * sysdeps/i386/i686/multiarch/Makefile
44511 (CFLAGS-varshift.c): New variable.
44513 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44515 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44516 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44520 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44522 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44524 * sysdeps/x86_64/strlen.S: Unroll the loop.
44525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44526 strlen-sse2 strlen-sse2-bsf.
44527 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44528 __strlen_no_bsf if bit_Slow_BSF is set.
44529 (__strlen_sse42): Removed.
44530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44531 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44533 2010-08-25 Roland McGrath <roland@redhat.com>
44535 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44536 * sysdeps/x86_64/multiarch/varshift.c: New file.
44537 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44538 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44539 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44540 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44542 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44545 strlen-sse2 strlen-sse2-bsf.
44546 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44547 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44548 (__strlen_sse2): Removed.
44549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44552 bit_Slow_BSF for Atom.
44553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44554 (index_Slow_BSF): Define.
44555 (HAS_SLOW_BSF): Define.
44557 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44560 * resolv/res_init.c (__res_vinit): When no server address at all
44561 is given default to loopback.
44563 2010-08-24 Roland McGrath <roland@redhat.com>
44565 * configure.in: Remove config-name.h generation.
44566 * configure: Regenerated.
44567 * config-name.in: File removed.
44568 * scripts/config-uname.sh: New file.
44569 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44570 ($(objdir)config-name.h): New target.
44572 * sunrpc/rpc_parse.h: Avoid nested comment.
44574 2010-08-24 Richard Henderson <rth@redhat.com>
44575 Ulrich Drepper <drepper@redhat.com>
44576 H.J. Lu <hongjiu.lu@intel.com>
44578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44580 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44581 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44582 _mm_alignr_epi8 with _mm_loadu_si128.
44583 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44584 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44585 (__m128i_shift_right): Removed.
44586 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44587 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44588 * sysdeps/x86_64/multiarch/varshift.h: New file.
44589 * sysdeps/x86_64/multiarch/varshift.S: New file.
44591 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44593 * configure.in: Move assembler checks to before sysdep dir checking.
44595 2010-08-20 Petr Baudis <pasky@suse.cz>
44597 * LICENSES: Sync the sunrpc license.
44599 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44601 * sunrpc/auth_des.c: Update copyright notice once again.
44602 * sunrpc/auth_none.c: Likewise.
44603 * sunrpc/auth_unix.c: Likewise.
44604 * sunrpc/authdes_prot.c: Likewise.
44605 * sunrpc/authuxprot.c: Likewise.
44606 * sunrpc/bindrsvprt.c: Likewise.
44607 * sunrpc/clnt_gen.c: Likewise.
44608 * sunrpc/clnt_perr.c: Likewise.
44609 * sunrpc/clnt_raw.c: Likewise.
44610 * sunrpc/clnt_simp.c: Likewise.
44611 * sunrpc/clnt_tcp.c: Likewise.
44612 * sunrpc/clnt_udp.c: Likewise.
44613 * sunrpc/clnt_unix.c: Likewise.
44614 * sunrpc/des_crypt.c: Likewise.
44615 * sunrpc/des_soft.c: Likewise.
44616 * sunrpc/get_myaddr.c: Likewise.
44617 * sunrpc/getrpcport.c: Likewise.
44618 * sunrpc/key_call.c: Likewise.
44619 * sunrpc/key_prot.c: Likewise.
44620 * sunrpc/openchild.c: Likewise.
44621 * sunrpc/pm_getmaps.c: Likewise.
44622 * sunrpc/pm_getport.c: Likewise.
44623 * sunrpc/pmap_clnt.c: Likewise.
44624 * sunrpc/pmap_prot.c: Likewise.
44625 * sunrpc/pmap_prot2.c: Likewise.
44626 * sunrpc/pmap_rmt.c: Likewise.
44627 * sunrpc/rpc/auth.h: Likewise.
44628 * sunrpc/rpc/auth_unix.h: Likewise.
44629 * sunrpc/rpc/clnt.h: Likewise.
44630 * sunrpc/rpc/des_crypt.h: Likewise.
44631 * sunrpc/rpc/key_prot.h: Likewise.
44632 * sunrpc/rpc/netdb.h: Likewise.
44633 * sunrpc/rpc/pmap_clnt.h: Likewise.
44634 * sunrpc/rpc/pmap_prot.h: Likewise.
44635 * sunrpc/rpc/pmap_rmt.h: Likewise.
44636 * sunrpc/rpc/rpc.h: Likewise.
44637 * sunrpc/rpc/rpc_des.h: Likewise.
44638 * sunrpc/rpc/rpc_msg.h: Likewise.
44639 * sunrpc/rpc/svc.h: Likewise.
44640 * sunrpc/rpc/svc_auth.h: Likewise.
44641 * sunrpc/rpc/types.h: Likewise.
44642 * sunrpc/rpc/xdr.h: Likewise.
44643 * sunrpc/rpc_clntout.c: Likewise.
44644 * sunrpc/rpc_cmsg.c: Likewise.
44645 * sunrpc/rpc_common.c: Likewise.
44646 * sunrpc/rpc_cout.c: Likewise.
44647 * sunrpc/rpc_dtable.c: Likewise.
44648 * sunrpc/rpc_hout.c: Likewise.
44649 * sunrpc/rpc_main.c: Likewise.
44650 * sunrpc/rpc_parse.c: Likewise.
44651 * sunrpc/rpc_parse.h: Likewise.
44652 * sunrpc/rpc_prot.c: Likewise.
44653 * sunrpc/rpc_sample.c: Likewise.
44654 * sunrpc/rpc_scan.c: Likewise.
44655 * sunrpc/rpc_scan.h: Likewise.
44656 * sunrpc/rpc_svcout.c: Likewise.
44657 * sunrpc/rpc_tblout.c: Likewise.
44658 * sunrpc/rpc_util.c: Likewise.
44659 * sunrpc/rpc_util.h: Likewise.
44660 * sunrpc/rpcinfo.c: Likewise.
44661 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44662 * sunrpc/rpcsvc/key_prot.x: Likewise.
44663 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44664 * sunrpc/rpcsvc/mount.x: Likewise.
44665 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44666 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44667 * sunrpc/rpcsvc/rex.x: Likewise.
44668 * sunrpc/rpcsvc/rstat.x: Likewise.
44669 * sunrpc/rpcsvc/rusers.x: Likewise.
44670 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44671 * sunrpc/rpcsvc/spray.x: Likewise.
44672 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44673 * sunrpc/rtime.c: Likewise.
44674 * sunrpc/svc.c: Likewise.
44675 * sunrpc/svc_auth.c: Likewise.
44676 * sunrpc/svc_authux.c: Likewise.
44677 * sunrpc/svc_raw.c: Likewise.
44678 * sunrpc/svc_run.c: Likewise.
44679 * sunrpc/svc_simple.c: Likewise.
44680 * sunrpc/svc_tcp.c: Likewise.
44681 * sunrpc/svc_udp.c: Likewise.
44682 * sunrpc/svc_unix.c: Likewise.
44683 * sunrpc/svcauth_des.c: Likewise.
44684 * sunrpc/xcrypt.c: Likewise.
44685 * sunrpc/xdr.c: Likewise.
44686 * sunrpc/xdr_array.c: Likewise.
44687 * sunrpc/xdr_float.c: Likewise.
44688 * sunrpc/xdr_mem.c: Likewise.
44689 * sunrpc/xdr_rec.c: Likewise.
44690 * sunrpc/xdr_ref.c: Likewise.
44691 * sunrpc/xdr_sizeof.c: Likewise.
44692 * sunrpc/xdr_stdio.c: Likewise.
44694 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44697 2010-08-19 Andreas Schwab <schwab@redhat.com>
44699 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44701 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44703 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44705 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44706 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44707 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44708 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44709 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44710 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44712 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44713 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44714 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44715 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44716 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44718 2010-07-26 Anton Blanchard <anton@samba.org>
44720 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44721 * malloc/arena.c (heap_trim): Likewise.
44723 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44725 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44728 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44730 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44732 * sysdeps/i386/elf/Makefile: New file.
44734 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44736 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44737 from fanotify_init.
44738 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44741 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44743 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44745 * sysdeps/multiarch/strcmp.S: Likewise.
44747 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44750 strncase_l-nonascii.
44751 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44752 Add strncase_l-ssse3.
44753 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44754 * sysdeps/x86_64/strcmp.S: Likewise.
44755 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44756 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44757 * sysdeps/x86_64/strncase.S: New file.
44758 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44759 * sysdeps/x86_64/strncase_l.S: New file.
44760 * string/Makefile (strop-tests): Add strncasecmp.
44761 * string/test-strncasecmp.c: New file.
44763 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44766 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44767 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44769 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44771 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44773 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44775 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44777 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44779 2010-05-01 Alan Modra <amodra@gmail.com>
44781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44782 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44783 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44784 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44785 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44786 tidying. Don't tail-call __sigjmp_save for static lib.
44787 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44789 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44790 (CALL_MCOUNT): Add eh info, and nop after bl.
44791 (TAIL_CALL_SYSCALL_ERROR): New macro.
44792 (PSEUDO_RET): Use it.
44793 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44794 Correct save location of integer regs and cr.
44795 (_dl_profile_resolve): Correct cr save location. Delete nops
44796 after bl when SHARED. Reduce cfi size a little by better
44797 placement of cfi directives.
44798 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44799 make a stack frame. Instead use parm save area as a temp.
44800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44801 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44803 Don't make a stack frame for parent, use parm save area.
44804 Increase child stack frame to 112 bytes. Don't save unused reg,
44805 and adjust reg usage. Set up cfi on error recovery and
44806 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44808 (__makecontext): Add dummy nop after jump to exit.
44809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44810 Use correct parm save area and cr save, reduce stack frame.
44811 Correct cfi for possible PSEUDO_RET frame setup.
44812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44813 Branch to local label emitted by PSEUDO_RET rather than
44816 2010-08-12 Andreas Schwab <schwab@redhat.com>
44819 * locale/programs/locale.c (print_assignment): New function.
44820 (show_locale_vars): Use it.
44822 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44824 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44826 (struct statfs64): Likewise.
44827 (_STATFS_F_FLAGS): Define.
44828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44830 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44831 (ST_VALID): Define locally.
44832 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44833 __statvfs_getflags, use the provided value.
44834 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44835 __ASSUME_STATFS_F_FLAGS.
44837 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44839 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44840 Add sys/fanotify.h.
44841 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44842 fanotify_mask for GLIBC_2.13.
44843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44844 fanotify_init and fanotify_mark.
44845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44846 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44848 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44850 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44851 prlimit64 for GLIBC_2.13.
44852 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44857 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44858 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44859 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44862 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44865 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44866 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44868 * nss/Makefile: Add rules to build and run tst-nss-test1.
44869 * shlib-versions: Add entry for libnss_test1.
44870 * nss/nss_test1.c: New file.
44871 * nss/tst-nss-test1.c: New file.
44873 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44874 (__nss_configure_lookup): Set appropriate entry in
44875 __nss_configure_lookup to true.
44876 * nss/nsswitch.h: Define enum with indeces of databases in
44877 databases and __nss_database_custom arrays. Declare
44878 __nss_database_custom.
44879 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44880 to avoid using nscd when custom rules are installed.
44881 * nss/getXXbyYY_r.c: Likewise.
44882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44884 * nss/nss_files/files-parse.c: Whitespace fixes.
44886 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44889 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44890 * posix/fnmatch_loop.c: Likewise.
44892 2010-07-17 Andi Kleen <ak@linux.intel.com>
44894 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44895 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44896 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44897 * Versions.def [GLIBC_2.13]: Add.
44899 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44902 Also fail if tpwd after pwuid call is NULL.
44904 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44906 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44907 when converting to ms.
44909 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44911 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44912 EOPNOTSUPP errors with ENOTTY.
44913 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44914 EOPNOTSUPP errors with ENOTTY.
44916 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44918 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44919 Add strcasecmp_l-ssse3.
44920 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44922 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44923 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44924 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44926 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44928 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44930 * string/Makefile (strop-tests): Add strcasecmp.
44931 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44932 strcasecmp_l-nonascii.
44933 (gen-as-const-headers): Add locale-defines.sym.
44934 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44935 * sysdeps/x86_64/strcasecmp.S: New file.
44936 * sysdeps/x86_64/strcasecmp_l.S: New file.
44937 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44938 * sysdeps/x86_64/locale-defines.sym: New file.
44939 * string/test-strcasecmp.c: New file.
44941 * string/test-strcasestr.c: Test both ends of the range of characters.
44942 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44944 2010-07-29 Roland McGrath <roland@redhat.com>
44947 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44949 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44951 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44954 2010-07-27 Andreas Schwab <schwab@redhat.com>
44956 * manual/memory.texi (Malloc Tunable Parameters): Document
44959 2010-07-26 Roland McGrath <roland@redhat.com>
44962 * configure.in (-fgnu89-inline check): Set and substitute
44963 gnu89_inline, not libc_cv_gnu89_inline.
44964 * configure: Regenerated.
44965 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44967 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44969 * string/test-strnlen.c: New file.
44970 * string/Makefile (strop-tests): Add strnlen.
44971 * string/tester.c (test_strnlen): Add a few more test cases.
44972 * string/tst-strlen.c: Better error reporting.
44974 * sysdeps/x86_64/strnlen.S: New file.
44976 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44978 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44979 lower-latency instructions.
44981 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44983 * string/test-strcasestr.c: New file.
44984 * string/test-strstr.c: New file.
44985 * string/Makefile (strop-tests): Add strstr and strcasestr.
44986 * string/str-two-way.h: Don't undefine MAX.
44987 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44989 2010-07-21 Andreas Schwab <schwab@redhat.com>
44991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44992 strcasestr-nonascii.
44993 (CFLAGS-strcasestr-nonascii.c): Define.
44994 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44996 Remove unused attribute.
44998 2010-07-20 Roland McGrath <roland@redhat.com>
45000 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45001 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45002 ld.so.cache was broken. With it, there is no way to disable dsocaps
45003 like LD_HWCAP_MASK can disable hwcaps.
45005 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45007 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45009 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45011 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45012 call in strcasestr.
45013 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45014 __strcasestr_sse42_nonascii.
45015 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45016 strcasestr-nonascii.c.
45017 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45019 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45021 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45022 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45024 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45026 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45031 2010-07-06 Andreas Schwab <schwab@redhat.com>
45034 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45037 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45039 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45040 _PC_PIPE_BUF using F_GETPIPE_SZ.
45042 2010-07-05 Roland McGrath <roland@redhat.com>
45044 * manual/arith.texi (Rounding Functions): Fix rint description
45045 implicit in round description.
45047 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45049 * elf/Makefile: Fix linking for a few tests to make recent linker
45052 2010-06-30 Andreas Schwab <schwab@redhat.com>
45054 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45055 $(common-objpfx)libc_nonshared.a.
45057 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45059 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45060 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45061 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45062 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45063 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45064 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45065 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45066 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45081 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45082 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45083 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45084 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45085 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45086 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45087 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45088 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45089 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45090 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45091 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45092 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45108 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45110 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45111 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45112 * string/memmove.c (memmove): Renamed to ...
45113 (MEMMOVE): ...this. Default to memmove.
45114 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45115 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45118 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45119 mempcpy-ssse3-back memmove-ssse3-back.
45120 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45121 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45123 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45124 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45125 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45126 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45127 * sysdeps/x86_64/multiarch/memmove.c: New file.
45128 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45129 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45130 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45131 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45132 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45135 (index_Fast_Copy_Backward): Define.
45136 (HAS_ARCH_FEATURE): Define.
45137 (HAS_FAST_REP_STRING): Define.
45138 (HAS_FAST_COPY_BACKWARD): Define.
45140 2010-06-21 Andreas Schwab <schwab@redhat.com>
45142 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45143 Restore proper fallback handling.
45145 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45148 * posix/group_member.c (__group_member): Correct checking loop.
45150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45151 OOM in getpwuid_r correctly. Return error number when the caller
45152 should return, otherwise -1.
45153 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45154 call returning > 0 value.
45155 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45157 2010-06-07 Andreas Schwab <schwab@redhat.com>
45159 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45160 libc_nonshared.a from targets in modules-names.
45162 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45164 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45167 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45169 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45170 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45174 2010-06-02 Andreas Schwab <schwab@redhat.com>
45176 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45178 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45180 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45189 2010-06-14 Roland McGrath <roland@redhat.com>
45191 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45193 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45195 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45196 __REDIRECT followed by __THROW.
45197 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45198 * posix/getopt.h (getopt): Likewise.
45200 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45202 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45203 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45204 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45206 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45207 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45209 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45211 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45213 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45217 Properly check family and model.
45219 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45221 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45223 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45225 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45227 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45229 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45232 2010-05-19 Andreas Schwab <schwab@redhat.com>
45234 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45237 2010-05-21 Andreas Schwab <schwab@redhat.com>
45239 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45240 and internal_recvmmsg.
45241 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45242 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45243 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45244 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45246 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45247 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45248 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45250 2010-05-20 Andreas Schwab <schwab@redhat.com>
45252 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45254 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45256 POWER7 optimizations.
45257 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45258 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45260 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45262 * version.h: Update for 2.13 development version.
45264 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45266 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45267 exceptions. Return 0.
45269 2010-05-07 Roland McGrath <roland@redhat.com>
45271 * elf/ldconfig.c (main): Add a const.
45273 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45275 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45276 (args_options): Add no-idn option.
45277 (ahosts_keys_int): Add idn_flags to ai_flags.
45278 (parse_option): Handle 'i' option to clear idn_flags.
45280 * malloc/malloc.c (_int_free): Possible race in the most recently
45281 added check. Only act on the data if no current modification
45284 See ChangeLog.17 for earlier changes.